Skip to content
Snippets Groups Projects
Commit d2d08585 authored by Michael Hartung's avatar Michael Hartung
Browse files

task list styling

parent 092bb007
No related branches found
No related tags found
No related merge requests found
<div class="content">
<div class="list is-hoverable">
<a *ngFor="let task of analysis.tasks" class="list-item" [class.is-active]="task.token === token">
<a *ngFor="let task of analysis.tasks" class="list-item box small-box" [class.is-active]="task.token === token">
<div *ngIf="!task.info.startedAt">
<p>
<span class="is-capitalized"><i class="fa" [class.fa-capsules]="task.info.target === 'drug'"
......
......@@ -19,3 +19,8 @@
border: 1px solid var(--drgstn-border);
display: inline-block;
}
.small-box {
margin: 0.5rem;
padding: 0.5rem;
}
......@@ -400,7 +400,7 @@
</a>
</header>
<div *ngIf="collapseTask">
<div class="card-content overflow" *ngIf="analysis.tasks && analysis.tasks.length > 0">
<div class="card-content overflow task-list-container" *ngIf="analysis.tasks && analysis.tasks.length > 0">
<app-task-list [(token)]="selectedAnalysisToken"></app-task-list>
</div>
<footer class="card-footer">
......
......@@ -70,3 +70,7 @@
width: 100%;
}
.task-list-container {
padding: 0.5rem;
}
......@@ -364,7 +364,8 @@ export class AnalysisService {
if (this.intervalId) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(watch, 5000);
// 5000
this.intervalId = setInterval(watch, 5000000000000);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment