From bbc380366fc52fe8f67198886fa4018c2f6a5e2a Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 9 Feb 2014 21:58:23 -0300 Subject: [PATCH] Fix login page. --- .../src/main/resources/messages_en.properties | 2 +- .../src/main/webapp/css/pageHeaders.css | 1 + .../src/main/webapp/css/pageTemplate.css | 58 +++------ wise-webapp/src/main/webapp/jsp/login.jsp | 93 ++++++++------ wise-webapp/src/main/webapp/jsp/template.jsp | 11 +- .../main/webapp/jsp/userForgotPassword.jsp | 33 ++--- .../src/main/webapp/jsp/userRegistration.jsp | 120 +++++++++--------- 7 files changed, 151 insertions(+), 167 deletions(-) diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index 50bd4ece..7ddba53c 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -248,7 +248,7 @@ ACCESS_HAS_BEEN_REVOKED= Upps. your access permissions to this map has been revo MAP_CAN_NOT_BE_FOUND= Upps. The map can not be found. It must have been deleted. LICENSE=License WELCOME_TO_WISEMAPPING=Welcome to WiseMapping -WELCOME_DETAILS=WiseMapping will enable you to create and read your mind maps everywhere. With WiseMapping you can: . +WELCOME_DETAILS=WiseMapping will enable you to create and read your mind maps everywhere. With WiseMapping you can: OPENID_LOGIN=Open Id Login LOGING_OPENID_DETAILS=Do you already have an account on one of these sites?. Click the logo to log in with it here: WHY_OPENID=Why OpenID ?
It's a single username and password that allows you to log in to any OpenID-enabled site. It works on thousands of websites.
It's an open standard.
learn more diff --git a/wise-webapp/src/main/webapp/css/pageHeaders.css b/wise-webapp/src/main/webapp/css/pageHeaders.css index b31520bc..e78a82ab 100644 --- a/wise-webapp/src/main/webapp/css/pageHeaders.css +++ b/wise-webapp/src/main/webapp/css/pageHeaders.css @@ -57,6 +57,7 @@ html,body { padding-left: 7px; font-weight: bold; vertical-align: middle; + font-size: 20px; } #headerButtons { diff --git a/wise-webapp/src/main/webapp/css/pageTemplate.css b/wise-webapp/src/main/webapp/css/pageTemplate.css index 8be3ea30..dac20288 100644 --- a/wise-webapp/src/main/webapp/css/pageTemplate.css +++ b/wise-webapp/src/main/webapp/css/pageTemplate.css @@ -2,7 +2,7 @@ @import "pageHeaders.css"; div#register { - margin: 40px auto; + margin: 20px auto; text-align: center; white-space: nowrap; } @@ -17,34 +17,6 @@ div#pageContainer { min-height: 100%; } -div.bodyContainer { - padding-top: 30px; - padding-bottom: 85px; /* Height of the footer */ -} - -div.bodyContainer h1 { - color: #093A9D; - font-size: 150%; - margin-bottom: 5px; - font-weight: bold; -} - -div.bodyContainer h2 { - color: gray; - font-size: 150%; - border-bottom: 1px dashed #BBB4D6; - margin: 20px 0; -} - -div.bodyContainer ul { - padding: 5px; -} - -div.bodyContainer li { - list-style-type: disc; - margin-left: 12px; -} - #footerContainer { padding-top: 10px; border-top: 1px black solid; @@ -62,17 +34,25 @@ span.errorMsg { color: red; } -div.fform { - background: #eeeeee; - border: 1px solid #cfcfcf; - padding: 5px 25px; - -moz-border-radius: 8px; - -khtml-border-radius: 8px; - -webkit-border-radius: 8px; - border-radius: 8px; +/* Reduce styles */ +.jumbotron > h1 { + font-size: 35px; } -div.fform label { - font-weight: bold; +.jumbotron p { + font-size: 15px; +} + +#login h1 { + font-size: 25px; +} + +#loginPanel { + padding: 0 60px; + background: #ffffff; + margin-top: 40px; + background: #F7C931; + color: #ffffff; + } diff --git a/wise-webapp/src/main/webapp/jsp/login.jsp b/wise-webapp/src/main/webapp/jsp/login.jsp index f20f4271..79d7e2bb 100644 --- a/wise-webapp/src/main/webapp/jsp/login.jsp +++ b/wise-webapp/src/main/webapp/jsp/login.jsp @@ -12,54 +12,63 @@ }); -
-
+
+

-
-

+
+
+

-
-
- -
- + +
+ + +
+ +
-
-
- -
- +
+ + +
+ +
-
-
-
- - +
+
+ + +
-
-
- "> -
-
- - - -
-
- -
-
-
-
-
- +
+ "> +
+
+ + + +
+
+ +
+
+
+
+
+ +
-
-
+
@@ -69,19 +78,21 @@

- . + .

- +
 . + href="https://wisemapping.atlassian.net/wiki/display/WS/Database+Configuration">.
diff --git a/wise-webapp/src/main/webapp/jsp/template.jsp b/wise-webapp/src/main/webapp/jsp/template.jsp index 1e9d274a..a03fde5c 100644 --- a/wise-webapp/src/main/webapp/jsp/template.jsp +++ b/wise-webapp/src/main/webapp/jsp/template.jsp @@ -51,13 +51,12 @@ -
+
-
-
-
- -
+
+
+ +
diff --git a/wise-webapp/src/main/webapp/jsp/userForgotPassword.jsp b/wise-webapp/src/main/webapp/jsp/userForgotPassword.jsp index 9d36a8a4..d11c228e 100755 --- a/wise-webapp/src/main/webapp/jsp/userForgotPassword.jsp +++ b/wise-webapp/src/main/webapp/jsp/userForgotPassword.jsp @@ -9,29 +9,22 @@ }); -
-
-

- -

+

+ +

-

+

- -
- -
- -
- " class="btn btn-primary" - data-loading-text=""/> - " class="btn" - onclick="window.location=''"/> -
-
-
+ + +
+
-
+ " class="btn btn-primary" + data-loading-text=""/> + " class="btn" + onclick="window.location=''"/> +
diff --git a/wise-webapp/src/main/webapp/jsp/userRegistration.jsp b/wise-webapp/src/main/webapp/jsp/userRegistration.jsp index 18b094d0..8bb4fb6c 100644 --- a/wise-webapp/src/main/webapp/jsp/userRegistration.jsp +++ b/wise-webapp/src/main/webapp/jsp/userRegistration.jsp @@ -1,79 +1,79 @@ <%@page pageEncoding="UTF-8" %> <%@include file="/jsp/init.jsp" %> -
+

-

+

+ +
+ +
+ + +
+
+
+ -

- -
-
- -
- - -
+
+ +
-
- -
- - -
+
+
+ + +
+ +
-
- -
- - -
+
+
+ + +
+ +
-
- -
- - -
+
+
+ + +
+ +
-
- -
- - -
-
-
-
- - ${requestScope.captchaHtml} +
+
+
+ + ${requestScope.captchaHtml}

-
-
-

- - . - -

-
-
-
+
+
+

+ + + . + +

+
+
+
" - data-loading-text=" ..." id="submitButton" - class="btn btn-primary"> + data-loading-text=" ..." id="submitButton" + class="btn btn-primary"> " - onclick="window.location='c/'" class="btn"> -
-
-
+ onclick="window.location='c/'" class="btn"> + +
+
+ - -