Initial commit

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-05-03 18:02:04 -07:00
commit 126db039e2
27 changed files with 1033 additions and 0 deletions

File diff suppressed because one or more lines are too long

1
board/static/board/jquery.js vendored Symbolic link
View File

@@ -0,0 +1 @@
jquery-3.6.0.min.js

View File

@@ -0,0 +1,9 @@
function doQuote(sender) {
let id_text = $("#id_text");
let caret = id_text[0].selectionStart;
let text = id_text.val();
let to_add = ">>" + sender.target.innerText + "\n";
id_text.val(text.substring(0, caret) + to_add + text.substring(caret));
}
$(document).on("click", ".post_id", doQuote);

View File

@@ -0,0 +1,84 @@
hr {
color: #ededed;
}
.column {
float: left;
width: 33.33%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Posts */
/*.post_body { }*/
.post_id {
cursor: pointer;
}
.post_id:hover {
color: #888;
}
.post_subject {
font-weight: bold;
}
.post_name {
font-weight: bold;
}
.post {
background-color: #d9d9d9;
padding: 10px;
}
.reply {
background-color: #eee;
padding: 10px;
margin: 5px 0 0 0;
}
.replies_elided {
font-weight: italic;
font-size: small;
}
.quote {
color: #595;
}
.post_link {
text-decoration: underline;
}
.post_link_broken {
text-decoration: line-through;
}
/* Misc */
a:link {
color:#555;
text-decoration: none;
}
a:visited {
color: #555;
text-decoration: none;
}
a:hover {
color: #888;
text-decoration: none;
}
a:active {
color: #888;
text-decoration: none;
}