Inbluff / base.html
Hydui's picture
Upload 8 files
4927d58 verified
Raw
History Blame Contribute Delete
1.36 kB
<!doctype html>
<html lang="hi">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{{ title or "Admin Panel" }}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="layout">
<aside class="sidebar">
<div class="brand">⚑ Admin<span>Hub</span></div>
<nav>
<a href="{{ url_for('dashboard') }}">πŸ“Š Dashboard</a>
<a href="{{ url_for('users') }}">πŸ‘₯ Users</a>
<a href="{{ url_for('projects') }}">πŸ“ Projects</a>
<a href="{{ url_for('announcements') }}">πŸ“’ Announcements</a>
<a href="{{ url_for('settings') }}">βš™οΈ Website Settings</a>
<a href="{{ url_for('api_keys') }}">πŸ”‘ API Keys</a>
</nav>
<a class="logout" href="{{ url_for('logout') }}">β†ͺ Logout</a>
</aside>
<main class="main">
<header class="topbar">
<div><strong>Control Center</strong><small>Website & Projects</small></div>
<div class="user">{{ current_user.email if current_user else "" }}</div>
</header>
{% with messages = get_flashed_messages(with_categories=true) %}
{% for category, message in messages %}
<div class="alert {{ category }}">{{ message }}</div>
{% endfor %}
{% endwith %}
{% block content %}{% endblock %}
</main>
</div>
</body>
</html>