mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-31 03:49:03 +00:00
Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development
This commit is contained in:
commit
a9efc06d07
@ -74,7 +74,8 @@ def corpus_analysis(corpus_id):
|
||||
return redirect(url_for('corpora.corpus_analysis', corpus_id=corpus_id,
|
||||
query=query, hits_per_page=hits_per_page,
|
||||
context=context))
|
||||
return render_template('corpora/corpus_analysis.html.j2', corpus=corpus,
|
||||
return render_template('corpora/corpus_analysis.html.j2',
|
||||
corpus_id=corpus_id,
|
||||
form=form, dl_form=dl_form,
|
||||
title='Corpus: {}'.format(corpus.title))
|
||||
|
||||
|
@ -79,3 +79,8 @@ class CorpusList extends List {
|
||||
);
|
||||
}
|
||||
}
|
||||
CorpusList.STATUS_COLORS = {"unprepared": "grey",
|
||||
"preparable": "orange",
|
||||
"preparing": "yellow",
|
||||
"prepared": "green",
|
||||
"default": "red"};
|
||||
|
@ -113,7 +113,11 @@ JobList.SERVICE_COLORS = {"nlp": "blue",
|
||||
JobList.SERVICE_ICONS = {"nlp": "format_textdirection_l_to_r",
|
||||
"ocr": "find_in_page",
|
||||
"default": "help"};
|
||||
JobList.STATUS_COLORS = {"pending": "amber",
|
||||
"running": "indigo",
|
||||
"complete": "teal",
|
||||
JobList.STATUS_COLORS = {"submitted": "blue",
|
||||
"preparing": "light-blue",
|
||||
"pending": "orange",
|
||||
"running": "amber",
|
||||
"complete": "green",
|
||||
"stopping": "orange",
|
||||
"removing": "deep-orange",
|
||||
"default": "red"};
|
||||
|
@ -1,7 +1,9 @@
|
||||
{% extends "full_width.html.j2" %}
|
||||
|
||||
{% block page_content %}
|
||||
|
||||
<div class="col s12 m3 l3 sticky">
|
||||
<a class="waves-effect waves-light btn" href="{{ url_for('corpora.corpus', corpus_id=corpus_id) }}"><i class="material-icons left">arrow_back</i>Back to corpus overview</a>
|
||||
<div class="card">
|
||||
<form id="query_form" method="POST">
|
||||
<div class="card-content">
|
||||
|
@ -38,7 +38,7 @@ services:
|
||||
- storage:/mnt/opaque
|
||||
- ./logs:/home/opaque_daemon/logs
|
||||
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
|
||||
- ../opaque_daemon/merge_corpus_files.py:/home/merge_corpus_files.py
|
||||
- ../opaque_daemon/merge_corpus_files.py:/home/opaque_daemon/merge_corpus_files.py
|
||||
- ../opaque_daemon/config.ini:/home/opaque_daemon/config.ini
|
||||
- ../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
|
||||
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user