0.12.1: jobs table first, count in the title, clear button below the list
This commit is contained in:
1 parent
a1b4e884da
commit
98793ed635
3 files changed
+10
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"appname": "VM Manager",
|
||||
"version": "0.12.0",
|
||||
"version": "0.12.1",
|
||||
"rootfolder": "/mnt/Daten/extensions/vmmngr",
|
||||
"vm_source": "auto",
|
||||
"bridges": ["ix0bridge"],
|
||||
|
||||
+8
-6
@@ -63,11 +63,7 @@ vmm_nav('jobs');
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="formbtn" name="act" value="clear_jobs"
|
||||
onclick="return confirm('Remove all finished jobs? Running jobs are kept.')"><?=gettext('Clear finished jobs');?></button>
|
||||
<span style="opacity:.75;margin-left:8px;"><?=gettext('Retention keeps the newest %d jobs automatically (Configuration).', (int)(vmm_config()['job_keep'] ?? 100));?></span>
|
||||
</p>
|
||||
|
||||
|
||||
<table class="area_data_selection" style="width:100%;border-collapse:collapse;">
|
||||
<colgroup>
|
||||
@@ -79,7 +75,7 @@ vmm_nav('jobs');
|
||||
<col style="width:30%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<?php html_separator2(); html_titleline2(gettext('All jobs'), 6); ?>
|
||||
<?php html_separator2(); html_titleline2(sprintf('%s (%d)', gettext('All jobs'), count($jobs)), 6); ?>
|
||||
<tr>
|
||||
<th class="lhell"><?=gettext('Job');?></th>
|
||||
<th class="lhell"><?=gettext('Action');?></th>
|
||||
@@ -107,5 +103,11 @@ vmm_nav('jobs');
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="formbtn" name="act" value="clear_jobs"
|
||||
onclick="return confirm('Remove all finished jobs? Running jobs are kept.')"><?=gettext('Clear finished jobs');?></button>
|
||||
<span style="opacity:.75;margin-left:8px;"><?=gettext('Retention keeps the newest %d jobs automatically (Configuration).', (int)(vmm_config()['job_keep'] ?? 100));?></span>
|
||||
</p>
|
||||
|
||||
</td></tr></tbody></table><?php include 'formend.inc'; ?></form>
|
||||
<?php include 'fend.inc'; ?>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.12.0
|
||||
0.12.1
|
||||
Reference in new issue
Block a user