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
bd2c9853
Commit
bd2c9853
authored
Dec 14, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor tweaks to alert tab
parent
b10f558a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
public/app/features/alerting/partials/alert_tab.html
+7
-5
public/app/features/dashboard/dashgrid/PanelEditor.tsx
+1
-1
public/sass/base/_icons.scss
+2
-2
No files found.
public/app/features/alerting/partials/alert_tab.html
View file @
bd2c9853
<div
class=
"panel-option-section__body"
>
<div
class=
"edit-tab-with-sidemenu"
ng-if=
"ctrl.alert"
>
<div
class=
"panel-option-section__body"
ng-if=
"ctrl.alert"
>
<div
class=
"edit-tab-with-sidemenu"
>
<aside
class=
"edit-sidemenu-aside"
>
<ul
class=
"edit-sidemenu"
>
<li
ng-class=
"{active: ctrl.subTabIndex === 0}"
>
...
...
@@ -177,10 +177,12 @@
</div>
</div>
</div>
</div>
<div
class=
"gf-form-group"
ng-if=
"!ctrl.alert"
>
<div
class=
"gf-form-button-row"
>
<button
class=
"btn btn-inverse"
ng-click=
"ctrl.enable()"
>
<div
class=
"gf-form-group p-t-4 p-b-4"
ng-if=
"!ctrl.alert"
>
<div
class=
"empty-list-cta"
>
<div
class=
"empty-list-cta__title"
>
Panel has no alert rule defined
</div>
<button
class=
"empty-list-cta__button btn btn-xlarge btn-success"
ng-click=
"ctrl.enable()"
>
<i
class=
"icon-gf icon-gf-alert"
></i>
Create Alert
</button>
...
...
public/app/features/dashboard/dashgrid/PanelEditor.tsx
View file @
bd2c9853
...
...
@@ -53,7 +53,7 @@ export class PanelEditor extends PureComponent<PanelEditorProps> {
return
<
GeneralTab
panel=
{
panel
}
/>;
case
'queries'
:
return
<
QueriesTab
panel=
{
panel
}
dashboard=
{
dashboard
}
/>;
case
'alert
s
'
:
case
'alert'
:
return
<
AlertTab
angularPanel=
{
angularPanel
}
/>;
case
'visualization'
:
return
(
...
...
public/sass/base/_icons.scss
View file @
bd2c9853
...
...
@@ -221,11 +221,11 @@
background-image
:
url('../img/icons_
#{
$theme-name
}
_theme/icon_advanced.svg')
;
}
.gicon-alert
s
-active
{
.gicon-alert-active
{
background-image
:
url('../img/icons_
#{
$theme-name
}
_theme/icon_alerting_active.svg')
;
}
.gicon-alert
s
{
.gicon-alert
{
background-image
:
url('../img/icons_
#{
$theme-name
}
_theme/icon_alerting.svg')
;
}
...
...
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