summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/create.html5
-rw-r--r--templates/post.html11
2 files changed, 11 insertions, 5 deletions
diff --git a/templates/create.html b/templates/create.html
index ccbbc67..8c4ee84 100644
--- a/templates/create.html
+++ b/templates/create.html
@@ -10,7 +10,6 @@
 <h1>Write to yourself </h1>
 
 
-
 <div class="tab">
     <button type="button" class="tablinks" id="defaultOpen" onclick="openTab(event, 'input-area')">Editor</button>
     <button type="button" class="tablinks" onclick="openTab(event, 'document-rendered')">Preview</button>
@@ -18,7 +17,11 @@
 <!-- Textarea for Markdown input -->
 <div id="input-area" class="tabcontent">
     <form method="post" novalidate>
+
         {{ form.hidden_tag() }}
+        <label for="faccets"> {{form.faccets.label}} </label>
+        {{form.faccets|safe}}
+
         <p>
             {{form.title.label}}: {{form.title}} <br>
             {{ form.content.label }}<br>
diff --git a/templates/post.html b/templates/post.html
index eef4c93..4d37ed9 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -24,11 +24,14 @@
 <a href="{{url_for('post', post_id=post.parent)}}"> Previous</a>
 <hr>
 {% endif %}
+<h2>{{ post.title }}</h2>
+<p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p>
+
 <div class="container">
-    <h2>{{ post.title }}</h2>
-    <p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p>
-    <p> Authour: <a href="{{url_for('details', light=post.authour.name)}}"> {{post.authour.name}} </a></p>
-    <div>{{ post.content|markdown|safe }}</div>
+    <div class="userbox">
+        <p> Authour: <a href="{{url_for('details', light=post.authour.name)}}"> {{post.authour.name}} </a></p>
+    </div>
+    <div class="post-content">{{ post.content|markdown|safe }}</div>
 </div>
 <div class="post-actions">
     <a href="{{ url_for('create', reply=post.id)}}"> Reply</a> ~