lainchan/templates/index.html

121 lines
3.9 KiB
HTML
Raw Normal View History

2011-01-02 05:10:18 -05:00
<!DOCTYPE html>
2010-11-02 06:57:33 -04:00
<html>
<head>
<link rel="stylesheet" media="screen" href="{config[url_stylesheet]}"/>
2011-03-26 07:58:39 -04:00
{config[url_favicon]?<link rel="shortcut icon" href="{config[url_favicon]}" />}
2010-11-02 06:57:33 -04:00
<title>{board[url]} - {board[name]}</title>
2011-01-03 00:29:34 -05:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2010-11-02 06:57:33 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script type="text/javascript" src="{config[url_javascript]}"></script>
{config[meta_keywords]?<meta name="keywords" content="{config[meta_keywords]}" />}
2010-11-02 06:57:33 -04:00
</head>
<body>
2011-02-19 20:39:56 -05:00
{boardlist[top]}
2011-03-25 21:01:29 -04:00
{pm?<div class="top_notice">{pm}</div><hr/>}
{config[url_banner]?<img class="banner" src="{config[url_banner]}" />}
2010-11-02 06:57:33 -04:00
<h1>{board[url]} - {board[name]}</h1>
2010-12-16 03:12:13 -05:00
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{config[post_url]}" method="post">
2011-02-17 06:03:52 -05:00
{hidden_inputs}
2010-11-30 04:38:24 -05:00
<input type="hidden" name="board" value="{board[uri]}" />
2011-01-02 05:10:18 -05:00
{mod?<input type="hidden" name="mod" value="1" />}
2010-11-02 06:57:33 -04:00
<table>
<tr>
<th>
Name
</th>
<td>
2011-02-03 04:28:14 -05:00
<input type="text" name="name" size="25" maxlength="50" autocomplete="off" />
2010-11-02 06:57:33 -04:00
</td>
</tr>
<tr>
<th>
Email
</th>
<td>
2011-02-17 05:20:04 -05:00
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" />
2010-11-02 06:57:33 -04:00
</td>
</tr>
<tr>
<th>
Subject
</th>
<td>
2011-02-17 05:20:04 -05:00
<input style="float:left;" type="text" name="subject" size="25" maxlength="40" autocomplete="off" />
<input accesskey="s" style="float:right;" type="submit" name="post" value="{config[button_newtopic]=New Topic}" />
2010-11-02 06:57:33 -04:00
</td>
</tr>
<tr>
<th>
Comment
</th>
<td>
<textarea name="body" id="body" rows="5" cols="30"></textarea>
</td>
</tr>
<tr>
<th>
File
</th>
<td>
<input type="file" name="file"/>
</td>
</tr>
2011-01-02 05:10:18 -05:00
{mod?
<tr>
<th>
Flags
</th>
<td>
<div>
<label for="sticky">Sticky</label>
<input title="Sticky" type="checkbox" name="sticky" id="sticky"><br/>
</div>
<div>
<label for="lock">Lock</label><br/>
<input title="Lock" type="checkbox" name="lock" id="lock">
</div>
2011-02-03 04:28:14 -05:00
<div>
<label for="raw">Raw HTML</label><br/>
<input title="Raw HTML" type="checkbox" name="raw" id="raw">
</div>
2011-01-02 05:10:18 -05:00
</td>
</tr>
}
2010-11-02 06:57:33 -04:00
<tr>
<th>
Password
</th>
<td>
<input type="password" name="password" size="12" maxlength="18" autocomplete="off" />
2010-11-02 06:57:33 -04:00
<span class="unimportant">(For file deletion.)</span>
</td>
</tr>
</table>
</form>
<hr/>
2011-01-20 21:13:50 -05:00
<form action="{post_url}" method="post">
<input type="hidden" name="board" value="{board[uri]}" />
{mod?<input type="hidden" name="mod" value="1" />}
2010-11-02 06:57:33 -04:00
{body}
2011-01-20 21:13:50 -05:00
<div class="delete">
Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file"/>
2011-02-20 01:19:57 -05:00
<label for="delete_file">File</label>] <label for="password">Password</label>
2011-02-20 06:48:41 -05:00
<input id="password" type="password" name="password" size="12" maxlength="18" />
2011-02-20 01:19:57 -05:00
<input type="submit" name="delete" value="Delete" />
</div>
<div class="delete" style="clear:both">
<label for="reason">Reason</label>
<input id="reason" type="text" name="reason" size="20" maxlength="30" />
<input type="submit" name="report" value="Report" />
2011-01-20 21:13:50 -05:00
</div>
</form>
2011-02-17 02:37:18 -05:00
<div class="pages">{btn[prev]} {pages:
2011-02-16 07:32:43 -05:00
[<a {pages[selected]?class="selected"}{!pages[selected]?href="{pages[link]}"}>{pages[num]}</a>]{!%last? }
2011-02-17 02:37:18 -05:00
} {btn[next]}</div>
2011-02-19 20:39:56 -05:00
{boardlist[bottom]}
2011-03-25 21:08:26 -04:00
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard Alpha</a> | <a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2011 Tinyboard Development Group</p>
2010-11-02 06:57:33 -04:00
</body>
2011-02-03 04:31:32 -05:00
</html>