From 3fd2778db724a29d9a88ed13b57b320abe67b848 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 7 Apr 2025 16:51:56 -0500 Subject: notes: added detail page --- app/notes/templates/note_detail.html | 25 +++++++++++++++++++++++++ app/notes/templates/note_list.html | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 app/notes/templates/note_detail.html (limited to 'app/notes/templates') diff --git a/app/notes/templates/note_detail.html b/app/notes/templates/note_detail.html new file mode 100644 index 0000000..5dc7ace --- /dev/null +++ b/app/notes/templates/note_detail.html @@ -0,0 +1,25 @@ +{% extends 'base_notes.html' %} +{% block primary %} + +
+
+
+

{% if object.url %}{{object.title}}{%else%}{{object.title}}{%endif%} edit

+

{{object.description}}

+ -------------------- +

{{object.body_html|safe}}

+

delete

+
+
+
+ + +{% endblock %} +{% block js %} + +{% endblock%} diff --git a/app/notes/templates/note_list.html b/app/notes/templates/note_list.html index 727c21d..1439f4a 100644 --- a/app/notes/templates/note_list.html +++ b/app/notes/templates/note_list.html @@ -16,9 +16,9 @@
{% for object in object_list %} {% endfor%}
-- cgit v1.2.3