[IMPROVEMENT] Using fontello icons instead of theme icons

This commit is contained in:
Sebastian Grewe 2013-09-18 12:38:45 +02:00
parent 20fe936feb
commit ec4931bbc8
3 changed files with 13 additions and 13 deletions

View File

@ -28,16 +28,16 @@
<thead style="font-size:13px;">
<tr>
<th>E-Mail</th>
<th class="center">Sent</th>
<th class="center">Activated</th>
<th align="center">Sent</th>
<th align="center">Activated</th>
</tr>
</thead>
<tbody>
{section name=invite loop=$INVITATIONS}
<tr>
<td>{$INVITATIONS[invite].email}</td>
<td class="center">{$INVITATIONS[invite].time|date_format:"%d/%m/%Y %H:%M:%S"}</td>
<td class="center"><img src="{$PATH}/images/{if $INVITATIONS[invite].is_activated}success{else}error{/if}.gif" /></td>
<td align="center">{$INVITATIONS[invite].time|date_format:"%d/%m/%Y %H:%M:%S"}</td>
<td align="center"><i class="icon-{if $INVITATIONS[invite].is_activated}ok{else}cancel{/if}"></i></td>
</tr>
{/section}
<tbody>

View File

@ -47,7 +47,7 @@
<tr>
<td align="left"{if $WORKERS[worker].hashrate > 0} style="color: orange"{/if}>{$username.0|escape}.<input name="data[{$WORKERS[worker].id}][username]" value="{$username.1|escape}" size="10" required/></td>
<td align="left"><input type="text" name="data[{$WORKERS[worker].id}][password]" value="{$WORKERS[worker].password|escape}" size="10" required></td>
<td align="center"><img src="{$PATH}/images/{if $WORKERS[worker].hashrate > 0}icn_alert_success{else}icn_alert_error{/if}.png" /></td>
<td align="center"><i class="icon-{if $WORKERS[worker].hashrate > 0}ok{else}cancel{/if}"></i></td>
{if $GLOBAL.config.disable_notifications != 1}
<td>
<span class="toggle">

View File

@ -3,19 +3,19 @@
<table class="tablesorter" cellspacing="0">
<thead>
<th>Cronjob</th>
<th>Exit Code</th>
<th>Active</th>
<th>Runtime</th>
<th>Start Time</th>
<th>End Time</th>
<th>Message</th>
<th align="center">Exit Code</th>
<th align="center">Active</th>
<th align="center">Runtime</th>
<th align="center">Start Time</th>
<th align="center">End Time</th>
<th align="center">Message</th>
</thead>
<tbody>
{foreach $CRONSTATUS as $cron => $data}
<tr>
<td>{$cron}</td>
{foreach $data as $name => $event}
<td>
<td align="center">
{if $event.type == 'okerror'}
{if $event.value == 0}
<font color="green">OK</font>
@ -25,7 +25,7 @@
{else if $event.type == 'message'}
<i>{$event.value}</i>
{else if $event.type == 'yesno'}
<img src="{$PATH}/images/icn_alert_{if $event.value == 1}success{else}error{/if}.png" />
<i class="icon-{if $event.value == 1}ok{else}cancel{/if}"></i>
{else if $event.type == 'time'}
{if $event.value > 60}
<font color="orange">