feat: add Admin SSO section (Nomad, Consul, OpenBao)
- New Admin section with SSO badge - nomad.lab.corestory.ai, consul.lab.corestory.ai, bao.lab.corestory.ai - Footer updated to note SSO requirement - pki/openbao card updated to separate pki from bao
This commit is contained in:
parent
2e169b50fe
commit
48a7d51a7f
136
index.html
136
index.html
@ -6,7 +6,6 @@
|
|||||||
<title>corestory Lab</title>
|
<title>corestory Lab</title>
|
||||||
<style>
|
<style>
|
||||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||||
background: #0a0a0f;
|
background: #0a0a0f;
|
||||||
@ -14,31 +13,10 @@
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 48px 24px;
|
padding: 48px 24px;
|
||||||
}
|
}
|
||||||
|
header { text-align: center; margin-bottom: 56px; }
|
||||||
header {
|
header h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
|
||||||
text-align: center;
|
header h1 span { color: #6366f1; }
|
||||||
margin-bottom: 56px;
|
header p { margin-top: 8px; font-size: 0.9rem; color: #64748b; letter-spacing: 0.08em; text-transform: uppercase; }
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: -0.02em;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 span {
|
|
||||||
color: #6366f1;
|
|
||||||
}
|
|
||||||
|
|
||||||
header p {
|
|
||||||
margin-top: 8px;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
color: #64748b;
|
|
||||||
letter-spacing: 0.08em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||||
@ -46,7 +24,6 @@
|
|||||||
max-width: 1100px;
|
max-width: 1100px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-label {
|
.section-label {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
font-size: 0.72rem;
|
font-size: 0.72rem;
|
||||||
@ -58,7 +35,6 @@
|
|||||||
border-bottom: 1px solid #1e293b;
|
border-bottom: 1px solid #1e293b;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.card {
|
a.card {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -71,67 +47,24 @@
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
transition: border-color 0.15s, background 0.15s, transform 0.1s;
|
transition: border-color 0.15s, background 0.15s, transform 0.1s;
|
||||||
}
|
}
|
||||||
|
a.card:hover { border-color: #6366f1; background: #13141f; transform: translateY(-1px); }
|
||||||
a.card:hover {
|
|
||||||
border-color: #6366f1;
|
|
||||||
background: #13141f;
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-icon {
|
.card-icon {
|
||||||
width: 40px;
|
width: 40px; height: 40px; border-radius: 10px;
|
||||||
height: 40px;
|
display: flex; align-items: center; justify-content: center;
|
||||||
border-radius: 10px;
|
font-size: 1.3rem; flex-shrink: 0;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 1.3rem;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-body { flex: 1; min-width: 0; }
|
.card-body { flex: 1; min-width: 0; }
|
||||||
|
.card-name { font-size: 0.95rem; font-weight: 600; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
.card-name {
|
.card-desc { font-size: 0.78rem; color: #64748b; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
font-size: 0.95rem;
|
.card-url { font-size: 0.7rem; color: #334155; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
font-weight: 600;
|
.arrow { color: #334155; font-size: 1rem; flex-shrink: 0; transition: color 0.15s; }
|
||||||
color: #f1f5f9;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-desc {
|
|
||||||
font-size: 0.78rem;
|
|
||||||
color: #64748b;
|
|
||||||
margin-top: 2px;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-url {
|
|
||||||
font-size: 0.7rem;
|
|
||||||
color: #334155;
|
|
||||||
margin-top: 4px;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrow {
|
|
||||||
color: #334155;
|
|
||||||
font-size: 1rem;
|
|
||||||
flex-shrink: 0;
|
|
||||||
transition: color 0.15s;
|
|
||||||
}
|
|
||||||
a.card:hover .arrow { color: #6366f1; }
|
a.card:hover .arrow { color: #6366f1; }
|
||||||
|
.badge {
|
||||||
footer {
|
font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
|
||||||
text-align: center;
|
text-transform: uppercase; padding: 2px 6px; border-radius: 4px;
|
||||||
margin-top: 64px;
|
background: #1e293b; color: #6366f1; margin-left: 6px; vertical-align: middle;
|
||||||
font-size: 0.75rem;
|
|
||||||
color: #1e293b;
|
|
||||||
}
|
}
|
||||||
|
footer { text-align: center; margin-top: 64px; font-size: 0.75rem; color: #1e293b; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -278,9 +211,42 @@
|
|||||||
<span class="arrow">→</span>
|
<span class="arrow">→</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!-- ADMIN (Keycloak SSO) -->
|
||||||
|
<div class="section-label">Admin <span class="badge">SSO</span></div>
|
||||||
|
|
||||||
|
<a class="card" href="https://nomad.lab.corestory.ai" target="_blank">
|
||||||
|
<div class="card-icon" style="background:#1a0a1a;">🧱</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="card-name">Nomad</div>
|
||||||
|
<div class="card-desc">Workload orchestration</div>
|
||||||
|
<div class="card-url">nomad.lab.corestory.ai</div>
|
||||||
|
</div>
|
||||||
|
<span class="arrow">→</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="card" href="https://consul.lab.corestory.ai" target="_blank">
|
||||||
|
<div class="card-icon" style="background:#0a1a1a;">🌐</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="card-name">Consul</div>
|
||||||
|
<div class="card-desc">Service mesh & discovery</div>
|
||||||
|
<div class="card-url">consul.lab.corestory.ai</div>
|
||||||
|
</div>
|
||||||
|
<span class="arrow">→</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="card" href="https://bao.lab.corestory.ai" target="_blank">
|
||||||
|
<div class="card-icon" style="background:#1a1a0a;">🗝️</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="card-name">OpenBao</div>
|
||||||
|
<div class="card-desc">Secrets management UI</div>
|
||||||
|
<div class="card-url">bao.lab.corestory.ai</div>
|
||||||
|
</div>
|
||||||
|
<span class="arrow">→</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>corestory lab · *.lab.corestory.ai · 3-node Nomad cluster</footer>
|
<footer>corestory lab · *.lab.corestory.ai · 3-node Nomad cluster · Admin routes require Keycloak SSO</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user