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
f64385cf
Commit
f64385cf
authored
Nov 16, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(tweak): minor polish to date picker styling
parent
465451c2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
35 deletions
+3
-35
public/app/app.ts
+0
-1
public/app/core/core.ts
+0
-1
public/app/core/directives/grafana_version_check.js
+0
-31
public/sass/components/_timepicker.scss
+3
-2
No files found.
public/app/app.ts
View file @
f64385cf
...
...
@@ -40,7 +40,6 @@ export class GrafanaApp {
init
()
{
var
app
=
angular
.
module
(
'grafana'
,
[]);
app
.
constant
(
'grafanaVersion'
,
"@grafanaVersion@"
);
moment
.
locale
(
config
.
bootData
.
user
.
locale
);
...
...
public/app/core/core.ts
View file @
f64385cf
...
...
@@ -6,7 +6,6 @@ import "./directives/dash_class";
import
"./directives/confirm_click"
;
import
"./directives/dash_edit_link"
;
import
"./directives/dropdown_typeahead"
;
import
"./directives/grafana_version_check"
;
import
"./directives/metric_segment"
;
import
"./directives/misc"
;
import
"./directives/ng_model_on_blur"
;
...
...
public/app/core/directives/grafana_version_check.js
deleted
100644 → 0
View file @
465451c2
define
([
'../core_module'
,
],
function
(
coreModule
)
{
'use strict'
;
coreModule
.
default
.
directive
(
'grafanaVersionCheck'
,
function
(
$http
,
contextSrv
)
{
return
{
restrict
:
'A'
,
link
:
function
(
scope
,
elem
)
{
if
(
contextSrv
.
version
===
'master'
)
{
return
;
}
$http
({
method
:
'GET'
,
url
:
'https://grafanarel.s3.amazonaws.com/latest.json'
})
.
then
(
function
(
response
)
{
if
(
!
response
.
data
||
!
response
.
data
.
version
)
{
return
;
}
if
(
contextSrv
.
version
!==
response
.
data
.
version
)
{
elem
.
append
(
'<i class="icon-info-sign"></i> '
+
'<a href="http://grafana.org/download" target="_blank"> '
+
'New version available: '
+
response
.
data
.
version
+
'</a>'
);
}
});
}
};
});
});
public/sass/components/_timepicker.scss
View file @
f64385cf
...
...
@@ -65,7 +65,8 @@
}
.gf-timepicker-component
{
margin-bottom
:
10px
;
padding
:
$spacer
/
2
0
;
td
{
padding
:
1px
;
}
...
...
@@ -73,7 +74,7 @@
@include
buttonBackground
(
$btn-inverse-bg
,
$btn-inverse-bg-hl
);
background-image
:
none
;
border
:
none
;
padding
:
6px
10
px
;
padding
:
5px
9
px
;
color
:
$text-color
;
&
.active
span
{
color
:
$blue
;
...
...
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