aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2015-08-08 17:51:27 +0200
committerJochen Topf <jochen@topf.org>2015-08-08 17:51:27 +0200
commit20873ba66a39a337cb5cca45f3353199c909ed71 (patch)
tree6b8494ea32718123717633e18bdf59b6dd1dce6f /web/views
parent1479460a13885a5f28f5bed7003fd974dca496fa (diff)
downloadtaginfo-20873ba66a39a337cb5cca45f3353199c909ed71.tar
taginfo-20873ba66a39a337cb5cca45f3353199c909ed71.tar.gz
experiments using taginfo on mobile
Diffstat (limited to 'web/views')
-rw-r--r--web/views/layout.erb17
1 files changed, 12 insertions, 5 deletions
diff --git a/web/views/layout.erb b/web/views/layout.erb
index 3320c15..f09f543 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -4,9 +4,11 @@
<title><%= h(title) %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="content-language" content="<%= r18n.locale.code %>" />
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="/css/taginfo.css" />
<link rel="stylesheet" type="text/css" href="/css/smoothness/jquery-ui-1.8.10.custom-minified.css" />
<link rel="stylesheet" type="text/css" href="/css/flexigrid/flexigrid-minified.css" />
+ <link rel="stylesheet" type="text/css" href="/css/slicknav.min.css" />
<link rel="search" type="application/opensearchdescription+xml" href="/search/opensearch.xml" title="<%= TaginfoConfig.get('opensearch.shortname') %>" />
<% if @css %>
<style type="text/css"><!--
@@ -41,6 +43,16 @@
<% end %>
</div>
</div>
+<% unless @nosearch %>
+ <ul id="menu">
+ <li><a href="/keys"><%= h(t.osm.keys) %></a></li>
+ <li><a href="/tags"><%= h(t.osm.tags) %></a></li>
+ <li><a href="/relations"><%= h(t.osm.relations) %></a></li>
+ <li><a href="/projects"><%= h(t.taginfo.projects) %></a></li>
+ <li><a href="/reports"><%= h(t.taginfo.reports) %></a></li>
+ <li><a href="/about"><%= h(t.taginfo.about) %></a></li>
+ </ul>
+<% end %>
<div id="main">
<%= yield %>
</div>
@@ -48,12 +60,7 @@
<div id="footer_left"><a class="extlink" href="//www.openstreetmap.org/"><b>OpenStreetMap</b></a> &middot;
<a href="//www.openstreetmap.org/copyright">Data &copy; OSM contributors (ODbL)</a></div>
<div id="footer_right">
- <a href="/keys"><%= h(t.osm.keys) %></a> &middot;
- <a href="/tags"><%= h(t.osm.tags) %></a> &middot;
- <a href="/relations"><%= h(t.osm.relations) %></a> &middot;
- <a href="/reports"><%= h(t.taginfo.reports) %></a> &middot;
<a href="/sources"><%= h(t.taginfo.sources) %></a> &middot;
- <a href="/projects"><%= h(t.taginfo.projects) %></a> &middot;
<a href="/download"><%= h(t.taginfo.download) %></a> &middot;
<a href="/taginfo/apidoc">API</a> &middot;
<a href="/about"><%= h(t.taginfo.about) %></a> &middot;