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:
25
app/templates/entry_view.html
Executable file
25
app/templates/entry_view.html
Executable 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 %}
|
||||
Reference in New Issue
Block a user