diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-16 22:09:39 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-16 22:09:39 +0200 |
commit | db7e822dda56d32135eca6d3e3211a50cf93d31a (patch) | |
tree | a3cdebdb6befe370b66dafd13340d533940c6467 /templates/index.tmpl | |
parent | d06f6e1398c5dedb3359ff929c5aaf7317c73ce1 (diff) | |
download | mdir-db7e822dda56d32135eca6d3e3211a50cf93d31a.tar.gz mdir-db7e822dda56d32135eca6d3e3211a50cf93d31a.tar.bz2 mdir-db7e822dda56d32135eca6d3e3211a50cf93d31a.zip |
feat: Add one more state
Add a new state to the worker so it can better report what is happening.
Also added a status report in the index page.
Diffstat (limited to 'templates/index.tmpl')
-rw-r--r-- | templates/index.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/index.tmpl b/templates/index.tmpl index 9bb7512..ae7f674 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -8,6 +8,7 @@ <th scope="col">Title</th> <th scope="col">Link</th> <th scope="col">Output</th> + <th scope="col">Status</th> <th scope="col"></th> </tr> </thead> @@ -19,6 +20,9 @@ <td>{{ .Link }}</td> <td>{{ .OutputFolder }}</td> <td> + <span id="status_{{ .ID }}" class="tag is-primary is-light"></span> + </td> + <td> <a href="entries/{{ .ID }}" >Edit</a> </span> <a onclick="deleteEntry({{ .ID }})">Delete</a> |