From f34df498c517a462aad98f2ab528a6d15974e46c Mon Sep 17 00:00:00 2001 From: Matt Arnold Date: Thu, 10 Apr 2025 19:24:21 -0400 Subject: The great ui commit css crimes --- templates/base.html | 6 +++++- templates/create.html | 6 +++--- templates/post.html | 38 +++++++++++++++++++++++++++++++++----- 3 files changed, 41 insertions(+), 9 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 48b4d9c..d014cd9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,11 +1,14 @@ + - Blog + VibesHome + +

My Blog

@@ -14,4 +17,5 @@ {% block content %}{% endblock %} + \ No newline at end of file diff --git a/templates/create.html b/templates/create.html index 4d48992..ccbbc67 100644 --- a/templates/create.html +++ b/templates/create.html @@ -7,7 +7,7 @@ -

Blob Create

+

Write to yourself

@@ -20,7 +20,7 @@
{{ form.hidden_tag() }}

- {{form.title.label}}: {{form.title}}
+ {{form.title.label}}: {{form.title}}
{{ form.content.label }}
{{ form.content(cols="80", rows="24") }}

@@ -107,4 +107,4 @@ renderMarkdown(); document.getElementById('document-input').addEventListener('input', renderMarkdown); -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/templates/post.html b/templates/post.html index d759da4..b585cab 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,6 +1,25 @@ {% extends 'base.html' %} {% block content %} + {% if post.parent != 0 %} Previous
@@ -13,12 +32,21 @@ Reply ~ Back to posts -
-

Replies to this

-
+ +
+
+

Previously to this

    -
  • {% for reply in replies %} {{ reply.title }} - {{ - reply.created_at.strftime('%Y-%m-%d') }}
  • {% endfor %} +
  • {% for p in previous %} {{ p.title }} - {{ + p.created_at.strftime('%Y-%m-%d') }}
  • {% endfor %}
+
+

Replies to this

+
+
    +
  • {% for reply in replies %} {{ reply.title }} - {{ + reply.created_at.strftime('%Y-%m-%d') }}
  • {% endfor %} +
+
{% endblock %} \ No newline at end of file -- cgit 1.4.1-2-gfad0