aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_hubloc.tpl
blob: 06a8cdf6a83cbf32736d81be10d13c954be19b3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<div class="generic-content-wrapper" id='adminpage'>
	<h1>{{$title}} - {{$page}}</h1>

	<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>
			<form action="{{$baseurl}}/admin/hubloc" method="post">
			<input type="hidden" name="hublocid" value="{{$hub.hubloc_id}}">
			<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
			<input type='hidden' name='url' value='{{$hub.hubloc_host}}'>
			<input type="submit" name="check" value="check" >
			<input type="submit" name="repair" value="repair" ></td>
			</form>
			</tr>{{/foreach}}
		</tbody>
	</table>


</div>