summary refs log tree commit diff
path: root/templates/details.html
diff options
context:
space:
mode:
authorMatt Arnold2025-04-11 01:33:39 -0400
committerMatt Arnold2025-04-11 01:33:39 -0400
commitdc557895b1bd517bbdc2821a79f2be12624010d6 (patch)
tree39ad52fae6c5688720f36d608e001c994a76d96f /templates/details.html
parentc51aebd896459f65c675d719347f60fc3aefa781 (diff)
Faccets phase 1 changes, to include
Add a view for a faccets details
Diffstat (limited to 'templates/details.html')
-rw-r--r--templates/details.html22
1 files changed, 22 insertions, 0 deletions
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 %}
+<div class="container">
+    <h2>Details of {{faccet.name}}</h2>
+    <p> {{faccet.name}} is a part of <b> {{creator.username}} </b> and was born on {{faccet.birth|datetime('%m-%d-%Y')}}
+    </p>
+    <h3> Biographical or Reference Information</h3>
+    <p> {{faccet.bio}}</p>
+</div>
+<div class="container">
+    <h3> Posts by {{faccet.name}}</h3>
+
+    <ul>
+        {% for post in posts %}
+        <li><a href="{{ url_for('post', post_id=post.id) }}">{{ post.title }}</a> - {{
+            post.created_at.strftime('%Y-%m-%d') }}</li>
+        {% endfor %}
+    </ul>
+
+</div>
+{% endblock %}
\ No newline at end of file