diff options
author | Christopher Baines <mail@cbaines.net> | 2015-08-09 14:50:49 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-08-09 14:50:49 +0100 |
commit | 6e686ca398953e548acf85c8b5badcc342149911 (patch) | |
tree | a890727a29ab6e68363c4fb30b1d534367e4238f | |
parent | b0330f4ff6197eab5d9fdd2344a369c0cc7ac838 (diff) | |
download | taginfo-6e686ca398953e548acf85c8b5badcc342149911.tar taginfo-6e686ca398953e548acf85c8b5badcc342149911.tar.gz |
Put the date at the bottom
-rw-r--r-- | web/public/css/taginfo.css | 3 | ||||
-rw-r--r-- | web/views/layout.erb | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css index 56633a3..c5c759b 100644 --- a/web/public/css/taginfo.css +++ b/web/public/css/taginfo.css @@ -182,9 +182,10 @@ div#header_logo { float: left; } -div#header_date { +div#footer_date { display: inline-block; float: right; + clear: right; font-size: 80%; text-align: right; color: #808080; diff --git a/web/views/layout.erb b/web/views/layout.erb index 2665ac9..c1fa12b 100644 --- a/web/views/layout.erb +++ b/web/views/layout.erb @@ -28,7 +28,6 @@ <a href="/"><img width="129" height="49" src="/img/logo/taginfo.png" alt="taginfo"/></a> <% end %> </div> - <div id="header_date" title="<%= h(t.taginfo.data_from_description) %>" tipsy="ne"><%= h(t.taginfo.data_from) %>: <%= @data_until %> UTC</div> <div id="header_forms" class="no-print"> <form id="set_language" action="/switch_locale"> <input type="hidden" id="url" name="url" value="<%= request.path %>"/> @@ -78,6 +77,7 @@ <a id="help_link" href="#help"><%= h(t.misc.help) %></a> · <a class="extlink" href="//wiki.openstreetmap.org/wiki/Taginfo"><%= h(t.taginfo.wiki) %></a> </div> + <div id="footer_date" title="<%= h(t.taginfo.data_from_description) %>" tipsy="ne"><%= h(t.taginfo.data_from) %>: <%= @data_until %> UTC</div> </div> <div id="javascriptmsg">This website only works with Javascript! Please enable Javascript in your browser.</div> <div id="help"><div id="help_tabs"> |