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
6786ffff
Commit
6786ffff
authored
Mar 05, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small update to submenu (annotation/templating) css, #1554
parent
16320d66
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
src/app/features/dashboard/sharePanelCtrl.js
+1
-1
src/app/partials/dashboard.html
+4
-4
src/app/partials/submenu.html
+2
-1
src/css/less/forms.less
+3
-3
src/css/less/submenu.less
+7
-1
src/css/less/tightform.less
+1
-1
No files found.
src/app/features/dashboard/sharePanelCtrl.js
View file @
6786ffff
...
...
@@ -88,7 +88,7 @@ function (angular, _, require, config) {
return
function
(
scope
,
elem
)
{
require
([
'ZeroClipboard'
],
function
(
ZeroClipboard
)
{
ZeroClipboard
.
config
({
swfPath
:
config
.
appSubUrl
+
'public/vendor/ZeroClipboard.swf'
swfPath
:
config
.
appSubUrl
+
'
/
public/vendor/ZeroClipboard.swf'
});
new
ZeroClipboard
(
elem
[
0
]);
});
...
...
src/app/partials/dashboard.html
View file @
6786ffff
...
...
@@ -3,14 +3,14 @@
<div
ng-include=
"'app/partials/dashboard_topnav.html'"
>
</div>
<div
ng-if=
"submenuEnabled"
ng-include=
"'app/partials/submenu.html'"
>
</div>
<div
class=
"clearfix"
></div>
<div
dash-editor-view
></div>
<div
dash-search-view
></div>
<div
ng-if=
"submenuEnabled"
ng-include=
"'app/partials/submenu.html'"
>
</div>
<div
class=
"clearfix"
></div>
<div
class=
"main-view-container"
>
<div
class=
"grafana-row"
ng-controller=
"RowCtrl"
ng-repeat=
"(row_name, row) in dashboard.rows"
row-height
>
<div
class=
"row-control"
>
...
...
src/app/partials/submenu.html
View file @
6786ffff
...
...
@@ -25,8 +25,9 @@
</li>
<li
ng-repeat=
"annotation in dashboard.annotations.list"
class=
"tight-form-item annotation-segment"
ng-class=
"{'annotation-disabled': !annotation.enable}"
>
<a
ng-click=
"disableAnnotation(annotation)"
>
<i
class=
"annotation-color-icon fa fa-bolt"
></i>
{{annotation.name}}
<input
class=
"cr1"
id=
"hideYAxis"
type=
"checkbox"
ng-model=
"annotation.enable"
ng-checked=
"annotation.enable"
>
<label
for=
"hideYAxis"
class=
"cr1"
></label>
</a>
</li>
</ul>
...
...
src/css/less/forms.less
View file @
6786ffff
...
...
@@ -11,12 +11,12 @@ input[type="checkbox"].cr1 {
display: none;
}
input[type="checkbox"]+
.cr1 {
label
.cr1 {
display: inline-block;
height:
20
px;
height:
19
px;
clear: none;
text-indent: 2px;
margin: 0;
margin: 0
0 1px 0
;
padding: 0 0 0 20px;
vertical-align:middle;
background: url(@checkboxImageUrl) left top no-repeat;
...
...
src/css/less/submenu.less
View file @
6786ffff
...
...
@@ -5,10 +5,16 @@
}
.submenu-controls {
margin:
5
px 10px 0 10px;
margin:
10
px 10px 0 10px;
}
.annotation-disabled, .annotation-disabled a {
color: @linkColorDisabled;
}
.annotation-segment {
label.cr1 {
margin-left: 5px;
}
}
src/css/less/tightform.less
View file @
6786ffff
...
...
@@ -92,7 +92,7 @@
padding-right: 3px;
}
&.annotation-segment {
padding: 8px 1
5
px;
padding: 8px 1
0
px;
}
&.last {
...
...
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