Files
webgui/emhttp/plugins/dynamix/CPUpin.page
Zack Spear 10bf8de500 fix: enhance layout consistency in CPU pages and default styles
- Wrapped tables in CPUisol.page, CPUpin.page, and CPUvms.page with a new div class for improved layout structure.
- Added a new CSS class .TableContainer--no-min-width to handle overflow and ensure consistent table presentation.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-22 13:04:58 -07:00

49 lines
1.5 KiB
Plaintext

Menu="CPUset:2"
Title="CPU Pinning Docker"
Tag="icon-cpu"
---
<?PHP
/* Copyright 2005-2023, Lime Technology
* Copyright 2012-2023, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<?if ($dockerd):?>
<form name="ct">
<input type="hidden" name="names" id="names-ct" value="">
<div class="TableContainer--no-min-width">
<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>
<div class="flex flex-row items-center gap-2">
<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>
<span>_(Please wait)_...</span>
</span>
</div>
</form>
<?else:?>
<div class="notice">_(No CPU pinning available. Docker service must be started)_</div>
<?endif;?>
:cpu_pinning_help: