mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-15 00:26:23 +00:00
Update AppImage
This commit is contained in:
@@ -447,18 +447,18 @@ export function ProxmoxDashboard() {
|
|||||||
>
|
>
|
||||||
Hardware
|
Hardware
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger
|
|
||||||
value="terminal"
|
|
||||||
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
|
||||||
>
|
|
||||||
Terminal
|
|
||||||
</TabsTrigger>
|
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
value="logs"
|
value="logs"
|
||||||
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
||||||
>
|
>
|
||||||
System Logs
|
System Logs
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
|
<TabsTrigger
|
||||||
|
value="terminal"
|
||||||
|
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
||||||
|
>
|
||||||
|
Terminal
|
||||||
|
</TabsTrigger>
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
value="settings"
|
value="settings"
|
||||||
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
|
||||||
@@ -558,21 +558,6 @@ export function ProxmoxDashboard() {
|
|||||||
<Cpu className="h-5 w-5" />
|
<Cpu className="h-5 w-5" />
|
||||||
<span>Hardware</span>
|
<span>Hardware</span>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
variant="ghost"
|
|
||||||
onClick={() => {
|
|
||||||
setActiveTab("terminal")
|
|
||||||
setMobileMenuOpen(false)
|
|
||||||
}}
|
|
||||||
className={`w-full justify-start gap-3 ${
|
|
||||||
activeTab === "terminal"
|
|
||||||
? "bg-blue-500/10 text-blue-500 border-l-4 border-blue-500 rounded-l-none"
|
|
||||||
: ""
|
|
||||||
}`}
|
|
||||||
>
|
|
||||||
<Terminal className="h-5 w-5" />
|
|
||||||
<span>Terminal</span>
|
|
||||||
</Button>
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -588,6 +573,21 @@ export function ProxmoxDashboard() {
|
|||||||
<FileText className="h-5 w-5" />
|
<FileText className="h-5 w-5" />
|
||||||
<span>System Logs</span>
|
<span>System Logs</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => {
|
||||||
|
setActiveTab("terminal")
|
||||||
|
setMobileMenuOpen(false)
|
||||||
|
}}
|
||||||
|
className={`w-full justify-start gap-3 ${
|
||||||
|
activeTab === "terminal"
|
||||||
|
? "bg-blue-500/10 text-blue-500 border-l-4 border-blue-500 rounded-l-none"
|
||||||
|
: ""
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<Terminal className="h-5 w-5" />
|
||||||
|
<span>Terminal</span>
|
||||||
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -632,14 +632,14 @@ export function ProxmoxDashboard() {
|
|||||||
<Hardware key={`hardware-${componentKey}`} />
|
<Hardware key={`hardware-${componentKey}`} />
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
<TabsContent value="terminal" className="mt-0">
|
|
||||||
<TerminalPanel key={`terminal-${componentKey}`} />
|
|
||||||
</TabsContent>
|
|
||||||
|
|
||||||
<TabsContent value="logs" className="space-y-4 md:space-y-6 mt-0">
|
<TabsContent value="logs" className="space-y-4 md:space-y-6 mt-0">
|
||||||
<SystemLogs key={`logs-${componentKey}`} />
|
<SystemLogs key={`logs-${componentKey}`} />
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
|
<TabsContent value="terminal" className="mt-0">
|
||||||
|
<TerminalPanel key={`terminal-${componentKey}`} />
|
||||||
|
</TabsContent>
|
||||||
|
|
||||||
<TabsContent value="settings" className="space-y-4 md:space-y-6 mt-0">
|
<TabsContent value="settings" className="space-y-4 md:space-y-6 mt-0">
|
||||||
<Settings />
|
<Settings />
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* Can be changed to 8009 for beta testing
|
* Can be changed to 8009 for beta testing
|
||||||
* This can also be set via NEXT_PUBLIC_API_PORT environment variable
|
* This can also be set via NEXT_PUBLIC_API_PORT environment variable
|
||||||
*/
|
*/
|
||||||
export const API_PORT = process.env.NEXT_PUBLIC_API_PORT || "8008"
|
export const API_PORT = process.env.NEXT_PUBLIC_API_PORT || "8009"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the base URL for API calls
|
* Gets the base URL for API calls
|
||||||
|
|||||||
@@ -6209,4 +6209,4 @@ if __name__ == '__main__':
|
|||||||
# Print only essential information
|
# Print only essential information
|
||||||
# print("API endpoints available at: /api/system, /api/system-info, /api/storage, /api/proxmox-storage, /api/network, /api/vms, /api/logs, /api/health, /api/hardware, /api/prometheus, /api/node/metrics")
|
# print("API endpoints available at: /api/system, /api/system-info, /api/storage, /api/proxmox-storage, /api/network, /api/vms, /api/logs, /api/health, /api/hardware, /api/prometheus, /api/node/metrics")
|
||||||
|
|
||||||
app.run(host='0.0.0.0', port=8008, debug=False)
|
app.run(host='0.0.0.0', port=8009, debug=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user