2589 lines
80 KiB
Plaintext
2589 lines
80 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="preload" as="image" href="<%= (branding && branding.logoUrl) ? branding.logoUrl : '/images/adpanel-dark.svg' %>" fetchpriority="high">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="dashboard.css?v=<%= typeof themeVersion !== 'undefined' ? themeVersion : Date.now() %>">
|
|
<title>
|
|
<%= (branding && branding.appName) ? branding.appName : 'ADPanel' %>
|
|
</title>
|
|
<link id="favicon" rel="icon"
|
|
type="<%= (branding && branding.faviconMimeType) ? branding.faviconMimeType : 'image/webp' %>"
|
|
sizes="<%= (branding && branding.faviconMimeType === 'image/svg+xml') ? 'any' : '16x16' %>"
|
|
href="<%= (branding && branding.faviconUrl) ? branding.faviconUrl : (branding && branding.logoUrl ? branding.logoUrl : '/images/adpanel-dark.svg') %>" />
|
|
<link rel="alternate icon" type="<%= (branding && branding.faviconMimeType) ? branding.faviconMimeType : 'image/webp' %>" href="<%= (branding && branding.faviconUrl) ? branding.faviconUrl : (branding && branding.logoUrl ? branding.logoUrl : '/images/adpanel-dark.svg') %>" />
|
|
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
|
|
integrity="sha384-nRgPTkuX86pH8yjPJUAFuASXQSSl2/bBUiNV47vSYpKFxHJhbcrGnmlYpYJMeD7a" crossorigin="anonymous"
|
|
referrerpolicy="no-referrer" />
|
|
|
|
<link rel="stylesheet" href="/css/dashboard.css?v=20261121-local-images">
|
|
<link rel="stylesheet" href="/css/ssh-terminal-window.css?v=20260509-floating-terminal-5">
|
|
<link rel="stylesheet" href="/css/status-monitor.css?v=<%= typeof themeVersion !== 'undefined' ? themeVersion : Date.now() %>">
|
|
|
|
<style nonce="<%= cspNonce %>">
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
img,
|
|
video,
|
|
canvas {
|
|
-webkit-user-drag: none;
|
|
-khtml-user-drag: none;
|
|
-moz-user-drag: none;
|
|
-o-user-drag: none;
|
|
user-drag: none;
|
|
pointer-events: auto;
|
|
}
|
|
</style>
|
|
|
|
<script nonce="<%= cspNonce %>">
|
|
window.__dashboardSplashImage = '/images/hello.webp';
|
|
try {
|
|
const splashKey = `dashboard-splash-cache:${window.location.origin}:${window.__dashboardSplashImage}`;
|
|
window.__dashboardSplashKey = splashKey;
|
|
if (localStorage.getItem(splashKey) === '1') {
|
|
document.documentElement.classList.add('skip-dashboard-splash');
|
|
}
|
|
} catch (_) { }
|
|
|
|
document.addEventListener('contextmenu', e => {
|
|
if (e.target && e.target.tagName === 'INPUT') return;
|
|
if (e.target && e.target.tagName === 'TEXTAREA') return;
|
|
e.preventDefault();
|
|
});
|
|
document.addEventListener('dragstart', e => e.preventDefault());
|
|
document.addEventListener('selectstart', e => {
|
|
if (e.target && e.target.tagName === 'INPUT') return;
|
|
if (e.target && e.target.tagName === 'TEXTAREA') return;
|
|
e.preventDefault();
|
|
});
|
|
document.addEventListener('copy', e => {
|
|
if (e.target && e.target.tagName === 'INPUT') return;
|
|
if (e.target && e.target.tagName === 'TEXTAREA') return;
|
|
e.preventDefault();
|
|
});
|
|
document.addEventListener('cut', e => {
|
|
if (e.target && e.target.tagName === 'INPUT') return;
|
|
if (e.target && e.target.tagName === 'TEXTAREA') return;
|
|
e.preventDefault();
|
|
});
|
|
document.addEventListener('keydown', e => {
|
|
if (e.target && e.target.tagName === 'INPUT') return;
|
|
if (e.target && e.target.tagName === 'TEXTAREA') return;
|
|
if ((e.ctrlKey || e.metaKey) && (e.key === 'c' || e.key === 'C' || e.key === 'a' || e.key === 'A' || e.key === 's' || e.key === 'S' || e.key === 'u' || e.key === 'U')) {
|
|
e.preventDefault();
|
|
}
|
|
});
|
|
</script>
|
|
<style nonce="<%= cspNonce %>">
|
|
/* Fixed Status Background Override */
|
|
body {
|
|
background: #1E1E1E !important;
|
|
background-image: none !important;
|
|
}
|
|
</style>
|
|
<style nonce="<%= cspNonce %>">
|
|
/* REPLICATED INDEX TOPBAR STYLING */
|
|
/* ============================== */
|
|
/* Top Bar (Header) container */
|
|
/* ============================== */
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 60px !important;
|
|
/* brand bottom = -8 + 56 = 48px; navbar bottom = -4 + 52 = 48px. Parent height 60px prevents backdrop-filter clipping seam. */
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
transform: none !important;
|
|
will-change: auto !important;
|
|
-webkit-backface-visibility: visible !important;
|
|
backface-visibility: visible !important;
|
|
perspective: none !important;
|
|
display: block !important;
|
|
flex-wrap: nowrap !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* ======================== */
|
|
/* Brand Logo / Title area */
|
|
/* ======================== */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: -5px !important;
|
|
top: -8px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter' !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter' !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
/* 3px further down */
|
|
margin-left: -2px !important;
|
|
/* closer to the Panel text */
|
|
}
|
|
|
|
/* ======================== */
|
|
/* Alert Pill (Auto Layout) */
|
|
/* ======================== */
|
|
.nav-alert {
|
|
position: relative !important;
|
|
width: auto !important;
|
|
height: 35px !important;
|
|
background: #323232 !important;
|
|
box-shadow: 0px 4px 11.1px -2px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 11px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
padding-left: 14px !important;
|
|
padding-right: 10px !important;
|
|
flex-shrink: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-alert__title {
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 600 !important;
|
|
font-size: 16px !important;
|
|
line-height: 19px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
margin-right: 11px !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.nav-alert__divider {
|
|
width: 1px !important;
|
|
height: 35px !important;
|
|
background: #4C4C4C !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.nav-alert__message {
|
|
font-family: 'Inter', sans-serif !important;
|
|
font-style: normal !important;
|
|
font-weight: 400 !important;
|
|
font-size: 12px !important;
|
|
line-height: 15px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
margin-left: 12px !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
/* ======================== */
|
|
/* Navbar pill on the right */
|
|
/* ======================== */
|
|
/* Raised up to top: -4px, and right: 77px to be completely visible */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: -4px !important;
|
|
right: 77px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Toolbar alignment inside nav-shell */
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
/* perfectly spaced toolbar items */
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* Search bar */
|
|
.nav-search-wrap {
|
|
flex: 0 0 auto !important;
|
|
width: 192px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.nav-search-field {
|
|
width: 100% !important;
|
|
height: 34px !important;
|
|
background: rgba(255, 255, 255, 0.1) !important;
|
|
border-radius: 37px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 0 12px !important;
|
|
gap: 8px !important;
|
|
border: none !important;
|
|
transition: background 0.2s ease !important;
|
|
}
|
|
|
|
.nav-search-field:focus-within {
|
|
background: rgba(255, 255, 255, 0.15) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.nav-search-icon {
|
|
width: 15px !important;
|
|
height: 15px !important;
|
|
object-fit: contain !important;
|
|
opacity: 0.8 !important;
|
|
}
|
|
|
|
.nav-search-input {
|
|
width: 100% !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
color: #FFFFFF !important;
|
|
font-family: 'Inter' !important;
|
|
font-weight: 400 !important;
|
|
font-size: 12px !important;
|
|
line-height: 15px !important;
|
|
user-select: text !important;
|
|
}
|
|
|
|
.nav-search-input::placeholder {
|
|
color: #838383 !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option:active {
|
|
opacity: 0.8 !important;
|
|
}
|
|
|
|
.nav-option:disabled {
|
|
cursor: not-allowed !important;
|
|
opacity: 0.4 !important;
|
|
}
|
|
|
|
.nav-option__icon {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
.nav-option__icon i {
|
|
color: #FFFFFF !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
/* Icon sizes */
|
|
.nav-option--status .nav-option__img-icon {
|
|
width: 17px !important;
|
|
height: 17px !important;
|
|
object-fit: contain !important;
|
|
}
|
|
|
|
.ssh-terminal-btn .nav-option__icon i {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.toolbar-assistant .nav-option__img-icon {
|
|
width: 17px !important;
|
|
height: 17px !important;
|
|
object-fit: contain !important;
|
|
}
|
|
|
|
/* Assistant button styling override to look like other buttons */
|
|
#dashboardAssistantButton,
|
|
.dashboard-assistant-trigger {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
#dashboardAssistantButton::after,
|
|
.dashboard-assistant-trigger::after {
|
|
display: none !important;
|
|
content: none !important;
|
|
}
|
|
|
|
#dashboardAssistantButton:hover,
|
|
.dashboard-assistant-trigger:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
}
|
|
|
|
.dashboard-assistant-trigger[aria-expanded="true"] {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option[title="Settings"] .nav-option__icon i {
|
|
font-size: 15px !important;
|
|
}
|
|
|
|
.nav-option--logout .nav-option__icon i {
|
|
font-size: 15px !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
|
|
<style nonce="<%= cspNonce %>">
|
|
/* EXACT INDEX.EJS TOPBAR FAITHFUL REPLICATION */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 60px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: 24px !important;
|
|
top: 12px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: 12px !important;
|
|
right: 24px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* EXACT FAITHFUL REPLICATION OF INDEX.EJS TOPBAR */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
/* Header container */
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 60px !important;
|
|
margin: 16px 0 24px 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Left Brand Logo & Panel TM Title */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: 40px !important;
|
|
top: 2px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
/* Right Sleek Navbar Pill */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: 4px !important;
|
|
right: 40px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* Sleek navbar option buttons */
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* 1:1 PERFECT ALIGNMENT WITH INDEX.EJS */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
/* Wrapper matching .monitor width (min(1180px, calc(100% - 48px))) */
|
|
.status-topbar-wrapper {
|
|
width: min(1180px, calc(100% - 48px)) !important;
|
|
margin: 16px auto 10px auto !important;
|
|
position: relative !important;
|
|
height: 56px !important;
|
|
}
|
|
|
|
/* Header container */
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 56px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Left Brand Logo & Panel TM - Aligned exactly with left edge of cards */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: -5px !important;
|
|
top: -8px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
/* Right Navbar Pill - Aligned exactly with right edge of cards */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: -4px !important;
|
|
right: 0 !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* 1:1 EXACT INDEX.EJS TOPBAR & MAIN CONTAINER POSITIONING */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
body {
|
|
background: #1E1E1E !important;
|
|
background-image: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow-x: hidden !important;
|
|
}
|
|
|
|
main.dashboard {
|
|
flex: 1;
|
|
width: 100% !important;
|
|
max-width: 1303px !important;
|
|
margin: 0 auto !important;
|
|
padding: 0 24px !important;
|
|
padding-top: 92px !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 20px !important;
|
|
}
|
|
|
|
#topbar-spacer {
|
|
display: none !important;
|
|
}
|
|
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 60px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: -5px !important;
|
|
top: -8px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: -4px !important;
|
|
right: 0 !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* USER BLUE ARROWS: MOVE LOGO UP & NAVBAR PILL UP + RIGHT */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
body {
|
|
background: #1E1E1E !important;
|
|
background-image: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow-x: hidden !important;
|
|
}
|
|
|
|
main.dashboard {
|
|
flex: 1;
|
|
width: 100% !important;
|
|
max-width: 1303px !important;
|
|
margin: 0 auto !important;
|
|
padding: 0 24px !important;
|
|
padding-top: 72px !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 20px !important;
|
|
}
|
|
|
|
#topbar-spacer {
|
|
display: none !important;
|
|
}
|
|
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 48px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Move Brand Logo UP towards top edge */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: -5px !important;
|
|
top: -52px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
/* Move Navbar Pill UP & RIGHT towards edge */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: -50px !important;
|
|
right: -5px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* EXACT BLUE LINES POSITIONING MATCH */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
body {
|
|
background: #1E1E1E !important;
|
|
background-image: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow-x: hidden !important;
|
|
}
|
|
|
|
main.dashboard {
|
|
flex: 1;
|
|
width: 100% !important;
|
|
max-width: 1303px !important;
|
|
margin: 0 auto !important;
|
|
padding: 0 24px !important;
|
|
padding-top: 72px !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 20px !important;
|
|
}
|
|
|
|
#topbar-spacer {
|
|
display: none !important;
|
|
}
|
|
|
|
header.top-bar {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 48px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Move Brand Logo FURTHER LEFT (left: -32px) */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: -32px !important;
|
|
top: -52px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
/* Move Navbar Pill FURTHER RIGHT (right: -32px) */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: -50px !important;
|
|
right: -32px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* EXACT SCREEN EDGE POSITIONING & HIGHER UP */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
body {
|
|
background: #1E1E1E !important;
|
|
background-image: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow-x: hidden !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
main.dashboard {
|
|
flex: 1;
|
|
width: 100% !important;
|
|
max-width: 1303px !important;
|
|
margin: 0 auto !important;
|
|
padding: 0 24px 32px 24px !important;
|
|
padding-top: 76px !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 20px !important;
|
|
}
|
|
|
|
#topbar-spacer {
|
|
display: none !important;
|
|
}
|
|
|
|
header.top-bar {
|
|
position: absolute !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
width: 100% !important;
|
|
height: 60px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
backdrop-filter: none !important;
|
|
-webkit-backdrop-filter: none !important;
|
|
display: block !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Pushed further LEFT (left: 32px) and HIGHER UP (top: 14px) */
|
|
.nav-brand-container {
|
|
position: absolute !important;
|
|
left: 57px !important;
|
|
top: 14px !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-brand {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
height: 56px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
cursor: pointer !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-brand:focus-visible,
|
|
.nav-brand:active {
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-brand__logo {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
object-fit: contain !important;
|
|
filter: none !important;
|
|
flex-shrink: 0 !important;
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.nav-brand__title-wrap {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-brand__wordmark {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 700 !important;
|
|
font-size: 36px !important;
|
|
line-height: 36px !important;
|
|
color: #FFFFFF !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.nav-brand__tm {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
|
|
font-weight: 400 !important;
|
|
font-size: 10px !important;
|
|
line-height: 10px !important;
|
|
color: #FFFFFF !important;
|
|
margin-top: 1px !important;
|
|
margin-left: -2px !important;
|
|
}
|
|
|
|
/* Pushed further RIGHT (right: 32px) and HIGHER UP (top: 16px) */
|
|
.nav-shell {
|
|
position: absolute !important;
|
|
top: 18.5px !important;
|
|
right: 15px !important;
|
|
width: auto !important;
|
|
min-width: auto !important;
|
|
max-width: calc(100vw - 300px) !important;
|
|
height: 52px !important;
|
|
background: rgba(50, 50, 50, 0.59) !important;
|
|
box-shadow: -9px 6px 36.7px -4px rgba(0, 0, 0, 0.25) !important;
|
|
border-radius: 19px !important;
|
|
padding: 0 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
border: none !important;
|
|
z-index: 10 !important;
|
|
pointer-events: auto !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.nav-shell::before {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
border-radius: inherit !important;
|
|
backdrop-filter: blur(16.6px) !important;
|
|
-webkit-backdrop-filter: blur(16.6px) !important;
|
|
z-index: -1 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
width: auto !important;
|
|
justify-content: flex-start !important;
|
|
gap: 7px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.nav-option {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
cursor: pointer !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
color: #FFFFFF !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-radius: 8px !important;
|
|
transition: background 0.18s ease, opacity 0.18s ease !important;
|
|
width: 34px !important;
|
|
height: 34px !important;
|
|
min-width: 34px !important;
|
|
min-height: 34px !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.nav-option:hover {
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.nav-option__label {
|
|
display: none !important;
|
|
}
|
|
|
|
.account-btn-avatar {
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.account-avatar-btn {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
.account-avatar-btn .nav-option__icon {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
</style><style nonce="<%= cspNonce %>">
|
|
/* MODAL COLORS MATCHING SETTINGS.EJS */
|
|
.enterprise-modal,
|
|
.enterprise-modal-header,
|
|
.enterprise-modal-body,
|
|
.enterprise-modal-footer {
|
|
background: #3F3F3F !important;
|
|
background-color: #3F3F3F !important;
|
|
}
|
|
|
|
.enterprise-modal {
|
|
box-shadow:
|
|
0 0 0 1px rgba(255, 255, 255, 0.06),
|
|
0 25px 80px -12px rgba(0, 0, 0, 0.5),
|
|
0 0 100px rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
.enterprise-modal-footer {
|
|
background: #3F3F3F !important;
|
|
}
|
|
|
|
</style></head>
|
|
|
|
<body data-server-start-time="<%= serverStartTime %>" class="skip-dashboard-splash" style="opacity:0;">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="mysvg">
|
|
<defs>
|
|
<filter id="glass-distortion" x="0%" y="0%" width="100%" height="100%">
|
|
<feTurbulence type="fractalNoise" baseFrequency="0.008 0.008" numOctaves="2" seed="92" result="noise" />
|
|
<feGaussianBlur in="noise" stdDeviation="2" result="blurred" />
|
|
<feDisplacementMap in="SourceGraphic" in2="blurred" scale="77" xChannelSelector="R" yChannelSelector="G" />
|
|
</filter>
|
|
</defs>
|
|
</svg>
|
|
|
|
|
|
|
|
<div id="topbar-spacer" aria-hidden="true"></div>
|
|
|
|
<main class="dashboard" id="mainContent">
|
|
<header class="top-bar" id="topBar">
|
|
<div class="nav-brand-container">
|
|
<div class="nav-brand" data-href="/" role="link" tabindex="0" aria-label="Go to dashboard">
|
|
<img src="<%= (branding && branding.logoUrl) ? branding.logoUrl : '/images/adpanel-dark.svg' %>" alt="<%= (branding && branding.appName) ? branding.appName : 'ADPanel' %> logo" class="nav-brand__logo" width="91" height="91" fetchpriority="high" decoding="async" />
|
|
<div class="nav-brand__title-wrap">
|
|
<span class="nav-brand__wordmark">Panel</span>
|
|
<span class="nav-brand__tm">TM</span>
|
|
</div>
|
|
</div>
|
|
|
|
<% if (typeof globalAlert !=='undefined' && globalAlert && globalAlert.message) { %>
|
|
<div class="nav-alert">
|
|
<span class="nav-alert__title">Alert</span>
|
|
<div class="nav-alert__divider"></div>
|
|
<span class="nav-alert__message">
|
|
<%= globalAlert.message %>
|
|
</span>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
|
|
<nav class="nav-shell">
|
|
<div class="toolbar">
|
|
<div class="toolbar-actions nav-options">
|
|
<button class="nav-option nav-option--back" title="Back" data-href="/">
|
|
<span class="nav-option__icon"><i class="fa-solid fa-right-from-bracket"></i></span>
|
|
<span class="nav-option__label"><span>Back</span></span>
|
|
</button>
|
|
|
|
<button id="accountBtn" class="nav-option nav-option--account account-avatar-btn" title="Manage account" data-href="/#account">
|
|
<span class="nav-option__icon">
|
|
<img src="<%= avatarUrl %>" alt="Avatar" class="account-btn-avatar" width="30" height="30" decoding="async" draggable="false">
|
|
</span>
|
|
<span class="nav-option__label"><span>Manage Account</span></span>
|
|
</button>
|
|
|
|
<% if (isAdmin) { %>
|
|
<button class="nav-option" title="Settings" data-href="/settings">
|
|
<span class="nav-option__icon"><i class="fa-solid fa-gear"></i></span>
|
|
<span class="nav-option__label"><span>Settings</span></span>
|
|
</button>
|
|
<% } else { %>
|
|
<button class="nav-option" title="You are not admin" disabled>
|
|
<span class="nav-option__icon"><i class="fa-solid fa-lock"></i></span>
|
|
<span class="nav-option__label"><span>Locked</span></span>
|
|
</button>
|
|
<% } %>
|
|
|
|
<button id="openSshTerminalBtn" class="nav-option ssh-terminal-btn" title="Open SSH Terminal">
|
|
<span class="nav-option__icon"><i class="fa-solid fa-terminal"></i></span>
|
|
<span class="nav-option__label"><span>Open SSH Terminal</span></span>
|
|
</button>
|
|
|
|
<% if (isAdmin) { %>
|
|
<button id="createBtn" class="nav-option nav-option--create" title="Create">
|
|
<span class="nav-option__icon"><i class="fa-solid fa-plus"></i></span>
|
|
<span class="nav-option__label"><span>Create</span></span>
|
|
</button>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
<section class="monitor">
|
|
<div class="monitor-head">
|
|
<div>
|
|
<h2>System Status</h2>
|
|
<p>Real-time metrics and performance insights</p>
|
|
</div>
|
|
<div class="monitor-head__meta">
|
|
<span class="monitor-chip"><i class="fa-solid fa-server"></i>
|
|
<%= (typeof bots !== 'undefined' && Array.isArray(bots)) ? bots.length : 0 %>
|
|
</span>
|
|
<span class="monitor-chip"><i class="fa-solid fa-code-branch"></i><span id="svcVersion">
|
|
<%= (typeof panelVersion !=='undefined' && panelVersion) ? panelVersion : '—' %>
|
|
</span></span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Metrics Grid -->
|
|
<div class="metrics-hero">
|
|
<div class="metric-card" data-metric="cpu">
|
|
<div class="metric-card__ring">
|
|
<svg viewBox="0 0 36 36">
|
|
<path d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#4D4D4D" stroke-width="3" transform="rotate(0 18 18)" />
|
|
<path class="metric-card__ring-fill" data-bar-fill="cpu"
|
|
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#ACACAC" stroke-width="3" stroke-dasharray="0, 100" transform="rotate(0 18 18)" />
|
|
</svg>
|
|
</div>
|
|
<div class="metric-card__label"><i class="fa-solid fa-microchip metric-card__icon"></i>Processor</div>
|
|
<div class="metric-card__value" data-bar-pct="cpu">0%</div>
|
|
<div class="metric-card__detail" data-bar-value="cpu">—</div>
|
|
</div>
|
|
|
|
<div class="metric-card" data-metric="mem">
|
|
<div class="metric-card__ring">
|
|
<svg viewBox="0 0 36 36">
|
|
<path d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#4D4D4D" stroke-width="3" transform="rotate(0 18 18)" />
|
|
<path class="metric-card__ring-fill" data-bar-fill="mem"
|
|
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#ACACAC" stroke-width="3" stroke-dasharray="0, 100" transform="rotate(0 18 18)" />
|
|
</svg>
|
|
</div>
|
|
<div class="metric-card__label"><i class="fa-solid fa-memory metric-card__icon"></i>Memory</div>
|
|
<div class="metric-card__value" data-bar-pct="mem">0%</div>
|
|
<div class="metric-card__detail" data-bar-value="mem">—</div>
|
|
</div>
|
|
|
|
<div class="metric-card" data-metric="disk">
|
|
<div class="metric-card__ring">
|
|
<svg viewBox="0 0 36 36">
|
|
<path d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#4D4D4D" stroke-width="3" transform="rotate(0 18 18)" />
|
|
<path class="metric-card__ring-fill" data-bar-fill="disk"
|
|
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#ACACAC" stroke-width="3" stroke-dasharray="0, 100" transform="rotate(0 18 18)" />
|
|
</svg>
|
|
</div>
|
|
<div class="metric-card__label"><i class="fa-solid fa-hard-drive metric-card__icon"></i>Storage</div>
|
|
<div class="metric-card__value" data-bar-pct="disk">0%</div>
|
|
<div class="metric-card__detail" data-bar-value="disk">—</div>
|
|
</div>
|
|
|
|
<div class="metric-card" data-metric="net">
|
|
<div class="metric-card__ring">
|
|
<svg viewBox="0 0 36 36">
|
|
<path d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#4D4D4D" stroke-width="3" transform="rotate(0 18 18)" />
|
|
<path class="metric-card__ring-fill" data-bar-fill="netrx"
|
|
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none"
|
|
stroke="#ACACAC" stroke-width="3" stroke-dasharray="0, 100" transform="rotate(0 18 18)" />
|
|
</svg>
|
|
</div>
|
|
<div class="metric-card__label"><i class="fa-solid fa-network-wired metric-card__icon"></i>Network</div>
|
|
<div class="metric-card__value" data-bar-pct="netrx">0%</div>
|
|
<div class="metric-card__detail">
|
|
<span data-bar-value="netrx">—</span>
|
|
<span style="opacity:0.5;margin:0 4px">↓</span>
|
|
<span data-bar-value="nettx">—</span>
|
|
<span style="opacity:0.5;margin-left:4px">↑</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Live Stats -->
|
|
<div class="stats-row">
|
|
<div class="stat-pill">
|
|
<div class="stat-pill__icon"><i class="fa-solid fa-bolt"></i></div>
|
|
<div class="stat-pill__body">
|
|
<div class="stat-pill__label">Requests</div>
|
|
<div class="stat-pill__value"><span id="metricRps">0</span>/s</div>
|
|
</div>
|
|
</div>
|
|
<div class="stat-pill">
|
|
<div class="stat-pill__icon"><i class="fa-solid fa-clock"></i></div>
|
|
<div class="stat-pill__body">
|
|
<div class="stat-pill__label">Uptime</div>
|
|
<div class="stat-pill__value" id="metricUptime">0s</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Services -->
|
|
<div class="monitor-card">
|
|
<div class="monitor-card__title">Services</div>
|
|
<div class="svc-grid">
|
|
<div class="svc-row" data-svc-row id="svcDatabase">
|
|
<span class="svc-row__dot"></span>
|
|
<div class="svc-row__body">
|
|
<div class="svc-row__name">Database</div>
|
|
<div class="svc-row__val" id="svcDatabaseVal">checking…</div>
|
|
</div>
|
|
</div>
|
|
<div class="svc-row" data-svc-row>
|
|
<span class="svc-row__dot"></span>
|
|
<div class="svc-row__body">
|
|
<div class="svc-row__name">Nodes</div>
|
|
<div class="svc-row__val" id="svcNodes">checking…</div>
|
|
</div>
|
|
</div>
|
|
<div class="svc-row" data-svc-row>
|
|
<span class="svc-row__dot"></span>
|
|
<div class="svc-row__body">
|
|
<div class="svc-row__name">Containers</div>
|
|
<div class="svc-row__val" id="svcContainers">checking…</div>
|
|
</div>
|
|
</div>
|
|
<div class="svc-row" data-svc-row>
|
|
<span class="svc-row__dot"></span>
|
|
<div class="svc-row__body">
|
|
<div class="svc-row__name">Terminal</div>
|
|
<div class="svc-row__val" id="svcSsh">checking…</div>
|
|
</div>
|
|
</div>
|
|
<div class="svc-row" data-svc-row>
|
|
<span class="svc-row__dot"></span>
|
|
<div class="svc-row__body">
|
|
<div class="svc-row__name">Connections</div>
|
|
<div class="svc-row__val" id="svcSockets">checking…</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Graph + calendar -->
|
|
<div class="monitor-card">
|
|
<div class="monitor-card__title">Performance History</div>
|
|
<div class="graph-wrap">
|
|
<div class="graph-head">
|
|
<div class="graph-legend">
|
|
<span><i style="background:#0EA5E9"></i>Processor</span>
|
|
<span><i style="background:#8B5CF6"></i>Memory</span>
|
|
</div>
|
|
<div id="graphLabel"></div>
|
|
</div>
|
|
<canvas id="metricsGraph"></canvas>
|
|
</div>
|
|
|
|
<div class="calendar">
|
|
<div class="calendar-head">
|
|
<div class="calendar-nav">
|
|
<button class="calendar-nav-btn" type="button" disabled aria-label="Previous month">
|
|
<i class="fa-solid fa-chevron-left"></i>
|
|
</button>
|
|
<div class="calendar-head__month" id="calendarMonth">—</div>
|
|
<button class="calendar-nav-btn" type="button" disabled aria-label="Next month">
|
|
<i class="fa-solid fa-chevron-right"></i>
|
|
</button>
|
|
</div>
|
|
<div class="calendar-head__hint">Select a day to view details</div>
|
|
</div>
|
|
<div class="cal-grid" id="calendarGrid"></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<% if (isAdmin) { %>
|
|
<footer class="footer" id="upload" style="margin-top: -38px;">
|
|
<div class="footer-inner">
|
|
<div class="footer-copy">
|
|
<h3>Spin up a new server</h3>
|
|
<p>Pick a template and a name, ADPanel will do the rest.</p>
|
|
</div>
|
|
<button class="btn-primary" id="createBtnFooter">
|
|
<i class="fa-solid fa-plus"></i>
|
|
<span>Create</span>
|
|
</button>
|
|
</div>
|
|
</footer>
|
|
<% } %>
|
|
|
|
</main>
|
|
|
|
|
|
<script nonce="<%= cspNonce %>" data-cfasync="false" src="/socket.io/socket.io.min.js" defer></script>
|
|
<script nonce="<%= cspNonce %>" data-cfasync="false"
|
|
src="/js/ssh-terminal-window.js?v=20260924-ssh-terminal-per-tab-1" defer></script>
|
|
<script nonce="<%= cspNonce %>" data-cfasync="false" src="/js/dashboard.js?v=20261007-dashboard-fixes-1"
|
|
defer></script>
|
|
<script nonce="<%= cspNonce %>" data-cfasync="false"
|
|
src="/js/status-monitor.js?v=<%= typeof themeVersion !== 'undefined' ? themeVersion : Date.now() %>"
|
|
defer></script>
|
|
<script nonce="<%= cspNonce %>">
|
|
(function() {
|
|
function reveal() {
|
|
document.body.style.transition = 'opacity 0.18s ease';
|
|
document.body.style.opacity = '1';
|
|
}
|
|
if (document.fonts && document.fonts.ready) {
|
|
document.fonts.ready.then(reveal);
|
|
} else {
|
|
document.addEventListener('DOMContentLoaded', reveal);
|
|
}
|
|
setTimeout(reveal, 350);
|
|
})();
|
|
</script>
|
|
<script nonce="<%= cspNonce %>">
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
var btn = document.getElementById('accountBtn');
|
|
if (btn) {
|
|
btn.addEventListener('click', function(e) {
|
|
e.stopImmediatePropagation();
|
|
window.location.href = '/#account';
|
|
});
|
|
}
|
|
var createBtn = document.getElementById('createBtn');
|
|
if (createBtn) {
|
|
createBtn.addEventListener('click', function(e) {
|
|
e.preventDefault();
|
|
e.stopImmediatePropagation();
|
|
window.location.href = '/settings?panel=servers&create=server';
|
|
});
|
|
}
|
|
var createBtnFooter = document.getElementById('createBtnFooter');
|
|
if (createBtnFooter) {
|
|
createBtnFooter.addEventListener('click', function(e) {
|
|
e.preventDefault();
|
|
e.stopImmediatePropagation();
|
|
window.location.href = '/settings?panel=servers&create=server';
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script nonce="<%= cspNonce %>">
|
|
(function () {
|
|
if (window.matchMedia('(hover: none) and (pointer: coarse)').matches) return;
|
|
|
|
var canPF = false;
|
|
try {
|
|
var _o = Object.defineProperty({}, 'passive', { get: function () { canPF = true; } });
|
|
window.addEventListener('_', null, _o); window.removeEventListener('_', null, _o);
|
|
} catch (_) { }
|
|
var PF = canPF ? { passive: false } : false;
|
|
var PT = canPF ? { passive: true } : false;
|
|
|
|
var y = window.scrollY || window.pageYOffset;
|
|
var dest = y;
|
|
var raf = null;
|
|
var prevT = null;
|
|
|
|
var COAST_MS = 200;
|
|
var coastT = null;
|
|
var coasting = false;
|
|
|
|
var LERP_ACTIVE = 0.22;
|
|
var LERP_COAST = 0.10;
|
|
|
|
function clamp(v) {
|
|
return Math.max(0, Math.min(document.body.scrollHeight - window.innerHeight, v));
|
|
}
|
|
|
|
function loop(now) {
|
|
if (prevT === null) prevT = now;
|
|
var dt = Math.min(now - prevT, 50) / 16.667;
|
|
prevT = now;
|
|
|
|
var lerp = coasting ? LERP_COAST : LERP_ACTIVE;
|
|
var f = 1 - Math.pow(1 - lerp, dt);
|
|
var diff = dest - y;
|
|
|
|
if (Math.abs(diff) < 0.25) {
|
|
y = dest;
|
|
window.scrollTo(0, y);
|
|
raf = null; prevT = null; coasting = false;
|
|
return;
|
|
}
|
|
|
|
y += diff * f;
|
|
window.scrollTo(0, y);
|
|
raf = requestAnimationFrame(loop);
|
|
}
|
|
|
|
function go() {
|
|
if (!raf) { prevT = null; raf = requestAnimationFrame(loop); }
|
|
}
|
|
|
|
function scrollableAncestor(el) {
|
|
while (el && el !== document.body) {
|
|
var ov = getComputedStyle(el).overflowY;
|
|
if ((ov === 'auto' || ov === 'scroll') && el.scrollHeight > el.clientHeight) return true;
|
|
el = el.parentElement;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function interactive(el) {
|
|
var TAGS = { BUTTON: 1, A: 1, INPUT: 1, TEXTAREA: 1, SELECT: 1, LABEL: 1 };
|
|
while (el && el !== document.body) {
|
|
if (TAGS[el.tagName]) return true;
|
|
var role = el.getAttribute && el.getAttribute('role');
|
|
if (role === 'button' || role === 'link') return true;
|
|
el = el.parentElement;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
window.addEventListener('wheel', function (e) {
|
|
if (e.ctrlKey || e.metaKey) return;
|
|
if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) return;
|
|
if (scrollableAncestor(e.target)) return;
|
|
e.preventDefault();
|
|
|
|
var d = e.deltaY;
|
|
if (e.deltaMode === 1) d *= 32;
|
|
else if (e.deltaMode === 2) d *= window.innerHeight;
|
|
|
|
dest = clamp(dest + d);
|
|
coasting = false;
|
|
|
|
clearTimeout(coastT);
|
|
coastT = setTimeout(function () {
|
|
coasting = true;
|
|
}, COAST_MS);
|
|
|
|
go();
|
|
}, PF);
|
|
|
|
var drag = null;
|
|
|
|
document.addEventListener('mousedown', function (e) {
|
|
if (e.button !== 0) return;
|
|
if (interactive(e.target)) return;
|
|
if (scrollableAncestor(e.target)) return;
|
|
|
|
dest = y;
|
|
drag = { startY: e.clientY, startScroll: y, lastY: e.clientY, lastT: performance.now(), vel: 0 };
|
|
clearTimeout(coastT); coasting = false;
|
|
document.body.style.userSelect = 'none';
|
|
document.body.style.cursor = 'grabbing';
|
|
e.preventDefault();
|
|
}, PF);
|
|
|
|
document.addEventListener('mousemove', function (e) {
|
|
if (!drag) return;
|
|
var now = performance.now();
|
|
var dt = now - drag.lastT || 1;
|
|
drag.vel = (e.clientY - drag.lastY) / dt;
|
|
drag.lastY = e.clientY;
|
|
drag.lastT = now;
|
|
|
|
y = clamp(drag.startScroll + (drag.startY - e.clientY));
|
|
dest = y;
|
|
window.scrollTo(0, y);
|
|
}, PT);
|
|
|
|
function endDrag() {
|
|
if (!drag) return;
|
|
document.body.style.userSelect = '';
|
|
document.body.style.cursor = '';
|
|
var throw_ = -drag.vel * 16.667 * 1.2;
|
|
dest = clamp(y + throw_);
|
|
coasting = true;
|
|
drag = null;
|
|
if (Math.abs(throw_) > 1) go();
|
|
}
|
|
|
|
document.addEventListener('mouseup', endDrag);
|
|
document.addEventListener('mouseleave', endDrag);
|
|
|
|
window.addEventListener('scroll', function () {
|
|
if (!raf && !drag) {
|
|
y = window.scrollY || window.pageYOffset;
|
|
dest = y;
|
|
}
|
|
}, PT);
|
|
})();
|
|
</script>
|
|
|
|
|
|
</body>
|
|
|
|
</html> |