diff options
author | Jochen Topf <jochen@topf.org> | 2015-03-06 09:03:28 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2015-03-06 09:03:28 +0100 |
commit | 520be26f5ab0a68959be073d9aa56bf7f173b7cf (patch) | |
tree | 6123836c27b3e072731e546dc97152ce0b2cf303 /web/viewsjs | |
parent | bcc7efc99bf87d6e8164dff537d2cc4a5c358b22 (diff) | |
download | taginfo-520be26f5ab0a68959be073d9aa56bf7f173b7cf.tar taginfo-520be26f5ab0a68959be073d9aa56bf7f173b7cf.tar.gz |
Remove outdated and long disabled JOSM styles report.
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/reports/josm_styles.js.erb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/web/viewsjs/reports/josm_styles.js.erb b/web/viewsjs/reports/josm_styles.js.erb deleted file mode 100644 index 6e49956..0000000 --- a/web/viewsjs/reports/josm_styles.js.erb +++ /dev/null @@ -1,38 +0,0 @@ -<% - osm = @trans.t.osm - misc = @trans.t.misc - %> -function create_flexigrid_with_option(stylename) { - create_flexigrid('grid-rules', { - url: '/api/4/josm/style/rules?style=' + stylename, - colModel: [ - { display: '<%= h(osm.key) %>', name: 'key', width: 300, sortable: true }, - { display: '<%= h(osm.value) %>', name: 'value', width: 300, sortable: true }, - { display: '<%= h(misc.icon) %>', name: 'icon', width: 40, sortable: false, align: 'center' }, - { display: '<%= h(misc.line) %>', name: 'line', width: 40, sortable: false, align: 'center' }, - { display: '<%= h(misc.area) %>', name: 'area', width: 40, sortable: false, align: 'center' } - ], - searchitems: [ - { display: '<%= h(osm.key) %>/<%= h(osm.value) %>', name: 'key' } - ], - sortname: 'key', - sortorder: 'asc', - preProcess: function(data) { - data.rows = jQuery.map(data.data, function(row, i) { - return { 'cell': [ - link_to_key(row.key), - fmt_josm_value(row.key, row.value, row.value_bool), - fmt_josm_icon('standard', row.icon), - fmt_josm_line(row.line_width, row.line_color), - fmt_josm_area(row.area_color) - ] }; - }); - return data; - } - }); -} - -function page_init() { - up = function() { window.location = '/reports'; }; - page_init2(); -} |