318 lines
10 KiB
HTML
318 lines
10 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Ward · Soleprint</title>
|
|
<link
|
|
rel="icon"
|
|
type="image/svg+xml"
|
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%231d4ed8'%3E%3Ccircle cx='24' cy='10' r='8'/%3E%3Cellipse cx='24' cy='32' rx='12' ry='14'/%3E%3Ccircle cx='20' cy='8' r='1.5' fill='white'/%3E%3Ccircle cx='28' cy='8' r='1.5' fill='white'/%3E%3Cellipse cx='24' cy='13' rx='2' ry='1' fill='white'/%3E%3Crect x='18' y='28' width='12' height='8' rx='2' fill='white' opacity='0.5'/%3E%3C/svg%3E"
|
|
/>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
html {
|
|
background: #0a0a0a;
|
|
}
|
|
body {
|
|
font-family:
|
|
system-ui,
|
|
-apple-system,
|
|
sans-serif;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
line-height: 1.6;
|
|
color: #e5e5e5;
|
|
background: #1d4ed8;
|
|
}
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.logo {
|
|
width: 64px;
|
|
height: 64px;
|
|
color: white;
|
|
}
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
margin: 0;
|
|
color: white;
|
|
}
|
|
.tagline {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
margin-bottom: 2rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
padding-bottom: 2rem;
|
|
}
|
|
section {
|
|
background: #0a0a0a;
|
|
padding: 1.5rem;
|
|
margin: 1.5rem 0;
|
|
border-radius: 12px;
|
|
}
|
|
section h2 {
|
|
margin: 0 0 1rem 0;
|
|
font-size: 1.2rem;
|
|
color: #93c5fd;
|
|
}
|
|
.composition {
|
|
background: #1a1a1a;
|
|
border: 2px solid #1d4ed8;
|
|
padding: 1rem;
|
|
border-radius: 12px;
|
|
}
|
|
.composition h3 {
|
|
margin: 0 0 0.75rem 0;
|
|
font-size: 1.1rem;
|
|
color: #93c5fd;
|
|
}
|
|
.composition > p {
|
|
margin: 0 0 1rem 0;
|
|
font-size: 0.9rem;
|
|
color: #a3a3a3;
|
|
}
|
|
.components {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
.component {
|
|
background: #0a0a0a;
|
|
border: 1px solid #3f3f3f;
|
|
padding: 0.75rem;
|
|
border-radius: 8px;
|
|
}
|
|
.component h4 {
|
|
margin: 0 0 0.25rem 0;
|
|
font-size: 0.95rem;
|
|
color: #93c5fd;
|
|
}
|
|
.component p {
|
|
margin: 0;
|
|
font-size: 0.85rem;
|
|
color: #a3a3a3;
|
|
}
|
|
.tables {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.tables li {
|
|
padding: 0.75rem 0;
|
|
border-bottom: 1px solid #3f3f3f;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.tables li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.tables .name {
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
color: #e5e5e5;
|
|
}
|
|
.tables a.name:hover {
|
|
color: #93c5fd;
|
|
}
|
|
.status {
|
|
font-size: 0.75rem;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 4px;
|
|
text-transform: uppercase;
|
|
background: #2a2a2a;
|
|
color: #a3a3a3;
|
|
}
|
|
.health {
|
|
display: inline-block;
|
|
margin-top: 1rem;
|
|
padding: 0.5rem 1rem;
|
|
background: #1a1a1a;
|
|
border: 1px solid #3f3f3f;
|
|
border-radius: 4px;
|
|
font-family: monospace;
|
|
color: #93c5fd;
|
|
text-decoration: none;
|
|
}
|
|
.health:hover {
|
|
background: #2a2a2a;
|
|
}
|
|
footer {
|
|
margin-top: 3rem;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.3);
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
footer a {
|
|
color: white;
|
|
}
|
|
footer .disabled {
|
|
opacity: 0.5;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header style="position: relative">
|
|
<!-- Operation game patient -->
|
|
<svg class="logo" viewBox="0 0 48 48" fill="currentColor">
|
|
<circle cx="24" cy="10" r="8" />
|
|
<ellipse cx="24" cy="32" rx="12" ry="14" />
|
|
<circle cx="20" cy="8" r="1.5" fill="#1d4ed8" />
|
|
<circle cx="28" cy="8" r="1.5" fill="#1d4ed8" />
|
|
<ellipse cx="24" cy="13" rx="2" ry="1" fill="#1d4ed8" />
|
|
<rect
|
|
x="18"
|
|
y="28"
|
|
width="12"
|
|
height="8"
|
|
rx="2"
|
|
fill="#1d4ed8"
|
|
opacity="0.5"
|
|
/>
|
|
</svg>
|
|
<h1>Ward</h1>
|
|
{% if pawprint_url %}<a
|
|
href="{{ pawprint_url }}"
|
|
style="
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.85rem;
|
|
"
|
|
>← Soleprint</a
|
|
>{% endif %}
|
|
</header>
|
|
<p class="tagline">
|
|
Monitores, herramientas y pruebas<!-- Monitors & Tools -->
|
|
</p>
|
|
|
|
<section>
|
|
<div class="composition">
|
|
<h3>Table</h3>
|
|
<div class="components">
|
|
<div
|
|
class="component"
|
|
style="
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
"
|
|
>
|
|
<h4 style="margin-bottom: 0.25rem">Cabinet</h4>
|
|
<div
|
|
style="
|
|
background: #1a1a1a;
|
|
border: 1px solid #3f3f3f;
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
color: #93c5fd;
|
|
"
|
|
>
|
|
Monitor
|
|
</div>
|
|
<div
|
|
style="
|
|
background: #1a1a1a;
|
|
border: 1px solid #3f3f3f;
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
color: #93c5fd;
|
|
"
|
|
>
|
|
Tool
|
|
</div>
|
|
</div>
|
|
<div class="component"><h4>Room</h4></div>
|
|
<div class="component"><h4>Depot</h4></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Tables</h2>
|
|
<ul class="tables">
|
|
{% for table in tables %}
|
|
<li>
|
|
<span class="name">{{ table.title }}</span
|
|
><span class="status">{{ table.status }}</span>
|
|
</li>
|
|
{% else %}
|
|
<li><span class="name">--</span></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Cabinets</h2>
|
|
<ul class="tables">
|
|
{% for cabinet in cabinets %}
|
|
<li>
|
|
<span class="name">{{ cabinet.title }}</span
|
|
><span class="status">{{ cabinet.status }}</span>
|
|
</li>
|
|
{% else %}
|
|
<li><span class="name">--</span></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Monitors</h2>
|
|
<ul class="tables">
|
|
{% for monitor in monitors %}
|
|
<li>
|
|
<a href="/monitor/{{ monitor.slug }}/" class="name"
|
|
>{{ monitor.title }}</a
|
|
><span class="status">{{ monitor.status }}</span>
|
|
</li>
|
|
{% else %}
|
|
<li><span class="name">--</span></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Tools</h2>
|
|
<ul class="tables">
|
|
{% for tool in tools %}
|
|
<li>
|
|
{% if tool.type == 'app' and tool.url %}
|
|
<a href="{{ tool.url }}" class="name">{{ tool.title }}</a>
|
|
{% else %}
|
|
<span class="name">{{ tool.title }}</span>
|
|
{% if tool.cli %}<code
|
|
style="
|
|
font-size: 0.75rem;
|
|
color: #666;
|
|
margin-left: 0.5rem;
|
|
"
|
|
>{{ tool.cli }}</code
|
|
>{% endif %} {% endif %}
|
|
<span class="status">{{ tool.status }}</span>
|
|
</li>
|
|
{% else %}
|
|
<li><span class="name">--</span></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
|
|
<a href="/health" class="health">/health</a>
|
|
|
|
<footer>
|
|
{% if pawprint_url %}<a href="{{ pawprint_url }}">← Soleprint</a>{%
|
|
else %}<span class="disabled">← Soleprint</span>{% endif %}
|
|
</footer>
|
|
</body>
|
|
</html>
|