summaryrefslogtreecommitdiff
path: root/template/topic.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/topic.st')
-rw-r--r--template/topic.st48
1 files changed, 48 insertions, 0 deletions
diff --git a/template/topic.st b/template/topic.st
new file mode 100644
index 0000000..1594364
--- /dev/null
+++ b/template/topic.st
@@ -0,0 +1,48 @@
+<html>
+ <head>
+ <title>#$topic$ - dump.fm</title>
+ $head()$
+ <script>
+ jQuery(function() {
+ initLog($recips$);
+ });
+ </script>
+ </head>
+ <body>
+ $banner()$
+ <div id="content">
+ <div id="messagePanep">
+ <div id="userListp">
+ <h2><a href="/t/$topic$">#$topic$</a></h2>
+ <br><h3></h3>
+ </div>
+ <div id="messageList">
+ $if(dumps)$
+ <span class="content">
+ $dumps: { d | $topic_dump(dump=d)$ }$
+ </span>
+ $else$
+ <span>Topic #$topic$ doesn't exist yet!</span>
+ $endif$
+ </div>
+ <div id="msgInputDiv">
+ <div id="msginputrapper">
+ $if(prev)$
+ <a href="/$nick$/whofaved/$prev$"><input id="prevbutton" value="<- Prev" readonly="true"></a>
+ $else$
+ <input id="prevbutton" readonly="true">
+ $endif$
+
+ $if(next)$
+ <a href="/$nick$/whofaved/$next$"> <input id="nextbutton" value="Next ->" readonly="true"></a>
+ $else$
+ <input id="nextbutton" value="nomodumps" readonly="true">
+ $endif$
+ </div>
+ <div id="footerc">
+ $footer()$
+ </div>
+ </div>
+ </div>
+ </body>
+</html>