Files

100 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Terraform Registry · Nubes</title>
<style>
:root {
--primary: #2563eb;
--primary-dark: #1d4ed8;
--bg: #f8fafc;
--card-bg: #fff;
--border: #e2e8f0;
--text: #1a1a1a;
--muted: #6b7280;
--green: #22c55e;
--radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex; flex-direction: column;
}
.header {
background: var(--card-bg);
border-bottom: 1px solid var(--border);
padding: 16px 24px;
}
.logo {
font-size: 24px; font-weight: 700; color: #001C34;
letter-spacing: -0.5px;
}
.main {
flex: 1;
display: flex; align-items: center; justify-content: center;
padding: 40px 24px;
}
.card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: 0 1px 3px rgba(0,0,0,.04);
width: 100%; max-width: 480px;
overflow: hidden;
}
.card-header {
background: #f3f4f6;
padding: 14px 20px;
font-weight: 600; font-size: 16px;
display: flex; align-items: center; gap: 8px;
}
.card-body { padding: 20px; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.row + .row { border-top: 1px solid var(--border); }
.label { color: var(--muted); font-size: 14px; }
.value { font-size: 14px; font-weight: 500; }
.badge {
display: inline-flex; align-items: center; gap: 6px;
background: #f0fdf4; color: #166534;
padding: 4px 10px; border-radius: 999px;
font-size: 13px; font-weight: 500;
}
.badge::before {
content: ''; width: 8px; height: 8px;
background: var(--green); border-radius: 50%;
}
.footer {
text-align: center; padding: 16px 24px;
color: var(--muted); font-size: 12px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
</style>
</head>
<body>
<div class="header">
<img src="/static/logo.svg" height="18" alt="nubes">
</div>
<div class="main">
<div class="card">
<div class="card-header">Terraform Provider Registry</div>
<div class="card-body">
<div class="row">
<span class="label">Статус</span>
<span class="badge">ONLINE</span>
</div>
<div class="row">
<span class="label">Версия</span>
<span class="value">v{{.Version}}</span>
</div>
</div>
</div>
</div>
<div class="footer">Powered by Nubes Cloud · S3 Storage</div>
</body>
</html>