diff --git a/plugins/portal-counts.user.js b/plugins/portal-counts.user.js
index 388bc125..91c99e91 100644
--- a/plugins/portal-counts.user.js
+++ b/plugins/portal-counts.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @id iitc-plugin-portals-count@yenky
// @name IITC plugin: Show total counts of portals
-// @version 0.0.4.@@DATETIMEVERSION@@
+// @version 0.0.5.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@@ -13,6 +13,8 @@
// ==/UserScript==
/* whatsnew
+* 0.0.5 : changed table layout, added some colors
+* 0.0.4 : reverse show order of portals, using MAX_PORTAL_LEVEL now for array, changed table layout to be more compact, cleaned up code
* 0.0.3 : fixed incorrect rounded portal levels, adjusted viewport
* 0.0.2 : fixed counts to be reset after scrolling
* 0.0.1 : initial release, show count of portals
@@ -80,14 +82,14 @@ window.plugin.portalcounts.getPortals = function(){
counts += '';
}
counts += '
  |
';
- counts += 'Neutral: | ';
+ counts += ' |
Neutral: | ';
if(minlvl > 0)
counts += 'zoom in to see unclaimed';
else
counts += window.plugin.portalcounts.neuP;
counts += ' Portal(s) |
';
- counts += 'Enlightment: | '+window.plugin.portalcounts.enlP+' Portal(s) |
';
- counts += 'Resistance: | '+window.plugin.portalcounts.resP+' Portal(s) |
';
+ counts += 'Enlightment: | '+window.plugin.portalcounts.enlP+' Portal(s) |
';
+ counts += 'Resistance: | '+window.plugin.portalcounts.resP+' Portal(s) |
';
} else
counts += 'No Portals in range ! |
';
counts += '';
@@ -102,8 +104,7 @@ var setup = function() {
'#portalcounts table td, #portalcounts table th {border-bottom: 1px solid #0b314e; padding:3px; color:white; background-color:#1b415e}' +
'#portalcounts table tr.res th { background-color: #005684; }' +
'#portalcounts table tr.enl th { background-color: #017f01; }' +
- '#portalcounts table tr.neutral th { background-color: #000000; }' +
- '#portalcounts table th { text-align:center;}' +
+ '#portalcounts table th { text-align: center;}' +
'#portalcounts table td { text-align: center;}' +
'#portalcounts table td.L0 { background-color: #000000 !important;}' +
'#portalcounts table td.L1 { background-color: #FECE5A !important;}' +
diff --git a/screenshots/plugin_portal_counts.png b/screenshots/plugin_portal_counts.png
index 2979dabd..0a5985ea 100755
Binary files a/screenshots/plugin_portal_counts.png and b/screenshots/plugin_portal_counts.png differ