From 5bae5f43def0cfb9e301e0d0bd87f4079679f1db Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 16 Jun 2015 18:47:20 +0200 Subject: [PATCH] SONAR-6640 bug fixes --- .../sonar-web/src/main/less/components.less | 1 - .../src/main/less/components/login.less | 48 ------------------- .../WEB-INF/app/views/sessions/login.html.erb | 9 ++-- .../WEB-INF/app/views/sessions/new.html.erb | 9 ++-- .../WEB-INF/app/views/users/new.html.erb | 16 +++---- 5 files changed, 20 insertions(+), 63 deletions(-) delete mode 100644 server/sonar-web/src/main/less/components/login.less diff --git a/server/sonar-web/src/main/less/components.less b/server/sonar-web/src/main/less/components.less index 929acdc7e74..16ed0181661 100644 --- a/server/sonar-web/src/main/less/components.less +++ b/server/sonar-web/src/main/less/components.less @@ -35,7 +35,6 @@ @import "components/navbar"; @import "components/navigator"; @import "components/select-list"; -@import "components/login"; @import "components/graphics"; @import "components/list-groups"; @import "components/panels"; diff --git a/server/sonar-web/src/main/less/components/login.less b/server/sonar-web/src/main/less/components/login.less deleted file mode 100644 index e9c239f413a..00000000000 --- a/server/sonar-web/src/main/less/components/login.less +++ /dev/null @@ -1,48 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2014 SonarSource - * mailto:contact AT sonarsource DOT com - * - * SonarQube is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * SonarQube is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -@import (reference) "../variables"; -@import (reference) "../mixins"; - -#login_form { - border: 2px solid #4b9fd5; - width: 230px; - text-align: left; - background-color: #CAE3F2; - padding: 15px 20px; -} - -#login_form h4 { - text-align: left; - font-weight: bold; - color: #036; -} - -#login_form p { - padding: 3px 0 10px; -} - -#login_form a { - border-bottom-color: @blue; -} - -#login_form .desc { - font-size: 85%; - font-weight: normal; -} diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb index 937886484bb..605eaded72e 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb @@ -1,5 +1,5 @@ -
- + +

Log In to SonarQube

@@ -39,6 +39,9 @@ diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb index 937886484bb..605eaded72e 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb @@ -1,5 +1,5 @@ - - + +

Log In to SonarQube

@@ -39,6 +39,9 @@ diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/users/new.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/users/new.html.erb index cbf0297f4a3..4939c85a416 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/users/new.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/users/new.html.erb @@ -6,8 +6,8 @@ <%= error_messages_for :user, :class => 'alert alert-danger', :header_message => nil, :message => nil %>
- - <%= message('login') %> +

<%= message('sessions.old_account', :params => [url_for(:controller => 'sessions', :action => 'new')]) -%> @@ -15,20 +15,20 @@

- - <%= message('name') %> +

- - <%= message('password') %> +

- - <%= message('sessions.confirm_password') %> +

-- 2.39.5