Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ec135334
authored
Mar 18, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: sticky footer
parent
48b67f5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
4 deletions
+32
-4
circle/dashboard/static/dashboard/dashboard.css
+27
-0
circle/dashboard/templates/dashboard/base.html
+5
-4
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
ec135334
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
body
{
body
{
padding-top
:
50px
;
padding-top
:
50px
;
padding-bottom
:
20px
;
padding-bottom
:
20px
;
margin-bottom
:
30px
;
/* sticky footer */
}
html
{
position
:
relative
;
min-height
:
100%
;
}
}
/* Set widths on the navbar form inputs since otherwise they're 100% wide */
/* Set widths on the navbar form inputs since otherwise they're 100% wide */
...
@@ -383,3 +389,24 @@ a.hover-black {
...
@@ -383,3 +389,24 @@ a.hover-black {
.vm-details-help
ul
{
.vm-details-help
ul
{
padding-left
:
0px
;
padding-left
:
0px
;
}
}
/* footer */
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
30px
;
background-color
:
#101010
;
color
:
white
;
font-size
:
13px
;
padding
:
5px
5px
0
5px
;
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
0.4
);
text-align
:
center
;
}
footer
a
,
footer
a
:hover
,
footer
a
:visited
{
color
:
white
;
text-decoration
:
underline
;
}
circle/dashboard/templates/dashboard/base.html
View file @
ec135334
...
@@ -65,11 +65,12 @@
...
@@ -65,11 +65,12 @@
{% block content %}
{% block content %}
<h1
class=
"alert alert-error"
>
Please override "content" block.
</h1>
<h1
class=
"alert alert-error"
>
Please override "content" block.
</h1>
{% endblock %}
{% endblock %}
<hr
/>
<footer>
<p>
©
Company 2013
</p>
</footer>
</div>
<!-- /container -->
</div>
<!-- /container -->
<footer>
<a
href=
"#"
>
{% trans "Legal notice" %}
</a>
|
<a
href=
"#"
>
{% trans "Policy" %}
</a>
|
<a
href=
"#"
>
{% trans "Help" %}
</a>
|
<a
href=
"#"
>
{% trans "Support" %}
</a>
<span
class=
"pull-right"
>
©
BME IK 2014
</span>
</footer>
</body>
</body>
{% block extra_js %}
{% block extra_js %}
{% endblock %}
{% endblock %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment