mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
added backup/cron/db/ip/package bulk operations
This commit is contained in:
parent
daea2394cc
commit
cfd8bb297b
16 changed files with 272 additions and 106 deletions
|
@ -1,25 +1,24 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<td style="padding: 12px 0 0 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/ip/'"> Add IP </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;">
|
||||
<button> Search </button>
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
|
||||
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a>
|
||||
<select style="margin:0 2px 0 0px;" >
|
||||
<form action="/bulk/ip/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>rebuild</option>
|
||||
<option>update counters</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
</select>
|
||||
<button style="width:27px;"> › </button>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px;">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -28,7 +27,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<form id="vstobjects">
|
||||
<div id="vstobjects">
|
||||
<table class='data'>
|
||||
|
||||
<?php
|
||||
|
@ -61,7 +60,7 @@
|
|||
<tr class="data-row">
|
||||
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
|
||||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="object" ></td></tr>
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="ip[]" value="<?php echo $key ?>"></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-active"><b>active</b></td></tr>
|
||||
</table>
|
||||
|
@ -70,7 +69,7 @@
|
|||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/ip/?ip=<?php echo "$key" ?>"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/ip/?ip=<?php echo $key ?>"> edit</a></td>
|
||||
<td class="data-controls" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
<a href="#" id="delete_link_<?php echo $i ?>"> delete</a>
|
||||
|
@ -139,8 +138,8 @@
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
|
@ -156,4 +155,4 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue