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
b76de790
Commit
b76de790
authored
Oct 12, 2017
by
Patrick O'Carroll
Committed by
Torkel Ödegaard
Oct 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed minor styling issus (#9497)
* fixed minor styling issus * fixed code formatting
parent
81a4df13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
public/app/features/alerting/partials/notification_edit.html
+4
-6
public/app/features/plugins/partials/ds_edit.html
+11
-11
No files found.
public/app/features/alerting/partials/notification_edit.html
View file @
b76de790
...
@@ -40,13 +40,11 @@
...
@@ -40,13 +40,11 @@
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form width-
6
"
>
<div
class=
"gf-form width-
8
"
>
<button
type=
"submit"
ng-click=
"ctrl.save()"
class=
"btn btn-success"
>
Save
</button>
<button
type=
"submit"
ng-click=
"ctrl.save()"
class=
"btn btn-success
width-7
"
>
Save
</button>
</div>
</div>
<div
class=
"gf-form width-20"
>
<div
class=
"gf-form width-8"
>
<div
class=
"gf-form"
>
<button
type=
"submit"
ng-click=
"ctrl.testNotification()"
class=
"btn btn-secondary width-7"
>
Send Test
</button>
<button
type=
"submit"
ng-click=
"ctrl.testNotification()"
class=
"btn btn-secondary"
>
Send Test
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
public/app/features/plugins/partials/ds_edit.html
View file @
b76de790
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"page-container"
>
<div
class=
"page-container"
>
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<h1
ng-show=
"ctrl.isNew"
>
Add data source
</h1>
<h1
ng-show=
"ctrl.isNew"
>
Add data source
</h1>
<h1
ng-hide=
"ctrl.isNew"
>
Edit data source
</h1>
<h1
ng-hide=
"ctrl.isNew"
>
Edit data source
</h1>
...
@@ -22,11 +22,11 @@
...
@@ -22,11 +22,11 @@
</div>
</div>
</div>
</div>
<div
ng-if=
"ctrl.tabIndex === 0"
class=
"tab-content"
>
<div
ng-if=
"ctrl.tabIndex === 0"
class=
"tab-content"
>
<form
name=
"ctrl.editForm"
ng-if=
"ctrl.current"
>
<form
name=
"ctrl.editForm"
ng-if=
"ctrl.current"
>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-30"
>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-7"
>
Name
</span>
<span
class=
"gf-form-label width-7"
>
Name
</span>
<input
class=
"gf-form-input max-width-23"
type=
"text"
ng-model=
"ctrl.current.name"
placeholder=
"name"
required
>
<input
class=
"gf-form-input max-width-23"
type=
"text"
ng-model=
"ctrl.current.name"
placeholder=
"name"
required
>
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<gf-form-switch
class=
"gf-form"
label=
"Default"
checked=
"ctrl.current.isDefault"
switch-class=
"max-width-6"
></gf-form-switch>
<gf-form-switch
class=
"gf-form"
label=
"Default"
checked=
"ctrl.current.isDefault"
switch-class=
"max-width-6"
></gf-form-switch>
</div>
</div>
<div
class=
"gf-form"
>
<div
class=
"gf-form
max-width-30
"
>
<span
class=
"gf-form-label width-7"
>
Type
</span>
<span
class=
"gf-form-label width-7"
>
Type
</span>
<div
class=
"gf-form-select-wrapper max-width-23"
>
<div
class=
"gf-form-select-wrapper max-width-23"
>
<select
class=
"gf-form-input"
ng-model=
"ctrl.current.type"
ng-options=
"v.id as v.name for v in ctrl.types"
ng-change=
"ctrl.userChangedType()"
></select>
<select
class=
"gf-form-input"
ng-model=
"ctrl.current.type"
ng-options=
"v.id as v.name for v in ctrl.types"
ng-change=
"ctrl.userChangedType()"
></select>
...
@@ -61,8 +61,8 @@
...
@@ -61,8 +61,8 @@
<h5
ng-show=
"!ctrl.testing.done"
>
Testing....
<i
class=
"fa fa-spiner fa-spin"
></i></h5>
<h5
ng-show=
"!ctrl.testing.done"
>
Testing....
<i
class=
"fa fa-spiner fa-spin"
></i></h5>
<div
class=
"alert-{{ctrl.testing.status}} alert"
ng-show=
"ctrl.testing.done"
>
<div
class=
"alert-{{ctrl.testing.status}} alert"
ng-show=
"ctrl.testing.done"
>
<div
class=
"alert-icon"
>
<div
class=
"alert-icon"
>
<i
class=
"fa fa-exclamation-triangle"
ng-show=
"ctrl.testing.status === 'error'"
></i>
<i
class=
"fa fa-exclamation-triangle"
ng-show=
"ctrl.testing.status === 'error'"
></i>
<i
class=
"fa fa-check"
ng-show=
"ctrl.testing.status !== 'error'"
></i>
<i
class=
"fa fa-check"
ng-show=
"ctrl.testing.status !== 'error'"
></i>
</div>
</div>
<div
class=
"alert-body"
>
<div
class=
"alert-body"
>
<div
class=
"alert-title"
>
{{ctrl.testing.message}}
</div>
<div
class=
"alert-title"
>
{{ctrl.testing.message}}
</div>
...
@@ -71,9 +71,9 @@
...
@@ -71,9 +71,9 @@
</div>
</div>
<div
class=
"gf-form-button-row"
>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Add
</button>
<button
type=
"submit"
class=
"btn btn-success
width-6
"
ng-show=
"ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Add
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Save
&
Test
</button>
<button
type=
"submit"
class=
"btn btn-success
width-6
"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.saveChanges()"
>
Save
&
Test
</button>
<button
type=
"submit"
class=
"btn btn-danger"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.delete()"
>
<button
type=
"submit"
class=
"btn btn-danger
width-6
"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.delete()"
>
Delete
Delete
</button>
</button>
<a
class=
"btn btn-link"
href=
"datasources"
>
Cancel
</a>
<a
class=
"btn btn-link"
href=
"datasources"
>
Cancel
</a>
...
...
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