From bbc3b76803922d611f23e468faf19f24cd1ef996 Mon Sep 17 00:00:00 2001
From: Renard
Date: Fri, 29 Mar 2019 20:53:44 -0300
Subject: Nueva plantilla de acceso prohibido

---
 cgi/templates/banned.html | 108 ++++++++++++++++++++++++++++++++++------------
 1 file changed, 80 insertions(+), 28 deletions(-)

diff --git a/cgi/templates/banned.html b/cgi/templates/banned.html
index 23b6636..72f2abe 100644
--- a/cgi/templates/banned.html
+++ b/cgi/templates/banned.html
@@ -1,34 +1,86 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
+
 <head>
-<title>Acceso prohibido@B.a.I.</title>
-<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<style type="text/css">
-html { text-align:center; }
-body { background:#fe7777;color:#6a0000;display:inline-block;font-size:13pt;max-width:1000px;text-align:left; }
-h1 { color:red;margin:0; }
-h2 { margin:0.5em 0; }
-</style>
+  <title>Acceso prohibido@B.a.I.</title>
+  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
+  <style type="text/css">
+    body {
+      background: #1D1F21;
+
+    }
+
+    .box {
+      display: block;
+      width: 50%;
+      max-width: 800px;
+      background: #A54242;
+      color: #C5C8C6;
+      margin: 15% auto;
+      padding: 1em;
+      box-shadow: 5px 10px #732e2e;
+      border: double #CCC;
+    }
+
+    a,
+    a:visited {
+      color: #5F819D;
+    }
+
+    a:hover {
+      color: #81A2BE;
+    }
+
+    .title {
+      color: white;
+      margin-bottom: 1em;
+      text-align: center;
+      font-family: monospace;
+      font-size: 23px;
+      font-style: normal;
+      font-variant: normal;
+      font-weight: 700;
+      line-height: 23px;
+    }
+
+    .description {
+      font-family: monospace;
+      font-size: 14px;
+      font-style: normal;
+      font-variant: normal;
+      font-weight: 400;
+      line-height: 23px;
+    }
+  </style>
 </head>
+
 <body>
-<h1>Mensaje de Bienvenido a Internet BBS/IB</h1>
-<h2>Se te ha prohibido el acceso :-(</h2>
-<p>¡Tu IP (o rango) ha sido bloqueado!</p>
-<?py if reason != "": ?>
-  <p>La razón dejada fue: <b>#{reason}</b> y tu ban fue puesto el <b>#{added}</b> para las siguientes secciones: <b>#{boards_str}</b></p>
-<?py else: ?>
-  <p>No sabemos qué es lo que pudo causar tu ban, ¿qué hiciste?</p>
-  <p>Tu ban fue puesto el <b>#{added}</b> para las siguientes secciones: <b>#{boards_str}</b></p>
-<?py #endif ?>
-<?py if expire != "": ?>
-  <p>Pero no te preocupes, se te concederá nuevamente el acceso en la siguiente fecha y hora: <b>#{expire}</b>.</p>
-<?py #endif ?>
-<p>Si tu expulsión fue puesta incorrectamente no dudes en <a href="mailto:burocracia@bienvenidoainternet.org">contactarnos</a> dando tu IP, razón y explicación de los hechos.</p>
-<p>¡Gracias por usar Bienvenido a Internet BBS/IB!</p>
-<hr />
-<p><small><i>En muchos casos a pesar de que hayas sido expulsado del sitio se concede el acceso a las secciones <a href="/bai/">Meta</a> y Anarkía. Bajo cualquier consulta o reclamo <a href="mailto:burocracia@bienvenidoainternet.org">contáctanos</a>.</i></small></p>
-<hr />
-<div style="text-align:right;">Bienvenido a Internet 2010-2018</div>
+  <div class="box">
+    <div class="title">ERROR: Se te ha prohibido el acceso</div>
+    <div class="description">Lo sentimos, tu IP (#{ip}) o red están en lista negra.
+      <ul>
+        <?py if reason != "": ?>
+        <li>La razón fue:
+          <b>#{reason}</b>
+        </li>
+        <?py #endif ?>
+        <li>Tu ban fue puesto el
+          <b>#{added}</b> para las siguientes secciones: <b>#{boards_str}.</b></li>
+        <?py if expire != "": ?>
+        <li>Se te concederá nuevamente el acceso en la siguiente fecha y hora:
+          <b>#{expire}</b>.</li>
+        <?py #endif ?>
+      </ul>
+      <hr />
+      <p>Si tu expulsión fue puesta incorrectamente no dudes en <a
+          href="mailto:burocracia@bienvenidoainternet.org">contáctanos</a> dando tu IP, razón y explicación de los
+        hechos.
+      </p>
+      <p style="font-size: small;">P.S: En muchos casos a pesar de que hayas sido expulsado del sitio se concede el acceso a la sección <a href="/bai/">Meta</a></p>
+      <p style="text-align: center;">¡Gracias por usar Bienvenido a Internet BBS/IB!</p>
+    </div>
+  </div>
 </body>
+
 </html>
\ No newline at end of file
-- 
cgit v1.2.1-18-gbd029