mirror of
https://github.com/unraid/webgui.git
synced 2025-12-31 22:50:25 -06:00
- Updated `generateContent` function to handle a new `ResponsiveLayout` flag in the page data array. - Added a wrapper for non-responsive content based on the `ResponsiveLayout` flag. - Adjusted CSS class naming for consistency in the `default-base.css` file. - Set `ResponsiveLayout` to false in `AddVM.page` and `UpdateVM.page` for default behavior. - Cleaned up HTML structure in `VMedit.php` to remove unnecessary class. This change improves the flexibility of page layouts and ensures proper styling for non-responsive content.
27 lines
935 B
Plaintext
27 lines
935 B
Plaintext
Title="Update VM"
|
|
Tag="clipboard"
|
|
Cond="(pgrep('libvirtd')!==false)"
|
|
Markdown="false"
|
|
ResponsiveLayout="false"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2023, Lime Technology
|
|
* Copyright 2012-2023, Bergware International.
|
|
* Copyright 2015-2021, Derek Macias, Eric Schultz, Jon Panozzo.
|
|
*
|
|
* 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.
|
|
*/
|
|
?>
|
|
<?
|
|
// add vm translations (if needed)
|
|
if (substr($_SERVER['REQUEST_URI'],0,4) != '/VMs') {
|
|
$vms = "$docroot/languages/$locale/vms.dot";
|
|
if (file_exists($vms)) $language = array_merge($language,unserialize(file_get_contents($vms)));
|
|
}
|
|
eval('?>'.parse_file("$docroot/plugins/dynamix.vm.manager/include/VMedit.php",false));
|
|
?> |