mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-14 01:50:40 +00:00
Designpatch 2/2
This commit is contained in:
@ -121,51 +121,62 @@ indicator will show up how the column is sorted right now.; */
|
||||
.analyse-link[href=""] {
|
||||
display: none;
|
||||
}
|
||||
.service[data-service]:before {
|
||||
|
||||
.btn-scale-x2 {
|
||||
transform: scale(2);
|
||||
}
|
||||
|
||||
.btn-scale-x2 .service-icon {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.service-icon[data-service]:before {
|
||||
content: "help";
|
||||
}
|
||||
.service[data-service="corpus-analysis"]:before {
|
||||
.service-icon[data-service="corpus-analysis"]:before {
|
||||
content: "H";
|
||||
}
|
||||
.service[data-service="file-setup"]:before {
|
||||
.service-icon[data-service="file-setup"]:before {
|
||||
content: "E";
|
||||
}
|
||||
.service[data-service="nlp"]:before {
|
||||
.service-icon[data-service="nlp"]:before {
|
||||
content: "G";
|
||||
}
|
||||
.service[data-service="ocr"]:before {
|
||||
.service-icon[data-service="ocr"]:before {
|
||||
content: "F";
|
||||
}
|
||||
.status[data-status]:before {
|
||||
|
||||
.status-text[data-status]:before {
|
||||
content: attr(data-status);
|
||||
}
|
||||
.status[data-status] {
|
||||
|
||||
.status-color[data-status] {
|
||||
background-color: #f44336 !important; /* ~materialize "red" */
|
||||
}
|
||||
.status[data-status="unprepared"] {
|
||||
.status-color[data-status="unprepared"] {
|
||||
background-color: #9e9e9e !important; /* ~materialize grey */
|
||||
}
|
||||
.status[data-status="submitted"] {
|
||||
.status-color[data-status="submitted"] {
|
||||
background-color: #9e9e9e !important; /* ~materialize grey */
|
||||
}
|
||||
.status[data-status="queued"] {
|
||||
.status-color[data-status="queued"] {
|
||||
background-color: #2196f3 !important; /* ~materialize blue */
|
||||
}
|
||||
.status[data-status="running"] {
|
||||
.status-color[data-status="running"] {
|
||||
background-color: #ffc107 !important; /* ~materialize amber */
|
||||
}
|
||||
.status[data-status="complete"] {
|
||||
.status-color[data-status="complete"] {
|
||||
background-color: #4caf50 !important; /* ~materialize green */
|
||||
}
|
||||
.status[data-status="prepared"] {
|
||||
.status-color[data-status="prepared"] {
|
||||
background-color: #4caf50 !important; /* ~materialize green */
|
||||
}
|
||||
.status[data-status="start analysis"] {
|
||||
.status-color[data-status="start analysis"] {
|
||||
background-color: #2196f3 !important; /* ~materialize blue */
|
||||
}
|
||||
.status[data-status="analysing"] {
|
||||
.status-color[data-status="analysing"] {
|
||||
background-color: #4caf50 !important; /* ~materialize green */
|
||||
}
|
||||
.status[data-status="stop analysis"] {
|
||||
.status-color[data-status="stop analysis"] {
|
||||
background-color: #ff5722 !important; /* ~materialize deep-orange */
|
||||
}
|
||||
|
@ -81,9 +81,9 @@ class CorpusList extends RessourceList {
|
||||
}
|
||||
CorpusList.options = {
|
||||
item: `<tr>
|
||||
<td><a class="btn-floating disabled"><i class="material-icons">book</i></a></td>
|
||||
<td><a class="btn-floating disabled"><i class="material-icons service-color" data-service="corpus-analysis">book</i></a></td>
|
||||
<td><b class="title"></b><br><i class="description"></i></td>
|
||||
<td><span class="badge new status" data-badge-caption=""></span></td>
|
||||
<td><span class="badge new status status-color status-text" data-badge-caption=""></span></td>
|
||||
<td class="right-align">
|
||||
<a class="action-button btn-floating red tooltipped waves-effect waves-light" data-action="delete" data-position="top" data-tooltip="Delete"><i class="material-icons">delete</i></a>
|
||||
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="view" data-position="top" data-tooltip="View"><i class="material-icons">send</i></a>
|
||||
|
@ -82,9 +82,9 @@ class JobList extends RessourceList {
|
||||
}
|
||||
JobList.options = {
|
||||
item: `<tr>
|
||||
<td><a class="btn-floating disabled"><i class="nopaque-icons service"></i></a></td>
|
||||
<td><a class="btn-floating disabled"><i class="nopaque-icons service service-color service-icon"></i></a></td>
|
||||
<td><b class="title"></b><br><i class="description"></i></td>
|
||||
<td><span class="badge new status" data-badge-caption=""></span></td>
|
||||
<td><span class="badge new status status-color status-text" data-badge-caption=""></span></td>
|
||||
<td class="right-align">
|
||||
<a class="action-button btn-floating red tooltipped waves-effect waves-light" data-action="delete" data-position="top" data-tooltip="Delete"><i class="material-icons">delete</i></a>
|
||||
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="view" data-position="top" data-tooltip="View"><i class="material-icons">send</i></a>
|
||||
|
@ -20,7 +20,7 @@ class AppClient {
|
||||
message = `<i class="left material-icons red-text">error</i>${message}`;
|
||||
break;
|
||||
case "job":
|
||||
message = `<i class="left material-icons">work</i>${message}`;
|
||||
message = `<i class="left nopaque-icons">J</i>${message}`;
|
||||
break;
|
||||
default:
|
||||
message = `<i class="left material-icons">notifications</i>${message}`;
|
||||
|
Reference in New Issue
Block a user