blob: 47eab2bbc451b3d62d6b41572103ed8945ef9c79 [file] [log] [blame]
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +04001{{ define "task" }}
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +04002{{ range . }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +04003<li aria-busy="{{ eq .Status 0 }}">
4 {{ .Title }}{{ if .Err }} - {{ .Err.Error }} {{ end }}
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +04005 {{ if .Subtasks }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +04006 <ul>
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +04007 {{ template "task" .Subtasks }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +04008 </ul>
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +04009 {{ end }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040010</li>
11{{ end }}
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +040012{{ end }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040013
Giorgi Lekveishvili081f18f2023-11-07 14:58:10 +040014<!DOCTYPE html>
15<html lang="en" data-theme="light">
16 <head>
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +040017 <link rel="stylesheet" href="/static/pico.min.css">
18 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css">
19 <link rel="stylesheet" href="/static/main.css">
Giorgi Lekveishvili081f18f2023-11-07 14:58:10 +040020 <meta charset="utf-8" />
21 <meta name="viewport" content="width=device-width, initial-scale=1" />
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040022 {{ if not (or (eq .Root.Status 2) (eq .Root.Status 3))}}
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +040023 <meta http-equiv="refresh" content="1000">
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040024 {{ end }}
Giorgi Lekveishvili081f18f2023-11-07 14:58:10 +040025 </head>
26 <body>
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +040027 <nav id="menu" class="container-fluid">
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040028 <ul>
Giorgi Lekveishvilidf874f42023-12-11 15:46:46 +040029 <li class="dodo">do<span class="highlight">do:</span></li>
30 </ul>
31 <ul>
32 <li><a href="#">register</a></li>
33 <li><a href="#">apps</a></li>
34 <li><a href="#" style="border-right: none;">about</a></li>
35 </ul>
36 </nav>
37 <main class="container">
38 <ul>
39 {{ template "task" .Root.Subtasks }}
Giorgi Lekveishvili46743d42023-12-10 15:47:23 +040040 </ul>
41 </main>
Giorgi Lekveishvili081f18f2023-11-07 14:58:10 +040042 </body>
43</html>