mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
web backup scheduler
This commit is contained in:
parent
293b70fcf2
commit
bbba9aeb34
13 changed files with 278 additions and 80 deletions
|
@ -2,7 +2,7 @@
|
|||
<tr>
|
||||
<td style="padding: 2px 0 0 6px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button" > <?php print _('Create Backup');?> </button>
|
||||
<button class="submenu-button" onclick="location.href='/add/backup/'"> <?php print _('Create Backup');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
|
@ -19,6 +19,31 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['backup_msg'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="<?php print _('Backup System') ?>">
|
||||
<p><?php echo $_SESSION['backup_msg'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['backup_msg']);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue