Enhance Proxmox views with improved loading states and UI updates
- Updated serverplaceholder.blade.php to enhance loading skeletons for server details. - Added navigation breadcrumbs to statistics, subdomain, and system views for better user experience. - Improved loading indicators for CPU, network, memory, and disk charts in statistics.blade.php. - Refined storage.blade.php layout with section dividers and improved drive display, including bus type indicators and quota usage. - Enhanced VNC and Xterm popups with a new header design, loading animations, and reconnect functionality. - Added error handling for VNC and Xterm connections to inform users when unable to connect.
This commit is contained in:
@@ -408,6 +408,13 @@ class Subdomain extends Component
|
||||
return;
|
||||
}
|
||||
|
||||
// Verify the IP address belongs to this server
|
||||
$ipBelongsToServer = $this->server->ipAddresses->contains('id', $this->ipAddressIdToDelete);
|
||||
if (!$ipBelongsToServer) {
|
||||
$this->notify('Unauthorized: IP address does not belong to this server.', 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
$dns = new TechnitiumDns;
|
||||
if ($dns->deleteZone($this->subdomainToDelete, $this->ipAddressIdToDelete)) {
|
||||
|
||||
Reference in New Issue
Block a user