Add web server, certificates and Samba/AD management tabs, a web server config generator, toggleable feature menus and an animated start page background
- Web server tab (nginx, Apache, Caddy, PHP-FPM): service control with autostart, config test and live logs, sites list with enable/disable/edit/delete, new site wizard (static, reverse proxy, PHP) and a code editor for all config files; every change is checked (nginx -t, apachectl configtest, caddy validate, php-fpm -t) before reloading and rolled back if the check fails - Config generator: all options grouped and searchable (reverse proxy with load balancing and WebSockets, HTTPS/TLS, HSTS, security headers, IP allow list, basic auth, rate limit, gzip, caching, upload size, PHP, redirects, logs, custom directives), presets, live preview for nginx/Apache/Caddy; save as a site (needed Apache modules are enabled) or open in the editor first - Certificates tab: Let's Encrypt via certbot (request with nginx/Apache/webroot/standalone/DNS challenge, renew, dry run, delete) in a terminal tab, acme.sh certificates, expiry of all found certificate files, auto-renew timer, self-signed certificates and a TLS endpoint check from this computer - Samba/AD tab: shares (smb.conf edited section by section, checked with testparm), Samba users, services and connected clients; create a new AD domain (samba-tool domain provision), join or leave a domain (realmd/sssd) and manage domain users, groups, members and computers; passwords are passed via stdin - Settings: feature menus (Docker, firewall, network, web server, certificates, Samba/AD) can be enabled or disabled for the host menu, terminal toolbar and quick search - Start page: slowly drifting, blurred colour glows in the theme colours behind the vault (can be turned off in the design settings, respects reduced motion) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -470,3 +470,94 @@ kbd { background: var(--card); border: 1px solid var(--border); border-bottom-wi
|
||||
|
||||
/* Web-Version (Browser): Desktop-Funktionen ausblenden */
|
||||
.web .win-ctrls, .web #lockBtn, .web .nav[data-view='vpns'], .web .nav[data-view='forwards'], .web #updateBadge { display: none !important; }
|
||||
|
||||
/* ---------- Verwaltungs-Tabs: Webserver, Zertifikate, Samba/AD ---------- */
|
||||
.admin-wrap { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
|
||||
.admin-sec { background: var(--card); border-radius: 12px; padding: 12px 14px; }
|
||||
.admin-sec-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
|
||||
.admin-sec-head h4 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
|
||||
.admin-sec-head .grow, .ws-card .grow { flex: 1; }
|
||||
.admin-table th { background: var(--card); }
|
||||
.admin-table td { white-space: normal; }
|
||||
.admin-table td.name { width: auto; max-width: none; }
|
||||
.admin-table td.acts { white-space: nowrap; width: 1%; }
|
||||
.admin-table .w-dot { width: 18px; }
|
||||
.admin-empty { color: var(--muted); padding: 14px 4px; font-size: 13px; }
|
||||
.muted { color: var(--muted); }
|
||||
.small { font-size: 11.5px; }
|
||||
.status-pill.err { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
|
||||
.svc-btns { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; }
|
||||
.svc-auto { margin: 0 0 0 6px; font-size: 12px; color: var(--muted); }
|
||||
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
|
||||
.ws-card { background: var(--card); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
|
||||
.ws-card.absent { opacity: .75; border: 1px dashed var(--border); background: transparent; }
|
||||
.ws-card .nh { display: flex; align-items: center; gap: 8px; }
|
||||
.ws-card .ws-ico svg { width: 18px; height: 18px; color: var(--green); }
|
||||
.ws-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||||
.file-list { display: flex; flex-direction: column; gap: 2px; }
|
||||
.file-it { display: flex; align-items: center; gap: 8px; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 7px 8px; color: var(--text); }
|
||||
.file-it:hover { background: var(--card-hover); }
|
||||
.file-it svg { width: 15px; height: 15px; color: var(--faint); flex: none; }
|
||||
.stack-editor .se-out { padding: 8px 12px; font-family: 'Cascadia Code', Consolas, monospace; font-size: 12px; white-space: pre-wrap; border-bottom: 1px solid var(--border); max-height: 140px; overflow: auto; }
|
||||
.stack-editor .se-out.ok { color: var(--green); }
|
||||
.stack-editor .se-out.err { color: var(--red); }
|
||||
.cert-head { display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap; background: var(--card); border-radius: 12px; padding: 12px 14px; }
|
||||
.cert-head label { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--faint); font-weight: 600; }
|
||||
.cert-head .v { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
|
||||
.cert-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
|
||||
.exp { display: inline-flex; flex-direction: column; font-size: 12.5px; }
|
||||
.exp small { font-size: 11px; color: var(--faint); }
|
||||
.exp.ok { color: var(--green); }
|
||||
.exp.warn { color: var(--orange); }
|
||||
.exp.err { color: var(--red); }
|
||||
.cert-probe { align-items: flex-end; }
|
||||
.cert-probe .btn { margin-bottom: 14px; }
|
||||
.ad-seg { align-self: flex-start; }
|
||||
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; }
|
||||
.feature-it { margin: 4px 0; }
|
||||
.feature-it .fi svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
|
||||
|
||||
/* ---------- Animierter Hintergrund der Startseite: langsam treibende, weichgezeichnete Farbflächen ---------- */
|
||||
.home-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: none; z-index: 0; }
|
||||
body.home-anim #main:has(> #homeView.active) .home-bg { display: block; }
|
||||
body.home-anim #homeView { z-index: 1; }
|
||||
body.home-anim #homeView .toolbar { background: transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
|
||||
.home-bg i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(80px); opacity: .34; will-change: transform; mix-blend-mode: screen; }
|
||||
.home-bg i:nth-child(1) { background: radial-gradient(circle, var(--accent) 0, transparent 68%); left: -18vmax; top: -24vmax; animation: hb1 46s ease-in-out infinite alternate; }
|
||||
.home-bg i:nth-child(2) { background: radial-gradient(circle, var(--accent-3) 0, transparent 68%); right: -22vmax; top: -10vmax; animation: hb2 58s ease-in-out infinite alternate; }
|
||||
.home-bg i:nth-child(3) { background: radial-gradient(circle, var(--folder) 0, transparent 68%); left: 10vmax; bottom: -34vmax; animation: hb3 52s ease-in-out infinite alternate; opacity: .24; }
|
||||
.home-bg i:nth-child(4) { background: radial-gradient(circle, var(--orange) 0, transparent 70%); right: -10vmax; bottom: -30vmax; width: 44vmax; height: 44vmax; animation: hb4 64s ease-in-out infinite alternate; opacity: .18; }
|
||||
/* feines Rauschen gegen Farbstufen im Verlauf */
|
||||
.home-bg::after { content: ''; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
|
||||
[data-theme='light'] .home-bg i, [data-theme='win11'] .home-bg i, [data-theme='xp'] .home-bg i { mix-blend-mode: multiply; opacity: .22; }
|
||||
[data-theme='macos'] .home-bg { display: none !important; }
|
||||
@keyframes hb1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22vmax, 14vmax) scale(1.15); } 100% { transform: translate(8vmax, 26vmax) scale(.92); } }
|
||||
@keyframes hb2 { 0% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-26vmax, 18vmax) scale(.9); } 100% { transform: translate(-10vmax, 30vmax) scale(1.12); } }
|
||||
@keyframes hb3 { 0% { transform: translate(0, 0) scale(.95); } 50% { transform: translate(24vmax, -16vmax) scale(1.1); } 100% { transform: translate(-12vmax, -24vmax) scale(1); } }
|
||||
@keyframes hb4 { 0% { transform: translate(0, 0); } 50% { transform: translate(-30vmax, -12vmax); } 100% { transform: translate(-14vmax, -28vmax); } }
|
||||
@media (prefers-reduced-motion: reduce) { .home-bg i { animation: none !important; } }
|
||||
/* Konfigurations-Generator */
|
||||
.admin-wrap.gen-wrap { height: 100%; box-sizing: border-box; }
|
||||
.gen { display: grid; grid-template-columns: minmax(340px, 1fr) minmax(360px, 1.1fr); gap: 14px; flex: 1; min-height: 0; height: 100%; }
|
||||
.gen-left, .gen-right { display: flex; flex-direction: column; min-height: 0; background: var(--card); border-radius: 12px; overflow: hidden; }
|
||||
.gen-top { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
|
||||
.gen-top select { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 0 8px; height: 30px; max-width: 230px; }
|
||||
.gen-top .search { margin: 0; height: 30px; flex: 1; min-width: 180px; }
|
||||
.gen-opts { overflow: auto; padding: 4px 12px 16px; }
|
||||
.gen-group h4 { margin: 14px 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--accent-2); }
|
||||
.gen-row { display: grid; grid-template-columns: 1fr minmax(150px, 46%); gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--row-line); }
|
||||
.gen-row.bool { grid-template-columns: 1fr auto; }
|
||||
.gen-row.wide { grid-template-columns: 1fr; }
|
||||
.gen-row.off { opacity: .45; }
|
||||
.gen-row label { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
|
||||
.gen-row label small { color: var(--faint); font-size: 11px; }
|
||||
.gen-row .badge { font-size: 9.5px; font-weight: 600; padding: 1px 5px; border-radius: 5px; background: var(--icon-bg); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
|
||||
.gen-row .gc input:not([type=checkbox]), .gen-row .gc select, .gen-row .gc textarea { width: 100%; box-sizing: border-box; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 12.5px; }
|
||||
.gen-row .gc textarea { font-family: 'Cascadia Code', Consolas, monospace; resize: vertical; }
|
||||
.gen-row .gc input:focus, .gen-row .gc select:focus, .gen-row .gc textarea:focus { border-color: var(--accent); outline: none; }
|
||||
.gen-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
|
||||
.gen-bar .seg small { opacity: .5; }
|
||||
.gen-note { padding: 8px 12px; font-size: 12px; color: var(--orange); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
|
||||
.gen-preview { flex: 1; margin: 0; padding: 12px 14px; overflow: auto; white-space: pre; font-size: 12px; line-height: 1.5; background: var(--panel); color: var(--text); user-select: text; }
|
||||
@media (max-width: 900px) { .gen { grid-template-columns: 1fr; height: auto; } .gen-preview { max-height: 50vh; } }
|
||||
.session.admin .views button { white-space: nowrap; }
|
||||
Reference in New Issue
Block a user