summaryrefslogtreecommitdiff
path: root/web/views/download.erb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-01 14:44:49 +0100
committerJochen Topf <jochen@topf.org>2012-01-01 14:44:49 +0100
commita5ac86246481bba7fbdd5e5afc4a93d4f9fa0641 (patch)
tree3b979dcf8b0c571033c20b4097ecfefc5b57ee15 /web/views/download.erb
parent1f939fbdd1f94b18056c05eba14d2e509a5ae32b (diff)
downloadtaginfo-a5ac86246481bba7fbdd5e5afc4a93d4f9fa0641.tar
taginfo-a5ac86246481bba7fbdd5e5afc4a93d4f9fa0641.tar.gz
List table layout cleanup
Diffstat (limited to 'web/views/download.erb')
-rw-r--r--web/views/download.erb29
1 files changed, 14 insertions, 15 deletions
diff --git a/web/views/download.erb b/web/views/download.erb
index 9645a53..9eb95aa 100644
--- a/web/views/download.erb
+++ b/web/views/download.erb
@@ -4,22 +4,21 @@
<table class="list">
<tr>
- <th></th><th></th><th><%= t.pages.download.index.file %></th><th><%= t.pages.download.index.packed %></th><th><%= t.pages.download.index.unpacked %></th><th><%= t.pages.download.index.description %></th><th></th>
+ <th class="tl"><%= t.pages.download.index.file %></th>
+ <th class="tr"><%= t.pages.download.index.packed %></th>
+ <th class="tr"><%= t.pages.download.index.unpacked %></th>
+ <th class="tl"><%= t.pages.download.index.description %></th>
</tr>
<% Source.visible.each do |source| %>
- <tr><td class="border"></td>
- <td style="text-align: center;"><%= source.img %></td>
- <td><%= source.link_download %></td>
- <td style="text-align: right;"><%= source.dbpack %></td><td style="text-align: right;"><%= source.dbsize %></td>
- <td><%= t.sources[source.id].description %></td>
- <td class="border"></td></tr>
+ <td class="tl"><%= source.link_download %></td>
+ <td class="tr"><%= source.dbpack %></td>
+ <td class="tr"><%= source.dbsize %></td>
+ <td class="tl"><%= t.sources[source.id].description %></td>
+ </tr>
<% end %>
- <tr><td class="border"></td>
- <td style="text-align: center;"><img src="/img/taginfo.32.png" alt="Taginfo" width="32" height="16"/></td>
- <td><a rel="nofollow" href="/download/taginfo-master.db.bz2">taginfo-master.db.bz2</a></td>
- <td style="text-align: right;"><%= File.size("../../download/taginfo-master.db.bz2").to_bytes rescue "<i>#{ t.pages.download.index.unknown }</i>" %></td>
- <td style="text-align: right;"><%= File.size("../../data/taginfo-master.db").to_bytes rescue "<i>#{ t.pages.download.index.unknown }</i>" %></td>
- <td><%= t.sources.master.description %></td>
- <td class="border"></td></tr>
- <tr><th colspan="7"/></tr>
+ <td class="tl"><a rel="nofollow" href="/download/taginfo-master.db.bz2">taginfo-master.db.bz2</a></td>
+ <td class="tr"><%= File.size("../../download/taginfo-master.db.bz2").to_bytes rescue "<i>#{ t.pages.download.index.unknown }</i>" %></td>
+ <td class="tr"><%= File.size("../../data/taginfo-master.db").to_bytes rescue "<i>#{ t.pages.download.index.unknown }</i>" %></td>
+ <td class="tl"><%= t.sources.master.description %></td>
+ </tr>
</table>