From 9b824bff6529d19bae86fa840f66479e22dabffb Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 23 Oct 2013 01:53:00 -0700 Subject: system security status colors --- web/static/js/home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/static/js/home.js') diff --git a/web/static/js/home.js b/web/static/js/home.js index 11e1422..b0bc9d0 100644 --- a/web/static/js/home.js +++ b/web/static/js/home.js @@ -5,7 +5,7 @@ window.addEvent('domready', function() { table.grab(new Element('tr').adopt( new Element('td').grab(ykill.portrait(kill['ship_type_id'], kill['ship_name'], 'type', '_32.png')), new Element('td', {'html': kill['ship_name']}), - new Element('td', {'html': kill['system_name'] + ' (' + kill['security'].toFixed(1) + ')'}), + new Element('td', {'html': ykill.format_system(kill['system_name'], kill['security'], kill['security_status'])}), new Element('td').grab( new Element('a', { 'href': '/kill/' + kill['kill_id'], -- cgit v1.2.3