aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-04 09:31:19 +0100
committerJochen Topf <jochen@topf.org>2013-01-04 09:31:19 +0100
commit1e0b7c83abd3a5865fffc223d4bb13b74f6f8569 (patch)
treed9117dc75119455c625e8a42c911016ce133be04 /web/viewsjs
parentfd99a04ca070c6ee2ec3c6f06081fdeb997bdc9e (diff)
downloadtaginfo-1e0b7c83abd3a5865fffc223d4bb13b74f6f8569.tar
taginfo-1e0b7c83abd3a5865fffc223d4bb13b74f6f8569.tar.gz
Adjust column width in keys view.
Width for all count columns should now fit for all data we want so show.
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/keys.js.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/viewsjs/keys.js.erb b/web/viewsjs/keys.js.erb
index a19754f..39cbe3d 100644
--- a/web/viewsjs/keys.js.erb
+++ b/web/viewsjs/keys.js.erb
@@ -7,10 +7,10 @@ function page_init() {
url: '/api/2/db/keys?include=prevalent_values',
colModel: [
{ display: '<%= osm.key %>', name: 'key', width: 160, sortable: true },
- { display: '<span title="<%= misc.objects_tooltip %>"><img src="/img/types/all.16.png" width="16" height="16" alt=""/> <%= osm.objects %></span>', name: 'count_all', width: 200, sortable: true, align: 'center' },
- { display: '<span title="<%= misc.nodes_tooltip %>"><img src="/img/types/node.16.png" width="16" height="16" alt=""/> <%= osm.nodes %></span>', name: 'count_nodes', width: 220, sortable: true, align: 'center' },
- { display: '<span title="<%= misc.ways_tooltip %>"><img src="/img/types/way.16.png" width="16" height="16" alt=""/> <%= osm.ways %></span>', name: 'count_ways', width: 220, sortable: true, align: 'center' },
- { display: '<span title="<%= misc.relations_tooltip %>"><img src="/img/types/relation.16.png" width="16" height="16" alt=""/> <%= osm.relations %></span>', name: 'count_relations', width: 220, sortable: true, align: 'center' },
+ { display: '<span title="<%= misc.objects_tooltip %>"><img src="/img/types/all.16.png" width="16" height="16" alt=""/> <%= osm.objects %></span>', name: 'count_all', width: 160, sortable: true, align: 'center' },
+ { display: '<span title="<%= misc.nodes_tooltip %>"><img src="/img/types/node.16.png" width="16" height="16" alt=""/> <%= osm.nodes %></span>', name: 'count_nodes', width: 250, sortable: true, align: 'center' },
+ { display: '<span title="<%= misc.ways_tooltip %>"><img src="/img/types/way.16.png" width="16" height="16" alt=""/> <%= osm.ways %></span>', name: 'count_ways', width: 250, sortable: true, align: 'center' },
+ { display: '<span title="<%= misc.relations_tooltip %>"><img src="/img/types/relation.16.png" width="16" height="16" alt=""/> <%= osm.relations %></span>', name: 'count_relations', width: 250, sortable: true, align: 'center' },
{ display: '<span title="<%= misc.users_tooltip %>"><%= osm.users %></span>', name: 'users_all', width: 44, sortable: true, align: 'right' },
{ display: '<img src="/img/sources/wiki.16.png" alt="Wiki" width="16" height="16" title="<%= misc.in_wiki_tooltip %>"/>', name: 'in_wiki', width: 20, sortable: true, align: 'center' },
{ display: '<img src="/img/sources/josm.16.png" alt="JOSM" width="16" height="16" title="<%= misc.in_josm_tooltip %>"/>', name: 'in_josm', width: 20, sortable: true, align: 'center' },