]> git.xolatile.top Git - emil-3chen.org.git/commitdiff
--
authorEmil Williams <emilemilemil@cock.li>
Sat, 17 May 2025 14:42:33 +0000 (08:42 -0600)
committerEmil Williams <emilemilemil@cock.li>
Sat, 17 May 2025 14:42:33 +0000 (08:42 -0600)
tt/img
tt/post [new file with mode: 0644]

diff --git a/tt/img b/tt/img
index cdfeaca6c6fb2c46aa000cdf23df4bdbaf8dfc81..ea7d92aa925cc3d26199f9d51adf0489620d5d72 100644 (file)
--- a/tt/img
+++ b/tt/img
@@ -6,59 +6,21 @@
 [% INCLUDE header %]
 <body>
 <div id="board">
-  <div id="title">[% uri %] - [% description %]</div>
-  <center>
-    <details>
-      <summary>
-        Send
-      </summary>
-      <form method="POST" id="form">
-        <table>
-          <tbody>
-            <tr>
-              <td>Name</td>
-              <td>
-                <input name="name" type="text" tabindex="1" placeholder="Chen">
-              </td>
-            </tr>
-            <tr>
-              <td>Options</td>
-              <td>
-                <input name="options" type="text" tabindex="2">
-                <input id="postFile" name="file" type="file" tabindex="5">
-              </td>
-            </tr>
-            <tr>
-              <td>Subject</td>
-              <td>
-                <input name="subject" type="text" tabindex="3">
-                <input type="submit" value="Submit" tabindex="6">
-              </td>
-            </tr>
-            <tr>
-              <td>Comment</td>
-              <td>
-                <textarea name="comment" cols="48" rows="4" wrap="soft" tabindex="4"></textarea>
-              </td>
-            </tr>
-          </tbody>
-        </table>
-      </form>
-    </details>
-  </center>
-  <p></p><hr>
-  [% FOREACH thread IN threads %]
-  <div id="thread">
-    [% FOREACH post IN thread %]
-    <div id="post">
-      <div id="bar">
-        Anonymous no. [% post.1 %]
-      </div>
-      [% post.0 %]
+<div id="title">[% uri %] - [% description %]</div>
+[% INCLUDE post %]
+[% FOREACH thread IN threads %]
+<div id="thread">
+  [% FOREACH post IN thread %]
+  <div id="post">
+    <div id="bar">
+      Anonymous no. [% post.1 %]
     </div>
-    [% END %]
+    [% post.0 %]
   </div>
   [% END %]
+</div>
+[% END %]
+[% INCLUDE post %]
 [% INCLUDE footer %]
 </div>
 </body>
diff --git a/tt/post b/tt/post
new file mode 100644 (file)
index 0000000..ba8c3fe
--- /dev/null
+++ b/tt/post
@@ -0,0 +1,40 @@
+<center>
+  <details>
+    <summary>
+      Send
+    </summary>
+    <form method="POST" id="form">
+      <table>
+        <tbody>
+          <tr>
+            <td>Name</td>
+            <td>
+              <input name="name" type="text" tabindex="1" placeholder="Chen">
+            </td>
+          </tr>
+          <tr>
+            <td>Options</td>
+            <td>
+              <input name="options" type="text" tabindex="2">
+              <input id="postFile" name="file" type="file" tabindex="5">
+            </td>
+          </tr>
+          <tr>
+            <td>Subject</td>
+            <td>
+              <input name="subject" type="text" tabindex="3">
+              <input type="submit" value="Submit" tabindex="6">
+            </td>
+          </tr>
+          <tr>
+            <td>Comment</td>
+            <td>
+              <textarea name="comment" cols="48" rows="4" wrap="soft" tabindex="4"></textarea>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </form>
+  </details>
+</center>
+<p></p><hr>