aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/txt_archive.html
blob: 4d2e26d808bc78313cc20fd7969cc1f763e9a696 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                












                                                                                              
                                                  
                                                          

                                                                            
             
                                                                             
              






                                                                               
                                                           


                                                                                
                                                                                     
                
                                   
                                                                                   


                                           


                                                                             

                                                                                                                                    
                       
                                      
                                       
                                                                                                                     
                                         
                                                                                                                   
                 
                                                                                      


                                      
                                                                                                                                                       
                       
                                                                                                         


                                      
                                                                                                   
                       
                                                     
                        





                                                                  



                                                 
        
                              
                                          

                


                                                                             



                                                                                
                                                                                               

                       
                                                                                              

                                   
                                                                                    







                                                                                                            
       
<!DOCTYPE html>
<html lang="es">
<head>
  <title>#{threads[0]['subject']} - Archivo de #{board_name}@Bienvenido a Internet BBS</title>
  <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
<?py if threads: ?>
  <meta property="og:site_name" content="Bienvenido a Internet BBS" />
  <meta property="twitter:site" content="Bienvenido a Internet BBS" />
  <meta name="description" content="${preview}" />
  <meta property="og:title" content="${threads[0]['subject']} - ${board_name}" />
  <meta property="og:description" content="${preview}" />
  <meta property="twitter:title" content="${threads[0]['subject']} - ${board_name}" />
  <meta name="twitter:description" content="${preview}" />
<?py #endif ?>
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="stylesheet" href="/static/css/txt/bbs.css" />
<?py if board == 'zonavip' and threads[0]['timestamp'] < 1377934149: ?>
  <link rel="stylesheet" id="css" href="#{static_url}css/txt/baisano.css" />
<?py else: ?>
  <link rel="stylesheet" id="css" href="#{static_url}css/txt/futanari.css" />
<?py #endif ?>
  <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script>
  <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
</head>
<body class="threadpage archived" data-brd="#{board}">
<?py if threads: ?>
<?py for thread in threads: ?>
<div id="thread_nav">
  <a href="/home.html" name="top">Bienvenido a Internet</a>
  <a href="#{boards_url}#{board}/">■Volver al BBS■</a>
  <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Hilo completo</a>
  <?py if thread['length'] > 100: ?>
    <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100">Primeros 100</a>
  <?py #endif ?>
  <?py if thread['length'] > 51: ?>
    <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Últimos 50</a>
  <?py #endif ?>
  <a href="#bottom">&#9660;Bajar&#9660;</a>
</div>
<hr />
<div class="stop red">■ Este hilo se encuentra guardado en el archivo</div>
<hr />
<div class="thread" data-length="#{thread['length']}">
  <h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length'] > 1 else "Una respuesta"})</span></h3>
  <div class="replies">
  <?py for post in thread['posts']: ?>
    <?py if post['IS_DELETED'] == 1: ?>
    <div class="reply deleted" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por usuario.</h4></div>
    <?py elif post['IS_DELETED'] == 2: ?>
    <div class="reply deleted" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por staff.</h4></div>
    <?py else: ?>
    <div class="reply#{' first' if post['num'] == 1 else ''}" data-n="#{post['num']}">
        <h4>#{post['num']} :
        <?py if post['email']: ?>
          <?py if post['tripcode']: ?>
            <a class="email" href="mailto:#{post['email']}"><span class="name">#{post['name']}</span> <span class="trip">#{post['tripcode']}</span></a>
          <?py else: ?>
            <a class="email" href="mailto:#{post['email']}"><span class="name">#{post['name']}</span></a>
          <?py #endif ?>
        <?py else: ?>
          <?py if post['tripcode']: ?>
            <span class="name">#{post['name']}</span> <span class="trip">#{post['tripcode']}</span>
          <?py else: ?>
            <span class="name">#{post['name']}</span>
          <?py #endif ?>
        <?py #endif ?>
        : <span class="date">#{post['timestamp_formatted']}</span>
        <?py if post['posterid']: ?>
          <span class="hash">ID:#{post['posterid']}</span>
        <?py #endif ?>
        </h4>
        <div class="msg">#{post['message']}</div>
      </div>
    <?py #endif ?>
  <?py #endfor ?>
  </div>
  <?py if 'size' in thread: ?>
    <div id="size">#{thread['size']}</div>
  <?py #endif ?>
</div>
<hr />
<div class="stop red">■ Este hilo se encuentra guardado en el archivo</div>
<hr />
<form class="threadlinks">
  <a href="#{boards_url}#{board}/">■Volver al BBS■</a>
  <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Hilo completo</a>
  <?py if prevrange: ?>
    <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}">Anteriores 100</a>
  <?py #endif ?>
  <?py if nextrange: ?>
    <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}">Próximos 100</a>
  <?py #endif ?>
  <?py if thread['length'] > 51: ?>
     <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Últimos 50</a>
  <?py #endif ?>
  <a href="#top">&#9650;Subir&#9650;</a>
</form>
<?py #endfor ?>
<?py #endif ?>
<div class="end">weabot.py ver <?py include('templates/revision.html') ?> Bienvenido a Internet BBS/IB</div>
<a name="bottom"></a>
</body>
</html>