Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sam Burney
galdir
Commits
1188d785
Commit
1188d785
authored
5 years ago
by
Sam Burney
Browse files
Options
Download
Email Patches
Plain Diff
Added footer and license
parent
853839b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
9 deletions
+46
-9
galdir/assets/css/default.css
galdir/assets/css/default.css
+27
-0
galdir/templates/layouts/default.jinja2
galdir/templates/layouts/default.jinja2
+19
-9
No files found.
galdir/assets/css/default.css
View file @
1188d785
...
...
@@ -22,3 +22,30 @@ body {
.image-thumb
{
width
:
250px
;
}
.license
{
font-size
:
11px
;
}
/* Sticky footer styles
-------------------------------------------------- */
html
,
body
{
height
:
100%
;
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap
{
min-height
:
100%
;
height
:
auto
!important
;
height
:
100%
;
/* Negative indent footer by it's height */
margin
:
0
auto
-50px
;
}
/* Set the fixed height of the footer here */
#push
,
#footer
{
height
:
50px
;
}
This diff is collapsed.
Click to expand it.
galdir/templates/layouts/default.jinja2
View file @
1188d785
...
...
@@ -26,18 +26,28 @@
<script
src=
"https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"
></script>
</head>
<body>
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
id=
"wrap"
>
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<a
class=
"navbar-brand"
href=
"/"
>
{{request.registry.settings['galdir.sitename']}}
</a>
</div>
</div>
</nav>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<a
class=
"navbar-brand"
href=
"/"
>
{{request.registry.settings['galdir.sitename']}}
</a>
<div
class=
"content"
id=
"content"
>
{% block content %}
<p>
No content
</p>
{% endblock content %}
</div>
</div>
</nav>
<div
class=
"container"
>
<div
class=
"content"
id=
"content"
>
{% block content %}
<p>
No content
</p>
{% endblock content %}
<div
id=
"push"
></div>
</div>
<div
id=
"footer"
class=
"container"
>
<div
class=
"row license text-center"
>
<a
href=
"https://github.com/samburney/galdir/issues"
>
Report a Bug or Request a Feature
</a><br
/>
<a
rel=
"license"
href=
"http://creativecommons.org/licenses/by-sa/4.0/"
><img
alt=
"Creative Commons License"
style=
"border-width:0"
src=
"https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
/></a>
<a
href=
"https://github.com/samburney/galdir"
>
GalDir
</a>
is licensed under a
<a
rel=
"license"
href=
"http://creativecommons.org/licenses/by-sa/4.0/"
>
Creative Commons Attribution-ShareAlike 4.0 International License
</a>
.
</div>
</div>
</body>
...
...
This diff is collapsed.
Click to expand it.
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