Archived
1
0

improve templates

This commit is contained in:
jeff 2015-08-05 08:25:33 -04:00
parent 7b286140b3
commit 9a0c2e3b88
3 changed files with 8 additions and 4 deletions

View File

@ -8,7 +8,7 @@
board has the properties:
- Prefix ( absolute path like //site.tld/ or /path/ )
- Board ( the name of the board )
- Navar ( a function that renders the navbar, should not be escaped )
- Navbar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies )
}}
<html>
@ -19,9 +19,9 @@
<title>{{board.Board}}</title>
</head>
<body>
<!-- begin header -->
<!-- begin navbar -->
{{{board.Navbar}}}
<!-- end header -->
<!-- end navbar -->
<!-- postform -->
<div id="postform_container">

View File

@ -14,4 +14,9 @@
on
<span class="frontend_title">{{frontend}}</span>
</div>
<div class="links">
{{# links }}
<span class="link"><a href="{{LinkURL}}">{{Text}}</a></span>
{{/ links }}
</div>
<hr />

View File

@ -6,7 +6,6 @@
- reference ( the post we are replying to, or empty string if it's an op )
- button ( the text for the reply button )
}}
<h1> posting </h1>
<form action="{{post_url}}" enctype="multipart/form-data" name="post" method="post">
<input type="hidden" name="reference" value="{{reference}}" />
<input type="hidden" name="captcha" value="" id="captcha_input" />