mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 00:39:32 -05:00
fix: enhance layout consistency in CPUisol.page, CPUpin.page, and CPUvms.page
- Wrapped tables in CPUisol.page, CPUpin.page, and CPUvms.page within divs for improved layout structure. - This change continues the effort to enhance visual consistency across the plugin.
This commit is contained in:
@@ -16,10 +16,18 @@ Tag="icon-cpu"
|
||||
?>
|
||||
<form name="is">
|
||||
<input type="hidden" name="names" value="isolcpus">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead><tr><th><i class="fa fa-list"></i> _(Isolation)_</th><?create()?></tr></thead>
|
||||
<tbody id="table-is"><?=$spinner?></tbody>
|
||||
</table>
|
||||
|
||||
<div class="TableContainer">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><i class="fa fa-list"></i> _(Isolation)_</th>
|
||||
<?create()?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="table-is"><?=$spinner?></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<input type="button" value="_(Apply)_" onclick="apply(this.form)" disabled><input type="button" value="_(Done)_" onclick="done()"><span id="wait-is" class="red-text" style="display:none"><i class="fa fa-spinner fa-spin"></i> _(Please wait)_...</span>
|
||||
</form>
|
||||
<?if (!$safemode):?>
|
||||
|
||||
@@ -17,10 +17,19 @@ Tag="icon-cpu"
|
||||
<?if ($dockerd):?>
|
||||
<form name="ct">
|
||||
<input type="hidden" name="names" id="names-ct" value="">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead><tr><th><i class="fa fa-list"></i> _(Container)_</th><?create()?></tr></thead>
|
||||
<tbody id="table-ct"><?=$spinner?></tbody>
|
||||
</table>
|
||||
<div class="TableContainer">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><i class="fa fa-list"></i> _(Container)_</th>
|
||||
<?create()?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="table-ct">
|
||||
<?=$spinner?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<input type="button" value="_(Apply)_" onclick="apply(this.form)" disabled><input type="button" value="_(Done)_" onclick="done()"><span id="wait-ct" class="red-text" style="display:none"><i class="fa fa-spinner fa-spin"></i> _(Please wait)_...</span>
|
||||
</form>
|
||||
<?else:?>
|
||||
|
||||
@@ -311,10 +311,17 @@ $(function() {
|
||||
<?if ($libvirtd):?>
|
||||
<form name="vm">
|
||||
<input type="hidden" name="names" id="names-vm" value="">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead><tr><th><i class="fa fa-list"></i> _(VM)_</th><?create("vm")?></tr></thead>
|
||||
<tbody id="table-vm"><?=$spinner?></tbody>
|
||||
</table>
|
||||
<div class="TableContainer">
|
||||
<table class='tablesorter shift' style='width:auto'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><i class="fa fa-list"></i> _(VM)_</th>
|
||||
<?create("vm")?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="table-vm"><?=$spinner?></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<input type="button" value="_(Apply)_" onclick="apply(this.form)" disabled><input type="button" value="_(Done)_" onclick="done()"><span id="wait-vm" class="red-text" style="display:none"><i class="fa fa-spinner fa-spin"></i> _(Please wait)_...</span>
|
||||
</form>
|
||||
<?else:?>
|
||||
|
||||
Reference in New Issue
Block a user