show portal load level by color

This commit is contained in:
fkloft 2013-07-12 17:13:34 +02:00
parent 718857b861
commit 08838020a1
2 changed files with 13 additions and 2 deletions

View File

@ -48,9 +48,9 @@ window.renderUpdateStatus = function() {
var t = '<span class="help portallevel" title="Indicates portal levels displayed. Zoom in to display lower level portals."><b>portals</b>: ';
var minlvl = getMinPortalLevel();
if(minlvl === 0)
t += 'all';
t+= '<span class="loadlevel">all</span>';
else
t+= 'L'+minlvl+(minlvl<8?'+':'');
t+= '<span class="loadlevel" style="background:'+COLORS_LVL[minlvl]+'">L'+minlvl+(minlvl<8?'+':'') + '</span>';
t +='</span>';
t += ' <span class="map"><b>map</b>: ';

View File

@ -717,6 +717,17 @@ h3 {
box-sizing: border-box;
}
#updatestatus .loadlevel {
background: #FFF;
color: #000000;
display: inline-block;
min-width: 1.5em;
border: 1px solid #20A8B1;
border-width: 0 1px;
margin: -4px 0;
padding: 4px 0.2em;
}
#updatestatus .map {
margin-left: 8px;
}