Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
0f7df4fd
Commit
0f7df4fd
authored
5 years ago
by
Patrick Jentsch
Browse files
Options
Downloads
Patches
Plain Diff
new status view
parent
67dab886
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/templates/corpora/corpus.html.j2
+19
-2
19 additions, 2 deletions
app/templates/corpora/corpus.html.j2
with
19 additions
and
2 deletions
app/templates/corpora/corpus.html.j2
+
19
−
2
View file @
0f7df4fd
...
@@ -7,7 +7,20 @@
...
@@ -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 @@
...
@@ -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');
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment