mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
More logical restore backup template
This commit is contained in:
parent
17b4b25f97
commit
d368a7e6d4
1 changed files with 5 additions and 11 deletions
|
@ -4,13 +4,6 @@
|
||||||
<div class="l-sort-toolbar clearfix">
|
<div class="l-sort-toolbar clearfix">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="l-sort-toolbar__search-box">
|
|
||||||
<form action="/search/" method="get">
|
|
||||||
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
|
||||||
<input type="text" name="q" class="search-input" value="<? echo isset($_POST['q']) ? htmlspecialchars($_POST['q']) : '' ?>" />
|
|
||||||
<input type="submit" value="" class="l-sort-toolbar__search" onClick="return doSearch('/search/')" />
|
|
||||||
</form>
|
|
||||||
</td>
|
|
||||||
<td class="toggle-all">
|
<td class="toggle-all">
|
||||||
<input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" onchange="checkedAll('objects');">
|
<input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" onchange="checkedAll('objects');">
|
||||||
<label for="toggle-all" class="check-label toggle-all"><?=__('toggle all')?></label>
|
<label for="toggle-all" class="check-label toggle-all"><?=__('toggle all')?></label>
|
||||||
|
@ -19,13 +12,13 @@
|
||||||
<form action="/bulk/restore/" method="post" id="objects">
|
<form action="/bulk/restore/" method="post" id="objects">
|
||||||
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
||||||
<input type="hidden" name="backup" value="<?=htmlentities($_GET['backup']); ?>">
|
<input type="hidden" name="backup" value="<?=htmlentities($_GET['backup']); ?>">
|
||||||
<div class="l-select">
|
<div style="display: none;">
|
||||||
<select name="action">
|
<select name="action">
|
||||||
<option value=""><?=__('apply to selected')?></option>
|
<option value=""><?=__('apply to selected')?></option>
|
||||||
<option value="restore"><?php print __('restore') ?></option>
|
<option selected="selected" value="restore"><?php print __('restore') ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" value="" class="l-sort-toolbar__filter-apply" />
|
<input type="submit" value="<?php print __('restore').' '.__('backup') ?>" style="width: 100px; height:30px; background-color: #a8cb1c; color: white;" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -40,7 +33,8 @@
|
||||||
|
|
||||||
<div class="l-center units">
|
<div class="l-center units">
|
||||||
<div class="l-unit header">
|
<div class="l-unit header">
|
||||||
<div class="subtitle"><?=__('Listing')?> <?=htmlentities($_GET['backup'])?></div>
|
<div class="subtitle" style="color: black;"><?=__('Listing')?> <?=htmlentities($_GET['backup'])?></div>
|
||||||
|
<div class="subtitle"><?=__('First select what to restore:')?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue