@@ -214,7 +214,9 @@ var tpl = template.Must(template.New("index").Funcs(template.FuncMap{
214
214
integrity="sha256-7rF6RaSKyh16288E3hVdzQtHyzatA2MQRGu0cf6pqqM=" crossorigin="anonymous">
215
215
<script>
216
216
function toggleTimes() {
217
- document.querySelectorAll("tbody time").forEach(el => {
217
+ const times = document.querySelectorAll("tbody time")
218
+ for (let i = 0, len = times.length; i < len; ++i) {
219
+ const el = times[i]
218
220
if (!el.dataset.text) {
219
221
el.dataset.text = el.innerText
220
222
}
@@ -223,7 +225,7 @@ var tpl = template.Must(template.New("index").Funcs(template.FuncMap{
223
225
} else {
224
226
el.innerText = el.dataset.text
225
227
}
226
- })
228
+ }
227
229
}
228
230
229
231
document.addEventListener("DOMContentLoaded", () => {
@@ -253,6 +255,9 @@ var tpl = template.Must(template.New("index").Funcs(template.FuncMap{
253
255
Toggle times
254
256
</button>
255
257
Date: {{ fmtTime .Time false }}
258
+ <br>
259
+ <a href="https://github.com/digineo/zackup">Digineo Zackup</a>
260
+ • <a href="https://github.com/digineo/zackup/issues">Issues</a>
256
261
</caption>
257
262
<thead>
258
263
<tr>
@@ -286,13 +291,13 @@ var tpl = template.Must(template.New("index").Funcs(template.FuncMap{
286
291
<td class="text-right">{{ fmtTime .SucceededAt true }}</td>
287
292
<td><span class="badge badge-secondary">{{ fmtDuration .SuccessDuration }}</span></td>
288
293
{{ else }}
289
- <td colspan="2">{{ na }}</td>
294
+ <td colspan="2" class="text-center" >{{ na }}</td>
290
295
{{ end }}
291
296
{{ if .FailedAt }}
292
297
<td class="text-right">{{ fmtTime .FailedAt true }}</td>
293
298
<td><span class="badge badge-secondary">{{ fmtDuration .FailureDuration }}</span></td>
294
299
{{ else }}
295
- <td colspan="2">{{ na }}</td>
300
+ <td colspan="2" class="text-center" >{{ na }}</td>
296
301
{{ end }}
297
302
<td>
298
303
{{ if .ScheduledAt }}
0 commit comments