feat: flat design avec palette Blazing Flame
This commit is contained in:
@@ -5,23 +5,23 @@
|
||||
|
||||
<!-- Stats Cards -->
|
||||
<div id="admin-stats" class="admin-stats-grid" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px;">
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05); text-align: center;">
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce; text-align: center;">
|
||||
<div style="font-size: 2rem; font-weight: 800; color: var(--primary);" id="stat-total-users">{{ users|length }}</div>
|
||||
<div style="color: var(--text-dim); font-size: 0.85rem;">Utilisateurs</div>
|
||||
</div>
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05); text-align: center;">
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce; text-align: center;">
|
||||
<div style="font-size: 2rem; font-weight: 800; color: var(--accent);" id="stat-active-users">{{ users|selectattr('is_active')|list|length }}</div>
|
||||
<div style="color: var(--text-dim); font-size: 0.85rem;">Actifs</div>
|
||||
</div>
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05); text-align: center;">
|
||||
<div class="admin-stat-card" style="padding: 20px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce; text-align: center;">
|
||||
<div style="font-size: 2rem; font-weight: 800; color: #f0a500;" id="stat-admin-users">{{ users|selectattr('is_admin')|list|length }}</div>
|
||||
<div style="color: var(--text-dim); font-size: 0.85rem;">Admins</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Users Table -->
|
||||
<div style="background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05); overflow: hidden;">
|
||||
<div style="padding: 20px 25px; border-bottom: 1px solid rgba(255,255,255,0.05);">
|
||||
<div style="background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce; overflow: hidden;">
|
||||
<div style="padding: 20px 25px; border-bottom: 1px solid #ced0ce;">
|
||||
<h3 style="margin: 0; color: var(--primary);">Gestion des utilisateurs</h3>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<div style="overflow-x: auto;">
|
||||
<table style="width: 100%; border-collapse: collapse;">
|
||||
<thead>
|
||||
<tr style="border-bottom: 1px solid rgba(255,255,255,0.05);">
|
||||
<tr style="border-bottom: 1px solid #ced0ce;">
|
||||
<th style="padding: 12px 20px; text-align: left; color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase;">Utilisateur</th>
|
||||
<th style="padding: 12px 15px; text-align: left; color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase;">Email</th>
|
||||
<th style="padding: 12px 15px; text-align: center; color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase;">Statut</th>
|
||||
@@ -41,7 +41,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr style="border-bottom: 1px solid rgba(255,255,255,0.03); {% if not user.is_active %}opacity: 0.5;{% endif %}">
|
||||
<tr style="border-bottom: 1px solid #ced0ce; {% if not user.is_active %}opacity: 0.5;{% endif %}">
|
||||
<td style="padding: 12px 20px;">
|
||||
<div style="font-weight: 600;">{{ user.username }}</div>
|
||||
{% if user.full_name %}
|
||||
@@ -50,12 +50,12 @@
|
||||
</td>
|
||||
<td style="padding: 12px 15px; color: var(--text-dim); font-size: 0.9rem;">{{ user.email or '-' }}</td>
|
||||
<td style="padding: 12px 15px; text-align: center;">
|
||||
<span style="display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; background: {% if user.is_active %}rgba(0,255,136,0.15); color: var(--accent){% else %}rgba(255,77,77,0.15); color: var(--danger){% endif %};">
|
||||
<span style="display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; background: {% if user.is_active %}rgba(45,147,108,0.1); color: #2d936c{% else %}rgba(230,57,70,0.1); color: #e63946{% endif %};">
|
||||
{% if user.is_active %}Actif{% else %}Inactif{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
<td style="padding: 12px 15px; text-align: center;">
|
||||
<span style="display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; background: {% if user.is_admin %}rgba(240,165,0,0.15); color: #f0a500{% else %}rgba(255,255,255,0.05); color: var(--text-dim){% endif %};">
|
||||
<span style="display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; background: {% if user.is_admin %}rgba(244,162,97,0.15); color: #f4a261{% else %}#e6e8e6; color: var(--text-dim){% endif %};">
|
||||
{% if user.is_admin %}Admin{% else %}User{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<div class="hc" id="anime-{{ anime.url | hash }}"
|
||||
@click="activeTab = 'anime'; window.dispatchEvent(new CustomEvent('set-tab', { detail: { tab: 'anime' } })); $nextTick(() => { const input = document.getElementById('animeSearchInput'); if (input) { input.value = '{{ anime.title | e }}'; htmx.trigger(input, 'keyup'); } });">
|
||||
<div class="hc-poster">
|
||||
{% set poster = anime.cover_image or (anime.metadata.poster_image if anime.metadata else None) or 'https://placehold.co/400x600/161625/00d9ff?text=No+Image' %}
|
||||
{% set poster = anime.cover_image or (anime.metadata.poster_image if anime.metadata else None) or 'https://placehold.co/400x600/e6e8e6/f15025?text=No+Image' %}
|
||||
<img src="{{ poster }}" alt="{{ anime.title }}" loading="lazy" referrerpolicy="no-referrer"
|
||||
onerror="this.src='https://placehold.co/400x600/161625/00d9ff?text=Error'; this.onerror=null;">
|
||||
onerror="this.src='https://placehold.co/400x600/e6e8e6/f15025?text=Error'; this.onerror=null;">
|
||||
{% if anime.metadata and anime.metadata.rating %}
|
||||
<span class="hc-rating"><i class="fas fa-star"></i> {{ anime.metadata.rating }}</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% set accent = "#00d9ff" %}
|
||||
{% set accent = "#f15025" %}
|
||||
{% set default_lang = settings.default_lang if settings else 'vostfr' %}
|
||||
|
||||
{% set _groups = namespace(items={}) %}
|
||||
@@ -36,9 +36,9 @@
|
||||
{% set first_url = group.providers[0].url %}
|
||||
<div class="sr-card" style="--sr-accent: {{ accent }};">
|
||||
<a class="sr-poster-link" href="{{ first_url }}" target="_blank" rel="noopener">
|
||||
<img class="sr-poster-img" src="{{ group.cover or 'https://placehold.co/240x360/161625/00d9ff?text=No+Image' }}"
|
||||
<img class="sr-poster-img" src="{{ group.cover or 'https://placehold.co/240x360/e6e8e6/f15025?text=No+Image' }}"
|
||||
alt="{{ group.title }}" loading="lazy" referrerpolicy="no-referrer"
|
||||
onerror="this.src='https://placehold.co/240x360/161625/00d9ff?text=Error'; this.onerror=null;">
|
||||
onerror="this.src='https://placehold.co/240x360/e6e8e6/f15025?text=Error'; this.onerror=null;">
|
||||
</a>
|
||||
<div class="sr-body">
|
||||
<div class="sr-top">
|
||||
@@ -114,11 +114,11 @@
|
||||
.sr-card {
|
||||
display: flex; gap: 20px;
|
||||
background: var(--bg-card); border-radius: var(--card-radius);
|
||||
padding: 20px; border: 1px solid rgba(255,255,255,0.05);
|
||||
padding: 20px; border: 1px solid #ced0ce;
|
||||
transition: var(--transition);
|
||||
}
|
||||
.sr-card:hover { border-color: var(--sr-accent); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
|
||||
.sr-poster-link { flex-shrink: 0; display: block; width: 120px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: #000; }
|
||||
.sr-card:hover { border-color: var(--sr-accent); }
|
||||
.sr-poster-link { flex-shrink: 0; display: block; width: 120px; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden; background: #000; }
|
||||
.sr-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.sr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
|
||||
.sr-top { display: flex; align-items: baseline; gap: 12px; }
|
||||
@@ -126,24 +126,24 @@
|
||||
.sr-rating { flex-shrink: 0; font-size: 0.8rem; font-weight: 700; color: #ffcc00; }
|
||||
.sr-synopsis { font-size: 0.85rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
|
||||
.sr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
|
||||
.sr-tag { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,0.06); color: var(--text-dim); }
|
||||
.sr-tag { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #e6e8e6; color: var(--text-dim); }
|
||||
.sr-providers { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.sr-provider-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--sr-accent); color: var(--sr-accent); background: transparent; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px; text-decoration: none; }
|
||||
.sr-provider-badge:hover { background: var(--sr-accent); color: var(--bg-dark); }
|
||||
.sr-provider-badge:hover { background: var(--sr-accent); color: #fff; }
|
||||
.sr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
|
||||
.sr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: var(--transition); text-decoration: none; background: transparent; color: var(--text-main); min-height: 34px; }
|
||||
.sr-btn:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
|
||||
.sr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; border: 1px solid #ced0ce; cursor: pointer; transition: var(--transition); text-decoration: none; background: transparent; color: var(--text-main); min-height: 34px; }
|
||||
.sr-btn:hover { border-color: var(--text-main); background: var(--bg-card); }
|
||||
.sr-btn-dl { border-color: var(--secondary); color: var(--secondary); }
|
||||
.sr-btn-dl:hover { background: var(--secondary); color: var(--bg-dark); }
|
||||
.sr-btn-dl:hover { background: var(--secondary); color: #191919; }
|
||||
.sr-btn-watch { border-color: var(--sr-accent); color: var(--sr-accent); }
|
||||
.sr-btn-watch:hover { background: var(--sr-accent); color: var(--bg-dark); }
|
||||
.sr-btn-watch:hover { background: var(--sr-accent); color: #fff; }
|
||||
.sr-btn-follow { border-color: var(--accent); color: var(--accent); }
|
||||
.sr-btn-follow:hover { background: var(--accent); color: var(--bg-dark); }
|
||||
.sr-btn-followed { border-color: var(--accent); color: var(--accent); background: rgba(0,255,136,0.1); pointer-events: none; }
|
||||
.sr-btn-follow:hover { background: var(--accent); color: #fff; }
|
||||
.sr-btn-followed { border-color: var(--accent); color: var(--accent); background: rgba(241,80,37,0.1); pointer-events: none; }
|
||||
.sr-dropdown { position: relative; }
|
||||
.sr-dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 4px; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
|
||||
.sr-dropdown-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: none; background: transparent; color: var(--text-main); font-size: 0.8rem; cursor: pointer; border-radius: 6px; transition: var(--transition); text-align: left; }
|
||||
.sr-dropdown-item:hover { background: rgba(255,255,255,0.06); }
|
||||
.sr-dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--bg-card); border: 1px solid #ced0ce; border-radius: 4px; padding: 4px; z-index: 100; }
|
||||
.sr-dropdown-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: none; background: transparent; color: var(--text-main); font-size: 0.8rem; cursor: pointer; border-radius: 4px; transition: var(--transition); text-align: left; }
|
||||
.sr-dropdown-item:hover { background: #ced0ce; }
|
||||
.sr-empty { text-align: center; padding: 100px 20px; color: var(--text-dim); }
|
||||
.sr-empty i { font-size: 4rem; margin-bottom: 20px; display: block; opacity: 0.2; }
|
||||
@media (max-width: 768px) {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--primary);
|
||||
background: rgba(0, 217, 255, 0.1);
|
||||
background: rgba(241, 80, 37, 0.1);
|
||||
padding: 2px 10px;
|
||||
border-radius: 12px;
|
||||
margin-left: 10px;
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--card-radius);
|
||||
padding: 30px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid #ced0ce;
|
||||
animation: fadeIn 0.3s ease-out;
|
||||
}
|
||||
|
||||
@@ -71,21 +71,20 @@
|
||||
}
|
||||
|
||||
.view-grid .episode-item {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
background: #ffffff;
|
||||
padding: 20px 15px;
|
||||
border-radius: 12px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
transition: var(--transition);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid #ced0ce;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.view-grid .episode-item:hover {
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
background: #e6e8e6;
|
||||
border-color: var(--primary);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.view-grid .ep-title { display: none; }
|
||||
@@ -103,15 +102,15 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
background: #ffffff;
|
||||
padding: 12px 20px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ced0ce;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.view-list .episode-item:hover {
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
background: #e6e8e6;
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
@@ -123,9 +122,8 @@
|
||||
margin: 20px 0 30px 0;
|
||||
padding: 25px;
|
||||
background: #000;
|
||||
border-radius: 12px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--primary);
|
||||
box-shadow: 0 0 30px rgba(0, 217, 255, 0.15);
|
||||
}
|
||||
|
||||
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div id="userInfo" x-show="isAuthenticated" class="auth-panel" x-cloak>
|
||||
<div style="display: flex; align-items: center; gap: 10px;">
|
||||
<span style="color: var(--primary); font-size: 1.2rem;">👤</span>
|
||||
<span style="color: #fff; font-size: 14px;">Connecté en tant que <strong x-text="username" style="color: var(--primary);">-</strong></span>
|
||||
<span style="color: var(--text-main); font-size: 14px;">Connecté en tant que <strong x-text="username" style="color: var(--primary);">-</strong></span>
|
||||
</div>
|
||||
<button class="btn btn-secondary btn-small"
|
||||
onclick="removeToken(); isAuthenticated = false"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="login-prompt" style="text-align: center; padding: 40px 20px;">
|
||||
<i class="fas fa-lock" style="font-size: 2rem; color: #00d9ff; margin-bottom: 15px;"></i>
|
||||
<p style="color: #888; font-size: 0.95rem;">Connectez-vous pour accéder à cette section.</p>
|
||||
<i class="fas fa-lock" style="font-size: 2rem; color: #f15025; margin-bottom: 15px;"></i>
|
||||
<p style="color: #ced0ce; font-size: 0.95rem;">Connectez-vous pour accéder à cette section.</p>
|
||||
</div>
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
margin: 20px 0;
|
||||
padding: 15px;
|
||||
background: #000;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ced0ce;
|
||||
}
|
||||
.iframe-container {
|
||||
position: relative;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{% macro series_card(series, in_watchlist=False, lang='vf') %}
|
||||
<div class="ac" id="series-{{ series.url | hash }}">
|
||||
<div class="ac-poster">
|
||||
<img src="{{ series.cover_image or 'https://placehold.co/400x600/161625/ff6b6b?text=No+Image' }}"
|
||||
<img src="{{ series.cover_image or 'https://placehold.co/400x600/e6e8e6/f15025?text=No+Image' }}"
|
||||
alt="{{ series.title }}" loading="lazy" referrerpolicy="no-referrer"
|
||||
onerror="this.src='https://placehold.co/400x600/161625/ff6b6b?text=Error'; this.onerror=null;">
|
||||
onerror="this.src='https://placehold.co/400x600/e6e8e6/f15025?text=Error'; this.onerror=null;">
|
||||
<button class="ac-play"
|
||||
hx-get="/api/anime/episodes?url={{ series.url | urlencode }}&lang={{ lang }}"
|
||||
hx-target="#player-container" hx-swap="innerHTML">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% set accent = "#ff6b6b" %}
|
||||
{% set accent = "#f15025" %}
|
||||
{% set default_lang = settings.default_lang if settings else 'vf' %}
|
||||
|
||||
{% set _groups = namespace(items={}) %}
|
||||
@@ -28,9 +28,9 @@
|
||||
{% set first_url = group.providers[0].url %}
|
||||
<div class="sr-card" style="--sr-accent: {{ accent }};">
|
||||
<a class="sr-poster-link" href="{{ first_url }}" target="_blank" rel="noopener">
|
||||
<img class="sr-poster-img" src="{{ group.cover or 'https://placehold.co/240x360/161625/ff6b6b?text=No+Image' }}"
|
||||
<img class="sr-poster-img" src="{{ group.cover or 'https://placehold.co/240x360/e6e8e6/f15025?text=No+Image' }}"
|
||||
alt="{{ group.title }}" loading="lazy" referrerpolicy="no-referrer"
|
||||
onerror="this.src='https://placehold.co/240x360/161625/ff6b6b?text=Error'; this.onerror=null;">
|
||||
onerror="this.src='https://placehold.co/240x360/e6e8e6/f15025?text=Error'; this.onerror=null;">
|
||||
</a>
|
||||
<div class="sr-body">
|
||||
<h3 class="sr-title">{{ group.title }}</h3>
|
||||
@@ -93,32 +93,32 @@
|
||||
.sr-card {
|
||||
display: flex; gap: 20px;
|
||||
background: var(--bg-card); border-radius: var(--card-radius);
|
||||
padding: 20px; border: 1px solid rgba(255,255,255,0.05);
|
||||
padding: 20px; border: 1px solid #ced0ce;
|
||||
transition: var(--transition);
|
||||
}
|
||||
.sr-card:hover { border-color: var(--sr-accent); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
|
||||
.sr-poster-link { flex-shrink: 0; display: block; width: 120px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: #000; }
|
||||
.sr-card:hover { border-color: var(--sr-accent); }
|
||||
.sr-poster-link { flex-shrink: 0; display: block; width: 120px; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden; background: #000; }
|
||||
.sr-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.sr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
|
||||
.sr-title { font-size: 1.1rem; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.sr-synopsis { font-size: 0.85rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
|
||||
.sr-providers { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.sr-provider-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--sr-accent); color: var(--sr-accent); background: transparent; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px; text-decoration: none; }
|
||||
.sr-provider-badge:hover { background: var(--sr-accent); color: var(--bg-dark); }
|
||||
.sr-provider-badge:hover { background: var(--sr-accent); color: #fff; }
|
||||
.sr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
|
||||
.sr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: var(--transition); text-decoration: none; background: transparent; color: var(--text-main); min-height: 34px; }
|
||||
.sr-btn:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
|
||||
.sr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; border: 1px solid #ced0ce; cursor: pointer; transition: var(--transition); text-decoration: none; background: transparent; color: var(--text-main); min-height: 34px; }
|
||||
.sr-btn:hover { border-color: var(--text-main); background: var(--bg-card); }
|
||||
.sr-btn-dl { border-color: var(--secondary); color: var(--secondary); }
|
||||
.sr-btn-dl:hover { background: var(--secondary); color: var(--bg-dark); }
|
||||
.sr-btn-dl:hover { background: var(--secondary); color: #191919; }
|
||||
.sr-btn-watch { border-color: var(--sr-accent); color: var(--sr-accent); }
|
||||
.sr-btn-watch:hover { background: var(--sr-accent); color: var(--bg-dark); }
|
||||
.sr-btn-watch:hover { background: var(--sr-accent); color: #fff; }
|
||||
.sr-btn-follow { border-color: var(--accent); color: var(--accent); }
|
||||
.sr-btn-follow:hover { background: var(--accent); color: var(--bg-dark); }
|
||||
.sr-btn-followed { border-color: var(--accent); color: var(--accent); background: rgba(0,255,136,0.1); pointer-events: none; }
|
||||
.sr-btn-follow:hover { background: var(--accent); color: #fff; }
|
||||
.sr-btn-followed { border-color: var(--accent); color: var(--accent); background: rgba(241,80,37,0.1); pointer-events: none; }
|
||||
.sr-dropdown { position: relative; }
|
||||
.sr-dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 4px; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
|
||||
.sr-dropdown-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: none; background: transparent; color: var(--text-main); font-size: 0.8rem; cursor: pointer; border-radius: 6px; transition: var(--transition); text-align: left; }
|
||||
.sr-dropdown-item:hover { background: rgba(255,255,255,0.06); }
|
||||
.sr-dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--bg-card); border: 1px solid #ced0ce; border-radius: 4px; padding: 4px; z-index: 100; }
|
||||
.sr-dropdown-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: none; background: transparent; color: var(--text-main); font-size: 0.8rem; cursor: pointer; border-radius: 4px; transition: var(--transition); text-align: left; }
|
||||
.sr-dropdown-item:hover { background: #ced0ce; }
|
||||
.sr-empty { text-align: center; padding: 100px 20px; color: var(--text-dim); }
|
||||
.sr-empty i { font-size: 4rem; margin-bottom: 20px; display: block; opacity: 0.2; }
|
||||
@media (max-width: 768px) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</div>
|
||||
|
||||
<!-- General Preferences -->
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05);">
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce;">
|
||||
<h3 style="margin-bottom: 20px; color: var(--primary);">General</h3>
|
||||
|
||||
<form id="settings-form" class="settings-form">
|
||||
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Content Filters -->
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05);">
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce;">
|
||||
<h3 style="margin-bottom: 20px; color: var(--primary);">Filtres de contenu</h3>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -66,12 +66,12 @@
|
||||
</div>
|
||||
|
||||
<!-- Categories -->
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05);">
|
||||
<div class="settings-card card" style="margin-bottom: 30px; padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce;">
|
||||
<h3 style="margin-bottom: 20px; color: var(--primary);">Categories</h3>
|
||||
<p style="color: var(--text-dim); font-size: 13px; margin-bottom: 15px;">Activez ou desactivez les categories. Au moins une doit rester active.</p>
|
||||
|
||||
<div style="display: flex; gap: 15px; flex-wrap: wrap;">
|
||||
<label class="toggle-card" style="flex: 1; min-width: 200px; padding: 15px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; cursor: pointer;">
|
||||
<label class="toggle-card" style="flex: 1; min-width: 200px; padding: 15px; background: #ffffff; border-radius: 4px; border: 1px solid #ced0ce; display: flex; align-items: center; justify-content: space-between; cursor: pointer;">
|
||||
<div>
|
||||
<div style="font-weight: 600; font-size: 1.1rem;">Animes</div>
|
||||
<div style="font-size: 0.8rem; color: var(--text-dim);">Films et series anime</div>
|
||||
@@ -79,7 +79,7 @@
|
||||
<input type="checkbox" id="anime_enabled" {% if settings.anime_enabled %}checked{% endif %} onchange="toggleCategory('anime_enabled', this.checked)" style="width: 20px; height: 20px; cursor: pointer; accent-color: var(--primary);">
|
||||
</label>
|
||||
|
||||
<label class="toggle-card" style="flex: 1; min-width: 200px; padding: 15px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; cursor: pointer;">
|
||||
<label class="toggle-card" style="flex: 1; min-width: 200px; padding: 15px; background: #ffffff; border-radius: 4px; border: 1px solid #ced0ce; display: flex; align-items: center; justify-content: space-between; cursor: pointer;">
|
||||
<div>
|
||||
<div style="font-weight: 600; font-size: 1.1rem;">Series TV</div>
|
||||
<div style="font-size: 0.8rem; color: var(--text-dim);">Series americaines et europeennes</div>
|
||||
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Providers Management -->
|
||||
<div class="settings-card card" style="padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid rgba(255,255,255,0.05);">
|
||||
<div class="settings-card card" style="padding: 25px; background: var(--bg-card); border-radius: var(--card-radius); border: 1px solid #ced0ce;">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
|
||||
<h3 style="margin: 0; color: var(--primary);">Disponibilite des Fournisseurs</h3>
|
||||
<button class="btn btn-secondary btn-small" hx-post="/api/providers/health/check" hx-swap="none">
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
<div class="providers-settings-list" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px;">
|
||||
{% for provider in providers %}
|
||||
<div class="provider-status-card" style="padding: 15px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between;">
|
||||
<div class="provider-status-card" style="padding: 15px; background: #ffffff; border-radius: 4px; border: 1px solid #ced0ce; display: flex; align-items: center; justify-content: space-between;">
|
||||
<div style="display: flex; align-items: center; gap: 12px;">
|
||||
<span style="font-size: 1.5rem;">{{ provider.icon }}</span>
|
||||
<div>
|
||||
@@ -223,6 +223,5 @@ function showToast(message, type) {
|
||||
}
|
||||
.status-dot {
|
||||
display: inline-block;
|
||||
box-shadow: 0 0 5px currentColor;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -37,18 +37,18 @@
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
background: #2d2d2d;
|
||||
color: white;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
||||
border-radius: 4px;
|
||||
background: #e6e8e6;
|
||||
color: #191919;
|
||||
border: 1px solid #ced0ce;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-left: 4px solid #ccc;
|
||||
border-left: 4px solid #ced0ce;
|
||||
}
|
||||
.toast-success { border-left-color: #4caf50; }
|
||||
.toast-error { border-left-color: #f44336; }
|
||||
.toast-info { border-left-color: #2196f3; }
|
||||
.toast-success { border-left-color: #2d936c; }
|
||||
.toast-error { border-left-color: #e63946; }
|
||||
.toast-info { border-left-color: #f15025; }
|
||||
.toast-content { display: flex; align-items: center; gap: 10px; }
|
||||
.toast-close { background: none; border: none; color: #aaa; cursor: pointer; }
|
||||
</style>
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
.filter-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-bottom: 1px solid #ced0ce;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@@ -188,7 +188,7 @@
|
||||
}
|
||||
|
||||
.filter-tab:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
background: #e6e8e6;
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
@@ -211,14 +211,12 @@
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--card-radius);
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid #ced0ce;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.watchlist-card:hover {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 4px 24px rgba(0, 217, 255, 0.15);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Poster */
|
||||
@@ -254,22 +252,22 @@
|
||||
}
|
||||
|
||||
.poster-badge.active {
|
||||
background: rgba(0, 255, 136, 0.9);
|
||||
color: var(--bg-dark);
|
||||
background: #2d936c;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.poster-badge.paused {
|
||||
background: rgba(255, 193, 7, 0.9);
|
||||
color: var(--bg-dark);
|
||||
background: #f4a261;
|
||||
color: #191919;
|
||||
}
|
||||
|
||||
.poster-badge.completed {
|
||||
background: rgba(156, 39, 176, 0.9);
|
||||
color: var(--bg-dark);
|
||||
background: #9c27b0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.poster-badge.archived {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
background: #ced0ce;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
@@ -279,7 +277,7 @@
|
||||
left: 8px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 20px;
|
||||
background: rgba(0, 217, 255, 0.9);
|
||||
background: #f15025;
|
||||
color: var(--bg-dark);
|
||||
font-size: 0.65rem;
|
||||
font-weight: 700;
|
||||
@@ -327,21 +325,21 @@
|
||||
}
|
||||
|
||||
.meta-provider {
|
||||
background: rgba(0, 217, 255, 0.15);
|
||||
background: rgba(241, 80, 37, 0.1);
|
||||
color: var(--primary);
|
||||
border: 1px solid rgba(0, 217, 255, 0.3);
|
||||
border: 1px solid rgba(241, 80, 37, 0.3);
|
||||
}
|
||||
|
||||
.meta-lang {
|
||||
background: rgba(255, 107, 107, 0.15);
|
||||
color: var(--secondary);
|
||||
border: 1px solid rgba(255, 107, 107, 0.3);
|
||||
background: rgba(206, 208, 206, 0.3);
|
||||
color: var(--text-dim);
|
||||
border: 1px solid var(--text-dim);
|
||||
}
|
||||
|
||||
.meta-quality {
|
||||
background: rgba(0, 255, 136, 0.15);
|
||||
color: var(--accent);
|
||||
border: 1px solid rgba(0, 255, 136, 0.3);
|
||||
background: rgba(45, 147, 108, 0.1);
|
||||
color: var(--success);
|
||||
border: 1px solid rgba(45, 147, 108, 0.3);
|
||||
}
|
||||
|
||||
.watchlist-synopsis {
|
||||
@@ -375,7 +373,7 @@
|
||||
gap: 6px;
|
||||
margin-top: auto;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-top: 1px solid #ced0ce;
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
@@ -389,12 +387,18 @@
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: var(--transition);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
background: #e6e8e6;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: var(--transition);
|
||||
background: #e6e8e6;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.action-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: #ced0ce;
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
@@ -436,7 +440,7 @@
|
||||
padding: 80px 40px;
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--card-radius);
|
||||
border: 1px dashed rgba(255, 255, 255, 0.1);
|
||||
border: 1px dashed #ced0ce;
|
||||
}
|
||||
|
||||
.watchlist-empty i {
|
||||
|
||||
@@ -35,15 +35,15 @@
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
padding: 15px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
transition: transform 0.2s;
|
||||
background: #e6e8e6;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ced0ce;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.watchlist-item:hover { transform: translateY(-3px); border-color: #00d9ff; }
|
||||
.item-poster img { width: 80px; height: 120px; border-radius: 8px; object-fit: cover; }
|
||||
.watchlist-item:hover { border-color: #f15025; }
|
||||
.item-poster img { width: 80px; height: 120px; border-radius: 4px; object-fit: cover; }
|
||||
.item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
|
||||
.item-info h3 { font-size: 1rem; margin-bottom: 5px; color: #fff; }
|
||||
.item-info h3 { font-size: 1rem; margin-bottom: 5px; color: #191919; }
|
||||
.item-meta { display: flex; gap: 8px; margin-bottom: 8px; }
|
||||
.item-actions { display: flex; gap: 10px; margin-top: 10px; }
|
||||
</style>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<!-- Player container for HTMX injections -->
|
||||
<div id="player-container"></div>
|
||||
|
||||
<hr style="border: none; border-top: 1px solid rgba(255,255,255,0.05); margin: 40px 0;">
|
||||
<hr style="border: none; border-top: 1px solid #ced0ce; margin: 40px 0;">
|
||||
|
||||
<!-- Latest Releases Section - Anime only -->
|
||||
<div class="section-header">
|
||||
@@ -97,7 +97,7 @@
|
||||
<!-- Series search results -->
|
||||
<div id="seriesSearchResults" style="margin-bottom: 40px;"></div>
|
||||
|
||||
<hr style="border: none; border-top: 1px solid rgba(255,255,255,0.05); margin: 40px 0;">
|
||||
<hr style="border: none; border-top: 1px solid #ced0ce; margin: 40px 0;">
|
||||
|
||||
<!-- Recommendations Section - Series only -->
|
||||
<div class="section-header">
|
||||
|
||||
+27
-27
@@ -14,13 +14,13 @@
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
background: #ffffff;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
color: #fff;
|
||||
color: #191919;
|
||||
}
|
||||
|
||||
.container {
|
||||
@@ -36,13 +36,14 @@
|
||||
.header h1 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 10px;
|
||||
color: #00d9ff;
|
||||
color: #f15025;
|
||||
}
|
||||
|
||||
.video-info {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
background: #e6e8e6;
|
||||
padding: 15px 20px;
|
||||
border-radius: 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ced0ce;
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -57,19 +58,18 @@
|
||||
}
|
||||
|
||||
.video-info .filesize {
|
||||
color: #aaa;
|
||||
color: #ced0ce;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
background: #000;
|
||||
border-radius: 15px;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.plyr {
|
||||
border-radius: 15px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
@@ -82,13 +82,13 @@
|
||||
|
||||
.btn {
|
||||
padding: 12px 24px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
color: #fff;
|
||||
border-radius: 8px;
|
||||
background: #e6e8e6;
|
||||
border: 1px solid #ced0ce;
|
||||
color: #191919;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.3s ease;
|
||||
transition: all 0.2s ease;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -96,28 +96,28 @@
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: rgba(0, 217, 255, 0.2);
|
||||
border-color: #00d9ff;
|
||||
transform: translateY(-2px);
|
||||
background: #ced0ce;
|
||||
border-color: #191919;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
|
||||
border: none;
|
||||
color: #000;
|
||||
background: #f15025;
|
||||
border: 1px solid #f15025;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
|
||||
background: #d94420;
|
||||
border-color: #d94420;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
background: rgba(255, 71, 87, 0.1);
|
||||
border: 1px solid #ff4757;
|
||||
color: #ff4757;
|
||||
background: rgba(230, 57, 70, 0.1);
|
||||
border: 1px solid #e63946;
|
||||
color: #e63946;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
@@ -169,8 +169,8 @@
|
||||
wrapper.innerHTML = `
|
||||
<div class="error-message">
|
||||
Erreur lors de la lecture du flux vidéo.<br>
|
||||
<a href="/video/{{ task_id }}" style="color: #00d9ff; text-decoration: underline;">Réessayer</a> ou
|
||||
<a href="/stream/{{ filename }}" style="color: #00d9ff; text-decoration: underline;" download>Télécharger</a>
|
||||
<a href="/video/{{ task_id }}" style="color: #f15025; text-decoration: underline;">Réessayer</a> ou
|
||||
<a href="/stream/{{ filename }}" style="color: #f15025; text-decoration: underline;" download>Télécharger</a>
|
||||
</div>
|
||||
`;
|
||||
});
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
<body class="watchlist-body">
|
||||
<!-- Main Header -->
|
||||
<div style="text-align: center; margin-bottom: 20px;">
|
||||
<h1 style="background: linear-gradient(45deg, #00d9ff, #00ff88); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 32px; margin: 0;">⚡ Ohm Stream Downloader</h1>
|
||||
<p style="color: #888; font-size: 14px; margin: 5px 0 0;">Téléchargez vos vidéos, animes et séries</p>
|
||||
<h1 style="color: #f15025; font-size: 32px; margin: 0;">⚡ Ohm Stream Downloader</h1>
|
||||
<p style="color: #ced0ce; font-size: 14px; margin: 5px 0 0;">Téléchargez vos vidéos, animes et séries</p>
|
||||
</div>
|
||||
|
||||
<!-- User Info -->
|
||||
<div id="userInfo" style="display: none; max-width: 1200px; margin: 0 auto 15px; padding: 10px; background: rgba(0,217,255,0.1); border-radius: 8px; display: flex; justify-content: space-between; align-items: center;">
|
||||
<span style="color: #00d9ff;">👤 Connecté</span>
|
||||
<div id="userInfo" style="display: none; max-width: 1200px; margin: 0 auto 15px; padding: 10px; background: rgba(241,80,37,0.1); border: 1px solid #f15025; border-radius: 4px;">
|
||||
<span style="color: #f15025;">👤 Connecté</span>
|
||||
<button class="btn-secondary btn-small" onclick="handleLogout()">🚪 Déconnexion</button>
|
||||
</div>
|
||||
|
||||
<!-- Tabs -->
|
||||
<div class="tabs" style="max-width: 1200px; margin: 0 auto 20px; display: flex; gap: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;">
|
||||
<div class="tabs" style="max-width: 1200px; margin: 0 auto 20px; display: flex; gap: 5px; border-bottom: 1px solid #ced0ce; padding-bottom: 10px;">
|
||||
<button class="tab" onclick="window.location.href='/web'">🏠 Accueil</button>
|
||||
<button class="tab" onclick="window.location.href='/web#anime'">🎬 Anime</button>
|
||||
<button class="tab" onclick="window.location.href='/web#series'">📺 Série</button>
|
||||
|
||||
Reference in New Issue
Block a user