commit inicial
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ action | capitalize }} — Cantina</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
{% if action == "reiniciando" %}
|
||||
<meta http-equiv="refresh" content="4;url=/admin/playlists">
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="system-action-container">
|
||||
<div class="system-action-icon">
|
||||
{% if action == "reiniciando" %}🔄{% else %}⏹{% endif %}
|
||||
</div>
|
||||
<h1>{{ message }}</h1>
|
||||
{% if action == "reiniciando" %}
|
||||
<p class="system-action-sub">Redirigiendo en unos segundos…</p>
|
||||
<div class="spinner"></div>
|
||||
{% else %}
|
||||
<p class="system-action-sub">Puedes cerrar esta ventana.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.system-action-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 100vh;
|
||||
gap: 1rem;
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
}
|
||||
.system-action-icon { font-size: 3.5rem; }
|
||||
h1 { font-size: 1.4rem; font-weight: 600; }
|
||||
.system-action-sub { color: var(--text-muted); font-size: .9rem; }
|
||||
|
||||
.spinner {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border: 3px solid #333;
|
||||
border-top-color: var(--green);
|
||||
border-radius: 50%;
|
||||
animation: spin .8s linear infinite;
|
||||
margin-top: .5rem;
|
||||
}
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user