diff --git a/stoptime.rb b/stoptime.rb index 341f2a4..e5c045b 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -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") diff --git a/templates/sass/style.sass b/templates/sass/style.sass index dbee3b9..a6752eb 100644 --- a/templates/sass/style.sass +++ b/templates/sass/style.sass @@ -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