diff options
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"}} |
