diff --git a/web/app/templates/jobs/job.html.j2 b/web/app/templates/jobs/job.html.j2 index 70cf4736..20fda0f3 100644 --- a/web/app/templates/jobs/job.html.j2 +++ b/web/app/templates/jobs/job.html.j2 @@ -1,168 +1,171 @@ {% extends "nopaque.html.j2" %} - -{% set headline = 'Job ({service}) - {title}'.format(service=job.service, title=job.title) %} +{% from '_constants.html.j2' import COLORS %} {% if job.service == 'file-setup' %} + {% set border_color = COLORS.file_setup_darken %} {% set main_class = 'file-setup-color lighten' %} + {% set scheme_color = COLORS.file_setup_darken %} {% elif job.service == 'nlp' %} + {% set border_color = COLORS.nlp_darken %} {% set main_class = 'nlp-color lighten' %} + {% set scheme_color = COLORS.nlp_darken %} {% elif job.service == 'ocr' %} + {% set border_color = COLORS.ocr_darken %} {% set main_class = 'ocr-color lighten' %} + {% set scheme_color = COLORS.ocr_darken %} {% endif %} + +{% block main_attribs %} class="{{ main_class }}"{% endblock main_attribs %} + {% block page_content %} +
{{ job.description }}
+{{ job.description }}
+Original input files.
+Filename | +{# Actions #} | +
---|
Original input files.
-Filename | -{# Actions #} | -
---|
Processed result files.
+Result Type | +Archive Name | +{# Actions #} | +
---|---|---|
+
+ file_downloadNothing here...
+
+ + No results available (yet). Is the job already completed? + + |
+
Processed result files.
-Result Type | -Archive Name | -{# Actions #} | -
---|---|---|
-
- file_downloadNothing here...
-
- - No results available (yet). Is the job already completed? - - |
-