mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
new status view
This commit is contained in:
parent
67dab88674
commit
0f7df4fd3b
@ -7,7 +7,20 @@
|
|||||||
<div class="col s12 m4">
|
<div class="col s12 m4">
|
||||||
<h3 id="title">{{ corpus.title }}</h3>
|
<h3 id="title">{{ corpus.title }}</h3>
|
||||||
<p id="description">{{ corpus.description }}</p>
|
<p id="description">{{ corpus.description }}</p>
|
||||||
<a class="btn status waves-effect waves-light" id="status"></a>
|
<div class="active preloader-wrapper small" id="progress-indicator">
|
||||||
|
<div class="spinner-layer spinner-blue-only">
|
||||||
|
<div class="circle-clipper left">
|
||||||
|
<div class="circle"></div>
|
||||||
|
</div>
|
||||||
|
<div class="gap-patch">
|
||||||
|
<div class="circle"></div>
|
||||||
|
</div>
|
||||||
|
<div class="circle-clipper right">
|
||||||
|
<div class="circle"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<span class="chip status white-text" id="status"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col s12 m8">
|
<div class="col s12 m8">
|
||||||
@ -150,8 +163,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
setStatus(status) {
|
setStatus(status) {
|
||||||
let analyseBtn, statusElement;
|
let analyseBtn, progressIndicator, statusElement;
|
||||||
|
|
||||||
|
if (status != "preparable" && status != "preparing") {
|
||||||
|
progressIndicator = document.getElementById("progress-indicator");
|
||||||
|
progressIndicator.classList.add("hide");
|
||||||
|
}
|
||||||
statusElement = document.getElementById("status");
|
statusElement = document.getElementById("status");
|
||||||
statusElement.dataset.status = status;
|
statusElement.dataset.status = status;
|
||||||
analyseBtn = document.getElementById('analyse');
|
analyseBtn = document.getElementById('analyse');
|
||||||
|
Loading…
Reference in New Issue
Block a user