ReleaseV03

This commit is contained in:
Flatlogic Bot 2026-02-19 18:18:46 +00:00
parent eacaa0e950
commit 975f481fa0
2 changed files with 1 additions and 192 deletions

1
VERSIONS/Release_v0.2 Submodule

@ -0,0 +1 @@
Subproject commit eacaa0e950815780c3aab4232cc6b8cb49c7105d

192
index.php
View File

@ -1958,23 +1958,6 @@ document.addEventListener('DOMContentLoaded', () => {
<!-- Top users here -->
</div>
<h6 class="text-uppercase small text-muted mb-2">Activité (7 derniers jours)</h6>
<div id="activity-chart-placeholder" class="small text-muted text-center p-4 border border-secondary rounded">
<!-- Simplistic chart or list -->
Chargement de l'activité...
</div>
</div>
<div class="col-6">
<div class="p-3 rounded bg-dark">
<div class="small text-muted text-uppercase">Messages</div>
<div class="h4 mb-0" id="stat-messages">-</div>
</div>
</div>
</div>
<h6 class="text-uppercase small text-muted mb-2">Utilisateurs les plus actifs</h6>
<div id="top-users-list" class="mb-4">
<!-- Top users here -->
</div>
<h6 class="text-uppercase small text-muted mb-2">Activité (7 derniers jours)</h6>
<div id="activity-chart-placeholder" class="small text-muted text-center p-4 border border-secondary rounded">
<!-- Simplistic chart or list -->
Chargement de l'activité...
@ -2572,181 +2555,6 @@ document.addEventListener('DOMContentLoaded', () => {
</div>
</div>
</div>
<div class="search-container position-relative" style="width: 80px;">
<input type="text" id="search-channel-perms" class="form-control form-control-sm bg-dark text-white border-0 py-0" style="font-size: 0.75em; border-radius: 4px;" placeholder="@everyone">
</div>
</div>
</div>
<div id="channel-permissions-roles-list" class="list-group list-group-flush overflow-auto flex-grow-1" style="max-height: 350px; overflow-x: hidden;">
<!-- List of roles with overrides -->
</div>
</div>
<!-- Main: Permission Paramètres -->
<div class="col-8 d-flex flex-column" style="background-color: #313338;">
<div id="channel-permissions-settings" class="h-100 d-flex flex-column d-none">
<div class="p-3 border-bottom border-secondary d-flex justify-content-between align-items-center">
<h6 class="mb-0 fw-bold" id="selected-perm-role-name">Role Name</h6>
<button class="btn btn-sm btn-outline-danger py-0 px-2" id="remove-selected-perm-role" style="font-size: 0.75em;">Clear Overrides</button>
</div>
<div class="p-3 overflow-auto flex-grow-1" id="permissions-toggles-container" style="max-height: 350px; overflow-x: hidden;">
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">View Channel</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows members to view this channel.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="1">
<input type="radio" class="btn-check" name="perm_1" id="perm_1_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_1_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_1" id="perm_1_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_1_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_1" id="perm_1_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_1_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Send Messages</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows members to send messages in this channel.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="2">
<input type="radio" class="btn-check" name="perm_2" id="perm_2_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_2_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_2" id="perm_2_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_2_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_2" id="perm_2_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_2_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Create Thread</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows members to create new discussions.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="64">
<input type="radio" class="btn-check" name="perm_64" id="perm_64_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_64_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_64" id="perm_64_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_64_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_64" id="perm_64_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_64_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Manage Tags</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows adding/modifying forum tags.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="128">
<input type="radio" class="btn-check" name="perm_128" id="perm_128_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_128_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_128" id="perm_128_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_128_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_128" id="perm_128_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_128_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Épingler Discussions</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows pinning/unpinning threads.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="256">
<input type="radio" class="btn-check" name="perm_256" id="perm_256_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_256_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_256" id="perm_256_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_256_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_256" id="perm_256_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_256_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Verrouiller Discussions</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows locking/unlocking threads.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="512">
<input type="radio" class="btn-check" name="perm_512" id="perm_512_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_512_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_512" id="perm_512_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_512_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_512" id="perm_512_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_512_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Send Messages in Discussions</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows posting in unlocked threads.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="1024">
<input type="radio" class="btn-check" name="perm_1024" id="perm_1024_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_1024_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_1024" id="perm_1024_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_1024_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_1024" id="perm_1024_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_1024_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<div class="permission-item mb-3 p-2 rounded" style="background: var(--separator-soft);">
<div class="d-flex justify-content-between align-items-center">
<div class="pe-3">
<div class="fw-bold" style="color: #ffffff; font-size: 0.9em;">Speak</div>
<div style="font-size: 0.75em; color: #b5bac1;">Allows members to speak in this vocal channel.</div>
</div>
<div class="btn-group btn-group-sm perm-tri-state" data-perm-bit="2048">
<input type="radio" class="btn-check" name="perm_2048" id="perm_2048_deny" value="deny">
<label class="btn btn-outline-danger border-0" for="perm_2048_deny" title="Deny"><i class="fa-solid fa-xmark"></i></label>
<input type="radio" class="btn-check" name="perm_2048" id="perm_2048_neutral" value="neutral" checked>
<label class="btn btn-outline-secondary border-0" for="perm_2048_neutral" title="Neutral">/</label>
<input type="radio" class="btn-check" name="perm_2048" id="perm_2048_allow" value="allow">
<label class="btn btn-outline-success border-0" for="perm_2048_allow" title="Allow"><i class="fa-solid fa-check"></i></label>
</div>
</div>
</div>
<!-- More permissions can be added here -->
</div>
</div>
<div class="h-100 d-flex align-items-center justify-content-center text-muted p-4" id="no-role-selected-view">
<div class="text-center">
<i class="fa-solid fa-lock mb-3" style="font-size: 2.5rem; opacity: 0.2;"></i>
<p class="small mb-0">Select a role or member on the left to configure their specific permissions for this channel.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>