windows installer fixes
This commit is contained in:
+19
-19
@@ -1327,7 +1327,15 @@ def login_page(request: Request):
|
||||
<body>
|
||||
<div class="login-card">
|
||||
<div class="logo-header">
|
||||
<div class="logo-icon">🛰️</div>
|
||||
<div class="logo-icon">
|
||||
<svg width="28" height="28" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon points="256,24 456,139 456,373 256,488 56,373 56,139" fill="#0E1A2E" stroke="#00E5FF" stroke-width="24"/>
|
||||
<rect x="140" y="140" width="46" height="232" rx="10" fill="#00E5FF"/>
|
||||
<rect x="140" y="326" width="220" height="46" rx="10" fill="#00E5FF"/>
|
||||
<rect x="220" y="210" width="36" height="80" rx="8" fill="#00FFA3"/>
|
||||
<rect x="286" y="150" width="36" height="140" rx="8" fill="#00E5FF"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h1>LOGAR Server Hub</h1>
|
||||
<div class="subtitle">Fleet Ingestion & Centralized Provisioning</div>
|
||||
</div>
|
||||
@@ -2418,10 +2426,18 @@ def serve_webui(request: Request = None):
|
||||
<div class="container">
|
||||
<header>
|
||||
<div class="logo-group">
|
||||
<div class="logo-icon">🛰️</div>
|
||||
<div class="logo-icon">
|
||||
<svg width="26" height="26" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon points="256,24 456,139 456,373 256,488 56,373 56,139" fill="#0E1A2E" stroke="#00E5FF" stroke-width="24"/>
|
||||
<rect x="140" y="140" width="46" height="232" rx="10" fill="#00E5FF"/>
|
||||
<rect x="140" y="326" width="220" height="46" rx="10" fill="#00E5FF"/>
|
||||
<rect x="220" y="210" width="36" height="80" rx="8" fill="#00FFA3"/>
|
||||
<rect x="286" y="150" width="36" height="140" rx="8" fill="#00E5FF"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h1>LOGAR Fleet Hub</h1>
|
||||
<div class="subtitle">Fleet Log Aggregation & Centralized AI Provisioning</div>
|
||||
<div class="subtitle">Fleet Log Aggregation & Centralized Provisioning</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
@@ -2596,7 +2612,6 @@ def serve_webui(request: Request = None):
|
||||
<div style="font-weight: 600; font-size: 13px; color: var(--text-muted);">PKI & Seat Synchronization:</div>
|
||||
<div style="display:flex; gap:8px; flex-wrap:wrap;">
|
||||
<button class="btn btn-accent" onclick="openImportLicModal()">📥 Import License (.lic)</button>
|
||||
<button class="btn btn-outline" onclick="copyCaCsr()">📋 Copy CA CSR</button>
|
||||
<button class="btn btn-secondary" onclick="triggerMtlsRenewal()">🔄 Sync & Renew via mTLS</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2754,21 +2769,6 @@ def serve_webui(request: Request = None):
|
||||
window.location.href = '/api/license/export-lic';
|
||||
}}
|
||||
|
||||
async function copyCaCsr() {{
|
||||
try {{
|
||||
const res = await fetch('/api/license/csr');
|
||||
if (res.ok) {{
|
||||
const data = await res.json();
|
||||
navigator.clipboard.writeText(data.csr);
|
||||
showAlert('CA CSR copied to clipboard!');
|
||||
}} else {{
|
||||
alert('Failed to fetch CA CSR');
|
||||
}}
|
||||
}} catch (err) {{
|
||||
alert('Error fetching CA CSR: ' + err.message);
|
||||
}}
|
||||
}}
|
||||
|
||||
function handleLicFile(event) {{
|
||||
const file = event.target.files[0];
|
||||
if (!file) return;
|
||||
|
||||
Reference in New Issue
Block a user