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