Add a footer (with version)
This commit is contained in:
parent
ba2b014ae7
commit
656867e044
|
@ -1772,6 +1772,14 @@ module StopTime::Views
|
||||||
self << yield
|
self << yield
|
||||||
footer { br }
|
footer { br }
|
||||||
end
|
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
|
# JQuery and Bootstrap JavaScript
|
||||||
script :src => (R(Static, "") + "javascripts/jquery.min.js")
|
script :src => (R(Static, "") + "javascripts/jquery.min.js")
|
||||||
script :src => (R(Static, "") + "javascripts/bootstrap.min.js")
|
script :src => (R(Static, "") + "javascripts/bootstrap.min.js")
|
||||||
|
|
|
@ -18,8 +18,25 @@
|
||||||
margin-bottom: 8px
|
margin-bottom: 8px
|
||||||
|
|
||||||
/* Main elements */
|
/* Main elements */
|
||||||
|
html
|
||||||
|
position: relative
|
||||||
|
min-height: 100%
|
||||||
|
|
||||||
body
|
body
|
||||||
padding-top: 40px
|
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 */
|
/* General classes */
|
||||||
.billed
|
.billed
|
||||||
|
|
Loading…
Reference in New Issue