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
0d5540ca
Commit
0d5540ca
authored
Sep 28, 2017
by
Patrick O'Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up html/sass and added final touches
parent
86159120
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
25 deletions
+33
-25
public/app/features/alerting/partials/alert_tab.html
+6
-6
public/app/plugins/panel/alertlist/module.html
+18
-18
public/sass/pages/_alerting.scss
+9
-1
No files found.
public/app/features/alerting/partials/alert_tab.html
View file @
0d5540ca
...
...
@@ -151,14 +151,14 @@
<div
class=
"alert-list-icon alert-list-item-state {{ah.stateModel.stateClass}}"
>
<i
class=
"{{ah.stateModel.iconClass}}"
></i>
</div>
<div
class=
"alert-list-main"
>
<
p
class=
"alert-list-state alert-list-text {{ah.stateModel.stateClass}}"
>
{{ah.stateModel.text}}
</p
>
<
p
class=
"alert-list-text"
>
{{ah.info}}
</p
>
<div
class=
"alert-list-main
alert-list-text
"
>
<
span
class=
"alert-list-state {{ah.stateModel.stateClass}}"
>
{{ah.stateModel.text}}
</span
>
<
span
class=
"alert-list-info"
>
{{ah.info}}
</span
>
</div>
</div>
<div
class=
"alert-list-footer"
>
<
p
class=
"alert-list-text"
>
{{ah.time}}
</p
>
<
p
class=
"alert-list-text"
>
Img Link ->
</p
>
<div
class=
"alert-list-footer
alert-list-text
"
>
<
span>
{{ah.time}}
</span
>
<
span>
<!--Img Link-->
</span
>
</div>
</div>
</li>
...
...
public/app/plugins/panel/alertlist/module.html
View file @
0d5540ca
...
...
@@ -2,23 +2,21 @@
<section
class=
"card-section card-list-layout-list"
ng-if=
"ctrl.panel.show === 'current'"
>
<ol
class=
"card-list"
>
<li
class=
"card-item-wrapper"
ng-repeat=
"alert in ctrl.currentAlerts"
>
<div
class=
"card-item card-item--alert"
>
<div
class=
"card-item-body"
>
<div
class=
"card-item-details"
>
<div
class=
"card-item-notice"
>
<div
class=
"alert-list card-item card-item--alert"
>
<div
class=
"alert-list-body"
>
<div
class=
"alert-list-icon alert-list-item-state {{alert.stateModel.stateClass}}"
>
<i
class=
"{{alert.stateModel.iconClass}}"
></i>
</div>
<div
class=
"alert-list-main"
>
<p
class=
"alert-list-title"
>
<a
href=
"dashboard/{{alert.dashboardUri}}?panelId={{alert.panelId}}&fullscreen&edit&tab=alert"
>
{{alert.name}}
</a>
</div>
<div
class=
"card-item-sub-name"
>
<span
class=
"alert-list-item-state {{alert.stateModel.stateClass}}"
>
<i
class=
"{{alert.stateModel.iconClass}}"
></i>
{{alert.stateModel.text}}
</span>
for {{alert.newStateDateAgo}}
</div>
<div
class=
"small muted"
ng-show=
"alert.executionError"
>
{{alert.executionError}}
</div>
</p>
<p
class=
"alert-list-text"
>
<span
class=
"alert-list-state {{alert.stateModel.stateClass}}"
>
{{alert.stateModel.text}}
</span>
for {{alert.newStateDateAgo}}
</p>
</div>
</div>
</div>
...
...
@@ -36,13 +34,15 @@
</div>
<div
class=
"alert-list-main"
>
<p
class=
"alert-list-title"
>
{{al.title}}
</p>
<p
class=
"alert-list-state alert-list-text {{al.stateModel.stateClass}}"
>
{{al.stateModel.text}}
</p>
<p
class=
"alert-list-text"
>
{{al.info}}
</p>
<div
class=
"alert-list-text"
>
<span
class=
"alert-list-state {{al.stateModel.stateClass}}"
>
{{al.stateModel.text}}
</span>
<span
class=
"alert-list-info alert-list-info-left"
>
{{al.info}}
</span>
</div>
</div>
</div>
<div
class=
"alert-list-footer"
>
<
p
class=
"alert-list-text"
>
{{al.time}}
</p
>
<
p
class=
"alert-list-text"
>
Img Link ->
</p
>
<
span
class=
"alert-list-text"
>
{{al.time}}
</span
>
<
span
class=
"alert-list-text"
>
<!--Img Link-->
</span
>
</div>
</div>
</li>
...
...
public/sass/pages/_alerting.scss
View file @
0d5540ca
...
...
@@ -73,6 +73,15 @@
font-size
:
$font-size-sm
;
margin
:
0
;
line-height
:
1
.5rem
;
color
:
$text-color-weak
;
}
.alert-list-info
{
color
:
$text-color
;
}
.alert-list-info-left
{
padding-left
:
2rem
;
}
.alert-list-footer
{
...
...
@@ -80,7 +89,6 @@
justify-content
:
space-between
;
flex-direction
:
column
;
align-items
:
flex-end
;
color
:
$text-color-weak
;
}
.panel-has-alert
{
...
...
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