Files
webgui/emhttp/plugins/dynamix/CPUisol.page
T
Zack Spear b5edfc9ad0 fix: enhance layout consistency in CPU isolation, pinning, and VM pages
- Updated form structures in CPUisol.page, CPUpin.page, and CPUvms.page to use flex containers for button alignment.
- Removed unnecessary div wrappers to streamline layout.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-22 12:59:14 -07:00

45 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">
<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="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: