lainchan/templates/index.html

111 lines
3.2 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="{index}style.css"/>
<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="{index}main.js"></script>
</head>
<body>
<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>
2010-11-02 06:57:33 -04:00
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{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" />
2011-01-20 03:25:11 -05:00
<input accesskey="s" style="float:right;" type="submit" name="post" value="{button=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" />
<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="delete" value="1" />
<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"/>
<label for="delete_file">File</label>] Password
<input type="password" name="password" size="12" maxlength="18" />
<input type="submit" value="Delete" />
</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-16 07:32:43 -05:00
<p class="unimportant" style="margin-top:20px;text-align:center;">Tinyboard Software Copyright &copy; 2010-2011 <a href="http://omegasdg.com/">OmegaSDG</a></p>
2010-11-02 06:57:33 -04:00
</body>
2011-02-03 04:31:32 -05:00
</html>