Simplify corpus and job list data structure.

This commit is contained in:
Patrick Jentsch
2020-01-31 13:11:30 +01:00
parent 6e20e00c4e
commit 20200dac30
4 changed files with 134 additions and 179 deletions

View File

@ -86,3 +86,61 @@ indicator will show up how the column is sorted right now.; */
padding: 50px;
z-index: 999; /* tmp fix */
}
.service[data-service]:before {
content: "help";
}
.service[data-service="merge_images"]:before {
content: "burst_mode";
}
.service[data-service="nlp"]:before {
content: "format_textdirection_l_to_r";
}
.service[data-service="ocr"]:before {
content: "find_in_page";
}
.status[data-status]:before {
content: attr(data-status);
}
.status[data-status] {
background-color: #f44336 !important; /* ~materialize "red" */
}
.status[data-status="analysing"] {
background-color: #4caf50 !important; /* ~materialize green */
}
.status[data-status="complete"] {
background-color: #4caf50 !important; /* ~materialize green */
}
.status[data-status="pending"] {
background-color: #ff9800 !important; /* ~materialize orange */
}
.status[data-status="preparable"] {
background-color: #ff9800 !important; /* ~materialize orange */
}
.status[data-status="prepared"] {
background-color: #4caf50 !important; /* ~materialize green */
}
.status[data-status="preparing"] {
background-color: #03a9f4 !important; /* ~materialize light-blue */
}
.status[data-status="removing"] {
background-color: #ff5722 !important; /* ~materialize deep-orange */
}
.status[data-status="running"] {
background-color: #ffc107 !important; /* ~materialize amber */
}
.status[data-status="start analysis"] {
background-color: #ffeb3b !important; /* ~materialize yellow */
}
.status[data-status="stopping"] {
background-color: #ff5722 !important; /* ~materialize deep-orange */
}
.status[data-status="stop analysis"] {
background-color: #ff5722 !important; /* ~materialize deep-orange */
}
.status[data-status="submitted"] {
background-color: #2196f3 !important; /* ~materialize blue */
}
.status[data-status="unprepared"] {
background-color: #9e9e9e !important; /* ~materialize grey */
}