aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/insert_progress.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-25 11:07:33 -0500
committerFrederick Muriuki Muriithi2024-07-25 14:34:09 -0500
commit754e8f214b940e05298cb360ed829f5c685d55a5 (patch)
tree62c2c5b601746621f0949b38937ad232f006dee2 /qc_app/templates/insert_progress.html
parentde9e1b9fe37928b864bea28b408de6c14d04526b (diff)
downloadgn-uploader-754e8f214b940e05298cb360ed829f5c685d55a5.tar.gz
Rename module: qc_app --> uploader
Diffstat (limited to 'qc_app/templates/insert_progress.html')
-rw-r--r--qc_app/templates/insert_progress.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/qc_app/templates/insert_progress.html b/qc_app/templates/insert_progress.html
deleted file mode 100644
index 52177d6..0000000
--- a/qc_app/templates/insert_progress.html
+++ /dev/null
@@ -1,46 +0,0 @@
-{%extends "base.html"%}
-{%from "stdout_output.html" import stdout_output%}
-
-{%block extrameta%}
-<meta http-equiv="refresh" content="5">
-{%endblock%}
-
-{%block title%}Job Status{%endblock%}
-
-{%block contents%}
-<h1 class="heading">{{job_name}}</h1>
-
-<div class="row">
- <form>
- <div class="form-group">
- <label for="job_status" class="form-label">status:</label>
- <span class="form-text">{{job_status}}: {{message}}</span>
- </div>
-
-{%if job.get("stdout", "").split("\n\n") | length < 3 %}
-{%set lines = 0%}
-{%else%}
-{%set lines = (job.get("stdout", "").split("\n\n") | length / 3) %}
-{%endif%}
-{%set totallines = job.get("totallines", lines+3) | int %}
-{%if totallines > 1000 %}
-{%set fraction = ((lines*1000)/totallines) %}
-{%else%}
-{%set fraction = (lines/totallines)%}
-{%endif%}
-
- <div class="form-group">
- <label for="job_{{job_id}}" class="form-label">inserting: </label>
- <progress id="jobs_{{job_id}}"
- value="{{(fraction)}}"
- class="form-control">{{fraction*100}}</progress>
- <span class="form-text text-muted">
- {{"%.2f" | format(fraction * 100 | float)}}%</span>
- </div>
- </form>
-</div>
-
-
-{{stdout_output(job)}}
-
-{%endblock%}