aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/txt_threadlist.html
blob: 1504177f8ea87ed1a3799d0c03f83ba7eb98d14a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                           
                                                                                                                  
                      
                                                                                           

                                    
                        
                                                                                        





                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                

                          
                                                                           
              


                                                                                                                                                                                                  
                                                                                                                                                                                                                 
            



















                                                                                                                                                
      




                                     
                                                                                   


                                                                                                           
                                     
            

                                                                                                                


                                                                   



                                                      

                                                                               







                                                                                                          
                                



                                                                

                      
                                                                                                                   


           




                                                                                                                                    
       
       
<?py include('templates/txt_base_top.html') ?>
<body class="mainpage" data-brd="#{board}">
<div id="main_nav"><a href="/home.html">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div>
<?py if banner_url: ?>
  <img id="banner" src="#{banner_url}" width="#{banner_width}" height="#{banner_height}" />
<?py #endif ?>
<div id="titlebox" class="outerbox">
  <div class="innerbox">
    <div class="threadnav"><a href="#menu" title="Ir a lista de hilos">&#9632;</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" id="bailinks"><b>¿Eres nuevo?</b> <a href="/guia.html" target="_blank"><b>C&oacute;mo postear</b></a> | <a href="/faq.html" target="_blank"><b>Preguntas frecuentes</b></a> | <a href="/bai/" target="_blank"><b>Contacto</b></a></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></div>
</div></div>
<div class="thread">
<div class="innerbox">
<table id="threads" summary="Lista de hilos">
  <tr>
    <th>#</th>
    <th style="width:100%;">Asunto</th>
    <th>Posts</th>
    <th class="hh">Último</th>
  </tr>
  <?py iter = 1 ?>
  <?py for thread in more_threads: ?>
  <tr>
    <td>#{iter}:</td>
    <td><a href="#{boards_url}#{board}/read/#{thread['timestamp']}/${'l50' if int(thread['length']) > 50 else ''}">#{thread["subject"]}</a></td>
    <td>#{thread["length"]}</td>
    <td class="hh">#{timestamps[iter-1][1]}</td>
  </tr>
  <?py iter += 1 ?>
  <?py #endfor ?>
</table>
</div>
</div>
<a name="newthread"></a>
<div id="createbox" class="outerbox">
  <div class="extrabox"></div>
  <div class="innerbox">
    <div class="threadnav"><a href="#menu" title="Lista de hilos">&#9632;</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:700px">
        <tr>
          <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 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="tr_preview" 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="90" rows="12" data-h-limit="512"></textarea></td>
        </tr>
        <?py if allow_images: ?>
        <tr>
          <td class="pblock">Archivo:</td>
          <td colspan="4"><input type="file" name="file" /></td>
        </tr>
        <?py #endif ?>
      </table>
      <div style="display:none">No tocar: <input type="text" name="name" /><input type="text" name="email" /></div>
    </form>
  </div>
</div>
<center id="footer">
  <a href="/" target="_top">Bienvenido a Internet BBS/IB</a> weabot.py3 <?py include('templates/revision.html') ?> + bjoern + tenjin
  <br />
  No se ponga sensible, baisano...
</center>
</body>
</html>