Files
webgui/emhttp/plugins/dynamix.vm.manager/UpdateVM.page
Zack Spear 469f15883b feat: enhance page content generation with responsive layout support
- 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.
2025-07-01 16:04:27 -07:00

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));
?>