36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Station Announcer</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<div class="container">
|
|
<div class="header-bar">
|
|
<h1><a href="{{ url_for('main.compose_select') }}">Station Announcer</a></h1>
|
|
<nav class="nav-links">
|
|
<a href="{{ url_for('main.compose_select') }}">Compose Mastodon post</a>
|
|
<a href="{{ url_for('main.alt_helper') }}">Alt text helper</a>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main class="container">
|
|
{% with messages = get_flashed_messages(with_categories=True) %}
|
|
{% if messages %}
|
|
<div class="flash-messages">
|
|
{% for category, message in messages %}
|
|
<div class="flash {% if category %}flash-{{ category }}{% endif %}">{{ message|safe }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<script src="{{ url_for('static', filename='app.js') }}"></script>
|
|
</body>
|
|
</html>
|