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
b673bc13
Commit
b673bc13
authored
Mar 04, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(): minor fix to login page
parent
4b08f390
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
public/app/partials/login.html
+2
-0
public/app/plugins/datasource/graphite/datasource.ts
+2
-3
public/sass/pages/_login.scss
+4
-0
No files found.
public/app/partials/login.html
View file @
b673bc13
...
...
@@ -39,6 +39,7 @@
</div>
</form>
<div
ng-if=
"loginMode"
>
<div
class=
"text-center login-divider"
ng-if=
"oauthEnabled"
>
<div
class=
"login-divider-line"
>
<span
class=
"login-divider-text"
>
...
...
@@ -59,6 +60,7 @@
with Github
</a>
</div>
</div>
<div
class=
"clearfix"
></div>
...
...
public/app/plugins/datasource/graphite/datasource.ts
View file @
b673bc13
...
...
@@ -64,7 +64,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
this
.
annotationQuery
=
function
(
options
)
{
// Graphite metric as annotation
if
(
options
.
annotation
.
target
)
{
var
target
=
templateSrv
.
replace
(
options
.
annotation
.
target
);
var
target
=
templateSrv
.
replace
(
options
.
annotation
.
target
,
{},
'glob'
);
var
graphiteQuery
=
{
rangeRaw
:
options
.
rangeRaw
,
targets
:
[{
target
:
target
}],
...
...
@@ -72,8 +72,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
maxDataPoints
:
100
};
return
this
.
query
(
graphiteQuery
)
.
then
(
function
(
result
)
{
return
this
.
query
(
graphiteQuery
).
then
(
function
(
result
)
{
var
list
=
[];
for
(
var
i
=
0
;
i
<
result
.
data
.
length
;
i
++
)
{
...
...
public/sass/pages/_login.scss
View file @
b673bc13
...
...
@@ -55,6 +55,10 @@
color
:
$white
;
}
&
:focus
{
outline
:
0
;
}
font-weight
:
bold
;
display
:
inline-block
;
width
:
170px
;
...
...
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