diff options
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/key.js.erb | 8 | ||||
-rw-r--r-- | web/viewsjs/reports/characters_in_keys.js.erb | 8 | ||||
-rw-r--r-- | web/viewsjs/reports/key_lengths.js.erb | 4 | ||||
-rw-r--r-- | web/viewsjs/tag.js.erb | 6 | ||||
-rw-r--r-- | web/viewsjs/tags.js.erb | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb index dbc5faf..aceef99 100644 --- a/web/viewsjs/key.js.erb +++ b/web/viewsjs/key.js.erb @@ -34,7 +34,7 @@ var create_flexigrid_for = { url: '/api/4/key/values?key=' + encodeURIComponent(key) + '&filter=' + encodeURIComponent(filter_type) + '&lang=' + encodeURIComponent(lang), colModel: [ { display: '<%= osm.value %>', name: 'value', width: 200, sortable: true }, - { display: '<%= misc.count %>', name: 'count', width: 240, sortable: true, align: 'center' }, + { display: '<%= misc.count %>', name: 'count', width: 260, sortable: true, align: 'center' }, { display: '<span title="<%= page.tag_description_from_wiki %>"><%= misc.description %></span>', name: 'description', width: 600, sortable: false, align: 'left' } ], searchitems: [ @@ -59,9 +59,9 @@ var create_flexigrid_for = { create_flexigrid('grid-keys', { url: '/api/4/key/combinations?key=' + encodeURIComponent(key) + '&filter=' + encodeURIComponent(filter_type), colModel: [ - { display: '<span title="<%= page.other_keys_used.to_count_tooltip %>"><%= misc.count %> →</span>', name: 'to_count', width: 320, sortable: true, align: 'center' }, - { display: '<span title="<%= page.other_keys_used.other_key_tooltip %>"><%= page.other_keys_used.other %></span>', name: 'other_key', width: 340, sortable: true }, - { display: '<span title="<%= page.other_keys_used.from_count_tooltip %>">→ <%= misc.count %></span>', name: 'from_count', width: 320, sortable: true, align: 'center' } + { display: '<span title="<%= page.other_keys_used.to_count_tooltip %>"><%= misc.count %> →</span>', name: 'to_count', width: 260, sortable: true, align: 'center' }, + { display: '<span title="<%= page.other_keys_used.other_key_tooltip %>"><%= page.other_keys_used.other %></span>', name: 'other_key', width: 400, sortable: true }, + { display: '<span title="<%= page.other_keys_used.from_count_tooltip %>">→ <%= misc.count %></span>', name: 'from_count', width: 260, sortable: true, align: 'center' } ], searchitems: [ { display: '<%= page.other_keys_used.other %>', name: 'other_key' } diff --git a/web/viewsjs/reports/characters_in_keys.js.erb b/web/viewsjs/reports/characters_in_keys.js.erb index 077d4f0..a36f7b4 100644 --- a/web/viewsjs/reports/characters_in_keys.js.erb +++ b/web/viewsjs/reports/characters_in_keys.js.erb @@ -8,12 +8,12 @@ var create_flexigrid_for = { url: '/api/4/keys/all?filters=characters_space&include=prevalent_values', colModel: [ { display: '<%= osm.key %>', name: 'key', width: 250, 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: 250, 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: 150, 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" width="16" height="16" alt="Wiki" title="<%= misc.in_wiki_tooltip %>"/>', name: 'in_wiki', width: 20, sortable: true, align: 'center' }, { display: '<img src="/img/sources/josm.16.png" width="16" height="16" alt="JOSM" title="<%= misc.in_josm_tooltip %>"/>', name: 'in_josm', width: 20, sortable: true, align: 'center' }, { display: '<span title="<%= misc.values_tooltip %>"><%= osm.values %></span>', name: 'values_all', width: 70, sortable: true, align: 'right' }, - { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 500, sortable: true } + { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 600, sortable: true } ], searchitems: [ { display: '<%= osm.key %>', name: 'key' } @@ -41,12 +41,12 @@ var create_flexigrid_for = { url: '/api/4/keys/all?filters=characters_problematic&include=prevalent_values', colModel: [ { display: '<%= osm.key %>', name: 'key', width: 250, 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: 250, 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: 150, 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" width="16" height="16" alt="Wiki" title="<%= misc.in_wiki_tooltip %>"/>', name: 'in_wiki', width: 20, sortable: true, align: 'center' }, { display: '<img src="/img/sources/josm.16.png" width="16" height="16" alt="JOSM" title="<%= misc.in_josm_tooltip %>"/>', name: 'in_josm', width: 20, sortable: true, align: 'center' }, { display: '<span title="<%= misc.values_tooltip %>"><%= osm.values %></span>', name: 'values_all', width: 70, sortable: true, align: 'right' }, - { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 500, sortable: true } + { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 600, sortable: true } ], searchitems: [ { display: '<%= osm.key %>', name: 'key' } diff --git a/web/viewsjs/reports/key_lengths.js.erb b/web/viewsjs/reports/key_lengths.js.erb index dc4c9f5..63652ca 100644 --- a/web/viewsjs/reports/key_lengths.js.erb +++ b/web/viewsjs/reports/key_lengths.js.erb @@ -10,11 +10,11 @@ var create_flexigrid_for = { colModel: [ { display: '<%= misc.length %>', name: 'length', width: 60, sortable: true, align: 'right' }, { display: '<%= osm.key %>', name: 'key', width: 180, 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: 250, 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: 200, sortable: true, align: 'center' }, { 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' }, { display: '<span title="<%= misc.values_tooltip %>"><%= osm.values %></span>', name: 'values_all', width: 70, sortable: true, align: 'right' }, - { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 500, sortable: true } + { display: '<span title="<%= misc.prevalent_values_tooltip %>"><%= misc.prevalent_values %></span>', name: 'prevalent_values', width: 550, sortable: true } ], searchitems: [ { display: '<%= osm.key %>', name: 'key' } diff --git a/web/viewsjs/tag.js.erb b/web/viewsjs/tag.js.erb index 3f7aedf..9ce2474 100644 --- a/web/viewsjs/tag.js.erb +++ b/web/viewsjs/tag.js.erb @@ -31,9 +31,9 @@ var create_flexigrid_for = { create_flexigrid('grid-combinations', { url: '/api/4/tag/combinations?key=' + encodeURIComponent(key) + '&value=' + encodeURIComponent(value) + '&filter=' + encodeURIComponent(filter_type), colModel: [ - { display: '<span title="<%= page.other_tags_used.to_count_tooltip %>"><%= misc.count %> →</span>', name: 'to_count', width: 320, sortable: true, align: 'center' }, - { display: '<span title="<%= page.other_tags_used.other_key_tooltip %>"><%= page.other_tags_used.other %></span>', name: 'other_tag', width: 340, sortable: true }, - { display: '<span title="<%= page.other_tags_used.from_count_tooltip %>">→ <%= misc.count %></span>', name: 'from_count', width: 320, sortable: true, align: 'center' } + { display: '<span title="<%= page.other_tags_used.to_count_tooltip %>"><%= misc.count %> →</span>', name: 'to_count', width: 260, sortable: true, align: 'center' }, + { display: '<span title="<%= page.other_tags_used.other_key_tooltip %>"><%= page.other_tags_used.other %></span>', name: 'other_tag', width: 400, sortable: true }, + { display: '<span title="<%= page.other_tags_used.from_count_tooltip %>">→ <%= misc.count %></span>', name: 'from_count', width: 260, sortable: true, align: 'center' } ], searchitems: [ { display: '<%= page.other_tags_used.other %>', name: 'other_tag' } diff --git a/web/viewsjs/tags.js.erb b/web/viewsjs/tags.js.erb index e9e926e..5b2e6f5 100644 --- a/web/viewsjs/tags.js.erb +++ b/web/viewsjs/tags.js.erb @@ -7,7 +7,7 @@ function page_init() { url: '/api/4/tags/popular', colModel: [ { display: '<%= osm.tag %>', name: 'tag', width: 300, 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: 260, 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: 220, 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' } |