0.2.0: job engine, VM actions, theme-aware styling
This commit is contained in:
1 parent
c62de24cc0
commit
485a267ffe
14 files changed
+901
-71
No files matched your search
@@ -11,12 +11,7 @@ $conf = vmm_config();
|
||||
|
||||
include 'fbegin.inc';
|
||||
?>
|
||||
<style>
|
||||
.vmm-mono{font-family:monospace;font-size:12px}
|
||||
.vmm-raw{background:#1b1f23;border:1px solid #333a41;border-radius:4px;padding:10px;overflow:auto;max-height:420px}
|
||||
.vmm-ok{color:#5ee79b}
|
||||
.vmm-miss{color:#e0a0a0}
|
||||
</style>
|
||||
<?php vmm_css(); ?>
|
||||
|
||||
<form action="vmmngr_config.php" method="post" name="iform" id="iform"><table id="area_data"><tbody><tr><td id="area_data_frame">
|
||||
|
||||
@@ -38,6 +33,8 @@ include 'fbegin.inc';
|
||||
nmdm: <span class="<?=$sc['kld']['nmdm'] === 'loaded' ? 'vmm-ok' : 'vmm-miss';?>"><?=vmm_h($sc['kld']['nmdm']);?></span>
|
||||
</td></tr>
|
||||
<tr><td class="celltag"><?=gettext('Virtual machines');?></td><td class="celldata"><?=$sc['vm_count'];?> <?=gettext('total');?>, <?=$sc['vm_running'];?> <?=gettext('running');?></td></tr>
|
||||
<?php $b = vmm_ram_budget(); ?>
|
||||
<tr><td class="celltag"><?=gettext('RAM budget');?></td><td class="celldata"><?=vmm_human_bytes(vmm_ram_used());?> <?=gettext('in use');?> · <?=gettext('limit');?> <?=vmm_human_bytes($b['limit']);?> (<?=$b['pct'];?>% <?=gettext('of');?> <?=vmm_human_bytes($b['total']);?>)</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in new issue
Block a user