summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-11-06 19:26:56 +0100
committerJochen Topf <jochen@topf.org>2010-11-06 19:26:56 +0100
commit0f75e20a725cb7dbc08cbf476f7343c68dfcc3cd (patch)
treef0c562acea998814b04af8f6d95064f6f33e20e7
parenta246115e8fb354312447e9e5bf0f7939afc47469 (diff)
downloadtaginfo-0f75e20a725cb7dbc08cbf476f7343c68dfcc3cd.tar
taginfo-0f75e20a725cb7dbc08cbf476f7343c68dfcc3cd.tar.gz
Use greyed out symbol for disabled button
-rw-r--r--web/public/img/link-extern-disabled.gifbin0 -> 107 bytes
-rw-r--r--web/views/key.erb4
-rw-r--r--web/views/tag.erb4
3 files changed, 4 insertions, 4 deletions
diff --git a/web/public/img/link-extern-disabled.gif b/web/public/img/link-extern-disabled.gif
new file mode 100644
index 0000000..a6531e4
--- /dev/null
+++ b/web/public/img/link-extern-disabled.gif
Binary files differ
diff --git a/web/views/key.erb b/web/views/key.erb
index 7eedbcb..7bbea09 100644
--- a/web/views/key.erb
+++ b/web/views/key.erb
@@ -11,8 +11,8 @@
<% if @count_all_values < 1000 %>
<%= xapi_link('*', @key) %> <%= josm_link('*', @key) %>
<% else %>
- <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern.gif" alt=""/>XAPI</span>
- <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern.gif" alt=""/>JOSM</span>
+ <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern-disabled.gif" alt=""/>XAPI</span>
+ <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern-disabled.gif" alt=""/>JOSM</span>
<% end %>
</div>
diff --git a/web/views/tag.erb b/web/views/tag.erb
index ffdf9f4..1971178 100644
--- a/web/views/tag.erb
+++ b/web/views/tag.erb
@@ -11,8 +11,8 @@
<% if @count_all < 1000 %>
<%= xapi_link('*', @key, @value) %> <%= josm_link('*', @key, @value) %>
<% else %>
- <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern.gif" alt=""/>XAPI</span>
- <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern.gif" alt=""/>JOSM</span>
+ <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern-disabled.gif" alt=""/>XAPI</span>
+ <span class="button disabled" title="Button disabled, because there are too many objects with this key"><img src="/img/link-extern-disabled.gif" alt=""/>JOSM</span>
<% end %>
</div>