modified: routes/auth_routes.py
modified: routes/journal_routes.py modified: static/css/style.css modified: templates/base.html new file: templates/datenschutz.html modified: templates/future.html new file: templates/impressum.html
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Future Log – Bullet Journal{% endblock %}
|
||||
{% block title %}Future Log – Journal{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head">
|
||||
<div>
|
||||
@@ -22,13 +22,38 @@
|
||||
</label>
|
||||
<button type="submit" class="btn btn-primary">Hinzufügen</button>
|
||||
</div>
|
||||
<div class="note-form-row ref-row">
|
||||
<label>
|
||||
Verweis-Typ
|
||||
<select name="ref_type">
|
||||
<option value="">– kein –</option>
|
||||
<option value="email">📧 E-Mail</option>
|
||||
<option value="link">🔗 Link/URL</option>
|
||||
<option value="phone">📞 Telefon</option>
|
||||
<option value="mention">@ Erwähnung</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="grow">
|
||||
Verweis
|
||||
<input type="text" name="ref_value" placeholder="z. B. name@firma.de (optional)">
|
||||
</label>
|
||||
</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>
|
||||
<div class="day-head">
|
||||
<h2>{{ month_key[5:7]|int }} / {{ month_key[0:4] }}
|
||||
{% if month_key == today_str %}<span class="pill">aktuell</span>{% endif %}
|
||||
</h2>
|
||||
<div class="day-head-stats">
|
||||
<span class="pill open">{{ month_stats[month_key].open }} offen</span>
|
||||
<span class="pill done">{{ month_stats[month_key].done }} erledigt</span>
|
||||
<span class="pill">{{ month_stats[month_key].total }} gesamt</span>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="note-list">
|
||||
{% for e in entries %}
|
||||
<li class="note-item {{ 'is-done' if e.status == 'done' else '' }}">
|
||||
@@ -44,9 +69,14 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<span class="note-date">{{ e.month_date.strftime('%m/%Y') }}</span>
|
||||
</div>
|
||||
<span class="note-date">{{ e.month_date.strftime('%m/%Y') }}</span>
|
||||
<span class="mini-actions">
|
||||
<form method="post" action="{{ url_for('journal.toggle_future', entry_id=e.id) }}" class="inline">
|
||||
<button class="btn btn-small {{ 'btn-success' if e.status != 'done' else '' }}">
|
||||
{{ 'Erledigt' if e.status != 'done' else 'Wieder öffnen' }}
|
||||
</button>
|
||||
</form>
|
||||
<a href="{{ url_for('journal.edit_future', entry_id=e.id) }}" class="btn btn-small">Bearbeiten</a>
|
||||
<form method="post" action="{{ url_for('journal.delete_future', entry_id=e.id) }}" class="inline"
|
||||
onsubmit="return confirm('Eintrag wirklich löschen?');">
|
||||
@@ -60,7 +90,7 @@
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<section class="card">
|
||||
<p class="muted">Noch keine Einträge im Future Log.</p>
|
||||
<p class="muted">Noch keine Einträge im Future Log. Füge oben deinen ersten Eintrag hinzu.</p>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user