minor tweak to portals-list

- remove unneeded console.log
- css change so copy+paste works better - one line per table row
This commit is contained in:
Jon Atkins 2013-10-20 23:00:54 +01:00
parent 5b81fa4086
commit 9ee42fcf49

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-portals-list@teo96 // @id iitc-plugin-portals-list@teo96
// @name IITC plugin: show list of portals // @name IITC plugin: show list of portals
// @category Info // @category Info
// @version 0.0.16.@@DATETIMEVERSION@@ // @version 0.0.17.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@ // @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@ // @downloadURL @@DOWNLOADURL@@
@ -146,7 +146,7 @@ window.plugin.portalslist.getPortals = function() {
} }
}else { mods[ind] = ['', '', '']; } }else { mods[ind] = ['', '', '']; }
}); });
console.log(mods);
var APgain= getAttackApGain(d).enemyAp; var APgain= getAttackApGain(d).enemyAp;
var thisPortal = {'portal': d, var thisPortal = {'portal': d,
'name': name, 'name': name,
@ -442,7 +442,7 @@ var setup = function() {
'#portalslist .filterRes { margin-top: 10px; background-color: #005684 }' + '#portalslist .filterRes { margin-top: 10px; background-color: #005684 }' +
'#portalslist .filterEnl { margin-top: 10px; background-color: #017f01 }' + '#portalslist .filterEnl { margin-top: 10px; background-color: #017f01 }' +
'#portalslist .disclaimer { margin-top: 10px; font-size:10px; }' + '#portalslist .disclaimer { margin-top: 10px; font-size:10px; }' +
'#portalslist .portalTitle { width: 160px !important; min-width: 160px !important; max-width: 160px !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }' + '#portalslist .portalTitle { display: inline-block; width: 160px !important; min-width: 160px !important; max-width: 160px !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }' +
'</style>'); '</style>');
} }