5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:31:41 +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>
<html>
<head>
<title>We're sorry, but something went wrong (500)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
font-family: arial, sans-serif;
margin: 0;
}
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<title>Sutty</title>
<link rel="stylesheet" media="all" href="https://getbootstrap.com/docs/4.1/dist/css/bootstrap.min.css" />
</head>
<body class=''>
<div class='container-fluid'>
<div class='row'>
<div class='col'>
<h1>¡Hola!</h1>
.rails-default-error-page div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
<p>Estás viendo este mensaje porque hubo un error por lo que
el programa no pudo continuar.</p>
.rails-default-error-page div.dialog > div {
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);
}
<p>Ya hemos recibido una notificación con los detalles.</p>
.rails-default-error-page h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
<p>¿Podrías tomarte unos segundos para ayudarnos, explicando
lo mejor que puedas lo qué estabas haciendo cuando sucedió el
error? :)</p>
.rails-default-error-page div.dialog > p {
margin: 0 0 1em;
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>
<form class="form" action="https://hifas.kefir.red/send" accept-charset="UTF-8" method="post">
<input type="hidden" name="site" value="sutty.kefir.red" />
<body class="rails-default-error-page">
<!-- This file lives in public/500.html -->
<div class="dialog">
<div>
<h1>We're sorry, but something went wrong.</h1>
<div class='form-group'>
<label for="from">Tu dirección de correo</label>
<input class="form-control" type="email" name="from" required="required" />
<small class='text-muted form-text'>Para que te contactemos :)</small>
<div class='invalid-feedback'>¡Este campo es obligatorio!</div>
</div>
<p>If you are the application owner check the logs for more information.</p>
<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>
</body>
<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>
</body>
</html>