streams/view/tpl/admin_hubloc.tpl
2014-01-20 13:03:24 +01:00

25 lines
754 B
Smarty
Executable file

<div class="generic-content-wrapper" id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
<form action="{{$baseurl}}/admin/hubloc" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<table id='server'>
<thead>
<tr>
{{foreach $th_hubloc as $th}}<th>{{$th}}</th>{{/foreach}}
</tr>
</thead>
<tbody>
{{foreach $hubloc as $hub}}<tr>
<td>{{$hub.hubloc_id}}</td><td>{{$hub.hubloc_addr}}</td><td>{{$hub.hubloc_host}}</td><td>{{$hub.hubloc_status}}</td>
<td><input type="hidden" name="hublocid" value="{{$hub.hubloc_id}}">
<input type="submit" name="check" value="check" >
<input type="submit" name="repair" value="repair" ></td>
</tr>{{/foreach}}
</tbody>
</table>
</div>