Added donation indicator to pool stats for accounts
This commit is contained in:
parent
e68ea2b1a4
commit
7a596c65e2
@ -7,6 +7,7 @@
|
||||
.icon-trash:before { content: '\e812'; } /* '' */
|
||||
.icon-torso:before { content: '\e805'; } /* '' */
|
||||
.icon-th-large:before { content: '\e808'; } /* '' */
|
||||
.icon-star-empty:before { content: '\e821'; } /* '' */
|
||||
.icon-desktop:before { content: '\e806'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80a'; } /* '' */
|
||||
.icon-plus:before { content: '\e80c'; } /* '' */
|
||||
|
||||
@ -34,6 +34,12 @@
|
||||
"code": 59412,
|
||||
"src": "elusive"
|
||||
},
|
||||
{
|
||||
"uid": "8346e81b88fa3c57b42978f8b137a93a",
|
||||
"css": "star-empty",
|
||||
"code": 59425,
|
||||
"src": "elusive"
|
||||
},
|
||||
{
|
||||
"uid": "2c576f7c6c3233c31abad0899fc9f4af",
|
||||
"css": "user",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -7,6 +7,7 @@
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-torso { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-star-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
|
||||
1
public/site_assets/test/css/fontello-ie7.css
vendored
1
public/site_assets/test/css/fontello-ie7.css
vendored
@ -18,6 +18,7 @@
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-torso { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-star-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
|
||||
13
public/site_assets/test/css/fontello.css
vendored
13
public/site_assets/test/css/fontello.css
vendored
@ -1,10 +1,10 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?74243129');
|
||||
src: url('../font/fontello.eot?74243129#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff?74243129') format('woff'),
|
||||
url('../font/fontello.ttf?74243129') format('truetype'),
|
||||
url('../font/fontello.svg?74243129#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?57433229');
|
||||
src: url('../font/fontello.eot?57433229#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff?57433229') format('woff'),
|
||||
url('../font/fontello.ttf?57433229') format('truetype'),
|
||||
url('../font/fontello.svg?57433229#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -14,7 +14,7 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?74243129#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?57433229#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
@ -58,6 +58,7 @@
|
||||
.icon-trash:before { content: '\e812'; } /* '' */
|
||||
.icon-torso:before { content: '\e805'; } /* '' */
|
||||
.icon-th-large:before { content: '\e808'; } /* '' */
|
||||
.icon-star-empty:before { content: '\e821'; } /* '' */
|
||||
.icon-desktop:before { content: '\e806'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80a'; } /* '' */
|
||||
.icon-plus:before { content: '\e80c'; } /* '' */
|
||||
|
||||
Binary file not shown.
@ -14,6 +14,7 @@
|
||||
<glyph glyph-name="trash" unicode="" d="M0 633l0 141 289 0 0 76 246 0 0-76 289 0 0-141-824 0z m43-783l0 676 738 0 0-676-738 0z" horiz-adv-x="824" />
|
||||
<glyph glyph-name="torso" unicode="" d="M0-150l0 357 338 145q-61 37-92 101t-31 134q0 104 64 184t162 80q102-4 164-83t62-181q-2-74-33-137t-86-98l334-145 0-357-883 0z" horiz-adv-x="883" />
|
||||
<glyph glyph-name="th-large" unicode="" d="M0-150l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z m562-562l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="star-empty" unicode="" d="M0 471l94 0 285-2 96 270 29 90 29-92 88-271 285-6 94-2-76-55-232-166 82-273 27-92-76 57-230 168-232-162-78-53 29 90 90 270-227 174z m189-64l168-129 20-14-8-21-66-203 176 123 18 12 18-14 172-125-61 203-6 21 18 14 174 125-215 4-21 2-8 21-64 201-70-199-8-21-234 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="desktop" unicode="" d="M0 104l0 660 1000 0 0-660-363 0 0-96 88 0 0-72-449 0 0 72 88 0 0 96-363 0z m123 125l754 0 0 410-754 0 0-410z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="cancel" unicode="" d="M0 71l279 279-279 279 221 221 279-279 279 279 221-221-279-279 279-279-221-221-279 279-279-279z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="plus" unicode="" d="M0 209l0 281 359 0 0 359 281 0 0-359 359 0 0-281-359 0 0-359-281 0 0 359-359 0z" horiz-adv-x="1000" />
|
||||
|
||||
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.8 KiB |
Binary file not shown.
Binary file not shown.
@ -5,6 +5,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">Rank</th>
|
||||
<th align="right"></th>
|
||||
<th align="left" scope="col">User Name</th>
|
||||
<th align="right" scope="col">KH/s</th>
|
||||
<th align="right">{$GLOBAL.config.currency}/Day</th>
|
||||
@ -18,6 +19,7 @@
|
||||
{math assign="estday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$CONTRIBHASHES[contrib].hashrate}
|
||||
<tr{if $GLOBAL.userdata.username == $CONTRIBHASHES[contrib].account}{assign var=listed value=1} style="background-color:#99EB99;"{else} class="{cycle values="odd,even"}"{/if}>
|
||||
<td align="center">{$rank++}</td>
|
||||
<td align="right">{if $CONTRIBHASHES[contrib].donate_percent > 0}<i class="icon-star-empty"></i>{/if}</td>
|
||||
<td>{if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if}</td>
|
||||
<td align="right">{$CONTRIBHASHES[contrib].hashrate|number_format}</td>
|
||||
<td align="right">{$estday|number_format:"3"}</td>
|
||||
@ -28,6 +30,7 @@
|
||||
{if $GLOBAL.userdata.hashrate > 0}{math assign="myestday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$GLOBAL.userdata.hashrate}{/if}
|
||||
<tr>
|
||||
<td align="center">n/a</td>
|
||||
<td align="right">{if $GLOBAL.userdata.donate_percent > 0}<i class="icon-star-empty"></i>{/if}</td>
|
||||
<td>{$GLOBAL.userdata.username|escape}</td>
|
||||
<td align="right">{$GLOBAL.userdata.hashrate}</td>
|
||||
<td align="right">{$myestday|number_format:"3"|default:"n/a"}</td>
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">Rank</th>
|
||||
<th align="right"></th>
|
||||
<th>User Name</th>
|
||||
<th align="right" style="padding-right: 25px;">Shares</th>
|
||||
</tr>
|
||||
@ -14,6 +15,7 @@
|
||||
{section shares $CONTRIBSHARES}
|
||||
<tr{if $GLOBAL.userdata.username|default:"" == $CONTRIBSHARES[shares].account}{assign var=listed value=1} style="background-color:#99EB99;"{else} class="{cycle values="odd,even"}"{/if}>
|
||||
<td align="center">{$rank++}</td>
|
||||
<td align="right">{if $CONTRIBSHARES[shares].donate_percent > 0}<i class="icon-star-empty"></i>{/if}</td>
|
||||
<td>{if $CONTRIBSHARES[shares].is_anonymous|default:"0" == 1}anonymous{else}{$CONTRIBSHARES[shares].account|escape}{/if}</td>
|
||||
<td align="right" style="padding-right: 25px;">{$CONTRIBSHARES[shares].shares|number_format}</td>
|
||||
</tr>
|
||||
@ -21,7 +23,8 @@
|
||||
{if $listed != 1 && $GLOBAL.userdata.username|default:""}
|
||||
<tr>
|
||||
<td align="center">n/a</td>
|
||||
<td>{$GLOBAL.userdata.username|escape}</td>
|
||||
<td align="right">{if $GLOBAL.userdata.donate_percent > 0}<i class="icon-star-empty"></i>{/if}</td>
|
||||
<td>{if $GLOBAL.userdata.username > 0}<i class="icon-star-empty"></i>{/if}</td>
|
||||
<td align="right" style="padding-right: 25px;">{$GLOBAL.userdata.shares.valid|number_format}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user