mirror of
https://git.dn42.dev/dn42/pingfinder.git
synced 2025-07-08 22:14:29 -07:00
31 lines
882 B
Smarty
31 lines
882 B
Smarty
{extends file='layout.tpl'}
|
|
|
|
{block name=meta}
|
|
<meta http-equiv="refresh" content="30">
|
|
{/block}
|
|
|
|
{block name=content}
|
|
<div class='row'>
|
|
<h2>Peer Status</h2>
|
|
|
|
{foreach $tops as $i}
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<b>{$i.peer_nick|escape}</b>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped">
|
|
<thead><tr><th>Peer Name</th><th>Country</th><th>Script</th><th>Last Result</th></tr></thead>
|
|
<tbody>
|
|
{foreach $i.items as $n}<tr><th>{$n.peer_name|escape}</th><td>{$n.peer_country|escape}</td><td>{$n.peer_scriptver|escape}</td><td>{$n.last_ping|date_format}</td></tr>{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{foreachelse}
|
|
<b>No results.</b> Give it a minute and refresh.
|
|
{/foreach}
|
|
|
|
</div>
|
|
{/block}
|