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
b85f2c94
Commit
b85f2c94
authored
Apr 19, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css cleanup, fixed issue where dashboards using relative time might not save correctly
parent
a6f8d571
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
40 deletions
+44
-40
common/css/main.css
+34
-33
panels/column/editor.html
+1
-2
panels/timepicker/module.js
+9
-5
No files found.
common/css/main.css
View file @
b85f2c94
...
@@ -6,17 +6,19 @@
...
@@ -6,17 +6,19 @@
color
:
#000
;
color
:
#000
;
}
}
.kibana-row
{
margin-left
:
15px
;
margin-bottom
:
15px
;
}
.navbar
.brand
{
.navbar
.brand
{
color
:
#eee
;
color
:
#eee
;
}
}
.navbar-inner
{
.navbar-inner
{
border-width
:
0
0
0px
;
border-width
:
0
0
0px
;
padding-left
:
0px
;
padding-right
:
0px
;
}
.kibana-row
{
margin-left
:
15px
;
margin-bottom
:
15px
;
}
}
.row-close
{
.row-close
{
...
@@ -54,6 +56,10 @@
...
@@ -54,6 +56,10 @@
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
}
}
.nomargin
{
margin
:
0px
;
}
[
ng
\
:cloak
],
[
ng-cloak
],
.ng-cloak
{
[
ng
\
:cloak
],
[
ng-cloak
],
.ng-cloak
{
display
:
none
!important
;
display
:
none
!important
;
}
}
...
@@ -90,7 +96,15 @@
...
@@ -90,7 +96,15 @@
opacity
:
1
;
opacity
:
1
;
}
}
.pointer
:hover
{
.link
{
cursor
:
pointer
;
}
.pointer
{
cursor
:
pointer
;
}
.link
:hover
{
color
:
#0088CC
;
color
:
#0088CC
;
}
}
...
@@ -98,54 +112,42 @@
...
@@ -98,54 +112,42 @@
max-width
:
500px
;
max-width
:
500px
;
}
}
.pointer
{
.popover-title
{
display
:
none
;
}
cursor
:
pointer
;
.tiny
{
font-size
:
50%
;
}
}
.small
{
.small
{
font-size
:
85%
;
font-size
:
85%
;
}
}
.input-append
label
{
font-size
:
inherit
!important
;
}
.large
{
.large
{
font-size
:
120%
;
font-size
:
120%
;
}
}
.nomargin
{
margin
:
0px
;
}
.strong
{
.strong
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.btn-active
{
.input-append
label
{
background-color
:
#E6E6E6
;
font-size
:
inherit
!important
;
background-image
:
none
;
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
)
inset
,
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
outline
:
0
none
}
}
.popover-title
{
display
:
none
;
}
.input-smaller
{
.input-smaller
{
width
:
75px
;
width
:
75px
;
}
}
.tiny
{
.typeahead
{
z-index
:
1051
;
}
font-size
:
50%
;
.btn-active
{
background-color
:
#E6E6E6
;
background-image
:
none
;
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
)
inset
,
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
outline
:
0
none
}
}
.remove
:hover
{
.remove
:hover
{
background-color
:
#A60000
;
background-color
:
#A60000
;
}
}
.typeahead
{
z-index
:
1051
;
}
.navbar-inner
{
padding-left
:
0px
;
padding-right
:
0px
;
}
\ No newline at end of file
panels/column/editor.html
View file @
b85f2c94
...
@@ -33,4 +33,4 @@
...
@@ -33,4 +33,4 @@
</table>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
panels/timepicker/module.js
View file @
b85f2c94
...
@@ -214,11 +214,15 @@ angular.module('kibana.timepicker', [])
...
@@ -214,11 +214,15 @@ angular.module('kibana.timepicker', [])
}
}
// Update panel's string representation of the time object
// Update panel's string representation of the time object
$scope
.
panel
.
time
=
{
if
(
$scope
.
panel
.
mode
!==
'relative'
)
{
from
:
$scope
.
time
.
from
.
format
(
"mm/dd/yyyy HH:MM:ss"
),
$scope
.
panel
.
time
=
{
to
:
$scope
.
time
.
to
.
format
(
"mm/dd/yyyy HH:MM:ss"
),
from
:
$scope
.
time
.
from
.
format
(
"mm/dd/yyyy HH:MM:ss"
),
index
:
$scope
.
time
.
index
,
to
:
$scope
.
time
.
to
.
format
(
"mm/dd/yyyy HH:MM:ss"
),
};
index
:
$scope
.
time
.
index
,
};
}
else
{
delete
$scope
.
panel
.
time
;
}
};
};
function
set_timepicker
(
from
,
to
)
{
function
set_timepicker
(
from
,
to
)
{
...
...
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