diff options
-rw-r--r-- | cgi/templates/base_top.html | 9 | ||||
-rw-r--r-- | cgi/templates/board.html | 9 | ||||
-rw-r--r-- | cgi/templates/board.jp.html | 9 | ||||
-rw-r--r-- | cgi/templates/navbar.html | 2 | ||||
-rw-r--r-- | static/css/ib.css | 35 | ||||
-rw-r--r-- | static/css/txt/bbs.css | 8 | ||||
-rw-r--r-- | static/img/drogas1.jpg | bin | 0 -> 31505 bytes | |||
-rw-r--r-- | static/js/weabot.js | 8 |
8 files changed, 47 insertions, 33 deletions
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html index a1f0431..d6a30e8 100644 --- a/cgi/templates/base_top.html +++ b/cgi/templates/base_top.html @@ -36,12 +36,7 @@ <script type="text/javascript" src="#{static_url}js/autorefresh.js"></script> </head> <body#{' class="res"' if replythread else ''} data-brd="#{board}"> - <div id="main_nav"><span>[<a href="/" target="_top">Bienvenido a Internet</a>] [<?py include('templates/navbar.html') ?>]</span> - <?py if not force_css: ?> - <span>[Estilo: <select id="styles"> - <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?> - </select>]</span> -<?py #endif ?></div> + <div id="main_nav"><span>[<a href="/" target="_top">Bienvenido a Internet</a>] [<?py include('templates/navbar.html') ?>]</span></div> <div class="logo"> <?py if board: ?> #{board_long} @@ -49,4 +44,4 @@ <img src="/static/img/default.png" width="500" height="81" /> <?py #endif ?> </div> - <hr width="90%" size="1" /> + <hr width="90%" size="1" />
\ No newline at end of file diff --git a/cgi/templates/board.html b/cgi/templates/board.html index ffd0ef8..74ed3ee 100644 --- a/cgi/templates/board.html +++ b/cgi/templates/board.html @@ -100,7 +100,7 @@ <?py #endif ?> <tr class="pass"> <td class="postblock">Clave</td> - <td><input type="password" name="password" size="8" accesskey="p" /> (para eliminar el post)</td> + <td><input type="password" name="password" size="8" accesskey="p" /> (para eliminar el post)</form></td> </tr> <tr> <td colspan="2" id="rules"> @@ -114,11 +114,16 @@ <li>Los hilos son automáticamente eliminados a los <b>#{maxage}</b> días de edad.</li> <?py #endif ?> <li>¿Eres nuevo? <a href="/guia.html">Leer antes de postear</a> · <a href="/faq.html">Preguntas frecuentes</a> · <a href="/bai/">Contacto</a></li> + <li id="search"><form method="get" action="/tools/search.py" style="display: inline-block;"><input type="hidden" name="board" value="${board}"><label for="searchin">Buscar: </label><input type="text" name="q" id="searchin" value="" size="10"> <input type="submit" value="Ir"></form> + <?py if not force_css: ?> + · <span>Estilo: <select id="styles"> + <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?> + </select></span> + <?py #endif ?></li> </ul> </td> </tr> </table> -</form> </div> <hr /> <?py if postarea_extra: ?> diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index d0c2dd0..044d9f6 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -100,7 +100,7 @@ <?py #endif ?> <tr class="pass"> <td class="postblock">削除キー</td> - <td><input type="password" name="password" size="8" accesskey="p" /> (削除用)</td> + <td><input type="password" name="password" size="8" accesskey="p" /> (削除用)</form></td> </tr> <tr> <td colspan="2" id="rules"> @@ -114,11 +114,16 @@ <li>スレは<b>#{maxage}</b>日間経つと自動的に消されられます.</li> <?py #endif ?> <li><a href="/guia.html">使い方</a> · <a href="/faq.html">よくある質問</a> · <a href="/bai/">管理人への連絡</a></li> + <li id="search"><form method="get" action="/tools/search.py" style="display: inline-block;"><input type="hidden" name="board" value="${board}"><label for="searchin">検索:</label><input type="text" name="q" id="searchin" value="" size="10"> <input type="submit" value="GO"></form> + <?py if not force_css: ?> + · <span>スタイル:<select id="styles"> + <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?> + </select></span> + <?py #endif ?></li> </ul> </td> </tr> </table> -</form> </div> <hr /> <?py if postarea_extra: ?> diff --git a/cgi/templates/navbar.html b/cgi/templates/navbar.html index ef0096e..077075d 100644 --- a/cgi/templates/navbar.html +++ b/cgi/templates/navbar.html @@ -14,4 +14,4 @@ <a href="/o/">Oekaki</a> <a href="/0/">Cero</a> | -<a href="/bai/">Meta</a> +<a href="/bai/">Meta</a>
\ No newline at end of file diff --git a/static/css/ib.css b/static/css/ib.css index 198683b..b5e3c97 100644 --- a/static/css/ib.css +++ b/static/css/ib.css @@ -45,9 +45,12 @@ select { background: #fff; border: 1px inset #ddd; color: #000; - font-size: 85%; padding: 0; } +select, +#search input { + font-size: 85%; +} .logo { font-size: 160%; font-weight: bold; @@ -56,9 +59,10 @@ select { } input[type="submit"], input[type="button"], -button { - padding: 2px 1em; - line-height: 1em; +button, +.oekform select { + padding: 0 1em; + height: 1.7em; } input[type="text"], input[type="password"], @@ -67,9 +71,12 @@ textarea { border: 1px inset gray; padding: 3px; } -.postform input { - max-width: 250px; - height: 1.7em; +#search input[type="text"] { + width: 80px; +} +#search input, +#search select { + height: 16px; } .postform input[name="subject"] { max-width: 300px; @@ -83,7 +90,6 @@ textarea { padding: 3px; } .oekform { - display: inline-block; margin-bottom: 0.5em; } #rules { @@ -174,7 +180,8 @@ textarea { display: table-cell; } .pg span input { - padding: 0.4em 1em; + height: initial; + padding: 0.4em 1.2em; } .replymode, .extramode { @@ -361,6 +368,9 @@ textarea { .reply.deleted { font-size: 12px; } + #search span { + display: list-item; + } .reply .info { padding-right: 0; } @@ -385,9 +395,16 @@ textarea { text-align: center; width: 100%; } + #oek_size, .pg span, .pg input { display: block; width: 100%; } + #search input { + width: initial !important; + } + #search span { + display: inline-block; + } }
\ No newline at end of file diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css index 39f093a..e8857d9 100644 --- a/static/css/txt/bbs.css +++ b/static/css/txt/bbs.css @@ -371,12 +371,12 @@ form .msg { .thread .threadnav a { border: 1px solid; border-radius: 20px; - margin: 0 4px 4px; - padding: 2px; + margin: 0px 3px 3px; + padding: 0; text-decoration: none; display: inline-block; - width: 25px; - height: 25px; + width: 21px; + height: 21px; } #threadlist a { font-size: 10px; diff --git a/static/img/drogas1.jpg b/static/img/drogas1.jpg Binary files differnew file mode 100644 index 0000000..342b564 --- /dev/null +++ b/static/img/drogas1.jpg diff --git a/static/js/weabot.js b/static/js/weabot.js index 1bab0f6..28e31cb 100644 --- a/static/js/weabot.js +++ b/static/js/weabot.js @@ -294,14 +294,6 @@ document.addEventListener("DOMContentLoaded", function(e) { sel.options.add(c); } - var styles = document.getElementById("styles"); - if (styles) { - var li = document.createElement("li"); - li.appendChild(document.createTextNode("Estilo: ")); - li.appendChild(styles); - document.getElementById("rules").childNodes[1].appendChild(li); - } - head.textContent = "" var home = document.createElement("a"); home.text = "Bienvenido a Internet"; |