Files
TK-Wiki-Newsletter/app/templates/base.html
smueller 9a0871381a Implement newsletter scheduling features
- Added a background scheduler to manage newsletter dispatch based on user-defined settings.
- Enhanced the SMTP settings to include scheduling options such as frequency, time, and specific weekdays.
- Updated the dashboard UI to allow users to configure scheduling preferences for automated newsletter sending.
- Modified the newsletter generation logic to accommodate new scheduling parameters and ensure proper content delivery.
2026-07-07 15:36:48 +02:00

47 lines
1.8 KiB
HTML

<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{{ title if title else "Wiki Newsletter Admin" }}{% endblock %} · Thomas-Krenn.AG</title>
<link rel="stylesheet" href="/static/css/main.css?v=6">
</head>
<body class="{% block body_class %}{% endblock %}">
<header class="topbar">
<div class="topbar-brand">
<div class="topbar-logo" aria-hidden="true">TK</div>
<div>
<h1>Wiki Newsletter Admin</h1>
<p class="topbar-sub">Thomas-Krenn.AG · Intern</p>
</div>
</div>
{% if user %}
<div class="topbar-actions">
<nav class="topbar-nav" aria-label="Hauptnavigation">
<a href="/dashboard" class="{% if active_nav == 'dashboard' %}active{% endif %}">Dashboard</a>
{% if user.role == "admin" %}
<a href="/admin/users" class="{% if active_nav == 'users' %}active{% endif %}">Benutzer</a>
{% endif %}
<a href="/profil" class="{% if active_nav == 'profile' %}active{% endif %}">Profil</a>
</nav>
<a href="/profil" class="user-chip user-chip-link">
<span>{{ user.full_name }}</span>
<span class="badge badge-{{ user.role }}">{{ user.role }}</span>
</a>
<form method="post" action="/logout">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<button type="submit" class="btn-logout">Abmelden</button>
</form>
</div>
{% endif %}
</header>
<main class="container">
{% block content %}{% endblock %}
</main>
<footer class="site-footer">
Thomas-Krenn.AG · Interner Wiki-Newsletter · Nur für den internen Gebrauch
</footer>
{% block scripts %}{% endblock %}
</body>
</html>