mirror of
https://github.com/unraid/webgui.git
synced 2025-12-31 22:50:25 -06:00
- Replaced existing resize functions with fillAvailableHeight calls in multiple pages for consistent dynamic height adjustments. - Updated PageMap.page, Processes.page, Syslog.page, Vars.page, DockerContainers.page, VMMachines.page to utilize fillAvailableHeight with appropriate parameters. - Wrapped relevant elements in 'js-fill-available-height' and 'js-actions' divs for improved structure and layout clarity.
36 lines
898 B
Plaintext
36 lines
898 B
Plaintext
Menu="UNRAID-OS"
|
|
Title="Processes"
|
|
Icon="icon-processes"
|
|
Tag="cogs"
|
|
---
|
|
<?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 (_var($display,'resize')):?>
|
|
<script>
|
|
$(function() {
|
|
fillAvailableHeight({
|
|
targetElementSelector: '.js-fill-available-height',
|
|
elementSelectorsForHeight: [
|
|
'.js-actions',
|
|
],
|
|
});
|
|
});
|
|
</script>
|
|
<?endif;?>
|
|
|
|
<pre class='js-fill-available-height up'><?= shell_exec('ps -aux');?></pre>
|
|
|
|
<div class="js-actions">
|
|
<input type="button" value="_(Done)_" onclick="done()">
|
|
</div>
|