summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/index.html20
-rw-r--r--templates/login.html2
-rw-r--r--templates/page.html2
-rw-r--r--templates/thread.html2
4 files changed, 22 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html
index 7aaf72e0..99c60d4f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" media="screen" href="{index}style.css"/>
@@ -15,6 +15,7 @@
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
<input type="hidden" name="board" value="{board[uri]}" />
+ {mod?<input type="hidden" name="mod" value="1" />}
<table>
<tr>
<th>
@@ -57,6 +58,23 @@
<input type="file" name="file"/>
</td>
</tr>
+ {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>
+ </td>
+ </tr>
+ }
<tr>
<th>
Password
diff --git a/templates/login.html b/templates/login.html
index 5ce955a7..312bd6e9 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -1,4 +1,4 @@
-<center>
+<center>
{error?<h2>{error}</h2>}
<form action="" method="post">
<table style="margin-top:25px;">
diff --git a/templates/page.html b/templates/page.html
index 9e243b75..d8b78898 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" media="screen" href="{index}style.css"/>
diff --git a/templates/thread.html b/templates/thread.html
index e816e127..e0c33a1e 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" media="screen" href="{index}style.css"/>