reorg formula data for hubloc checks
This commit is contained in:
parent
f28b21f99d
commit
ffabb4cc86
@ -459,7 +459,16 @@ function admin_page_hubloc_post(&$a){
|
|||||||
check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc');
|
check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc');
|
||||||
|
|
||||||
//prepare for ping
|
//prepare for ping
|
||||||
logger('POST input: '.$_POST , LOGGER_DEBUG);
|
logger('POST input: '. print_r($_POST,true), LOGGER_DEBUG);
|
||||||
|
|
||||||
|
if ( $_POST['hublocid']) {
|
||||||
|
logger('hublocid is not empty: ' . $_POST['hublocid'], LOGGER_DEBUG);
|
||||||
|
}
|
||||||
|
|
||||||
|
//if ( $_POST'' == "check" ) {
|
||||||
|
// //todo
|
||||||
|
//}
|
||||||
|
|
||||||
//perform ping
|
//perform ping
|
||||||
//handle results and set the hubloc flags in db to make results visible
|
//handle results and set the hubloc flags in db to make results visible
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
<div class="generic-content-wrapper" id='adminpage'>
|
<div class="generic-content-wrapper" id='adminpage'>
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<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'>
|
<table id='server'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -14,9 +11,13 @@
|
|||||||
|
|
||||||
{{foreach $hubloc as $hub}}<tr>
|
{{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>{{$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}}">
|
<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="submit" name="check" value="check" >
|
<input type="submit" name="check" value="check" >
|
||||||
<input type="submit" name="repair" value="repair" ></td>
|
<input type="submit" name="repair" value="repair" ></td>
|
||||||
|
</form>
|
||||||
</tr>{{/foreach}}
|
</tr>{{/foreach}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user