initial commit

This commit is contained in:
i2p
2026-08-27 11:23:01 -06:00
commit d8ff4ca963
144 changed files with 21051 additions and 0 deletions
+307
View File
@@ -0,0 +1,307 @@
:root {
--bg: #0a0a0f;
--bg-2: #131318;
--bg-3: #1b1b22;
--bg-4: #232330;
--border: #26262f;
--border-2: #33333d;
--text: #ececf1;
--muted: #8b8b98;
--dim: #5b5b66;
--accent: #a855f7;
--accent-2: #7c3aed;
--accent-soft: rgba(168, 85, 247, 0.12);
--accent-dim: rgba(168, 85, 247, 0.18);
--green: #34d399;
--green-dim: rgba(52, 211, 153, 0.12);
--red: #f87171;
--red-dim: rgba(248, 113, 113, 0.12);
--purple-1: #c084fc;
--mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
background: var(--bg);
color: var(--text);
font-family: "Inter", system-ui, -apple-system, sans-serif;
font-size: 14px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-size: 12px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }
::-webkit-scrollbar-track { background: transparent; }
/* ---------- sidebar ---------- */
.sidebar {
position: fixed;
left: 0; top: 0; bottom: 0;
width: 248px;
background: var(--bg-2);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
overflow-y: auto;
z-index: 20;
padding: 20px 14px;
}
.brand {
display: flex;
align-items: center;
gap: 11px;
padding: 2px 6px 18px;
}
.brand-logo {
width: 38px; height: 38px;
border-radius: 11px;
background: linear-gradient(135deg, var(--accent-2), var(--accent));
display: flex; align-items: center; justify-content: center;
font-size: 19px;
color: #fff;
box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; color: #fff; }
.brand-dot { color: var(--accent); }
.profile {
background: var(--bg-3);
border: 1px solid var(--border);
border-radius: 14px;
padding: 14px;
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 20px;
}
.profile-avatar {
width: 42px; height: 42px;
border-radius: 12px;
background: linear-gradient(135deg, #2a2a35, #1e1e27);
border: 1px solid var(--border-2);
display: flex; align-items: center; justify-content: center;
font-weight: 700; font-size: 18px; color: var(--accent);
}
.profile-name { font-weight: 600; font-size: 14px; }
.profile-role { font-size: 11px; color: var(--muted); margin-top: 1px; }
.nav-group-label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1.2px;
color: var(--dim);
font-weight: 700;
padding: 14px 8px 6px;
}
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item {
display: flex;
align-items: center;
gap: 11px;
padding: 9px 12px;
border-radius: 10px;
color: var(--muted);
font-weight: 500;
font-size: 13px;
transition: background 0.15s, color 0.15s;
}
.nav-item:hover { background: var(--bg-3); color: var(--text); }
.nav-item .nav-ico { width: 17px; height: 17px; flex: 0 0 17px; opacity: 0.85; }
.sidebar-foot {
margin-top: auto;
padding: 14px 6px 4px;
border-top: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 8px;
}
.online { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); font-weight: 600; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.foot-user { font-size: 12px; color: var(--muted); }
.logout-btn { margin-top: 4px; padding: 9px 12px; border-radius: 10px; background: var(--red-dim); color: var(--red); font-weight: 600; font-size: 13px; text-align: center; transition: background 0.15s; }
.logout-btn:hover { background: rgba(248, 113, 113, 0.2); }
/* ---------- main ---------- */
.main.with-sidebar { margin-left: 248px; }
.main { padding: 26px 30px 60px; }
.flash { padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; border: 1px solid var(--border); font-size: 13px; }
.flash-success { background: var(--green-dim); border-color: rgba(52, 211, 153, 0.3); color: var(--green); }
.flash-error { background: var(--red-dim); border-color: var(--red); color: var(--red); }
.flash-info { background: var(--bg-3); }
/* ---------- page head ---------- */
.page-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 24px;
flex-wrap: wrap;
}
.page-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.4px; }
.page-head .muted { margin: 4px 0 0; }
.with-ico { display: flex; align-items: center; gap: 10px; }
.head-ico { width: 26px; height: 26px; }
.head-actions { display: flex; gap: 10px; }
.section-title { margin: 34px 0 14px; font-size: 17px; font-weight: 700; }
/* ---------- buttons ---------- */
.btn {
display: inline-flex; align-items: center; gap: 6px;
padding: 9px 15px; border-radius: 10px;
font-size: 13px; font-weight: 600;
border: 1px solid var(--border-2); cursor: pointer;
background: var(--bg-3); color: var(--text);
transition: background 0.15s, border 0.15s, transform 0.1s;
}
.btn:hover { background: var(--bg-4); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #6d28d9, #9333ea); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
/* ---------- stat cards ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 16px;
padding: 20px 22px;
display: flex; flex-direction: column; gap: 12px;
position: relative;
overflow: hidden;
}
.stat-card::after {
content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
background: radial-gradient(circle at top right, var(--accent-dim), transparent 70%);
pointer-events: none;
}
.stat-ico {
width: 46px; height: 46px; border-radius: 13px;
background: linear-gradient(135deg, var(--accent-2), var(--accent));
display: flex; align-items: center; justify-content: center;
}
.stat-ico img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.stat-label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.stat-trend { align-self: flex-start; font-size: 11px; color: var(--green); font-weight: 600; background: var(--green-dim); padding: 2px 9px; border-radius: 20px; }
.stat-trend.up::before { content: "↑ "; }
/* ---------- type cards grid ---------- */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
}
.type-card {
display: flex; align-items: center; gap: 12px;
background: var(--bg-2); border: 1px solid var(--border);
border-radius: 12px; padding: 14px;
transition: border 0.15s, transform 0.15s, background 0.15s;
}
.type-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--bg-3); }
.type-ico { width: 30px; height: 30px; flex: 0 0 30px; }
.type-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.type-count { font-size: 19px; font-weight: 700; margin-top: 2px; }
/* ---------- charts ---------- */
.charts-row { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 20px; }
.charts-row.single { grid-template-columns: 1fr; }
.chart-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.chart-card h2 { margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.chart-body { position: relative; min-height: 240px; }
/* ---------- tables ---------- */
.table-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); background: var(--bg-3); font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.empty { text-align: center; color: var(--muted); padding: 30px; font-style: italic; }
.client-link { color: var(--accent); font-weight: 500; }
/* ---------- status chip ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.chip-green { background: var(--green-dim); color: var(--green); }
.chip-red { background: var(--red-dim); color: var(--red); }
.chip-gray { background: var(--bg-4); color: var(--muted); }
/* ---------- secrets ---------- */
.pw { color: var(--accent); cursor: pointer; font-family: var(--mono); font-size: 12px; }
.pw:hover { background: var(--accent-dim); border-radius: 4px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--border-2); font-size: 11px; color: var(--muted); font-weight: 600; }
/* ---------- auth ---------- */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 88vh; }
.auth-card {
width: 380px; background: var(--bg-2); border: 1px solid var(--border);
border-radius: 20px; padding: 38px 36px; display: flex; flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.auth-logo {
width: 54px; height: 54px; border-radius: 15px; align-self: center;
background: linear-gradient(135deg, var(--accent-2), var(--accent));
display: flex; align-items: center; justify-content: center;
font-size: 26px; color: #fff; box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}
.auth-card h1 { margin: 16px 0 2px; font-size: 22px; text-align: center; font-weight: 800; }
.auth-sub { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 13px; }
.auth-card label { font-size: 12px; color: var(--muted); margin: 12px 0 5px; }
.auth-card input {
background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text);
padding: 12px 14px; border-radius: 11px; font-size: 14px; transition: border 0.15s;
}
.auth-card input:focus { outline: none; border-color: var(--accent); }
.auth-card .btn { margin-top: 22px; justify-content: center; }
.auth-link { text-align: center; margin-top: 16px; color: var(--muted); font-size: 12px; }
.auth-link:hover { color: var(--accent); }
/* ---------- search ---------- */
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar input { flex: 1; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); padding: 12px 14px; border-radius: 11px; font-size: 14px; }
.search-bar input:focus { outline: none; border-color: var(--accent); }
/* ---------- builder / fileshare ---------- */
.form-card, .upload-card, .build-progress {
background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin-bottom: 22px; max-width: 640px;
}
.form-card h2, .upload-card h2, .build-progress h2 { margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.form-card label, .upload-card label { font-size: 12px; color: var(--muted); margin: 12px 0 4px; display: block; }
.form-card input, .upload-card input { width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text); padding: 10px 12px; border-radius: 9px; font-size: 13px; font-family: var(--mono); }
.form-card input:focus, .upload-card input:focus { outline: none; border-color: var(--accent); }
.form-card .hint, .upload-card .hint { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.form-card .hint code, .upload-card .hint code { color: var(--accent); }
.form-row { display: flex; gap: 12px; }
.form-row > div { flex: 1; }
.form-card .btn, .upload-card .btn { margin-top: 20px; }
.upload-form { display: flex; flex-direction: column; gap: 10px; }
.upload-form input[type="file"] { color: var(--text); background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 9px; padding: 9px 12px; font-size: 13px; }
.upload-form input[type="text"] { max-width: 200px; }
.build-log { font-family: var(--mono); font-size: 12px; background: #05060a; border: 1px solid var(--border); border-radius: 10px; padding: 14px; max-height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word; color: #c9d1da; }
.build-actions { margin-top: 14px; }
.tag-done { color: var(--green); border-color: rgba(52,211,153,0.3); background: var(--green-dim); }
.tag-running { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.tag-error { color: var(--red); border-color: var(--red); background: var(--red-dim); }
.panel-foot { text-align: center; padding: 16px 12px 20px; }
.panel-foot a { color: var(--muted); font-size: 12px; text-decoration: none; opacity: .75; transition: opacity .15s ease; }
.panel-foot a:hover { opacity: 1; color: var(--accent); }
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="10" rx="2"/><path d="M3 18h18M7 21h10"/></svg>

After

Width:  |  Height:  |  Size: 237 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="14" rx="2"/><path d="M7 18v2h10v-2"/><path d="M8 9h8M8 12h5"/></svg>

After

Width:  |  Height:  |  Size: 259 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h12v18l-6-4-6 4z"/></svg>

After

Width:  |  Height:  |  Size: 192 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="5" width="20" height="14" rx="2"/><path d="M2 10h20"/><path d="M6 15h4"/></svg>

After

Width:  |  Height:  |  Size: 248 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 11a8 8 0 0 1 16 0v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z"/><circle cx="12" cy="13" r="1.6"/><path d="M10 11v2M14 11v2"/></svg>

After

Width:  |  Height:  |  Size: 286 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#a855f7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 15h4M7 10h6"/><path d="M15 8v4h3V8z"/></svg>

After

Width:  |  Height:  |  Size: 259 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="8" r="3.5"/><circle cx="16" cy="6" r="3"/><circle cx="16" cy="16" r="3.5"/></svg>

After

Width:  |  Height:  |  Size: 254 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="2" width="10" height="20" rx="2.5"/><circle cx="12" cy="12" r="2.5"/><circle cx="12" cy="18" r="1"/><circle cx="10" cy="5.5" r="1"/><circle cx="14" cy="5.5" r="1"/></svg>

After

Width:  |  Height:  |  Size: 339 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/><path d="M9 13h6M9 17h6"/></svg>

After

Width:  |  Height:  |  Size: 277 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 11h4v10H2V11a8 8 0 0 1 16 0"/><path d="M22 11v10h-8"/><circle cx="16" cy="7" r="2"/><path d="M2 15h4M18 15h4"/></svg>

After

Width:  |  Height:  |  Size: 283 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>

After

Width:  |  Height:  |  Size: 214 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="15" r="4"/><path d="M10.5 12.5 19 5"/><path d="M16 7l2 2"/><circle cx="18" cy="6" r="1"/></svg>

After

Width:  |  Height:  |  Size: 268 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 8h4M7 12h4"/><path d="M11 8v8h2a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2z"/></svg>

After

Width:  |  Height:  |  Size: 287 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l3 6 6 1-4.5 4.5 1 6L12 17l-5.5 3.5 1-6L3 10l6-1z"/><path d="M12 7l1.5 3 3 .5"/></svg>

After

Width:  |  Height:  |  Size: 254 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="3.2"/><path d="M7.5 7.5l3.2 2.2"/><path d="M13 13.5l2 5"/></svg>

After

Width:  |  Height:  |  Size: 276 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 13a3 3 0 0 1-3 3H7l-4 3V7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3z"/><path d="M8 10h.01M12 10h.01M16 10h.01"/></svg>

After

Width:  |  Height:  |  Size: 274 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l8 5v6c0 5-4 8-8 9-4-1-8-4-8-9V7z"/><path d="M9 12l2 2 4-4"/></svg>

After

Width:  |  Height:  |  Size: 235 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#ff3d5a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="20" height="12" rx="2"/><circle cx="12" cy="12" r="2.5"/><path d="M6 12h1M17 12h1"/></svg>

After

Width:  |  Height:  |  Size: 269 B

+35
View File
@@ -0,0 +1,35 @@
// Secret toggle: `.pw` cells are masked by default. A global "Reveal" button
// (`.reveal-all`) toggles visibility. Clicking a `.pw` cell copies its value.
document.addEventListener("DOMContentLoaded", () => {
const mask = (el) => {
if (!el.dataset.real) el.dataset.real = el.textContent;
el.dataset.masked = "";
el.textContent = el.dataset.real.replace(/./g, "•");
};
document.querySelectorAll(".pw").forEach((el) => mask(el));
const revealAll = document.querySelector(".reveal-all");
if (revealAll) {
revealAll.addEventListener("click", () => {
const on = revealAll.dataset.on === "1";
document.querySelectorAll(".pw").forEach((el) => {
if (on) mask(el);
else el.textContent = el.dataset.real || el.textContent;
});
revealAll.dataset.on = on ? "" : "1";
revealAll.textContent = on ? "Reveal secrets" : "Hide secrets";
});
}
document.querySelectorAll(".pw").forEach((el) => {
el.addEventListener("click", () => {
const real = el.dataset.real || el.textContent;
navigator.clipboard?.writeText(real).then(() => {
const prev = el.textContent;
el.textContent = "copied ✓";
setTimeout(() => { el.textContent = prev; }, 700);
}).catch(() => {});
});
});
});