diff options
Diffstat (limited to 'view/tpl/admin_hubloc.tpl')
-rwxr-xr-x | view/tpl/admin_hubloc.tpl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/view/tpl/admin_hubloc.tpl b/view/tpl/admin_hubloc.tpl index a9f250652..06a8cdf6a 100755 --- a/view/tpl/admin_hubloc.tpl +++ b/view/tpl/admin_hubloc.tpl @@ -1,9 +1,6 @@ <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> @@ -14,6 +11,14 @@ {{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> |