|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
{% extends "materialize/base.html.j2" %}
|
|
|
|
|
{% from '_constants.html.j2' import COLORS %}
|
|
|
|
|
{% from '_colors.html.j2' import colors %}
|
|
|
|
|
|
|
|
|
|
{% block html_attribs %} lang="en"{% endblock html_attribs %}
|
|
|
|
|
|
|
|
|
@ -23,46 +23,46 @@
|
|
|
|
|
<link href="{{ url_for('static', filename='css/materialize.sticky-footer.css') }}" media="screen,projection" rel="stylesheet">
|
|
|
|
|
<link href="{{ url_for('static', filename='css/nopaque.css') }}" media="screen,projection" rel="stylesheet">
|
|
|
|
|
<style>
|
|
|
|
|
.primary-color {background-color: {{ COLORS.primary }} !important;}
|
|
|
|
|
.primary-color-text {color: {{ COLORS.primary }} !important;}
|
|
|
|
|
.secondary-color {background-color: {{ COLORS.secondary }} !important;}
|
|
|
|
|
.secondary-color-text {color: {{ COLORS.secondary }} !important;}
|
|
|
|
|
.footer-color {background-color: {{ COLORS.footer }} !important;}
|
|
|
|
|
.footer-color-text {color: {{ COLORS.footer }} !important;}
|
|
|
|
|
.primary-color {background-color: {{ colors.primary }} !important;}
|
|
|
|
|
.primary-color-text {color: {{ colors.primary }} !important;}
|
|
|
|
|
.secondary-color {background-color: {{ colors.secondary }} !important;}
|
|
|
|
|
.secondary-color-text {color: {{ colors.secondary }} !important;}
|
|
|
|
|
.footer-color {background-color: {{ colors.footer }} !important;}
|
|
|
|
|
.footer-color-text {color: {{ colors.footer }} !important;}
|
|
|
|
|
|
|
|
|
|
.corpus-analysis-color {background-color: {{ COLORS.corpus_analysis }} !important;}
|
|
|
|
|
.corpus-analysis-color-text {color: {{ COLORS.corpus_analysis }} !important;}
|
|
|
|
|
.corpus-analysis-color.darken {background-color: {{ COLORS.corpus_analysis_darken }} !important;}
|
|
|
|
|
.corpus-analysis-color-text.text-darken {color: {{ COLORS.corpus_analysis_darken }} !important;}
|
|
|
|
|
.corpus-analysis-color.lighten {background-color: {{ COLORS.corpus_analysis_lighten }} !important;}
|
|
|
|
|
.corpus-analysis-color-text.text-lighten {color: {{ COLORS.corpus_analysis_lighten }} !important;}
|
|
|
|
|
.corpus-analysis-color {background-color: {{ colors.corpus_analysis }} !important;}
|
|
|
|
|
.corpus-analysis-color-text {color: {{ colors.corpus_analysis }} !important;}
|
|
|
|
|
.corpus-analysis-color.darken {background-color: {{ colors.corpus_analysis_darken }} !important;}
|
|
|
|
|
.corpus-analysis-color-text.text-darken {color: {{ colors.corpus_analysis_darken }} !important;}
|
|
|
|
|
.corpus-analysis-color.lighten {background-color: {{ colors.corpus_analysis_lighten }} !important;}
|
|
|
|
|
.corpus-analysis-color-text.text-lighten {color: {{ colors.corpus_analysis_lighten }} !important;}
|
|
|
|
|
|
|
|
|
|
.file-setup-color {background-color: {{ COLORS.file_setup }} !important;}
|
|
|
|
|
.file-setup-color-text {color: {{ COLORS.file_setup }} !important;}
|
|
|
|
|
.file-setup-color.darken {background-color: {{ COLORS.file_setup_darken }} !important;}
|
|
|
|
|
.file-setup-color-text.text-darken {color: {{ COLORS.file_setup_darken }} !important;}
|
|
|
|
|
.file-setup-color.lighten {background-color: {{ COLORS.file_setup_lighten }} !important;}
|
|
|
|
|
.file-setup-color-text.text-lighten {color: {{ COLORS.file_setup_lighten }} !important;}
|
|
|
|
|
.file-setup-color {background-color: {{ colors.file_setup }} !important;}
|
|
|
|
|
.file-setup-color-text {color: {{ colors.file_setup }} !important;}
|
|
|
|
|
.file-setup-color.darken {background-color: {{ colors.file_setup_darken }} !important;}
|
|
|
|
|
.file-setup-color-text.text-darken {color: {{ colors.file_setup_darken }} !important;}
|
|
|
|
|
.file-setup-color.lighten {background-color: {{ colors.file_setup_lighten }} !important;}
|
|
|
|
|
.file-setup-color-text.text-lighten {color: {{ colors.file_setup_lighten }} !important;}
|
|
|
|
|
|
|
|
|
|
.ocr-color {background-color: {{ COLORS.ocr }} !important;}
|
|
|
|
|
.ocr-color-text {color: {{ COLORS.ocr }} !important;}
|
|
|
|
|
.ocr-color.darken {background-color: {{ COLORS.ocr_darken }} !important;}
|
|
|
|
|
.ocr-color-text.text-darken {color: {{ COLORS.ocr_darken }} !important;}
|
|
|
|
|
.ocr-color.lighten {background-color: {{ COLORS.ocr_lighten }} !important;}
|
|
|
|
|
.ocr-color-text.text-lighten {color: {{ COLORS.ocr_lighten }} !important;}
|
|
|
|
|
.ocr-color {background-color: {{ colors.ocr }} !important;}
|
|
|
|
|
.ocr-color-text {color: {{ colors.ocr }} !important;}
|
|
|
|
|
.ocr-color.darken {background-color: {{ colors.ocr_darken }} !important;}
|
|
|
|
|
.ocr-color-text.text-darken {color: {{ colors.ocr_darken }} !important;}
|
|
|
|
|
.ocr-color.lighten {background-color: {{ colors.ocr_lighten }} !important;}
|
|
|
|
|
.ocr-color-text.text-lighten {color: {{ colors.ocr_lighten }} !important;}
|
|
|
|
|
|
|
|
|
|
.nlp-color {background-color: {{ COLORS.nlp }} !important;}
|
|
|
|
|
.nlp-color-text {color: {{ COLORS.nlp }} !important;}
|
|
|
|
|
.nlp-color.darken {background-color: {{ COLORS.nlp_darken }} !important;}
|
|
|
|
|
.nlp-color-text.text-darken {color: {{ COLORS.nlp_darken }} !important;}
|
|
|
|
|
.nlp-color.lighten {background-color: {{ COLORS.nlp_lighten }} !important;}
|
|
|
|
|
.nlp-color-text.text-lighten {color: {{ COLORS.nlp_lighten }} !important;}
|
|
|
|
|
.nlp-color {background-color: {{ colors.nlp }} !important;}
|
|
|
|
|
.nlp-color-text {color: {{ colors.nlp }} !important;}
|
|
|
|
|
.nlp-color.darken {background-color: {{ colors.nlp_darken }} !important;}
|
|
|
|
|
.nlp-color-text.text-darken {color: {{ colors.nlp_darken }} !important;}
|
|
|
|
|
.nlp-color.lighten {background-color: {{ colors.nlp_lighten }} !important;}
|
|
|
|
|
.nlp-color-text.text-lighten {color: {{ colors.nlp_lighten }} !important;}
|
|
|
|
|
|
|
|
|
|
{% if scheme_primary_color is not defined %}
|
|
|
|
|
{% set scheme_primary_color = COLORS.primary %}
|
|
|
|
|
{% set scheme_primary_color = colors.primary %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if scheme_secondary_color is not defined %}
|
|
|
|
|
{% set scheme_secondary_color = COLORS.secondary %}
|
|
|
|
|
{% set scheme_secondary_color = colors.secondary %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
main .btn, main .btn-small, main .btn-large, main .btn-floating {background-color: {{ scheme_primary_color }};}
|
|
|
|
|
main .btn:hover, main .btn-large:hover, main .btn-small:hover, main .btn-floating:hover {background-color: {{ scheme_secondary_color }};}
|
|
|
|
@ -130,10 +130,10 @@
|
|
|
|
|
<li><a href="{{ url_for('main.dashboard', _anchor='jobs') }}" style="padding-left: 47px;"><i class="material-icons">work</i>My Jobs</a></li>
|
|
|
|
|
<li><div class="divider"></div></li>
|
|
|
|
|
<li><a class="subheader">Processes & Services</a></li>
|
|
|
|
|
<li style="background-color: {{ COLORS.file_setup }}; border-left: 10px solid {{ COLORS.file_setup_darken }};"><a href="{{ url_for('services.service', service='file-setup') }}"><i class="material-icons">burst_mode</i>File setup</a></li>
|
|
|
|
|
<li style="background-color: {{ COLORS.ocr }}; border-left: 10px solid {{ COLORS.ocr_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
|
|
|
|
|
<li style="background-color: {{ COLORS.nlp }}; border-left: 10px solid {{ COLORS.nlp_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='nlp') }}"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
|
|
|
|
|
<li style="background-color: {{ COLORS.corpus_analysis }}; border-left: 10px solid {{ COLORS.corpus_analysis_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='corpus_analysis') }}"><i class="material-icons">search</i>Corpus analysis</a></li>
|
|
|
|
|
<li style="background-color: {{ colors.file_setup }}; border-left: 10px solid {{ colors.file_setup_darken }};"><a href="{{ url_for('services.service', service='file-setup') }}"><i class="material-icons">burst_mode</i>File setup</a></li>
|
|
|
|
|
<li style="background-color: {{ colors.ocr }}; border-left: 10px solid {{ colors.ocr_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
|
|
|
|
|
<li style="background-color: {{ colors.nlp }}; border-left: 10px solid {{ colors.nlp_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='nlp') }}"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
|
|
|
|
|
<li style="background-color: {{ colors.corpus_analysis }}; border-left: 10px solid {{ colors.corpus_analysis_darken }}; margin-top: 5px;"><a href="{{ url_for('services.service', service='corpus_analysis') }}"><i class="material-icons">search</i>Corpus analysis</a></li>
|
|
|
|
|
<li><div class="divider"></div></li>
|
|
|
|
|
<li><a class="subheader">Account</a></li>
|
|
|
|
|
<li><a href="{{ url_for('settings.index') }}"><i class="material-icons">settings</i>Settings</a></li>
|
|
|
|
|