1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00
vichan/templates/index.html

110 lines
3.1 KiB
HTML
Raw Normal View History

2011-01-02 11:10:18 +01:00
<!DOCTYPE html>
2010-11-02 11:57:33 +01:00
<html>
<head>
<link rel="stylesheet" media="screen" href="{index}style.css"/>
<title>{board[url]} - {board[name]}</title>
2011-01-03 06:29:34 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2010-11-02 11:57:33 +01: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 09:12:13 +01:00
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
2010-11-02 11:57:33 +01:00
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
2010-11-30 10:38:24 +01:00
<input type="hidden" name="board" value="{board[uri]}" />
2011-01-02 11:10:18 +01:00
{mod?<input type="hidden" name="mod" value="1" />}
2010-11-02 11:57:33 +01:00
<table>
<tr>
<th>
Name
</th>
<td>
2011-02-03 10:28:14 +01:00
<input type="text" name="name" size="25" maxlength="50" autocomplete="off" />
2010-11-02 11:57:33 +01: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 09:25:11 +01:00
<input accesskey="s" style="float:right;" type="submit" name="post" value="{button=New Topic}" />
2010-11-02 11:57:33 +01: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 11:10:18 +01: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 10:28:14 +01:00
<div>
<label for="raw">Raw HTML</label><br/>
<input title="Raw HTML" type="checkbox" name="raw" id="raw">
</div>
2011-01-02 11:10:18 +01:00
</td>
</tr>
}
2010-11-02 11:57:33 +01: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-21 03:13:50 +01: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 11:57:33 +01:00
{body}
2011-01-21 03:13:50 +01: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 11:57:33 +01:00
Pages: {pages:
2010-11-30 09:55:51 +01:00
[<a href="{pages[link]}">{pages[num]}</a>]{!%last? }
2010-11-02 11:57:33 +01:00
}
2011-01-27 18:19:17 +01:00
<p class="unimportant" style="text-align:center;">TinyBoard Software Copyright &copy; 2010-2011 <a href="http://omegasdg.com/">OmegaSDG</a></p>
2010-11-02 11:57:33 +01:00
</body>
2011-02-03 10:31:32 +01:00
</html>