diff options
author | Jay | 2019-04-11 02:15:26 -0400 |
---|---|---|
committer | Jay | 2019-04-11 02:28:34 -0400 |
commit | 7c83a7e4807b387894abdb4b6edaa92479cc9281 (patch) | |
tree | a0a519755755ecb254db25ad9757df4ab80f0f74 /cgi/templates | |
parent | ff5c78c312ac1f043835415bca210a072e8551d6 (diff) | |
download | weabot-7c83a7e4807b387894abdb4b6edaa92479cc9281.tar.gz weabot-7c83a7e4807b387894abdb4b6edaa92479cc9281.tar.xz weabot-7c83a7e4807b387894abdb4b6edaa92479cc9281.zip |
IB: Moviendo tamaños legibles a shobon y subiendo menú de estilos
De paso no hay que agregar el mismo menú a cada plantilla que el IB tiene.
Diffstat (limited to 'cgi/templates')
-rw-r--r-- | cgi/templates/base_top.html | 11 | ||||
-rw-r--r-- | cgi/templates/board.html | 6 | ||||
-rw-r--r-- | cgi/templates/board.jp.html | 6 |
3 files changed, 8 insertions, 15 deletions
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html index 6c51bef..424c309 100644 --- a/cgi/templates/base_top.html +++ b/cgi/templates/base_top.html @@ -35,12 +35,17 @@ <?py if board == "2d": ?> <link rel="stylesheet" href="#{static_url}css/txt/sjis.css" /> <?py #endif ?> - <script type="text/javascript" src="#{static_url}js/weabot.js?v=5"></script> + <script type="text/javascript" src="#{static_url}js/weabot.js"></script> <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script> - <script type="text/javascript" src="#{static_url}js/autorefresh.js?v=3"></script> + <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">[<a href="/" target="_top">Bienvenido a Internet</a>] [<?py include('templates/navbar.html') ?>]</div> + <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 class="logo"> <?py if board: ?> #{board_long} diff --git a/cgi/templates/board.html b/cgi/templates/board.html index 0583230..4b94e87 100644 --- a/cgi/templates/board.html +++ b/cgi/templates/board.html @@ -261,10 +261,4 @@ <?py if pagenav: ?> <div class="pg">#{pagenav}</div> <?py #endif ?> -<?py if not force_css: ?> - <div class="selector"><b>Estilo:</b><select id="styles"> - <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?> - </select> - </div> -<?py #endif ?> <?py include('templates/base_bottom.html') ?>
\ No newline at end of file diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index 12772e8..a595780 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -268,10 +268,4 @@ <?py if pagenav: ?> <div class="pg">#{pagenav}</div> <?py #endif ?> -<?py if not force_css: ?> - <div class="selector"><b>外観:</b><select id="styles"> - <?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?> - </select> - </div> -<?py #endif ?> <?py include('templates/base_bottom.html') ?>
\ No newline at end of file |