From decc76015c34a023f5463664dead42d8d6ac1653 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 10 Jan 2022 19:49:06 -0800 Subject: [PATCH] Improve styles --- .../src/main/resources/messages_en.properties | 4 +-- wise-webapp/src/main/webapp/css/error.less | 31 ++++++++++++++----- .../main/webapp/images/logo-text-black.svg | 3 ++ .../src/main/webapp/jsp/errorTemplate.jsp | 12 +++++-- 4 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 wise-webapp/src/main/webapp/images/logo-text-black.svg diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index deedee7f..f9b04cf0 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -89,10 +89,10 @@ BLOG_SNIPPET=Copy this snippet of code to embed in your blog or page ZOOM=Zoom HISTORY=History SHARE=Share -UNEXPECTED_ERROR=Outch!!. An unexpected error has occurred. +UNEXPECTED_ERROR=An unexpected error has occurred. UNEXPECTED_ERROR_DETAILS=We're sorry, an error has occurred and we can't process your request. Please try again, or go to the home page. UNEXPECTED_ERROR_SERVER_ERROR=We're sorry, an error has occurred and we can't process your request. Refresh the page and try again. If the problem persist, click below on "Raise An Issue" to open a ticket. -NO_ENOUGH_PERMISSIONS=Outch!!. This map is not available anymore. +NO_ENOUGH_PERMISSIONS=This map is not available anymore. NO_ENOUGH_PERMISSIONS_DETAILS=You do not have enough right access to see this map. This map has been changed to private or deleted. IMPORT_MINDMAP_INFO=You can import FreeMind 1.0.1 and WiseMapping maps to your list of maps. Select the file you want to import. PRINT=Print diff --git a/wise-webapp/src/main/webapp/css/error.less b/wise-webapp/src/main/webapp/css/error.less index fc9bdee3..7dc24da9 100644 --- a/wise-webapp/src/main/webapp/css/error.less +++ b/wise-webapp/src/main/webapp/css/error.less @@ -1,27 +1,42 @@ @import "compatibility.less"; div#errorContainer { - padding: 200px; - height: 100vh; - background-color: rgb(252, 235, 192); - text-align:center + font-family:Helvetica; + display: flex; + padding: 200px 80px; } -div#errorContainer > h1 { - padding-top: 200px; +h1 { + color: #696969; + font-weight: bold; + font-size:100px; +} + +h2 { color: rgb(241, 163, 39); font-size: 40px; } -div#errorContainer > p { +p { font-size: 25px; } +div#icon { + padding-top: 100px; + background-image: url(../../images/logo-icon.svg); + height: 150px; + background-size: cover; +} + div#bottom-logo { position: fixed; right: 20px; bottom: 10px; - background: url(../../images/editor/logo-text-black.svg) no-repeat; + background: url(../../images/logo-text-black.svg) no-repeat; width: 90px; height: 40px; } +.column { + flex: 50%; +} + diff --git a/wise-webapp/src/main/webapp/images/logo-text-black.svg b/wise-webapp/src/main/webapp/images/logo-text-black.svg new file mode 100644 index 00000000..5b042da3 --- /dev/null +++ b/wise-webapp/src/main/webapp/images/logo-text-black.svg @@ -0,0 +1,3 @@ + + + diff --git a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp index bfc47517..668ec5eb 100644 --- a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp +++ b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp @@ -31,15 +31,21 @@ -
-

+
+
+

Opps !

+

- +
+
+
+
+