diff --git a/src/oauth2views/account_setup.ejs b/src/oauth2views/account_setup.ejs index c972b3770..8e2302a84 100644 --- a/src/oauth2views/account_setup.ejs +++ b/src/oauth2views/account_setup.ejs @@ -15,64 +15,67 @@ app.controller('Controller', ['$scope', function ($scope) { -
+
+ +

Hello <%= (user && user.email) ? user.email : '' %>, welcome to <%= cloudronName %>.

Setup your account and password.

-
+
-
+
-
-
- - - +
+ + + + -

<%= error %>

+

<%= error %>

<% if (user && user.username) { %> -
- - -
+
+ + +
<% } else { %> -
- -
- The username is too short - The username is too long - Not a valid username -
- -
+
+ +
+ The username is too short + The username is too long + Not a valid username +
+ +
<% } %> -
- - -
+
+ + +
-
- -
- Password must be 8-30 character with at least one uppercase, one numeric and one special character -
- -
+
+ +
+ Password must be 8-30 character with at least one uppercase, one numeric and one special character +
+ +
-
- -
- Passwords don't match -
- -
+
+ +
+ Passwords don't match +
+ +
- - -
+ + +
+
<% include footer %> diff --git a/src/oauth2views/error.ejs b/src/oauth2views/error.ejs index 598da4824..c65ef66e9 100644 --- a/src/oauth2views/error.ejs +++ b/src/oauth2views/error.ejs @@ -2,25 +2,26 @@ -
+
-
+
-
-
-
- <%- message %> -
+
+
+
+ <%- message %>
-
+
+
-
-
- Back -
-
+
+
+ Back +
+
+
<% include footer %> diff --git a/src/oauth2views/footer.ejs b/src/oauth2views/footer.ejs index 5f9b6ae05..96a0c64a4 100644 --- a/src/oauth2views/footer.ejs +++ b/src/oauth2views/footer.ejs @@ -1,9 +1,11 @@ - +
+ + diff --git a/src/oauth2views/header.ejs b/src/oauth2views/header.ejs index 499de2153..acd63e57d 100644 --- a/src/oauth2views/header.ejs +++ b/src/oauth2views/header.ejs @@ -27,14 +27,15 @@ - + + +
- diff --git a/src/oauth2views/login.ejs b/src/oauth2views/login.ejs index a740cca21..b0a8712e6 100644 --- a/src/oauth2views/login.ejs +++ b/src/oauth2views/login.ejs @@ -2,45 +2,41 @@ -
+
+
-
-
-
-
- -

Login to <%= applicationName %>

-
-
-
-
- <% if (error) { %> -
-
-

<%= error %>

-
-
- <% } %> -
-
-
- -
- - -
-
- - -
- -
- Reset your password -
-
-
-
+
+ +

Login to <%= applicationName %>

+
+
+
+<% if (error) { -%> +
+
+

<%= error %>

+
+
+<% } -%> +
+
+
+ +
+ + +
+
+ + +
+ +
+ Reset your password +
+
+
-
-

Hello <%= user.username %>, set a new password

-
+
-
+
+

Hello <%= user.username %>, set a new password

+
+ +
+ +
-
-
- - - +
+ + + + -
- -
- Password must be 8-30 character with at least one uppercase, one numeric and one special character -
- -
-
- -
- Passwords don't match -
- -
- - -
+
+ +
+ Password must be 8-30 character with at least one uppercase, one numeric and one special character +
+ +
+
+ +
+ Passwords don't match +
+ +
+ + +
+
<% include footer %> diff --git a/src/oauth2views/password_reset_request.ejs b/src/oauth2views/password_reset_request.ejs index c6b4e67e5..7cb46cc4e 100644 --- a/src/oauth2views/password_reset_request.ejs +++ b/src/oauth2views/password_reset_request.ejs @@ -2,26 +2,29 @@ -
-

Reset your password

-
+
-
+
+

Reset your password

+
-
+
+ +
-
-
- -
- - -
- -
- Login -
+
+
+ +
+ + +
+ +
+ Login +
+
<% include footer %> diff --git a/src/oauth2views/password_reset_sent.ejs b/src/oauth2views/password_reset_sent.ejs index 628bd3d88..a2a7fd091 100644 --- a/src/oauth2views/password_reset_sent.ejs +++ b/src/oauth2views/password_reset_sent.ejs @@ -2,21 +2,24 @@ -
-

Password reset successful

-
+
-
+
+

Password reset successful

+
-
+
+ +
-
-

An email was sent to you with a link to set a new password.

-
-
- If you have not received any email, simply try again. -
+
+

An email was sent to you with a link to set a new password.

+
+
+ If you have not received any email, simply try again. +
+
<% include footer %> diff --git a/webadmin/src/theme.scss b/webadmin/src/theme.scss index 9e0c23db1..655601520 100644 --- a/webadmin/src/theme.scss +++ b/webadmin/src/theme.scss @@ -121,7 +121,7 @@ html, body { } .layout-content { - flex-grow: 2; + flex-grow: 1; overflow: auto; } @@ -144,7 +144,7 @@ html, body { .navbar { display: block; width: 100%; - flex-grow: 1; + flex-grow: 0; .navbar-collapse { background-color: #F8F8F8; @@ -680,7 +680,7 @@ h1, h2, h3 { } footer { - flex-grow: 1; + flex-grow: 0; background-color: #f8f8f8; width: 100%; color: #555; @@ -823,29 +823,6 @@ footer { } } -// ---------------------------- -// Oauth classes -// ---------------------------- - -.oauth { - height: 100%; - width: 100%; - padding: 0; - background: #F7F7F7; - - h1 { - font-size: 33px; - } - - .card { - max-width: none; - padding: 20px; - text-align: left; - margin-top: 50px; - } -} - - // ---------------------------- // Graphs classes // ----------------------------