improve templates
This commit is contained in:
parent
7b286140b3
commit
9a0c2e3b88
@ -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">
|
||||
|
@ -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 />
|
@ -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" />
|
||||
|
Reference in New Issue
Block a user