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

Add icon to launch button, add warning for KPM

parent 1358f06f
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