From e9e3b1efc33b35280464ba2f40d96fdd6560e3c1 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 14 Feb 2024 10:56:08 +0300 Subject: Extract upload progress indication code * Extract the UI elements and code for indicating upload progress into separate, reusable "modules". * Fix bugs arising from changes. --- .../rqtl2/upload-rqtl2-bundle-step-01.html | 28 ++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'qc_app/templates/rqtl2') diff --git a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html index 64fcdcd..eaa68a9 100644 --- a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html +++ b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html @@ -1,11 +1,14 @@ {%extends "base.html"%} {%from "flash_messages.html" import flash_all_messages%} +{%from "upload_progress_indicator.html" import upload_progress_indicator%} {%block title%}Upload R/qtl2 Bundle{%endblock%} {%block contents%}

Upload R/qtl2 Bundle

+{{upload_progress_indicator()}} +
R/qtl2 bundle - R/qtl2 bundle +

Provide a valid R/qtl2 zip file here. In @@ -42,3 +45,24 @@

{%endblock%} + +{%block javascript%} + + +{%endblock%} -- cgit v1.2.3