Files
Journal/templates/future.html
SimolZimol 0e7efe4b74 new file: .env.example
new file:   .gitignore
	new file:   Dockerfile
	new file:   README.md
	new file:   app.py
	new file:   auth.py
	new file:   config.py
	new file:   db.py
	new file:   db_helpers.py
	new file:   docker-compose.yml
	new file:   requirements.txt
	new file:   routes/__init__.py
	new file:   routes/admin_routes.py
	new file:   routes/auth_routes.py
	new file:   routes/journal_routes.py
	new file:   static/css/style.css
	new file:   static/js/main.js
	new file:   templates/admin/dashboard.html
	new file:   templates/admin/users.html
	new file:   templates/base.html
	new file:   templates/day.html
	new file:   templates/future.html
	new file:   templates/index.html
	new file:   templates/login.html
	new file:   templates/week.html
2026-08-02 20:41:24 +02:00

51 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Future Log Bullet Journal{% endblock %}
{% block content %}
<div class="page-head">
<div>
<h1>Future Log</h1>
<p class="muted">Langfristiger Kalender Aufgaben, die später erledigt werden.</p>
</div>
</div>
<section class="card">
<h2>Neuer Eintrag</h2>
<form method="post" action="{{ url_for('journal.future') }}" class="note-form">
<div class="note-form-row">
<label>
Monat
<input type="month" name="month" required>
</label>
<label class="grow">
Notiz
<input type="text" name="note_text" required placeholder="Eintrag ins Future Log">
</label>
<button type="submit" class="btn btn-primary">Hinzufügen</button>
</div>
</form>
</section>
{% if grouped %}
{% for month_key, entries in grouped.items() %}
<section class="card">
<h2>{{ month_key[5:7]|int }} / {{ month_key[0:4] }}</h2>
<ul class="note-list">
{% for e in entries %}
<li class="note-item {{ 'is-done' if e.status == 'done' else '' }}">
<span class="bullet">{{ '✓' if e.status == 'done' else '' }}</span>
<span class="note-text">{{ e.note_text }}</span>
<form method="post" action="{{ url_for('journal.future') }}" class="inline">
<input type="hidden" name="toggle_id" value="{{ e.id }}">
</form>
</li>
{% endfor %}
</ul>
</section>
{% endfor %}
{% else %}
<section class="card">
<p class="muted">Noch keine Einträge im Future Log.</p>
</section>
{% endif %}
{% endblock %}