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
bfe3c376
Commit
bfe3c376
authored
Jul 24, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Editor cleanup, fix tab index reset on row editor
parent
43dc74df
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
common/css/main.css
+6
-0
partials/paneleditor.html
+1
-3
partials/panelgeneral.html
+2
-1
partials/roweditor.html
+2
-1
No files found.
common/css/main.css
View file @
bfe3c376
...
...
@@ -13,6 +13,12 @@
text-transform
:
capitalize
;
}
.editor-title
small
{
opacity
:
0.5
;
font-size
:
0.7em
;
font-weight
:
normal
;
}
.spy
{
position
:
absolute
;
right
:
0px
;
...
...
partials/paneleditor.html
View file @
bfe3c376
<div
class=
"modal-body"
>
<div
class=
"pull-right editor-title"
>
{{panel.type}} settings
</div>
<div
class=
"pull-right editor-title"
>
<small>
({{panel.status}})
</small>
{{panel.type}} settings
</div>
<div
ng-model=
"editor.index"
bs-tabs
>
<div
ng-repeat=
"tab in ['General','Panel']"
data-title=
"{{tab}}"
>
</div>
</div>
<div
ng-show=
"editor.index == 0"
>
<h4>
{{panel.title}} General
<small>
panel settings
</small></h4>
<div
ng-include
src=
"'partials/panelgeneral.html'"
></div>
</div>
<div
ng-show=
"editor.index == 1"
>
<h4
style=
"text-transform: capitalize;"
>
{{panel.type}}
<small>
panel settings.
<strong
ng-show=
"!_.isUndefined(panel.status)"
>
({{panel.status}})
</strong></small></h4>
<div
ng-include
src=
"edit_path(panel.type)"
>
No additional settings are available for this type of panel.
</div>
</div>
...
...
partials/panelgeneral.html
View file @
bfe3c376
...
...
@@ -6,6 +6,6 @@
<label
class=
"small"
>
Span
</label>
<select
class=
"input-mini"
ng-model=
"panel.span"
ng-options=
"f for f in [0,1,2,3,4,5,6,7,8,9,10,11,12]"
></select>
</div>
<div
class=
"span1"
>
<label
class=
"small"
>
Editable
</label><input
type=
"checkbox"
ng-model=
"panel.editable"
ng-checked=
"panel.editable"
>
<label
class=
"small"
>
Editable
</label><input
type=
"checkbox"
ng-model=
"panel.editable"
ng-checked=
"panel.editable"
>
</div>
</div>
\ No newline at end of file
partials/roweditor.html
View file @
bfe3c376
...
...
@@ -59,5 +59,5 @@
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-success"
ng-click=
"dismiss();reset_panel();close_edit()"
>
Close
</button>
<button
type=
"button"
class=
"btn btn-success"
ng-click=
"
editor.index=0;
dismiss();reset_panel();close_edit()"
>
Close
</button>
</div>
\ No newline at end of file
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