Initial commit: Notes Manager App (notes.braetter-int.de)

- Python/Flask Backend
- SQLAlchemy Models (notes, tasks, templates, users)
- Gunicorn + Nginx Deploy-Konfiguration
- Static Assets (CSS/JS)
- Jinja2 Templates
This commit is contained in:
2026-04-15 09:28:33 +02:00
commit 5c7ce5d0ca
24 changed files with 1666 additions and 0 deletions

25
app/templates/entry_view.html Executable file
View File

@@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% block title %}{{ entry.title }} - NotesManager{% endblock %}
{% block content %}
<div class="d-flex justify-content-between align-items-center mb-4 flex-wrap gap-2">
<div>
<h1 class="h2 mb-1">{{ entry.title }}</h1>
<div class="text-muted">{{ entry.work_date.strftime('%d.%m.%Y') }} · {{ entry.category }} · {{ entry.system_name or 'kein System' }}</div>
</div>
<div class="d-flex gap-2">
<a href="{{ url_for('main.entry_edit', entry_id=entry.id) }}" class="btn btn-outline-secondary">Bearbeiten</a>
<a href="{{ url_for('main.entries') }}" class="btn btn-primary">Zur Übersicht</a>
</div>
</div>
<div class="card shadow-sm">
<div class="card-body">
<div class="mb-3 small text-muted">
<strong>Status:</strong> {{ entry.status }} ·
<strong>Priorität:</strong> {{ entry.priority }} ·
<strong>Tags:</strong> {{ entry.tags or '-' }} ·
<strong>Von:</strong> {{ entry.created_by }}
</div>
<pre class="content-pre">{{ entry.content }}</pre>
</div>
</div>
{% endblock %}