Add a footer (with version)

This commit is contained in:
Paul van Tilburg 2015-06-06 12:26:16 +02:00
parent ba2b014ae7
commit 656867e044
2 changed files with 25 additions and 0 deletions

View File

@ -1772,6 +1772,14 @@ module StopTime::Views
self << yield
footer { br }
end
footer.footer do
div.container do
small do
text! "Stop… Camping Time! v#{StopTime::VERSION} — by "
a "Mozcode", :href => "https://mozcode.nl"
end
end
end
# JQuery and Bootstrap JavaScript
script :src => (R(Static, "") + "javascripts/jquery.min.js")
script :src => (R(Static, "") + "javascripts/bootstrap.min.js")

View File

@ -18,8 +18,25 @@
margin-bottom: 8px
/* Main elements */
html
position: relative
min-height: 100%
body
padding-top: 40px
margin-bottom: 24px
overflow-x: hidden
footer
position: absolute
width: 100%
height: 24px
bottom: 0
background-color: #f5f5f5
div
padding-top: 3px
text-align: center
/* General classes */
.billed