Files
member-console/internal/embeds/templates/index.html

81 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>WC Member Console</title>
<meta name="description" content="Console for Wiki Cafe members">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="WC Member Console">
<meta property="og:description" content="Console for Wiki Cafe members">
<meta property="og:image" content="/static/apple-touch-icon.png">
<meta property="og:url" content="/index.html">
<meta property="og:site_name" content="Wiki Cafe Member Console">
<link href="/static/bootstrap.css" rel="stylesheet">
<script defer src="/static/bootstrap.bundle.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
</head>
<body class="d-flex flex-column vh-100">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Wiki Cafe Member Console</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto d-lg-none">
<li class="nav-item">
<a class="nav-link" href="/">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ .KeycloakAccountURL }}" target="_blank">Identity and Access</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="d-flex flex-column flex-lg-row flex-grow-1">
<!-- Sidebar - only visible on lg screens and up -->
<div class="bg-light d-none d-lg-flex flex-column flex-shrink-0 h-lg-100 border-end">
<ul class="nav flex-column p-3">
<li class="nav-item"><a class="nav-link active" href="/"><strong>Dashboard</strong></a></li>
<li class="nav-item"><a class="nav-link" href="{{ .KeycloakAccountURL }}" target="_blank">Identity and Access</a>
</li>
<li class="nav-item"><a class="nav-link text-danger" href="/logout">Logout</a></li>
</ul>
</div>
<!-- Main Content -->
<div class="flex-fill p-4">
<h1>Dashboard</h1>
<div class="row">
<div class="col-12">
<div class="card mt-3">
<div class="card-header">Account Overview</div>
<div class="card-body">
<p><strong>Name:</strong> {{ .Name }}</p>
<p><strong>Username:</strong> {{ .Username }}</p>
<p><strong>Email:</strong> {{ .Email }}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>