summaryrefslogtreecommitdiff
path: root/web/views/index.erb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-10-04 18:41:53 +0200
committerJochen Topf <jochen@topf.org>2010-10-04 18:41:53 +0200
commit9918c2c4c266a29848ce39fe2496876c66c3a48e (patch)
treeb49fe450d33dcb3c30b37f7bff68fbb475ecec66 /web/views/index.erb
downloadtaginfo-9918c2c4c266a29848ce39fe2496876c66c3a48e.tar
taginfo-9918c2c4c266a29848ce39fe2496876c66c3a48e.tar.gz
first commit
Diffstat (limited to 'web/views/index.erb')
-rw-r--r--web/views/index.erb11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/views/index.erb b/web/views/index.erb
new file mode 100644
index 0000000..01d4051
--- /dev/null
+++ b/web/views/index.erb
@@ -0,0 +1,11 @@
+<div style="text-align: center;">
+ <h1><img src="/img/taginfo.128.png" class="icon_large" alt=""/><br/>Taginfo</h1>
+
+ <p>[<a href="/keys">Show all Keys</a>]</p>
+
+ <div class="tagcloud">
+ <% @tags.each do |tag| %>
+ <a href="/tags/<%= tag['key'] %>" class="popkey" style="font-size: <%= tagcloud_size(tag) %>px;"><%= tag['key'] %></a>
+ <% end %>
+ </div>
+</div>