mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -1025,9 +1025,12 @@ export function VirtualMachines() {
|
||||
Notes
|
||||
</h4>
|
||||
<div className="bg-muted/50 p-4 rounded-lg">
|
||||
<pre className="text-sm text-foreground whitespace-pre-wrap font-sans">
|
||||
{decodeURIComponent(vmDetails.config.description.replace(/%0A/g, "\n"))}
|
||||
</pre>
|
||||
<div
|
||||
className="text-sm text-foreground prose prose-sm max-w-none dark:prose-invert"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: decodeURIComponent(vmDetails.config.description.replace(/%0A/g, "\n")),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
@@ -1381,6 +1384,7 @@ export function VirtualMachines() {
|
||||
</div>
|
||||
|
||||
{/* Advanced Section */}
|
||||
{(vmDetails.config.vmgenid || vmDetails.config.smbios1 || vmDetails.config.meta) && (
|
||||
<div>
|
||||
<h4 className="text-sm font-semibold text-muted-foreground mb-3 uppercase tracking-wide">
|
||||
Advanced
|
||||
@@ -1412,6 +1416,7 @@ export function VirtualMachines() {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user