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
cefdd866
Commit
cefdd866
authored
Feb 01, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor css changes to graph panel & full edito mode
parent
56aa8ae6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
15 deletions
+12
-15
src/app/directives/grafanaPanel.js
+1
-10
src/app/panels/graph/module.html
+1
-1
src/css/less/gfbox.less
+4
-0
src/css/less/panel.less
+6
-4
No files found.
src/app/directives/grafanaPanel.js
View file @
cefdd866
...
...
@@ -37,19 +37,11 @@ function (angular, $, config) {
var
getter
=
$parse
(
attr
.
type
),
panelType
=
getter
(
$scope
);
var
newScope
=
$scope
.
$new
();
$scope
.
kbnJqUiDraggableOptions
=
{
revert
:
'invalid'
,
helper
:
function
()
{
return
$
(
'<div style="width:200px;height:100px;background: rgba(100,100,100,0.50);"/>'
);
},
placeholder
:
'keep'
};
// compile the module and uncloack. We're done
function
loadModule
(
$module
)
{
$module
.
appendTo
(
elem
);
elem
.
wrap
(
container
);
/* jshint indent:false */
$compile
(
elem
.
contents
())(
newScope
);
elem
.
removeClass
(
"ng-cloak"
);
...
...
@@ -81,7 +73,6 @@ function (angular, $, config) {
$module
.
first
().
find
(
'.panel-header'
).
nextAll
().
wrapAll
(
content
);
loadModule
(
$module
);
});
}
};
});
...
...
src/app/panels/graph/module.html
View file @
cefdd866
...
...
@@ -24,7 +24,7 @@
<div
class=
"clearfix"
></div>
<div
class=
"gf-box"
ng-if=
"editMode"
>
<div
class=
"gf-box
gf-box-full-edit
"
ng-if=
"editMode"
>
<div
class=
"gf-box-header"
>
<div
class=
"gf-box-title"
>
<i
class=
"fa fa-bar-chart"
></i>
...
...
src/css/less/gfbox.less
View file @
cefdd866
...
...
@@ -5,6 +5,10 @@
border: 1px solid @grafanaTargetFuncBackground;
}
.gf-box-full-edit {
margin: 30px 0 0 0;
}
.gf-box-header-close-btn {
float: right;
padding: 0;
...
...
src/css/less/panel.less
View file @
cefdd866
...
...
@@ -88,11 +88,11 @@
position: fixed;
left: 0px;
right: 0px;
top: 5
1
px;
top: 5
5
px;
height: 100%;
padding: 0
10px
;
padding: 0;
background: @grafanaPanelBackground;
overflow-y:
scroll
;
overflow-y:
auto
;
height: 100%;
.panel-content {
...
...
@@ -102,10 +102,12 @@
.dropdown-menu {
margin-bottom: 70px;
}
.panel-menu {
top: 0px;
}
.panel-title-container {
padding: 8px;
}
}
.panel-menu {
...
...
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