Files
webgui/emhttp/plugins/dynamix/CPUisol.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

47 lines
1.4 KiB
Plaintext

Menu="CPUset:3"
Title="CPU Isolation"
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.
*/
?>
<form name="is">
<input type="hidden" name="names" value="isolcpus">
<div class="TableContainer--no-min-width">
<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>
<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-is" class="red-text" style="display:none">
<i class="fa fa-spinner fa-spin"></i>
<span>_(Please wait)_...</span>
</span>
</div>
</form>
<?if (!$safemode):?>
<?else:?>
<div class="notice">_(CPU isolation is prohibited while system is running in SAFE MODE)_!</div>
<?endif;?>
:cpu_isolation_help: