aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-25 15:40:10 +0100
committerJochen Topf <jochen@topf.org>2012-01-25 15:40:10 +0100
commit95ac1effb1a4e642a361ba03a0cc30aa5a1514ed (patch)
tree136945d787f9284f3fe85e0da498d29e8a038efd /web/views
parentb4cc49a9ee69abd30cffcbe6218a34807adcad32 (diff)
downloadtaginfo-95ac1effb1a4e642a361ba03a0cc30aa5a1514ed.tar
taginfo-95ac1effb1a4e642a361ba03a0cc30aa5a1514ed.tar.gz
Add width and height to img tags
Diffstat (limited to 'web/views')
-rw-r--r--web/views/embed/key.erb6
-rw-r--r--web/views/embed/tag.erb6
-rw-r--r--web/views/reports/language_comparison_table_for_keys_in_the_wiki.erb8
3 files changed, 10 insertions, 10 deletions
diff --git a/web/views/embed/key.erb b/web/views/embed/key.erb
index e1aaa09..8517ddf 100644
--- a/web/views/embed/key.erb
+++ b/web/views/embed/key.erb
@@ -8,15 +8,15 @@
<a target="_blank" title="More information about key '<%= escape_html(@key) %>' at Taginfo" href="http://taginfo.openstreetmap.org/keys/?key=<%= escape(@key) %>">tag<b>info</b> [More...]</a>
<div class="content"><table>
<tr>
- <td class="ft"><img src="/img/types/node.16.png" alt="Nodes" title="Nodes with key '<%= escape_html(@key) %>' in database"></td>
+ <td class="ft"><img src="/img/types/node.16.png" width="16" height="16" alt="Nodes" title="Nodes with key '<%= escape_html(@key) %>' in database"></td>
<td title="Nodes with key '<%= escape_html(@key) %>' in database"><%= @dbkey['count_nodes'].to_i.to_s_with_ts %></td>
</tr>
<tr>
- <td class="ft"><img src="/img/types/way.16.png" alt="Ways" title="Ways with key '<%= escape_html(@key) %>' in database"></td>
+ <td class="ft"><img src="/img/types/way.16.png" width="16" height="16" alt="Ways" title="Ways with key '<%= escape_html(@key) %>' in database"></td>
<td title="Ways with key '<%= escape_html(@key) %>' in database"><%= @dbkey['count_ways'].to_i.to_s_with_ts %></td>
</tr>
<tr>
- <td class="ft"><img src="/img/types/relation.16.png" alt="Relations" title="Relations with key '<%= escape_html(@key) %>' in database"></td>
+ <td class="ft"><img src="/img/types/relation.16.png" width="16" height="16" alt="Relations" title="Relations with key '<%= escape_html(@key) %>' in database"></td>
<td title="Relations with key '<%= escape_html(@key) %>' in database"><%= @dbkey['count_relations'].to_i.to_s_with_ts %></td>
</tr>
</table></div>
diff --git a/web/views/embed/tag.erb b/web/views/embed/tag.erb
index 394f168..763a1dd 100644
--- a/web/views/embed/tag.erb
+++ b/web/views/embed/tag.erb
@@ -8,17 +8,17 @@
<a target="_blank" title="More information about tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' at Taginfo" href="http://taginfo.openstreetmap.org/tags/?key=<%= escape(@key) %>&value=<%= escape(@value) %>">tag<b>info</b> [More...]</a>
<div class="content"><table>
<tr>
- <td class="ft"><img src="/img/types/node.16.png" alt="Nodes" title="Nodes with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
+ <td class="ft"><img src="/img/types/node.16.png" width="16" height="16" alt="Nodes" title="Nodes with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
<td class="ft" title="Nodes with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"><%= @dbtag['count_nodes'].to_i.to_s_with_ts %></td>
<td title="Fraction of all nodes with key '<%= escape_html(@key) %>'"><%= '%.2f' % (@dbtag['count_nodes'].to_f / @dbkey['count_nodes'].to_f * 100) %>&thinsp;%</td>
</tr>
<tr>
- <td class="ft"><img src="/img/types/way.16.png" alt="Ways" title="Ways with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
+ <td class="ft"><img src="/img/types/way.16.png" width="16" height="16" alt="Ways" title="Ways with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
<td class="ft" title="Ways with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"><%= @dbtag['count_ways'].to_i.to_s_with_ts %></td>
<td title="Fraction of all ways with key '<%= escape_html(@key) %>'"><%= '%.2f' % (@dbtag['count_ways'].to_f / @dbkey['count_ways'].to_f * 100) %>&thinsp;%</td>
</tr>
<tr>
- <td class="ft"><img src="/img/types/relation.16.png" alt="Relations" title="Relations with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
+ <td class="ft"><img src="/img/types/relation.16.png" width="16" height="16" alt="Relations" title="Relations with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"></td>
<td class="ft" title="Relations with tag '<%= escape_html(@key) %>=<%= escape_html(@value) %>' in database"><%= @dbtag['count_relations'].to_i.to_s_with_ts %></td>
<td title="Fraction of all relations with key '<%= escape_html(@key) %>'"><%= '%.2f' % (@dbtag['count_relations'].to_f / @dbkey['count_relations'].to_f * 100) %>&thinsp;%</td>
</tr>
diff --git a/web/views/reports/language_comparison_table_for_keys_in_the_wiki.erb b/web/views/reports/language_comparison_table_for_keys_in_the_wiki.erb
index 3221a41..c84ffb1 100644
--- a/web/views/reports/language_comparison_table_for_keys_in_the_wiki.erb
+++ b/web/views/reports/language_comparison_table_for_keys_in_the_wiki.erb
@@ -6,10 +6,10 @@
<table id="grid-keys">
</table>
<table class="boxpre">
- <tr><td><img src="/img/sources/wiki/wiki-t.png" alt="[t]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.template %></td></tr>
- <tr><td><img src="/img/sources/wiki/wiki-e.png" alt="[e]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.error %></td></tr>
- <tr><td><img src="/img/sources/wiki/wiki-p.png" alt="[p]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.page %></td></tr>
- <tr><td><img src="/img/sources/wiki/wiki-r.png" alt="[r]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.redirect %></td></tr>
+ <tr><td><img width="16" height="16" src="/img/sources/wiki/wiki-t.png" alt="[t]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.template %></td></tr>
+ <tr><td><img width="16" height="16" src="/img/sources/wiki/wiki-e.png" alt="[e]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.error %></td></tr>
+ <tr><td><img width="16" height="16" src="/img/sources/wiki/wiki-p.png" alt="[p]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.page %></td></tr>
+ <tr><td><img width="16" height="16" src="/img/sources/wiki/wiki-r.png" alt="[r]"/></td><td><%= t.reports.language_comparison_table_for_keys_in_the_wiki.icons.redirect %></td></tr>
</table>
</div>
<% javascript "#{ r18n.locale.code }/reports/language_comparison_table_for_keys_in_the_wiki" %>