5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 06:51:42 +00:00

error 500 participativo

This commit is contained in:
f 2018-07-02 15:32:52 -03:00
parent 60d504247e
commit c791620f3c
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -1,66 +1,56 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>We're sorry, but something went wrong (500)</title> <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sutty</title>
<style> <link rel="stylesheet" media="all" href="https://getbootstrap.com/docs/4.1/dist/css/bootstrap.min.css" />
.rails-default-error-page { </head>
background-color: #EFEFEF; <body class=''>
color: #2E2F30; <div class='container-fluid'>
text-align: center; <div class='row'>
font-family: arial, sans-serif; <div class='col'>
margin: 0; <h1>¡Hola!</h1>
}
.rails-default-error-page div.dialog { <p>Estás viendo este mensaje porque hubo un error por lo que
width: 95%; el programa no pudo continuar.</p>
max-width: 33em;
margin: 4em auto 0;
}
.rails-default-error-page div.dialog > div { <p>Ya hemos recibido una notificación con los detalles.</p>
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #B00100 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
.rails-default-error-page h1 { <p>¿Podrías tomarte unos segundos para ayudarnos, explicando
font-size: 100%; lo mejor que puedas lo qué estabas haciendo cuando sucedió el
color: #730E15; error? :)</p>
line-height: 1.5em;
}
.rails-default-error-page div.dialog > p { <form class="form" action="https://hifas.kefir.red/send" accept-charset="UTF-8" method="post">
margin: 0 0 1em; <input type="hidden" name="site" value="sutty.kefir.red" />
padding: 1em;
background-color: #F7F7F7;
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #999;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top-color: #DADADA;
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
</style>
</head>
<body class="rails-default-error-page"> <div class='form-group'>
<!-- This file lives in public/500.html --> <label for="from">Tu dirección de correo</label>
<div class="dialog"> <input class="form-control" type="email" name="from" required="required" />
<div> <small class='text-muted form-text'>Para que te contactemos :)</small>
<h1>We're sorry, but something went wrong.</h1> <div class='invalid-feedback'>¡Este campo es obligatorio!</div>
</div>
<div class='form-group'>
<label for="body">Por favor, describe lo que estabas
haciendo cuando sucedió el error</label>
<textarea class="form-control ltr" required="required"
name="body"></textarea>
<div class='invalid-feedback'>¡Este campo es obligatorio!</div>
</div>
<div class='form-group'>
<input type="submit" class="btn btn-success" value="¡Enviar!"/>
</div>
</form>
</div>
</div>
<footer class='footer'>
<p style=''>
<a href='https://0xacab.org/itacate-kefir/sutty'>Sutty</a>
es desarrollada por
<a href='https://kefir.red'>Kéfir</a>
</p>
</footer>
</div> </div>
<p>If you are the application owner check the logs for more information.</p> </body>
</div>
</body>
</html> </html>