625 lines
18 KiB
HTML
625 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Proxmox Virtual Environment</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-dark: #1e1e1e;
|
|
--bg-panel: #2d2d2d;
|
|
--bg-sidebar: #252525;
|
|
--bg-input: #3a3a3a;
|
|
--border-color: #404040;
|
|
--text-primary: #e0e0e0;
|
|
--text-secondary: #999;
|
|
--proxmox-orange: #e57000;
|
|
--proxmox-orange-light: #ff8c00;
|
|
--btn-blue: #3d85c6;
|
|
--btn-blue-hover: #2d6da3;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Demo Banner */
|
|
.demo-banner {
|
|
background: #1a1a1a;
|
|
color: var(--text-secondary);
|
|
text-align: center;
|
|
padding: 6px;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
z-index: 1000;
|
|
position: relative;
|
|
}
|
|
|
|
.demo-banner a {
|
|
color: var(--proxmox-orange);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Top Bar */
|
|
.top-bar {
|
|
background: linear-gradient(180deg, #3a3a3a 0%, #2d2d2d 100%);
|
|
border-bottom: 1px solid #1a1a1a;
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 8px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.logo-area {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.proxmox-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
background: var(--proxmox-orange);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
color: white;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.logo-text span {
|
|
color: var(--proxmox-orange);
|
|
}
|
|
|
|
.search-box {
|
|
flex: 1;
|
|
max-width: 400px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.search-box input {
|
|
width: 100%;
|
|
height: 28px;
|
|
background: #1e1e1e;
|
|
border: 1px solid #404040;
|
|
border-radius: 3px;
|
|
padding: 0 10px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.search-box input::placeholder {
|
|
color: #666;
|
|
}
|
|
|
|
.top-actions {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.top-btn {
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
|
|
border: 1px solid #505050;
|
|
border-radius: 3px;
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.top-btn:hover {
|
|
background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
|
|
}
|
|
|
|
.top-btn.primary {
|
|
background: var(--btn-blue);
|
|
border-color: #2d6da3;
|
|
}
|
|
|
|
.top-btn.primary:hover {
|
|
background: var(--btn-blue-hover);
|
|
}
|
|
|
|
.user-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
/* Main Container */
|
|
.main-container {
|
|
display: flex;
|
|
height: calc(100vh - 90px);
|
|
}
|
|
|
|
/* Left Sidebar */
|
|
.sidebar {
|
|
width: 220px;
|
|
background: var(--bg-sidebar);
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
gap: 8px;
|
|
}
|
|
|
|
.view-selector {
|
|
flex: 1;
|
|
height: 26px;
|
|
background: #3a3a3a;
|
|
border: 1px solid #505050;
|
|
border-radius: 3px;
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.settings-btn {
|
|
width: 26px;
|
|
height: 26px;
|
|
background: #3a3a3a;
|
|
border: 1px solid #505050;
|
|
border-radius: 3px;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sidebar-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.tree-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 8px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.tree-item:hover {
|
|
background: #333;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tree-icon {
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Center Content - Login Area */
|
|
.content {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bg-dark);
|
|
position: relative;
|
|
}
|
|
|
|
/* Login Window */
|
|
.login-window {
|
|
background: #363636;
|
|
border: 1px solid #505050;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
|
|
width: 380px;
|
|
}
|
|
|
|
.login-header {
|
|
background: linear-gradient(180deg, #404040 0%, #363636 100%);
|
|
padding: 10px 15px;
|
|
border-bottom: 1px solid #505050;
|
|
font-size: 14px;
|
|
color: var(--btn-blue);
|
|
}
|
|
|
|
.login-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.form-label {
|
|
width: 80px;
|
|
text-align: right;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.form-input-wrapper {
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
height: 30px;
|
|
background: var(--bg-input);
|
|
border: 1px solid #505050;
|
|
border-radius: 3px;
|
|
padding: 0 30px 0 10px;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: var(--btn-blue);
|
|
box-shadow: 0 0 0 1px var(--btn-blue);
|
|
}
|
|
|
|
.input-icon {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--proxmox-orange);
|
|
font-size: 14px;
|
|
}
|
|
|
|
select.form-input {
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 8px center;
|
|
padding-right: 28px;
|
|
}
|
|
|
|
.login-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #505050;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-label input {
|
|
width: 14px;
|
|
height: 14px;
|
|
accent-color: var(--btn-blue);
|
|
}
|
|
|
|
.login-btn {
|
|
height: 28px;
|
|
padding: 0 20px;
|
|
background: var(--btn-blue);
|
|
border: 1px solid #2d6da3;
|
|
border-radius: 3px;
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-btn:hover {
|
|
background: var(--btn-blue-hover);
|
|
}
|
|
|
|
/* Bottom Panel */
|
|
.bottom-panel {
|
|
height: 180px;
|
|
background: var(--bg-panel);
|
|
border-top: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.panel-tabs {
|
|
display: flex;
|
|
background: #363636;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.panel-tab {
|
|
padding: 8px 16px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
border-right: 1px solid var(--border-color);
|
|
}
|
|
|
|
.panel-tab:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.panel-tab.active {
|
|
background: var(--bg-panel);
|
|
color: var(--btn-blue);
|
|
border-bottom: 2px solid var(--btn-blue);
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.panel-content {
|
|
flex: 1;
|
|
overflow: auto;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.data-table th {
|
|
text-align: left;
|
|
padding: 8px 12px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background: #2d2d2d;
|
|
}
|
|
|
|
.data-table th.sortable::after {
|
|
content: ' ↕';
|
|
font-size: 10px;
|
|
color: #666;
|
|
}
|
|
|
|
.data-table td {
|
|
padding: 8px 12px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.data-table tr:hover td {
|
|
background: #333;
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-dark);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #505050;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #606060;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="demo-banner">
|
|
🔒 This is a dummy login page for showcase purposes only. <a href="/">← Back to Dashboard</a>
|
|
</div>
|
|
|
|
<!-- Top Bar -->
|
|
<div class="top-bar">
|
|
<div class="logo-area">
|
|
<div class="proxmox-logo">
|
|
<div class="logo-icon">P</div>
|
|
<div class="logo-text"><span>PROX</span>MOX</div>
|
|
</div>
|
|
<div style="color: var(--text-secondary); font-size: 12px;">Virtual Environment</div>
|
|
</div>
|
|
|
|
<div class="search-box">
|
|
<input type="text" placeholder="Search">
|
|
</div>
|
|
|
|
<div class="top-actions">
|
|
<button class="top-btn">
|
|
<span>📄</span> Documentation
|
|
</button>
|
|
<button class="top-btn primary">
|
|
<span>🖥️</span> Create VM
|
|
</button>
|
|
<button class="top-btn primary">
|
|
<span>📦</span> Create CT
|
|
</button>
|
|
</div>
|
|
|
|
<div class="user-menu">
|
|
<button class="top-btn" style="width: 32px; padding: 0; justify-content: center;">
|
|
👤
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main Container -->
|
|
<div class="main-container">
|
|
<!-- Left Sidebar -->
|
|
<aside class="sidebar">
|
|
<div class="sidebar-header">
|
|
<select class="view-selector">
|
|
<option>Server View</option>
|
|
</select>
|
|
<button class="settings-btn">⚙️</button>
|
|
</div>
|
|
<div class="sidebar-content">
|
|
<div class="tree-item">
|
|
<span class="tree-icon">▼</span>
|
|
<span class="tree-icon">🏢</span>
|
|
<span>Datacenter</span>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Center Content -->
|
|
<main class="content">
|
|
<!-- Login Window -->
|
|
<div class="login-window">
|
|
<div class="login-header">Proxmox VE Login</div>
|
|
<div class="login-body">
|
|
<form onsubmit="handleLogin(event)">
|
|
<div class="form-row">
|
|
<label class="form-label">User name:</label>
|
|
<div class="form-input-wrapper">
|
|
<input type="text" class="form-input" id="username" autocomplete="off">
|
|
<span class="input-icon">🔴</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">Password:</label>
|
|
<div class="form-input-wrapper">
|
|
<input type="password" class="form-input" id="password">
|
|
<span class="input-icon">🔴</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">Realm:</label>
|
|
<div class="form-input-wrapper">
|
|
<select class="form-input">
|
|
<option>Linux PAM standard authentication</option>
|
|
<option>Proxmox VE authentication server</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">Language:</label>
|
|
<div class="form-input-wrapper">
|
|
<select class="form-input">
|
|
<option>English - English</option>
|
|
<option>Deutsch - German</option>
|
|
<option>Français - French</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="login-footer">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox" checked>
|
|
Save User name:
|
|
</label>
|
|
<button type="submit" class="login-btn">Login</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<!-- Bottom Panel -->
|
|
<div class="bottom-panel">
|
|
<div class="panel-tabs">
|
|
<div class="panel-tab active">Tasks</div>
|
|
<div class="panel-tab">Cluster log</div>
|
|
</div>
|
|
<div class="panel-content">
|
|
<table class="data-table">
|
|
<thead>
|
|
<tr>
|
|
<th class="sortable">Start Time</th>
|
|
<th class="sortable">End Time</th>
|
|
<th>Node</th>
|
|
<th>User name</th>
|
|
<th>Description</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>02/02/2026 12:21:42</td>
|
|
<td>-</td>
|
|
<td>pve</td>
|
|
<td>root@pam</td>
|
|
<td>Login</td>
|
|
<td>✓ OK</td>
|
|
</tr>
|
|
<tr>
|
|
<td>02/02/2026 12:20:15</td>
|
|
<td>02/02/2026 12:20:16</td>
|
|
<td>pve</td>
|
|
<td>root@pam</td>
|
|
<td>VM 100 - Start</td>
|
|
<td>✓ OK</td>
|
|
</tr>
|
|
<tr>
|
|
<td>02/02/2026 12:18:33</td>
|
|
<td>02/02/2026 12:18:34</td>
|
|
<td>pve</td>
|
|
<td>root@pam</td>
|
|
<td>VM 101 - Stop</td>
|
|
<td>✓ OK</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
function handleLogin(e) {
|
|
e.preventDefault();
|
|
alert('🔒 This is a demo page. The real Proxmox VE is not exposed.');
|
|
}
|
|
|
|
// Focus username on load
|
|
document.getElementById('username').focus();
|
|
</script>
|
|
</body>
|
|
</html>
|