Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
eda23252
Commit
eda23252
authored
Feb 10, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:grafana/grafana
parents
257b824d
b469904c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
public/app/core/controllers/login_ctrl.js
+1
-2
public/app/partials/login.html
+4
-4
public/less/login.less
+3
-1
No files found.
public/app/core/controllers/login_ctrl.js
View file @
eda23252
...
@@ -17,6 +17,7 @@ function (angular, coreModule, config) {
...
@@ -17,6 +17,7 @@ function (angular, coreModule, config) {
$scope
.
googleAuthEnabled
=
config
.
googleAuthEnabled
;
$scope
.
googleAuthEnabled
=
config
.
googleAuthEnabled
;
$scope
.
githubAuthEnabled
=
config
.
githubAuthEnabled
;
$scope
.
githubAuthEnabled
=
config
.
githubAuthEnabled
;
$scope
.
oauthEnabled
=
config
.
githubAuthEnabled
||
config
.
googleAuthEnabled
;
$scope
.
disableUserSignUp
=
config
.
disableUserSignUp
;
$scope
.
disableUserSignUp
=
config
.
disableUserSignUp
;
$scope
.
loginHint
=
config
.
loginHint
;
$scope
.
loginHint
=
config
.
loginHint
;
...
@@ -84,7 +85,5 @@ function (angular, coreModule, config) {
...
@@ -84,7 +85,5 @@ function (angular, coreModule, config) {
};
};
$scope
.
init
();
$scope
.
init
();
});
});
});
});
public/app/partials/login.html
View file @
eda23252
...
@@ -63,9 +63,7 @@
...
@@ -63,9 +63,7 @@
</div>
</div>
</form>
</form>
<div
class=
"clearfix"
></div>
<div
class=
"text-center login-divider"
ng-if=
"oauthEnabled"
>
<div
class=
"text-center login-divider"
>
<div
class=
"login-divider-line"
>
<div
class=
"login-divider-line"
>
<span
class=
"login-divider-text"
>
<span
class=
"login-divider-text"
>
Or login with
Or login with
...
@@ -75,7 +73,7 @@
...
@@ -75,7 +73,7 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<div
class=
"login-oauth text-center"
>
<div
class=
"login-oauth text-center"
ng-if=
"oauthEnabled"
>
<a
class=
"btn btn-large btn-google"
href=
"login/google"
target=
"_self"
ng-if=
"googleAuthEnabled"
>
<a
class=
"btn btn-large btn-google"
href=
"login/google"
target=
"_self"
ng-if=
"googleAuthEnabled"
>
<i
class=
"fa fa-google"
></i>
<i
class=
"fa fa-google"
></i>
with Google
with Google
...
@@ -86,6 +84,8 @@
...
@@ -86,6 +84,8 @@
</a>
</a>
</div>
</div>
<div
class=
"clearfix"
></div>
<div
class=
"text-center password-recovery"
>
<div
class=
"text-center password-recovery"
>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<a
href=
"user/password/send-reset-email"
>
<a
href=
"user/password/send-reset-email"
>
...
...
public/less/login.less
View file @
eda23252
...
@@ -88,6 +88,8 @@
...
@@ -88,6 +88,8 @@
}
}
.login-oauth {
.login-oauth {
margin-bottom: 15px;
.btn {
.btn {
margin: 5px;
margin: 5px;
}
}
...
@@ -104,7 +106,7 @@
...
@@ -104,7 +106,7 @@
.password-recovery {
.password-recovery {
background: @grafanaTargetBackground;
background: @grafanaTargetBackground;
margin-top:
3
0px;
margin-top:
1
0px;
padding: 10px;
padding: 10px;
a {
a {
color: @grayLight;
color: @grayLight;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment