You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
podgrab/client/backups.html

58 lines
1.1 KiB

4 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PodGrab</title>
{{template "commoncss"}}
<style>
.button-delete{
background-color: indianred;
color:wheat;
}
img{
display: none;
}
@media (max-width: 750px) {
.label-body{
display: inline!important;
}
}
/* Larger than tablet */
@media (min-width: 750px) {
img{
display: block
}
}
</style>
</head>
<body>
<div class="container">
{{template "navbar" .}}
<br>
<div class="row" id="app">
<div class="columns twelve">
<table class="u-full-width">
<thead>
<th>Date</th>
<th>Path</th>
</thead>
<tbody>
{{ range .backups}}
<tr>
<td>{{ formatDate .date }}</td>
<td><a href="{{ .path }}" download="">{{.name}}</a></td>
</tr>
{{end}}
</tbody>
</table>
</div>
</div>
{{template "scripts"}}
<script>
</script>
</body>
</html>