From dc557895b1bd517bbdc2821a79f2be12624010d6 Mon Sep 17 00:00:00 2001 From: Matt Arnold Date: Fri, 11 Apr 2025 01:33:39 -0400 Subject: Faccets phase 1 changes, to include Add a view for a faccets details --- templates/details.html | 22 ++++++++++++++++++++++ templates/faccet_list.html | 12 ++++++++++++ templates/post.html | 10 ++++++---- 3 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 templates/details.html create mode 100644 templates/faccet_list.html (limited to 'templates') diff --git a/templates/details.html b/templates/details.html new file mode 100644 index 0000000..3b16fe3 --- /dev/null +++ b/templates/details.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} + +{% block content %} +
+

Details of {{faccet.name}}

+

{{faccet.name}} is a part of {{creator.username}} and was born on {{faccet.birth|datetime('%m-%d-%Y')}} +

+

Biographical or Reference Information

+

{{faccet.bio}}

+
+
+

Posts by {{faccet.name}}

+ + + +
+{% endblock %} \ No newline at end of file diff --git a/templates/faccet_list.html b/templates/faccet_list.html new file mode 100644 index 0000000..226e684 --- /dev/null +++ b/templates/faccet_list.html @@ -0,0 +1,12 @@ +{% extends 'base.html' %} + +{% block content %} +
+

Faccets of {{current_user.username}}

+ +
+{% endblock %} \ No newline at end of file diff --git a/templates/post.html b/templates/post.html index 107b1a2..eef4c93 100644 --- a/templates/post.html +++ b/templates/post.html @@ -24,10 +24,12 @@ Previous
{% endif %} -

{{ post.title }}

-

{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}

-

Authour: {{post.authour.name}}

-
{{ post.content|markdown|safe }}
+
+

{{ post.title }}

+

{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}

+

Authour: {{post.authour.name}}

+
{{ post.content|markdown|safe }}
+
Reply ~ Back to posts -- cgit 1.4.1-2-gfad0