diff options
| author | Horus3 | 2015-02-27 04:02:15 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-27 04:02:15 +0100 |
| commit | 6837ddf68f13a1633ea868ab55d71389ca5bc175 (patch) | |
| tree | 94fbfabdfa4506eb1b2dbf0067a7c0fa87f294c9 /views/email/index.html | |
| parent | 60767a3ea8190d3f070f3aae86c2d72ffb10cfd6 (diff) | |
| download | statuspage-6837ddf68f13a1633ea868ab55d71389ca5bc175.tar.gz | |
Version 0.2. Sends E-Mails now. Also sticky post on index page to quickly inform people. Concatenated all CSS and JavaScript files.
Diffstat (limited to 'views/email/index.html')
| -rw-r--r-- | views/email/index.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/views/email/index.html b/views/email/index.html new file mode 100644 index 0000000..02a3ef7 --- /dev/null +++ b/views/email/index.html @@ -0,0 +1,29 @@ +{{template "header.html"}} + +<div class="container"> + <div class="row"> + <table class="table table-striped table-hover "> + <thead> + <th>#</th> + <th>Host</th> + <th>Description</th> + <th>Status</th> + <th>Last Update</th> + <th>Failure Reason</th> + </thead> + <tbody> +{{range $index, $results := .}} + <tr class="{{.Class}}"> + <td>{{add $index 1}}</td> + <td>{{.Host}} <a href="{{.Url}}" title="{{.Host}}" target="_blank"> <span class="fa fa-external-link-square"></span></a></td> + <td>{{.Description}}</td> + <td>{{.Status}}</td> + <td>{{.UpdatedAt}}</td> + <td>{{.Reason}}</td> + </tr> +{{end}} + </tbody> + </table> + </div> +</div> +{{template "footer.html"}} |
