aboutsummaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
authorFChannel <>2022-07-16 09:49:54 -0700
committerFChannel <>2022-07-16 11:13:28 -0700
commit3a7664d404bca40cb3234924fa969c0ae133d085 (patch)
tree2468e548c760f52274178cdf0f6a0d3923f59b65 /views/partials
parenta22b213ddef7e86ef49366ffd6351adf0d28fcbe (diff)
fixed replies to post not showing up when following other boardsv0.1.1
added content length changes to alter database
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/bottom.html2
-rw-r--r--views/partials/footer.html2
-rw-r--r--views/partials/top.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/views/partials/bottom.html b/views/partials/bottom.html
index 35e8c4a..c48821b 100644
--- a/views/partials/bottom.html
+++ b/views/partials/bottom.html
@@ -6,7 +6,7 @@
<form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="reply-post" action="/post" 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>
+ <textarea id="reply-comment" name="comment" maxlength="4500" oninput="sessionStorage.setItem('element-reply-comment', document.getElementById('reply-comment').value)"></textarea>
<input id="reply-file" name="file" type="file">
<input id="reply-submit" type="submit" value="Reply" style="float: right;">
<input type="hidden" id="inReplyTo-box" name="inReplyTo" value="{{ .Board.InReplyTo }}">
diff --git a/views/partials/footer.html b/views/partials/footer.html
index cfae619..3082d25 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -4,7 +4,7 @@
</div>
<div style="float: right; margin-bottom: 25px;">
- <p style="font-size: 12px; text-align: right; padding-right: 5px;">v0.1.0</p>
+ <p style="font-size: 12px; text-align: right; padding-right: 5px;">v0.1.1</p>
<span>Theme:</span>
<select id="themeSwitcher" onchange="setTheme(this.options[this.selectedIndex].value)">
{{ range .Themes }}
diff --git a/views/partials/top.html b/views/partials/top.html
index 58944a5..5941d4f 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -28,7 +28,7 @@
{{ end }}
<tr>
<td><label for="comment">Comment:</label></td>
- <td><textarea rows="10" cols="50" id="comment" name="comment" maxlength="2000"></textarea></td>
+ <td><textarea rows="10" cols="50" id="comment" name="comment" maxlength="4500"></textarea></td>
</tr>
<tr>
<td><label for="file">Image</label></td>
@@ -86,7 +86,7 @@
{{ end }}
<tr>
<td><label for="comment">Comment:</label></td>
- <td><textarea rows="10" cols="50" id="comment" name="comment" maxlength="2000"></textarea></td>
+ <td><textarea rows="10" cols="50" id="comment" name="comment" maxlength="4500"></textarea></td>
</tr>
<tr>
<td><label for="file">Image</label></td>