show scheduled backup and give customer the possiblity to abort the job
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
9
templates/Sparkle/customer/extras/backup.tpl
vendored
9
templates/Sparkle/customer/extras/backup.tpl
vendored
@@ -7,6 +7,15 @@ $header
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<if !empty($existing_backupJob)>
|
||||
<div class="messagewrapperfull">
|
||||
<div class="warningcontainer bradius">
|
||||
<div class="warningtitle">{$lng['admin']['warning']}</div>
|
||||
<div class="warning">{$lng['error']['customerhasongoingbackupjob']}</div>
|
||||
</div>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
<section>
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
|
||||
26
templates/Sparkle/customer/extras/backup_listexisting.tpl
vendored
Normal file
26
templates/Sparkle/customer/extras/backup_listexisting.tpl
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['panel']['path']}</th>
|
||||
<th>{$lng['extras']['backup_web']}</th>
|
||||
<th>{$lng['extras']['backup_mail']}</th>
|
||||
<th>{$lng['extras']['backup_dbs']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{$row['path']}</td>
|
||||
<td>{$row['backup_web']}</td>
|
||||
<td>{$row['backup_mail']}</td>
|
||||
<td>{$row['backup_dbs']}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p>
|
||||
<input type="hidden" name="backup_job_entry" value="{$existing_backupJob['id']}" />
|
||||
<input type="submit" value="{$lng['panel']['abort']}" class="nobutton" />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
Reference in New Issue
Block a user