lainchan/templates/index.html

110 lines
3.1 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">
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>
<input type="text" name="email" size="25" maxlength="30" autocomplete="off" />
</td>
</tr>
<tr>
<th>
Subject
</th>
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="25" 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>
2010-11-02 06:57:33 -04:00
Pages: {pages:
2010-11-30 03:55:51 -05:00
[<a href="{pages[link]}">{pages[num]}</a>]{!%last? }
2010-11-02 06:57:33 -04:00
}
2011-01-21 11:41:00 -05:00
<p class="unimportant" style="text-align:center;">Copyright &copy; 2010-2011 <a href="http://omegasdg.com/">OmegaSDG</a></p>
2010-11-02 06:57:33 -04:00
</body>
</html>