summaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-18 16:38:26 +0100
committerJochen Topf <jochen@topf.org>2013-01-18 16:38:26 +0100
commitcccd07319ce6979fc068ed55f9c4b778998b01aa (patch)
tree9b67b1c75b0340185b1475995fccc5187aeb7fff /web/views
parent1c332107b2fc68f997cee654cfcf18604ab55c9b (diff)
downloadtaginfo-cccd07319ce6979fc068ed55f9c4b778998b01aa.tar
taginfo-cccd07319ce6979fc068ed55f9c4b778998b01aa.tar.gz
Add help dialog
Diffstat (limited to 'web/views')
-rw-r--r--web/views/layout.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/views/layout.erb b/web/views/layout.erb
index d7fe18b..8ea0f9a 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -44,9 +44,16 @@
<a href="/keys"><%= t.osm.keys %></a> &middot; <a href="/tags"><%= t.osm.tags %></a> &middot; <a href="/relations"><%= t.osm.relations %></a> &middot;
<a href="/reports"><%= t.taginfo.reports %></a> &middot; <a href="/sources"><%= t.taginfo.sources %></a> &middot;
<a href="/download"><%= t.taginfo.download %></a> &middot; <a href="/about"><%= t.taginfo.about %></a> &middot;
+ <a id="help_link" href="#help"><%= t.misc.help %></a> &middot;
<a class="extlink" href="http://wiki.openstreetmap.org/wiki/Taginfo"><%= t.taginfo.wiki %></a>
</div>
</div>
<div id="javascriptmsg" style="position: absolute; top: 0px; left: 240px; background-color: #f08080; padding: 10px; margin: 20px 40px;">This website only works with Javascript! Please enable Javascript in your browser.</div>
+ <div id="help" style="display: none;"><div id="help_tabs">
+ <ul>
+ <li><a href="/help/search"><%= t.help.search.title %></a></li>
+ <li><a href="/help/keyboard"><%= t.help.keyboard.title %></a></li>
+ </ul>
+ </div></div>
</body>
</html>