[FIX] changed inline styles to css in overview

This commit is contained in:
iAmShorty 2014-03-10 11:15:19 +01:00
parent 2225468374
commit 03c890bad2
2 changed files with 25 additions and 9 deletions

View File

@ -371,3 +371,19 @@ div.overview {
span.bigfont {
font-size: 100%;
}
th.sharesvalid {
color:#468847;
background-color:rgb(223, 240, 216);
}
th.sharesefficiency {
color:#3A87AD;
background-color:#D9EDF7;
}
th.shareswarning {
color:#B94A48;
background-color:#F2DEDE;
}

View File

@ -28,23 +28,23 @@
<thead>
<tr>
<th><h4><i class="fa fa-cloud fa-fw"></i> Round Shares</h4></th>
<th style="color:#468847;background-color:rgb(223, 240, 216);"><h4><i class="fa fa-thumbs-up fa-hw"></i> Valid</h4></th>
<th style="color:#B94A48;background-color:#F2DEDE;"><h4><i class="fa fa-thumbs-down fa-hw"></i> Invalid</h4></th>
<th style="color:#3A87AD;background-color:#D9EDF7;"><h4><i class="fa fa-dot-circle-o fa-hw"></i> Efficiency</h4></th>
<th class="sharesvalid"><h4><i class="fa fa-thumbs-up fa-hw"></i> Valid</h4></th>
<th class="shareswarning"><h4><i class="fa fa-thumbs-down fa-hw"></i> Invalid</h4></th>
<th class="sharesefficiency"><h4><i class="fa fa-dot-circle-o fa-hw"></i> Efficiency</h4></th>
</tr>
<tr>
<th><h4><i class="fa fa-user fa-fw"></i> My Shares</h4></td>
<th style="color:#468847;background-color:rgb(223, 240, 216);"><h4 id="b-yvalid">{$GLOBAL.userdata.shares.valid|number_format}</h4></th>
<th style="color:#B94A48;background-color:#F2DEDE;"><h4 id="b-yivalid">{$GLOBAL.userdata.shares.invalid|number_format}</h4></th>
<th style="color:#3A87AD;background-color:#D9EDF7;">
<th class="sharesvalid"><h4 id="b-yvalid">{$GLOBAL.userdata.shares.valid|number_format}</h4></th>
<th class="shareswarning"><h4 id="b-yivalid">{$GLOBAL.userdata.shares.invalid|number_format}</h4></th>
<th class="sharesefficiency">
<h4 id="b-yefficiency">{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}</h4>
</th>
</tr>
<tr>
<th><h4><i class="fa fa-users fa-fw"></i> Pool Shares</h4></th>
<th style="color:#468847;background-color:rgb(223, 240, 216);"><h4 id="b-pvalid">{$GLOBAL.roundshares.valid|number_format}</h4></th>
<th style="color:#B94A48;background-color:#F2DEDE;"><h4 id="b-pivalid">{$GLOBAL.roundshares.invalid|number_format}</h4></th>
<th style="color:#3A87AD;background-color:#D9EDF7;">
<th class="sharesvalid"><h4 id="b-pvalid">{$GLOBAL.roundshares.valid|number_format}</h4></th>
<th class="shareswarning"><h4 id="b-pivalid">{$GLOBAL.roundshares.invalid|number_format}</h4></th>
<th class="sharesefficiency">
<h4 id="b-pefficiency">{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}<h4>
</th>
</tr>