From 73b0454d14dfec4ba082295db3ae62b5b83a2405 Mon Sep 17 00:00:00 2001 From: Matias Arriola Date: Wed, 23 Feb 2022 14:10:56 +0000 Subject: [PATCH] Fix error image. --- wise-webapp/src/main/resources/messages_en.properties | 2 +- wise-webapp/src/main/webapp/css/error.css | 11 ++++++----- wise-webapp/src/main/webapp/jsp/errorTemplate.jsp | 6 ++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index 84a86240..a6a9fafc 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -49,7 +49,7 @@ MINDMAP_IS_LOCKED = Min map is locked for edition. RESET_PASSWORD_INVALID_EMAIL = The email provided is not a valid user account. Please, try again with a valid email. TRY_WELCOME = This edition space showcases some of the mindmap editor capabilities \!. UNEXPECTED_ERROR_DETAILS = Unexpected error processing request. -NO_ENOUGH_PERMISSIONS=This mind map can opened. +NO_ENOUGH_PERMISSIONS=This mind map cannot be opened. NO_ENOUGH_PERMISSIONS_DETAILS=You do not have enough right access to see this map. This map has been changed to private or deleted. CAPTCHA_TIMEOUT_OUT_DUPLICATE=Please, refresh the page and try again. CAPTCHA_INVALID_INPUT_RESPONSE="Invalid input response, refresh the page and try again. diff --git a/wise-webapp/src/main/webapp/css/error.css b/wise-webapp/src/main/webapp/css/error.css index 65694b4d..34fe7a9f 100644 --- a/wise-webapp/src/main/webapp/css/error.css +++ b/wise-webapp/src/main/webapp/css/error.css @@ -20,11 +20,9 @@ h2 { p { font-size: 25px; } -div#icon { - padding-top: 100px; - background-image: url(../../images/logo-icon.svg); + +#icon { height: 150px; - background-size: cover; } div#bottom-logo { @@ -37,6 +35,9 @@ div#bottom-logo { } .column { - flex: 50%; + justify-content: center; + align-items: center; + flex: 1; + display: flex; } diff --git a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp index 3d2bd739..1c45b967 100644 --- a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp +++ b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp @@ -32,7 +32,7 @@
-

Opps !

+

Oops !

@@ -41,7 +41,9 @@

-
+ + Wisemapping icon +