webinterface/client/welcome.html

51 lines
1.7 KiB
HTML
Raw Normal View History

2024-10-29 21:09:13 +01:00
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Willkommen</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
2024-10-29 22:06:53 +01:00
<!-- Header für Benutzer-Info und Buttons -->
2024-10-30 17:33:28 +01:00
<header class="header">
2024-10-30 17:35:32 +01:00
<h1 class="header-welcome">Ein simples Chat-Interface mit Fokus auf die Privatsphäre.</h1>
2024-10-29 22:06:53 +01:00
2024-10-30 17:33:28 +01:00
<div class="header-user-info">
<p><strong>Benutzername:</strong> <span id="username">Gast</span></p>
<p><strong>Admin:</strong> <span id="isAdmin">Nein</span></p>
</div>
2024-10-29 22:06:53 +01:00
2024-10-30 17:33:28 +01:00
<div class="header-buttons">
<button id="adminPermissionsBtn" class="header-btn" style="display: none;">Admin-Einstellungen</button>
<button id="logoutBtn" class="header-btn">Abmelden</button>
</div>
</header>
2024-10-29 22:06:53 +01:00
<!-- Freier Platz für zukünftige Features -->
2024-10-30 17:17:02 +01:00
<div class="main-container">
<!-- Linke Seitenleiste für Chat-Sessions -->
<div class="sidebar" id="chatSidebar">
<h3>Gespeicherte Chats</h3>
<button id="newChatButton">Neuer Chat</button>
<div id="chatList"></div>
</div>
<!-- Chatbereich -->
<div class="chat-container">
<div class="chat-box" id="chatBox">
<!-- Nachrichten werden hier angezeigt -->
</div>
<div class="chat-input-container">
<textarea id="chatInput" class="chat-input" placeholder="Schreibe eine Nachricht..."></textarea>
<button id="sendButton" class="chat-send-button">Senden</button>
</div>
</div>
</div>
2024-10-31 16:33:05 +01:00
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
2024-10-30 17:17:02 +01:00
<script src="js/chat.js"></script>
2024-10-29 21:09:13 +01:00
<script src="js/main.js"></script>
</body>
</html>