v1.5.9 (Actuel)
This commit is contained in:
+41
-8
@@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
<title>Hydr'Hacked — Installation</title>
|
||||
<title>Agora — Installation</title>
|
||||
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<meta name="theme-color" content="#1a1a1a">
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="Hydr'Hacked">
|
||||
<meta name="apple-mobile-web-app-title" content="Agora">
|
||||
<link rel="apple-touch-icon" href="/images/icone-192.png">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
@@ -22,10 +22,11 @@
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
padding: 2rem 1rem;
|
||||
background: var(--bg-main);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.setup-box {
|
||||
background: var(--bg-card);
|
||||
@@ -33,8 +34,9 @@
|
||||
border-radius: 16px;
|
||||
padding: 2.5rem;
|
||||
width: 100%;
|
||||
max-width: 420px;
|
||||
max-width: 480px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
|
||||
margin: auto;
|
||||
}
|
||||
.setup-logo {
|
||||
text-align: center;
|
||||
@@ -127,13 +129,14 @@
|
||||
font-weight: 500;
|
||||
}
|
||||
</style>
|
||||
<link rel="icon" type="image/svg+xml" href="/logo_svg.svg">
|
||||
</head>
|
||||
<body>
|
||||
<div class="setup-container">
|
||||
<div class="setup-box">
|
||||
<div class="setup-logo">
|
||||
<img src="/images/logo_transparent.png" alt="Logo">
|
||||
<h1>Hydr'Hacked</h1>
|
||||
<img src="/images/logo_svg.svg" alt="Logo">
|
||||
<h1>Agora</h1>
|
||||
<p>Configuration initiale</p>
|
||||
</div>
|
||||
|
||||
@@ -190,11 +193,41 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (typeof pluginsToConfigure !== 'undefined' && pluginsToConfigure.length > 0) { %>
|
||||
<div style="margin: 2rem 0; border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: left;">
|
||||
<h3 style="margin-bottom: 1rem; color: var(--text-main); font-size: 1.1rem; display: flex; align-items: center; gap: 8px;">
|
||||
<i data-lucide="plug" style="width: 18px; height: 18px; color: var(--primary);"></i>
|
||||
Configuration des Plugins (Optionnel)
|
||||
</h3>
|
||||
<p style="font-size: 0.85rem; color: var(--text-sec); margin-bottom: 1.5rem; line-height: 1.4;">
|
||||
Des sources ont été détectées. Vous pouvez les configurer maintenant ou plus tard dans les paramètres.
|
||||
</p>
|
||||
|
||||
<% pluginsToConfigure.forEach(function(plugin) { %>
|
||||
<div style="background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: 1rem;">
|
||||
<strong style="display: flex; align-items: center; gap: 6px; margin-bottom: 0.8rem; color: var(--text-main); font-size: 0.95rem; text-transform: capitalize;">
|
||||
<i data-lucide="box" style="width: 14px; height: 14px; color: var(--text-sec);"></i>
|
||||
<%= plugin.name %>
|
||||
</strong>
|
||||
<% plugin.fields.forEach(function(field) { %>
|
||||
<div style="margin-bottom: 0.8rem;">
|
||||
<label for="config_<%= field.key %>" style="font-size: 0.8rem; color: var(--text-sec); margin-bottom: 4px; display: block;"><%= field.label %></label>
|
||||
<input type="text" id="config_<%= field.key %>" name="config[<%= field.key %>]"
|
||||
placeholder="<%= field.placeholder %>" value="<%= field.default || '' %>"
|
||||
style="padding: 8px; font-size: 0.9rem; width: 100%; border: 1px solid var(--border); background: var(--bg-main); color: var(--text-main); border-radius: 6px;">
|
||||
</div>
|
||||
<% }); %>
|
||||
</div>
|
||||
<% }); %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<button type="submit" id="setup-submit-btn" disabled>Créer le compte administrateur</button>
|
||||
<div style="text-align: center; margin-top: 3rem; margin-bottom: 1rem;">
|
||||
<p style="font-size: 0.85rem; color: var(--text-sec); display: inline-flex; align-items: center; gap: 6px; background: var(--bg-card); padding: 6px 12px; border-radius: 20px; border: 1px solid var(--border);">
|
||||
<i data-lucide="info" style="width: 14px; height: 14px;"></i>
|
||||
Hydr'Hacked v1.4.8
|
||||
Agora v<%= appVersion %>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user