webui:css table padding
This commit is contained in:
parent
a1a8534972
commit
80db26e0e7
|
@ -83,8 +83,8 @@ $for torrent in torrent_list:
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>$ftime(torrent.eta)</td>
|
<td>$ftime(torrent.eta)</td>
|
||||||
<td>$("%.3f" % torrent.distributed_copies)</td>
|
<td>$("%.2f" % torrent.distributed_copies)</td>
|
||||||
<td>$("%.3f" % torrent.ratio)</td>
|
<td>$("%.2f" % torrent.ratio)</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -11,7 +11,7 @@ $altrow(True)
|
||||||
<th>$_("Down Speed")</th>
|
<th>$_("Down Speed")</th>
|
||||||
<th>$_("Country")</th>
|
<th>$_("Country")</th>
|
||||||
<th>$_("Client")</th>
|
<th>$_("Client")</th>
|
||||||
<th>$_("progress")</th>
|
<th>$_("Progress")</th>
|
||||||
|
|
||||||
$for peer in torrent.peers:
|
$for peer in torrent.peers:
|
||||||
<tr class="tab_$altrow()" >
|
<tr class="tab_$altrow()" >
|
||||||
|
@ -20,7 +20,13 @@ $for peer in torrent.peers:
|
||||||
<td>$fspeed(peer['down_speed'])</td>
|
<td>$fspeed(peer['down_speed'])</td>
|
||||||
<td>$peer['country']</td>
|
<td>$peer['country']</td>
|
||||||
<td>$peer['client']</td>
|
<td>$peer['client']</td>
|
||||||
<td>$peer['progress']%</td>
|
<td class="progress_bar">
|
||||||
|
<div class="progress_bar_outer">
|
||||||
|
<div class="progress_bar" style="width:$(peer['progress'])%;overflow:hidden">
|
||||||
|
$int(peer['progress']) %
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -26,14 +26,14 @@ $for state, num in filters.state:
|
||||||
$if not get('tracker'):
|
$if not get('tracker'):
|
||||||
class="selected"
|
class="selected"
|
||||||
>
|
>
|
||||||
<a href="$self_url(tracker='')">All</a>
|
<a href="$self_url(tracker='')" title="$_('All')">$_("All")</a>
|
||||||
</li>
|
</li>
|
||||||
$for tracker, num in filters.tracker:
|
$for tracker, num in filters.tracker:
|
||||||
<li
|
<li
|
||||||
$if tracker == get('tracker'):
|
$if tracker == get('tracker'):
|
||||||
class="selected"
|
class="selected"
|
||||||
>
|
>
|
||||||
<a href="$self_url(tracker=tracker)">$tracker ($num)</a>
|
<a href="$self_url(tracker=tracker)" title="$tracker ($num)">$crop(tracker, 20) ($num)</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,10 @@ a {
|
||||||
}
|
}
|
||||||
a:visited { color: #0000AA;}
|
a:visited { color: #0000AA;}
|
||||||
|
|
||||||
th {font-weight:normal}
|
th {
|
||||||
|
font-weight:normal;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
display:inline;
|
display:inline;
|
||||||
|
@ -170,6 +173,20 @@ tr.altrow1 {
|
||||||
background-color:#FAFAFA; /*offf-topic-hint:allo allo*/
|
background-color:#FAFAFA; /*offf-topic-hint:allo allo*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
padding-left:3px;
|
||||||
|
}
|
||||||
|
tr.altrow1 > td {
|
||||||
|
padding-left:3px;
|
||||||
|
}
|
||||||
|
tr.altrow0 > td {
|
||||||
|
padding-left:3px;
|
||||||
|
}
|
||||||
|
tr.torrent_table_selected > td {
|
||||||
|
padding-left:3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
tr.torrent_table_selected {
|
tr.torrent_table_selected {
|
||||||
background-color:#FFFFCC;
|
background-color:#FFFFCC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue