Files
gesthub/web/templates/view/index.html

120 lines
4.8 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Gesthub</title>
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/index.css') }}" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
</head>
<body>
<button id="toggle-darkmode">🌓</button>
<header>
<div class="notification">
<span class="bell">🔔</span>
<div class="notification-dropdown">
<p>📌 Rendu le 03.02.2026</p>
<p>📝 Nouvelle tâche ajoutée</p>
</div>
</div>
<div class="nav-link">
<a href="https://discord.com" target="_blank">Accéder au serveur Discord</a>
<a href="https://mattermost.ninolbt.com/boards/team/8xj6d4ukwigk7rznqi3w339x7e/b3kmbqfwd33dmdy9g9g3ezaoxza/va5xp53m6spbi8qo6qnng7711me" target="_blank">Board</a>
<a href="https://mattermost.ninolbt.com/boards/team/8xj6d4ukwigk7rznqi3w339x7e/b3kmbqfwd33dmdy9g9g3ezaoxza/va5xp53m6spbi8qo6qnng7711me" target="_blank">Board</a>
</div>
<div class="nav-link dropdown">
<span>Contacter</span>
<div class="dropdown-content">
<a href="#" class="contact-option" data-role="LEAD HUB">LEAD HUB</a>
<a href="#" class="contact-option" data-role="CO LEAD HUB">CO LEAD HUB</a>
<div class="nested-dropdown">
<a href="#" class="contact-option expandable">CHEF PROJET <i class="fa-solid fa-caret-down"></i></a>
<div class="nested-content">
<a href="#" class="contact-option" data-role="Y. Conception">Y. Conception</a>
<a href="#" class="contact-option" data-role="Y.Comm">Y.Comm</a>
<a href="#" class="contact-option" data-role="Y.dev">Y.dev</a>
</div>
</div>
</div>
<a href="https://mattermost.ninolbt.com/gesthub/channels/town-square" target="_blank">Chat</a>
</div>
<div class="profile-menu">
<span id="profile-name">{{ user['preferred_username'] }}<i class="fa-solid fa-caret-down"></i></span>
<div class="profile-dropdown">
<!-- <a class="simple-btn" href="" type="button">Profil</a> -->
<a class="simple-btn" href="/logout" type="button">Déconnexion</a>
</div>
</div>
</header>
<!-- contact -->
<div id="contactModal" class="modal">
<div class="modal-content">
<span class="close-modal">&times;</span>
<h3 id="modal-recipient">Envoyer un message à <span id="recipient-name"></span></h3>
<textarea id="message-content" placeholder="Écrivez votre message ici..."></textarea>
<div class="modal-buttons">
<button id="cancel-message" class="btn-cancel">Annuler</button>
<button id="send-message" class="btn-send">Envoyer</button>
</div>
</div>
</div>
<main>
<!-- clonne gauche pr widget planning -->
<aside class="left-column">
<div class="planning">Planning / Agenda
<iframe
src="https://mattermost.ninolbt.com/boards/team/8xj6d4ukwigk7rznqi3w339x7e/b3kmbqfwd33dmdy9g9g3ezaoxza/vu4nuxhf73ircznrkrcgzonno8a"
style="width: 100%; height: 100%; border: none;"
allowfullscreen
></iframe>
</div>
</aside>
<!-- Centre pr widget trello -->
<section class="center-column">
<h1 class="main-title">Gesthub</h1>
<div class="trello">
<iframe src="https://mattermost.ninolbt.com/boards/team/8xj6d4ukwigk7rznqi3w339x7e/b3kmbqfwd33dmdy9g9g3ezaoxza/va5xp53m6spbi8qo6qnng7711me" width="100%" height="680" frameborder="0"></iframe>
</div>
</section>
<!-- colonne droite pr partie info user je vais changer ca dans cet emplacement
je vais metrre des boutons et autres features comme des doc etc ou jsp
je m en occupe -->
<!-- Colonne droite avec boutons simples -->
<aside class="right-column">
<div class="button-container">
<button class="simple-btn">Projet</button>
<button class="simple-btn">GDD Global</button>
<button class="simple-btn">Bible 3D Art</button>
<button class="simple-btn">Bible GameDev</button>
<button class="simple-btn">Réglement du HUB</button>
</div>
<!-- Bloc annonces admin
<div id="admin-announcements" style="margin-top: 2rem;">
<h3 style="margin-bottom: 1rem;">📌 Annonces</h3>
<div id="annonces-container"></div>
Formulaire admin caché par défaut-
<div id="admin-tools" style="display: none; margin-top: 1rem;">
<textarea id="annonce-text" placeholder="Nouvelle annonce..." style="width: 100%; padding: 0.5rem; margin-bottom: 0.5rem;"></textarea>
<button onclick="submitAnnonce()" style="width: 100%;">📤 Publier</button>
</div>
</div>
</aside> -->
</main>
<script src="{{ url_for('static', filename='assets/js/index.js') }}"></script>
</body>
</html>