diff options
Diffstat (limited to 'cgi/templates/txt_threadlist.html')
-rw-r--r-- | cgi/templates/txt_threadlist.html | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/cgi/templates/txt_threadlist.html b/cgi/templates/txt_threadlist.html index 0d68abb..74df30e 100644 --- a/cgi/templates/txt_threadlist.html +++ b/cgi/templates/txt_threadlist.html @@ -1,28 +1,38 @@ <?py include('templates/txt_base_top.html') ?> -<body class="threads" data-brd="#{board}"> +<body class="mainpage" data-brd="#{board}"> <div id="main_nav"><a href="/" target="_top">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div> <?py if banner_url: ?> <img class="banner" src="#{banner_url}" style="width:#{banner_width}px;height:#{banner_height}px;" /> <?py #endif ?> <div id="titlebox" class="outerbox"> - <div class="innerbox"><h1>#{board_long}</h1></div> + <div class="innerbox"> + <div class="threadnav"><a href="#menu" title="Ir a lista de hilos">■</a><a href="#1" title="Ir a primer hilo">▼</a></div> + <h1>#{board_long}</h1> + <?py if postarea_desc: ?> + <div id="rules">#{postarea_desc}</div> + <?py #endif ?> + <form method="get" action="/tools/search.py" id="search"><input type="text" name="q" value="" /><input type="hidden" name="board" value="#{board}" /><input type="submit" value="Buscar en mensajes activos" /><input type="submit" value="Buscar en archivo" formaction="/tools/search_kako.py" /></form> + </div> <div class="innerbox links"><b>¿Eres nuevo?</b> <a href="/guia.html"><b>Cómo postear</b></a> | <a href="/faq.html"><b>Preguntas frecuentes</b></a> | <a href="/bai/"><b>Contacto</b></a> <?py if not force_css: ?>| <b>Estilo: </b><select id="styles"> <?py for title in txt_styles: ?><option value="#{title}">#{title}</option><?py #endfor ?></select> <?py #endif ?> - </div> </div> +</div> +<?py if postarea_extra: ?> +<div class="outerbox"><div class="innerbox">#{postarea_extra}</div></div> +<?py #endif ?> <a name="menu"></a> <div id="threadbox" class="outerbox"><div class="innerbox"> <div id="threadlinks"><a href="#{boards_url}#{board}/"><b>Volver al BBS</b></a> <a href="/#{board}/kako/"><b>Ver hilos archivados</b></a> <a href="#newthread"><b>Crear nuevo hilo</b></a></div> - <div id="listmenu">Orden: <a class="l_s" href="#">Normal</a> <a class="l_s" href="#">Edad</a> <a class="l_s" href="#">Largo</a> <a class="l_s" href="#">Rapidez</a> <a class="l_s" href="#">Aleatorio</a> / Modo: <a class="l_d" href="#">Lista</a> <a class="l_d" href="#">Malla</a> / Buscar: <input id="l_sr" style="padding:0px;width:100px;" type="text"></div> + <div id="listmenu">Orden: <a class="l_s" href="#">Normal</a> <a class="l_s" href="#">Edad</a> <a class="l_s" href="#">Largo</a> <a class="l_s" href="#">Rapidez</a> <a class="l_s" href="#">Aleatorio</a> / Modo: <a class="l_d" href="#">Lista</a> <a class="l_d" href="#">Malla</a> / Filtrar: <input id="l_sr" style="padding:0px;width:100px;" type="text"></div> </div></div> <div id="content" class="list"> <div id="header" class="row"> <div>#</div> <div style="width:100%;">Asunto</div> - <div>Resp.</div> - <div class="hdate">Última respuesta</div> + <div>Posts</div> + <div class="hdate">Último</div> </div> <?py iter = 1 ?> <?py for thread in more_threads: ?> @@ -39,27 +49,28 @@ <div id="createbox" class="outerbox"> <div class="extrabox"></div> <div class="innerbox"> + <div class="threadnav"><a href="#menu" title="Lista de hilos">■</a></div> <h5>Formulario de nuevo hilo</h5> <form id="postform0" action="#{cgi_url}post" method="post" enctype="multipart/form-data"> <input type="hidden" name="board" value="#{board}" /><input type="hidden" name="password" value="" /> - <table style="max-width:600px;"> + <table style="max-width:600px"> <tr> - <td style="text-align:right;">Asunto:</td> - <td colspan="3" style="width:100%;"><input type="text" name="subject" size="50" maxlength="100" /></td> + <td class="pblock">Asunto:</td> + <td colspan="3" style="width:100%"><input type="text" name="subject" size="50" maxlength="100" /></td> <td><input type="submit" value="Crear nuevo hilo" /></td> </tr> <tr> - <td style="text-align:right;">Nombre:</td><td><input type="text" name="fielda" /></td> - <td style="text-align:right;">E-mail:</td><td><input type="text" name="fieldb" /></td> + <td class="pblock">Nombre:</td><td><input type="text" name="fielda" /></td> + <td class="pblock">E-mail:</td><td><input type="text" name="fieldb" /></td> <td><input type="button" name="preview" value="Previsualizar" /></td> </tr> - <tr id="options" style="display:none;"><td></td><td colspan="4"><div id="preview0" class="msg"></div></td></tr> - <tr><td style="text-align:right;">Mensaje:</td><td colspan="4"><textarea name="message" cols="70" rows="10"></textarea></td></tr> + <tr id="options" style="display:none"><td></td><td colspan="4"><div id="preview0" class="msg"></div></td></tr> + <tr><td class="pblock">Mensaje:</td><td colspan="4"><textarea name="message" cols="70" rows="10"></textarea></td></tr> <?py if allow_images: ?> - <tr><td style="text-align:right;">Archivo:</td><td colspan="4"><input type="file" name="file" /></td></tr> + <tr><td class="pblock">Archivo:</td><td colspan="4"><input type="file" name="file" /></td></tr> <?py #endif ?> </table> - <div style="display:none;">Trampa: <input type="text" name="name" maxlength="50" /> <input type="text" name="email" maxlength="50" /></div> + <div style="display:none">Trampa: <input type="text" name="name" maxlength="50" /> <input type="text" name="email" maxlength="50" /></div> </form> </div> </div> |