aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorFChannel <>2022-04-30 22:17:32 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit503a6637b8294aeb8e5e5546f8acbd2b3d6c4744 (patch)
tree56614d955df0d3e7284baa997bbf1a8dcc2e78f5 /views
parent1892327cee2c3fa1d3bea729bd08eb63c2189a96 (diff)
first steps in posting connected. can make reply with no quote or quote OP
do not recommend working on this branch for the time being since things are being moved around a lot
Diffstat (limited to 'views')
-rw-r--r--views/403.html10
-rw-r--r--views/partials/bottom.html2
-rw-r--r--views/partials/top.html4
3 files changed, 8 insertions, 8 deletions
diff --git a/views/403.html b/views/403.html
index 13d3cea..21ee188 100644
--- a/views/403.html
+++ b/views/403.html
@@ -1,7 +1,7 @@
<div class="box2">
- <h1>403</h1>
-
- <p>
- Click <a href="/">here</a> to return to the index.
- </p>
+ <h1>403</h1>
+ <p>{{ .message }}</p>
+ <p>
+ Click <a href="/">here</a> to return to the index.
+ </p>
</div>
diff --git a/views/partials/bottom.html b/views/partials/bottom.html
index 35e8c4a..f995cf2 100644
--- a/views/partials/bottom.html
+++ b/views/partials/bottom.html
@@ -3,7 +3,7 @@
<span id="reply-header-text">...</span>
<div id="reply-close" style="display: inline-block; float: right;"><a href="javascript:closeReply()">[X]</a></div>
</div>
- <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="reply-post" action="/post" method="post" enctype="multipart/form-data">
+ <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="reply-post" action="/{{ .Board.Name }}" method="post" enctype="multipart/form-data">
<input id="reply-name" name="name" type="text" placeholder="Name" maxlength="100">
<input id="reply-options" name="options" type="text" placeholder="Options" maxlength="100">
<textarea id="reply-comment" name="comment" maxlength="2000" oninput="sessionStorage.setItem('element-reply-comment', document.getElementById('reply-comment').value)"></textarea>
diff --git a/views/partials/top.html b/views/partials/top.html
index 032e86b..6e3bc4b 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -9,7 +9,7 @@
<h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Start a New Thread</a>]</h3>
{{ end }} <!-- end if inreplyto-->
<div id="newpost">
- <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/post" method="post" enctype="multipart/form-data">
+ <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/{{ .Board.Name }}" method="post" enctype="multipart/form-data">
<table id="postForm">
<tr>
<tr>
@@ -66,7 +66,7 @@
{{ end }} <!-- end if inreplyto-->
{{ $len := len .Posts }}
<div id="newpost">
- <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/post" method="post" enctype="multipart/form-data">
+ <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/{{ .Board.Name }}" method="post" enctype="multipart/form-data">
<table id="postForm">
<tr>
<tr>