feat: Update Proxmox extension with various improvements and bug fixes
- Change listStates method to accept nullable integer for limit parameter. - Modify TechnitiumDns class to return structured error messages on failure. - Enhance VNC and xterm popup routes with user authorization checks. - Update backups view to improve loading states and add unique keys for dynamic elements. - Refactor cloud-init view to ensure proper data binding and improve user experience. - Add wire:key attributes to various elements in views for better Livewire performance. - Improve error handling and user feedback in the firewall view. - Update server overview and statistics views to handle potential null values gracefully. - Add new migration files to extend database schema with user-set icons and notes for Proxmox nodes.
This commit is contained in:
@@ -424,7 +424,7 @@
|
||||
<label class="text-sm font-semibold text-base/80">Operating System</label>
|
||||
<div class="flex items-center gap-2 px-3 py-2 text-sm text-base/80">
|
||||
<span class="truncate flex-1">
|
||||
{{ $server->os->name }}
|
||||
{{ $server->os?->name ?? 'Unknown' }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -487,7 +487,7 @@
|
||||
<div>
|
||||
<label class="text-xs font-semibold text-base/70">Hostname</label>
|
||||
<input type="text"
|
||||
wire:model.defer="hostname"
|
||||
wire:model="hostname"
|
||||
class="form-input w-full mt-1"
|
||||
placeholder="Enter hostname" />
|
||||
</div>
|
||||
@@ -709,14 +709,14 @@
|
||||
<div>
|
||||
<label class="text-xs font-semibold text-base/70">New Password</label>
|
||||
<input type="password"
|
||||
wire:model.defer="password"
|
||||
wire:model="password"
|
||||
class="form-input w-full mt-1"
|
||||
placeholder="Enter new password" />
|
||||
</div>
|
||||
<div>
|
||||
<label class="text-xs font-semibold text-base/70">Confirm Password</label>
|
||||
<input type="password"
|
||||
wire:model.defer="password_confirmation"
|
||||
wire:model="password_confirmation"
|
||||
class="form-input w-full mt-1"
|
||||
placeholder="Confirm password" />
|
||||
</div>
|
||||
@@ -1235,11 +1235,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(stripos($server->os->name, 'Windows') !== false)
|
||||
@if(stripos($server->os?->name ?? '', 'Windows') !== false)
|
||||
<div class="">
|
||||
<div style="background-image: url('https://billing.virtnet.bond/assets/images/windows.jpg'); background-size: 100%; height: 5.5vh;" class="flex flex-col p-4 rounded-t-lg border border-neutral"></div>
|
||||
<div>
|
||||
<div>
|
||||
<div class="bg-info/10 border border-info/30 p-4 rounded-b-lg">
|
||||
|
||||
<div class="flex items-center gap-2 min-w-0">
|
||||
@@ -1335,6 +1333,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user