Initial commit

This commit is contained in:
Hein Erik
2026-04-02 16:09:55 +02:00
commit bc9a453452
7 changed files with 785 additions and 0 deletions

64
WebRDM/index.html Normal file
View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="de" data-theme="light">
<head>
<meta charset="UTF-8">
<title>Web RDM - Professional SOC</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- LOGIN SCREEN -->
<div id="login-overlay">
<div class="login-box">
<h3 class="mb-4"><i class="bi bi-shield-lock-fill text-primary"></i> Web RDM</h3>
<div id="login-error" class="alert alert-danger d-none small"></div>
<div id="step-login">
<input type="text" id="l_user" class="form-control mb-3" placeholder="Benutzername">
<input type="password" id="l_pass" class="form-control mb-4" placeholder="Passwort" onkeypress="if(event.key === 'Enter') doLogin()">
<button class="btn btn-primary w-100" onclick="doLogin()">Anmelden</button>
</div>
<div id="step-2fa" class="d-none">
<p class="small text-muted-custom">Bitte gib deinen 6-stelligen Google Authenticator Code ein.</p>
<input type="text" id="l_2fa" class="form-control mb-4 text-center fs-4" placeholder="000000" maxlength="6" onkeypress="if(event.key === 'Enter') verify2FA()">
<button class="btn btn-primary w-100" onclick="verify2FA()">Verifizieren</button>
</div>
</div>
</div>
<nav class="navbar py-2">
<div class="container-fluid">
<span class="navbar-brand mb-0 h1" onclick="showHomeDashboard()"><i class="bi bi-shield-lock-fill text-primary"></i> Web RDM</span>
<div class="d-flex gap-2 align-items-center">
<span class="badge bg-secondary me-2" id="user-badge"></span>
<a href="map.html" class="btn btn-sm btn-outline-primary d-flex align-items-center"><i class="bi bi-diagram-3-fill me-2"></i> Karte</a>
<button class="btn-nav-icon m-0" onclick="showSettings()" title="Einstellungen/Profil"><i class="bi bi-gear"></i></button>
<button class="btn-nav-icon m-0" onclick="toggleTheme()" title="Tag/Nacht Modus"><i id="theme-icon" class="bi bi-moon"></i></button>
<button class="btn-nav-icon m-0 text-danger border-danger" onclick="doLogout()" title="Abmelden"><i class="bi bi-box-arrow-right"></i></button>
</div>
</div>
</nav>
<div class="container-fluid flex-grow-1" style="height: calc(100vh - 57px);">
<div class="row h-100">
<div class="col-md-3 col-lg-2 sidebar p-0">
<div class="p-3 border-bottom" style="border-color: var(--border-color)!important;">
<div class="input-group input-group-sm">
<input type="text" id="searchInput" class="form-control" placeholder="Suchen..." onkeyup="filterSidebar()">
</div>
</div>
<div id="sidebar-content" class="flex-grow-1 overflow-auto py-2"></div>
</div>
<div class="col-md-9 col-lg-10 main-content d-flex" id="main-area"></div>
</div>
</div>
<div id="toast">Nachricht</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="js/app.js"?version=3></script>
</body>
</html>