Commit de305e07 by Joel Florentin

pagina de error por defecto, ahora es uno personalizado

parent a9d830fa
...@@ -16,7 +16,7 @@ spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true ...@@ -16,7 +16,7 @@ spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
#server.port=8888 #server.port=8888
spring.mvc.view.prefix=/jsp/ spring.mvc.view.prefix=/jsp/
spring.mvc.view.suffix=.jsp spring.mvc.view.suffix=.jsp
server.error.whitelabel.enabled=false
spring.mail.host=smtp.gmail.com spring.mail.host=smtp.gmail.com
spring.mail.username=fpunascrumkanban@gmail.com spring.mail.username=fpunascrumkanban@gmail.com
spring.mail.password=fpunascrumkanban123 spring.mail.password=fpunascrumkanban123
...@@ -24,8 +24,6 @@ spring.mail.port=587 ...@@ -24,8 +24,6 @@ spring.mail.port=587
spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.enable=true
jsp-inheritance-prefix=/jsp/layouts/
jsp-inheritance-suffix=.jsp
## MULTIPART (MultipartProperties) ## MULTIPART (MultipartProperties)
# Enable multipart uploads # Enable multipart uploads
......
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,400i,700,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.1/font/bootstrap-icons.css">
<link rel="icon" href="/img/LogoRoshka.ico">
</head>
<style>
body {
text-align: center;
padding: 40px 0;
background: #EBF0F5;
}
h1 {
color: #ff0000;
font-family: "Nunito Sans", "Helvetica Neue", sans-serif;
font-weight: 900;
font-size: 40px;
margin-bottom: 10px;
}
p {
color: #404F5E;
font-family: "Nunito Sans", "Helvetica Neue", sans-serif;
font-size:20px;
margin: 0;
}
i {
color: #ff0000;
font-size: 100px;
line-height: 200px;
margin-left:-15px;
}
.card {
background: white;
padding: 60px;
border-radius: 4px;
box-shadow: 0 2px 3px #C8D0D8;
display: inline-block;
margin: 0 auto;
}
</style>
<body>
<div class="card">
<h1>
<i class="bi bi-emoji-smile-upside-down"></i>
</h1>
<h1>Oops!</h1>
<p>Ha ocurrido un error.<br/>Ponganse en contacto con los bootcampers.</p>
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment