Skip to content
Snippets Groups Projects
Commit eb7c04c7 authored by Julian Späth's avatar Julian Späth
Browse files

Merge branch 'analysis-warnings-and-better-table' into 'master'

Add icon to launch button, add warning for KPM

See merge request covid-19/frontend!82
parents 1358f06f b7640e9d
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,13 @@
</div>
</div>
<div *ngIf="algorithm === 'keypathwayminer' && hasBaits">
<div class="notification is-warning warning">
You have selected <i class="fa fa-virus"></i> viral proteins.
If you want to use KeyPathwayMiner, please remove them because it cannot process them.
</div>
</div>
<div *ngIf="algorithm==='trustrank'">
<div class="field" *ngIf="target === 'drug'">
<label class="label">Indirect Drugs</label>
......@@ -145,10 +152,15 @@
<footer class="modal-card-foot">
<button (click)="startTask(); close()" class="button is-success is-rounded has-tooltip"
data-tooltip="Run the analysis."
[disabled]="(target === 'drug' && hasBaits) || !analysis.canLaunchTask()">Launch
</button>
<button (click)="close()" class="button is-rounded has-tooltip" data-tooltip="Close the current window.">Close
[disabled]="(target === 'drug' && hasBaits) || !analysis.canLaunchTask() || (algorithm === 'keypathwayminer' && hasBaits)">
<span class="icon">
<i class="fa fa-rocket"></i>
</span>
<span>
Launch
</span>
</button>
<button (click)="close()" class="button is-rounded has-tooltip" data-tooltip="Close the current window.">Close</button>
</footer>
</div>
</div>
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