aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jay 2019-04-06 21:09:10 -0300
committerLibravatar Jay 2019-04-06 21:28:43 -0300
commit905d58aa50ae33d76a7eaf8624a5e29d25d6d382 (patch)
tree02ee5f29d84739a08d2b5d171d4796c3a8bfd984
parentd8c40623892877cbae0ecda219ef470c139828da (diff)
downloadweabot-905d58aa50ae33d76a7eaf8624a5e29d25d6d382.tar.gz
weabot-905d58aa50ae33d76a7eaf8624a5e29d25d6d382.tar.xz
weabot-905d58aa50ae33d76a7eaf8624a5e29d25d6d382.zip
Nuevo estilo en BBS: Gamer
-rw-r--r--cgi/templates/txt_thread.en.html2
-rw-r--r--cgi/templates/txt_thread.html2
-rw-r--r--static/css/img/0pc.pngbin276 -> 0 bytes
-rw-r--r--static/css/img/g_b.gifbin0 -> 1271 bytes
-rw-r--r--static/css/img/g_b2.gifbin0 -> 250 bytes
-rw-r--r--static/css/img/g_b3.gifbin0 -> 185 bytes
-rw-r--r--static/css/img/g_bg.pngbin0 -> 15537 bytes
-rw-r--r--static/css/img/g_bg3.pngbin0 -> 4274 bytes
-rw-r--r--static/css/img/g_h.pngbin0 -> 231 bytes
-rw-r--r--static/css/img/g_p.gifbin0 -> 5912 bytes
-rw-r--r--static/css/img/scroller1.gifbin3456 -> 0 bytes
-rw-r--r--static/css/txt/bbs.css9
-rw-r--r--static/css/txt/gamer.css50
-rw-r--r--static/css/txt/material.css2
-rw-r--r--static/js/weabot.js3
15 files changed, 63 insertions, 5 deletions
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html
index 53a2e5a..03b9a6a 100644
--- a/cgi/templates/txt_thread.en.html
+++ b/cgi/templates/txt_thread.en.html
@@ -95,6 +95,8 @@
<?py if allow_image_replies: ?>
<input type="file" name="file" />
<?py #endif ?>
+ <?py else: ?>
+ <div class="locked">This thread has been closed. You cannot post in it any longer.</div>
<?py #endif ?>
</form>
<?py #endfor ?>
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html
index fd2fa2e..1c8835d 100644
--- a/cgi/templates/txt_thread.html
+++ b/cgi/templates/txt_thread.html
@@ -91,6 +91,8 @@
<?py if allow_image_replies: ?>
<input type="file" name="file" />
<?py #endif ?>
+ <?py else: ?>
+ <div class="locked">El hilo ha sido cerrado. Ya no se puede postear en él.</div>
<?py #endif ?>
</form>
<?py #endfor ?>
diff --git a/static/css/img/0pc.png b/static/css/img/0pc.png
deleted file mode 100644
index f894f66..0000000
--- a/static/css/img/0pc.png
+++ /dev/null
Binary files differ
diff --git a/static/css/img/g_b.gif b/static/css/img/g_b.gif
new file mode 100644
index 0000000..783c494
--- /dev/null
+++ b/static/css/img/g_b.gif
Binary files differ
diff --git a/static/css/img/g_b2.gif b/static/css/img/g_b2.gif
new file mode 100644
index 0000000..eacc83d
--- /dev/null
+++ b/static/css/img/g_b2.gif
Binary files differ
diff --git a/static/css/img/g_b3.gif b/static/css/img/g_b3.gif
new file mode 100644
index 0000000..ae4319e
--- /dev/null
+++ b/static/css/img/g_b3.gif
Binary files differ
diff --git a/static/css/img/g_bg.png b/static/css/img/g_bg.png
new file mode 100644
index 0000000..332d7c8
--- /dev/null
+++ b/static/css/img/g_bg.png
Binary files differ
diff --git a/static/css/img/g_bg3.png b/static/css/img/g_bg3.png
new file mode 100644
index 0000000..5ac0e76
--- /dev/null
+++ b/static/css/img/g_bg3.png
Binary files differ
diff --git a/static/css/img/g_h.png b/static/css/img/g_h.png
new file mode 100644
index 0000000..445ff69
--- /dev/null
+++ b/static/css/img/g_h.png
Binary files differ
diff --git a/static/css/img/g_p.gif b/static/css/img/g_p.gif
new file mode 100644
index 0000000..9180f75
--- /dev/null
+++ b/static/css/img/g_p.gif
Binary files differ
diff --git a/static/css/img/scroller1.gif b/static/css/img/scroller1.gif
deleted file mode 100644
index 633d7c1..0000000
--- a/static/css/img/scroller1.gif
+++ /dev/null
Binary files differ
diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css
index 26b4d0a..026547a 100644
--- a/static/css/txt/bbs.css
+++ b/static/css/txt/bbs.css
@@ -2,11 +2,12 @@
body,textarea{font-family:arial,helvetica,sans-serif;font-size:16px}
body.mainpage,body.threads{margin:0}
body.threadpage{margin:8px}
-h1,h5{font-size:18px;margin:0}
+h1,h5{font-size:20px;margin:0}
h2{font-size:16px;margin:0 0 7px}
h2 span{margin-right:2px}
h2 a{font-size:24px;text-decoration:none}
-h3{font-size:19px;font-weight:normal;margin:8px 0}
+h3{font-size:20px;margin:8px 0}
+h3 span{display:inline-block;font-weight:normal}
h4{clear:both;font-weight:normal;margin:0}
h5{margin-bottom:8px}
input[type="text"],textarea,select{background:#FFF;border:1px inset #DDD;color:#000;padding:1px}
@@ -17,7 +18,7 @@ input[type=submit]:active,input[type=button]:active,button:active{border-style:i
.spoil{background:#000;color:#000}.spoil:hover{color:#fff}
code{font-size:14px}
pre{line-height:125%;margin:0;white-space:pre-wrap}
-#main_nav .cur_brd,#cur_stl,.locked,.sel{font-weight:bold}
+.cur_brd,.locked,.sel{font-weight:bold}
#main_nav{font-size:14px;padding:4px 0;text-align:center;width:100%}
#main_nav a,#thread_nav a,#threadlinks a,.threadlinks a,label{display:inline-block}
.outerbox,.mainpage .thread,#footer,#content{margin:0 2.5% 1em}
@@ -77,7 +78,7 @@ form .msg{margin:0;padding:8px 2px;text-align:left}
br{line-height:.5em}
.banner{width:100%!important;height:auto!important;margin-top:1em}
.outerbox,.mainpage .thread,#footer,#content{margin:1em 0}
- h2 a{font-size:19px}
+ h1,h2 a,h3,h5{font-size:18px}
h4,h2 span,#rules{font-size:12px}
.pblock,#footer,.end{font-size:14px}
#threadlist{overflow-x:auto;white-space:nowrap}
diff --git a/static/css/txt/gamer.css b/static/css/txt/gamer.css
new file mode 100644
index 0000000..c3f8743
--- /dev/null
+++ b/static/css/txt/gamer.css
@@ -0,0 +1,50 @@
+body{color:#FFF}
+body{background:#000 url('../img/g_bg.png') fixed}
+a,.name,a .name{color:#AFA}
+a:active,a:active .name{color:#FFF}
+h1,h2,h3,h5,#content.list #header div{background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAIAAADZrBkAAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6AAAdTAAAOpgAAA6lwAAF2+XqZnUAAAAcklEQVR4nGIU5PBmwAG4GDlwSQEEEBMuCfwAIIDI1AYQQGRqAwggMrUBBBCZ2gACiExtAAFEpjaAACJTG0AAseCJ02//f+CSAgggMm0DCCAytQEEEJnaAAKITG0AAUSmNoAAIlMbQACRqQ0ggMjUBhBgAI7NA51r0FSIAAAAAElFTkSuQmCC');color:#FFF;text-shadow:1px 1px #002}
+h1,h2,h3,h5{font-size:18px;margin:-7px -7px 8px;padding:8px}
+h2 a{color:#FFF;font-size:18px}
+h3 span{font-weight:bold;margin-left:4px}
+hr{display:none}
+#main_nav{background:url('../img/g_b2.gif') bottom repeat-x}
+#main_nav a{color:#FFF;text-decoration:none}#main_nav a:active{color:#E0E0FF}
+#thread_nav{margin:6px 0}
+.cur_brd{background:url('../img/g_b3.gif') bottom repeat-x;margin-bottom:-4px;padding-bottom:4px}
+#thread_nav a,.lastposts a,#n2{color:#66B}#thread_nav a:active,.lastposts a:active,#n2:active{color:#AFA}
+.links,#threadlinks,.threadlinks{background:url('../img/g_bg3.png') top center;color:#FF0}
+h4 a,.threadnav a,.links a,#footer a{text-decoration:none}
+#threadlinks a,.threadlinks a{color:#FFF}#threadlinks a:active,.threadlinks a:active{color:#404040}
+#threadlinks{margin:-7px -7px 7px;padding:7px}
+.mainpage .threadlinks{margin:1em -7px -7px;padding:.5em 7px}
+.threadpage .threadlinks{margin:-7px -7px .5em;padding:.5em}
+#threadlist{border-top:1px solid #111;border-left:1px solid #111}
+#threadlist a{border-right:1px solid #111;border-bottom:1px solid #111}
+.innerbox{margin:0}
+.outerbox,.thread,.threadpage .postform,#content{background:#050505 url('../img/g_p.gif');border:6px solid transparent;-moz-border-image:url('../img/g_b.gif') 6 6 round round;-webkit-border-image:url('../img/g_b.gif') 6 6 round round;-o-border-image:url('../img/g_b.gif') 6 6 round round;border-image:url('../img/g_b.gif') 6 6 round round}
+.threadpage .thread,.threadpage .postform{margin-bottom:.5em;padding:7px}
+.reply{border-top:1px solid #111;padding-top:.5em}
+.name em{color:#FF0}
+h4 .date,.del a,.abbrev{color:#AAA}
+.q{color:#666}
+.yt{background:#000;border:1px solid #111}
+.deleted{color:#AFAFAF;margin-bottom:24px}
+.mainpage .postform{border-top:1px solid #111;padding:1em 0 0}
+.formpad{padding-left:0}
+form .msg{border:1px dotted #111}
+#q-p{background:#EFEFEF;border:1px solid #999}
+#q-p .reply{margin-bottom:8px}
+#size{color:#FF0;margin:0}
+.lastposts{color:#66B;padding-bottom:.5em}
+.del a,#footer a:active{text-decoration:underline}
+#content .thread{border:0}
+#content a:hover{color:#FFF}
+#content.list .pos,#content.list .com{color:#AAA}
+#content.list .row div,#content.grid .row{border-width:0 1px 1px 0;border-style:solid;border-color:#111}
+#content.grid .row{border:1px solid #111;margin:1px}
+@media(max-width:720px){
+ body.threadpage{margin:2px}
+ #threadlinks,.threadlinks{padding:4px}
+ .mainpage .threadlinks{margin-top:.5em}
+ .mainpage .postform{padding:.5em 0 0}
+} \ No newline at end of file
diff --git a/static/css/txt/material.css b/static/css/txt/material.css
index dac8d7c..bf8421c 100644
--- a/static/css/txt/material.css
+++ b/static/css/txt/material.css
@@ -9,7 +9,7 @@ h2{margin-bottom:.5em}
h2 span{color:#CCC}
h2 a{color:#616161}
h3{border-bottom:1px solid #CCC;color:#4b01d1;font-weight:bold;margin:0 0 8px;padding-bottom:8px;text-align:center}
-h3 span{display:block;font-size:smaller;font-weight:normal;opacity:.7}
+h3 span{display:block;font-size:smaller;opacity:.7}
h4{color:#AAA;font-size:12px}
hr,#size,.banner,.threadpage .postform br{display:none}
#main_nav{background:#4b01d1;font-size:1px;font-size:0;position:relative;z-index:9}
diff --git a/static/js/weabot.js b/static/js/weabot.js
index a79834d..5a92836 100644
--- a/static/js/weabot.js
+++ b/static/js/weabot.js
@@ -377,6 +377,9 @@ document.addEventListener("DOMContentLoaded", function(e) {
if (types.includes("JPG")) types.push("JPEG");
postform.file.addEventListener("change", filePreview);
}
+
+ var del = document.getElementById("delform");
+ if (del) del.password.value = weabot.password;
window.addEventListener("hashchange", checkhighlight);