Files
Journal/templates/edit_note.html
SimolZimol f973e67311 modified: Dockerfile
new file:   pdf_export.py
	modified:   requirements.txt
	modified:   routes/journal_routes.py
	modified:   static/css/style.css
	modified:   templates/base.html
	modified:   templates/day.html
	new file:   templates/edit_future.html
	new file:   templates/edit_note.html
	modified:   templates/future.html
	modified:   templates/monat.html
	new file:   templates/report.html
	modified:   templates/week.html
2026-08-02 21:28:30 +02:00

55 lines
2.6 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 %}Notiz bearbeiten Bullet Journal{% endblock %}
{% block content %}
<div class="page-head">
<div>
<h1>Notiz bearbeiten</h1>
<p class="muted">{{ note.note_date.strftime('%d.%m.%Y') }}</p>
</div>
<a href="{{ url_for('journal.day', date_str=note.note_date.strftime('%Y-%m-%d')) }}" class="btn btn-small">← Zurück zum Tag</a>
</div>
<section class="card">
<form method="post" action="{{ url_for('journal.edit_note', note_id=note.id) }}" class="stack">
<label>
Bullet
<select name="bullet">
<option value="." {{ 'selected' if note.bullet_type == '.' else '' }}>• Aufgabe</option>
<option value="x" {{ 'selected' if note.bullet_type == 'x' else '' }}>✕ Termin</option>
<option value="-" {{ 'selected' if note.bullet_type == '-' else '' }}> Notiz</option>
<option value="?" {{ 'selected' if note.bullet_type == '?' else '' }}>? Frage</option>
</select>
</label>
<label>
Notiz
<textarea name="note_text" rows="3" required>{{ note.note_text }}</textarea>
</label>
<label>
Priorität
<select name="priority">
<option value="0" {{ 'selected' if note.priority == 0 else '' }}>Niedrig</option>
<option value="1" {{ 'selected' if note.priority == 1 else '' }}>Mittel</option>
<option value="2" {{ 'selected' if note.priority == 2 else '' }}>Hoch</option>
</select>
</label>
<label>
Verweis-Typ
<select name="ref_type">
<option value="" {{ 'selected' if not current_ref else '' }}> kein </option>
<option value="email" {{ 'selected' if current_ref.get('type') == 'email' else '' }}>📧 E-Mail</option>
<option value="link" {{ 'selected' if current_ref.get('type') == 'link' else '' }}>🔗 Link/URL</option>
<option value="phone" {{ 'selected' if current_ref.get('type') == 'phone' else '' }}>📞 Telefon</option>
<option value="mention" {{ 'selected' if current_ref.get('type') == 'mention' else '' }}>@ Erwähnung</option>
</select>
</label>
<label>
Verweis
<input type="text" name="ref_value" value="{{ current_ref.get('value', '') }}">
</label>
<div class="report-actions">
<button type="submit" class="btn btn-primary">Speichern</button>
</div>
</form>
</section>
{% endblock %}