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
08d24928
Commit
08d24928
authored
Aug 26, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaks to edit & tabs look, removed add row from dasheditor
parent
d0d0e834
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
35 deletions
+21
-35
src/app/panels/graph/module.html
+19
-10
src/app/partials/dasheditor.html
+2
-18
src/css/less/grafana.less
+0
-7
No files found.
src/app/panels/graph/module.html
View file @
08d24928
...
...
@@ -21,14 +21,23 @@
<div
class=
"clearfix"
></div>
<div
class=
"panel-full-edit-tabs"
ng-if=
"editMode"
>
<div
ng-model=
"editor.index"
bs-tabs
>
<div
ng-repeat=
"tab in editorTabs"
data-title=
"{{tab}}"
>
</div>
</div>
<div
class=
"tab-content"
ng-repeat=
"tab in panelMeta.fullEditorTabs"
ng-if=
"editorTabs[editor.index] == tab.title"
>
<div
ng-include
src=
"tab.src"
></div>
</div>
</div>
<div
style=
"margin-top: 30px"
ng-if=
"editMode"
>
<div
class=
"dashboard-editor-header"
>
<div
class=
"dashboard-editor-title"
>
<i
class=
"icon icon-bar-chart"
></i>
Chart settings
</div>
<div
ng-model=
"editor.index"
bs-tabs
>
<div
ng-repeat=
"tab in editorTabs"
data-title=
"{{tab}}"
>
</div>
</div>
</div>
<div
class=
"dashboard-editor-body"
>
<div
ng-repeat=
"tab in panelMeta.fullEditorTabs"
ng-if=
"editorTabs[editor.index] == tab.title"
>
<div
ng-include
src=
"tab.src"
></div>
</div>
</div>
</div>
</div>
src/app/partials/dasheditor.html
View file @
08d24928
...
...
@@ -59,22 +59,6 @@
</tr>
</table>
</div>
<div
class=
"span4"
>
<div
class=
"editor-row"
>
<div
class=
"section"
>
<h5>
Add Row
</h5>
<div
class=
"editor-option"
>
<label
class=
"small"
>
Title
</label>
<input
type=
"text"
class=
"input-normal"
ng-model=
'row.title'
placeholder=
"New row"
></input>
</div>
<div
class=
"editor-option"
>
<label
class=
"small"
>
Height
</label>
<input
type=
"text"
class=
"input-mini"
ng-model=
'row.height'
></input>
</div>
</div>
<button
ng-click=
"add_row(dashboard,row); reset_row();"
class=
"btn btn-success"
>
Create Row
</button>
</div>
</div>
</div>
</div>
...
...
@@ -107,8 +91,8 @@
</div>
<div
class=
"dashboard-editor-footer"
>
<div
class=
"pull-left
grafana-version-footer
"
ng-if=
"editor.index == 0"
>
<span
class=
"editor-option small"
>
<div
class=
"pull-left"
ng-if=
"editor.index == 0"
>
<span
class=
"editor-option small"
style=
"line-height: 20px;"
>
Grafana version: {{grafanaVersion}}
</span>
<span>
|
<a
ng-click=
"toggleConsole()"
ng-show=
"!consoleEnabled"
>
enable console
</a>
<a
ng-click=
"toggleConsole()"
ng-show=
"consoleEnabled"
>
disable console
</a></span>
...
...
src/css/less/grafana.less
View file @
08d24928
...
...
@@ -522,12 +522,6 @@ select.grafana-target-segment-input {
padding: 10px;
}
.grafana-version-footer {
padding-top: 15px;
text-align: left;
}
.metrics-editor-help:hover {
.hide {
display: block;
...
...
@@ -562,7 +556,6 @@ select.grafana-target-segment-input {
.dashboard-editor-body {
padding: 20px 10px;
min-height: 100px;
overflow: hidden;
}
.dashboard-editor-footer {
...
...
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