2
board/static/board/jquery-3.6.0.min.js
vendored
Normal file
2
board/static/board/jquery-3.6.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
board/static/board/jquery.js
vendored
Symbolic link
1
board/static/board/jquery.js
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
jquery-3.6.0.min.js
|
||||
9
board/static/board/post.js
Normal file
9
board/static/board/post.js
Normal 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);
|
||||
84
board/static/board/style.css
Normal file
84
board/static/board/style.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user