|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
|
|
|
|
<meta name="description" content="labertasche comment system dashboard">
|
|
|
|
|
|
|
|
<!-- Preload -->
|
|
|
|
<link rel="preload" href="/static/css/open-sans-v18-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" media="all">
|
|
|
|
<link rel="preload" href="/static/css/materialdesignicons-webfont.woff2" as="font" type="font/woff2" crossorigin="anonymous" media="all">
|
|
|
|
<link rel="preload" href="/static/css/labertasche.css" as="style" crossorigin="anonymous" media="screen">
|
|
|
|
<link rel="preload" href="/static/css/materialdesignicons.min.css" as="style" crossorigin="anonymous" media="screen">
|
|
|
|
<link rel="preload" href="/static/css/Chart.min.css" as="style" media="screen">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="/static/css/labertasche.css" media="screen">
|
|
|
|
<link rel="stylesheet" href="/static/css/materialdesignicons.min.css" media="screen">
|
|
|
|
<link rel="stylesheet" href="/static/css/Chart.min.css" media="screen">
|
|
|
|
|
|
|
|
<title>labertasche Dashboard</title>
|
|
|
|
</head>
|
|
|
|
<body class="is-family-sans-serif">
|
|
|
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
|
|
|
<a class="navbar-item is-size-4" href="/">
|
|
|
|
<span class="icon"><span class="mdi mdi-24px mdi-chart-bar"></span></span>
|
|
|
|
Labertasche Dashboard
|
|
|
|
</a>
|
|
|
|
<div class="navbar-start"></div>
|
|
|
|
<div class="navbar-end">
|
|
|
|
{% if project is defined %}
|
|
|
|
<a class="navbar-item" href="/dashboard/{{ project }}/manage-spam/">
|
|
|
|
<span class="icon"><i class="mdi mdi-24px mdi-space-invaders"></i></span>
|
|
|
|
MANAGE SPAM
|
|
|
|
</a>
|
|
|
|
<a class="navbar-item" href="/dashboard/{{ project }}/manage-comments/">
|
|
|
|
<span class="icon"><i class="mdi mdi-24px mdi-comment"></i></span>
|
|
|
|
MANAGE COMMENTS
|
|
|
|
</a>
|
|
|
|
<a class="navbar-item" href="/dashboard/{{ project }}/manage-mail">
|
|
|
|
<span class="icon"><i class="mdi mdi-24px mdi-email"></i></span>
|
|
|
|
MANAGE EMAIL ADDRESSES
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
<a class="navbar-item" href="/logout/">
|
|
|
|
<span class="icon"><i class="mdi mdi-24px mdi-account-cancel"></i></span>
|
|
|
|
LOGOUT
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<section style="min-height: 100vh;" class="bg-darkslate p-4">
|
|
|
|
{% block main %}
|
|
|
|
{% endblock %}
|
|
|
|
</section>
|
|
|
|
<script defer src="/static/js/dashboard.js"></script>
|
|
|
|
<script defer src="/static/js/Chart.bundle.min.js"></script>
|
|
|
|
<script defer src="/static/js/popper.min.js"></script>
|
|
|
|
<script defer src="/static/js/tippy-bundle.umd.min.js"></script>
|
|
|
|
{% block javascript_libs %}
|
|
|
|
{% endblock %}
|
|
|
|
<script defer>
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
|
|
|
|
const urlParams = new URLSearchParams(window.location.search);
|
|
|
|
if (urlParams.get("error") === "404"){
|
|
|
|
show_modal('modal-project-not-found');
|
|
|
|
}
|
|
|
|
{% block javascript %}
|
|
|
|
{% endblock %}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|