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
62372978
Commit
62372978
authored
Sep 07, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: convert tabs to spaces
parent
59cb51dc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
84 deletions
+84
-84
emails/templates/alert_notification.html
+84
-84
emails/templates/alert_notification_example.html
+0
-0
No files found.
emails/templates/alert_notification.html
View file @
62372978
[[Subject .Subject "[[.Title]]"]]
<table
class=
"row"
>
<tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<h3
style=
"/*text-align:center*/;color: [[.SeverityColor]]; font-weight: bold; font-style: italic;"
>
[[.Title]]
</h3>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<h3
style=
"/*text-align:center*/;color: [[.SeverityColor]]; font-weight: bold; font-style: italic;"
>
[[.Title]]
</h3>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table
class=
"row"
>
<tr>
<td
class=
"last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<p
style=
"/*text-align:center*/"
>
[[.Message]]
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td
class=
"last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<p
style=
"/*text-align:center*/"
>
[[.Message]]
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
[[if ne .State "ok" ]]
<table
class=
"row"
>
<tr>
<td
class=
"last"
>
<center>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"six"
>
<h5
style=
"font-weight: bold;"
>
Metric name
</h5>
</td>
<td
class=
"six last"
style=
"text-align: right; width:100px;"
>
<h5
style=
"font-weight: bold;text-align: right;"
>
Value
</h5>
</td>
</tr>
[[range .EvalMatches]]
<tr>
<td
class=
"six"
>
<h5
class=
"data"
>
[[.Metric]]
</h5>
</td>
<td
class=
"six last"
style=
"text-align: right; width:100px;"
>
<h5
class=
"data"
style=
"text-align: right;"
>
[[.Value]]
</h5>
</td>
</tr>
[[end]]
</table>
</center>
</td>
</tr>
<tr>
<td
class=
"last"
>
<center>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"six"
>
<h5
style=
"font-weight: bold;"
>
Metric name
</h5>
</td>
<td
class=
"six last"
style=
"text-align: right; width:100px;"
>
<h5
style=
"font-weight: bold;text-align: right;"
>
Value
</h5>
</td>
</tr>
[[range .EvalMatches]]
<tr>
<td
class=
"six"
>
<h5
class=
"data"
>
[[.Metric]]
</h5>
</td>
<td
class=
"six last"
style=
"text-align: right; width:100px;"
>
<h5
class=
"data"
style=
"text-align: right;"
>
[[.Value]]
</h5>
</td>
</tr>
[[end]]
</table>
</center>
</td>
</tr>
</table>
[[end]]
<table
class=
"row"
>
<tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<img
src=
"[[.ImageLink]]"
/>
</td>
</tr>
</table>
</td>
</tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center"
>
<img
src=
"[[.ImageLink]]"
/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table
class=
"row"
>
<tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center six"
>
<table
class=
"better-button"
align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
align=
"center"
class=
"better-button"
bgcolor=
"#ff8f2b"
>
<a
href=
"[[.RuleUrl]]"
target=
"_blank"
>
View your Alert rule
</a>
</td>
</tr>
</table>
</td>
<td
class=
"center six"
>
<table
class=
"better-button"
align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
align=
"center"
class=
"better-button-alt"
bgcolor=
"#efefef"
>
<a
href=
"[[.AlertPageUrl]]"
target=
"_blank"
>
Go to the Alerts page
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td
class=
"wrapper last"
>
<table
class=
"twelve columns"
>
<tr>
<td
class=
"center six"
>
<table
class=
"better-button"
align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
align=
"center"
class=
"better-button"
bgcolor=
"#ff8f2b"
>
<a
href=
"[[.RuleUrl]]"
target=
"_blank"
>
View your Alert rule
</a>
</td>
</tr>
</table>
</td>
<td
class=
"center six"
>
<table
class=
"better-button"
align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
align=
"center"
class=
"better-button-alt"
bgcolor=
"#efefef"
>
<a
href=
"[[.AlertPageUrl]]"
target=
"_blank"
>
Go to the Alerts page
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
emails/templates/alert_notification_example.html
deleted
100644 → 0
View file @
59cb51dc
This diff is collapsed.
Click to expand it.
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