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 @@ ...@@ -35,6 +35,13 @@
</div> </div>
</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 *ngIf="algorithm==='trustrank'">
<div class="field" *ngIf="target === 'drug'"> <div class="field" *ngIf="target === 'drug'">
<label class="label">Indirect Drugs</label> <label class="label">Indirect Drugs</label>
...@@ -145,10 +152,15 @@ ...@@ -145,10 +152,15 @@
<footer class="modal-card-foot"> <footer class="modal-card-foot">
<button (click)="startTask(); close()" class="button is-success is-rounded has-tooltip" <button (click)="startTask(); close()" class="button is-success is-rounded has-tooltip"
data-tooltip="Run the analysis." data-tooltip="Run the analysis."
[disabled]="(target === 'drug' && hasBaits) || !analysis.canLaunchTask()">Launch [disabled]="(target === 'drug' && hasBaits) || !analysis.canLaunchTask() || (algorithm === 'keypathwayminer' && hasBaits)">
</button> <span class="icon">
<button (click)="close()" class="button is-rounded has-tooltip" data-tooltip="Close the current window.">Close <i class="fa fa-rocket"></i>
</span>
<span>
Launch
</span>
</button> </button>
<button (click)="close()" class="button is-rounded has-tooltip" data-tooltip="Close the current window.">Close</button>
</footer> </footer>
</div> </div>
</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