diff options
Diffstat (limited to 'templates/deletion_log.html')
-rw-r--r-- | templates/deletion_log.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/deletion_log.html b/templates/deletion_log.html new file mode 100644 index 0000000..64fd7cb --- /dev/null +++ b/templates/deletion_log.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Deletion log</title> + <link href="{{.Prefix}}static/bootstrap/css/bootstrap.min.css" rel="stylesheet"> + </head> + <body> + <h1>Deletion log</h1> + + <table class="table table-hover"> + <thead> + <tr> + {{ range $k, $v := (index .Deletions 0) }} + <th>{{$k}}</th> + {{ end }} + </tr> + </thead> + {{ range .Deletions }} + <tr> + {{ range $k, $v := . }} + <td>{{$v}}</td> + {{ end }} + </tr> + {{ end }} + </table> + + <script src="{{.Prefix}}static/jquery.min.js"></script> + <script src="{{.Prefix}}static/bootstrap/js/bootstrap.min.js"></script> + </body> +</html> |