From ec72be8717fe3a68cc9eee8c14619de58832f6f5 Mon Sep 17 00:00:00 2001
From: Julian Matschinske <julian.matschinske@wzw.tum.de>
Date: Sat, 11 Apr 2020 12:08:16 +0200
Subject: [PATCH] Remove legacy icon attributes

---
 .../analysis-window/analysis-window.component.html     |  4 ++--
 src/app/components/info-box/info-box.component.html    |  3 +--
 .../launch-analysis/launch-analysis.component.html     | 10 +++++-----
 .../pages/explorer-page/explorer-page.component.html   |  3 +--
 4 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/app/components/analysis-window/analysis-window.component.html b/src/app/components/analysis-window/analysis-window.component.html
index fc5eda49..21eb1a40 100644
--- a/src/app/components/analysis-window/analysis-window.component.html
+++ b/src/app/components/analysis-window/analysis-window.component.html
@@ -103,11 +103,11 @@
 
           <app-toggle *ngIf="task.info.target === 'drug-target'" class="footer-buttons" textOn="Drugs On" textOff="Off"
                       tooltipOn="Display drugs in the network" tooltipOff="Hide drugs in the network"
-                      [value]="showDrugs" (valueChange)="toggleDrugs($event)" icon="fa-capsules"></app-toggle>
+                      [value]="showDrugs" (valueChange)="toggleDrugs($event)"></app-toggle>
 
           <app-toggle class="footer-buttons" textOn="Animation On" textOff="Off"
                       tooltipOn="Enable the network animation." tooltipOff="Disable the network animation and freeze nodes."
-                      [value]="physicsEnabled" (valueChange)="updatePhysicsEnabled($event)" icon="fa-wind"></app-toggle>
+                      [value]="physicsEnabled" (valueChange)="updatePhysicsEnabled($event)"></app-toggle>
         </footer>
       </div>
       <div class="content tab-content scrollable" *ngIf="task && task.info.done" [class.is-visible]="tab === 'table'">
diff --git a/src/app/components/info-box/info-box.component.html b/src/app/components/info-box/info-box.component.html
index 57e89bc8..10455f2c 100644
--- a/src/app/components/info-box/info-box.component.html
+++ b/src/app/components/info-box/info-box.component.html
@@ -45,8 +45,7 @@
   <div class="field has-addons add-remove-toggle" *ngIf="wrapper.type !== 'drug'">
     <app-toggle [value]="analysis.inSelection(wrapper)"
                 (valueChange)="$event ? analysis.addItems([wrapper]) : analysis.removeItems([wrapper])" textOn="Selected"
-                textOff="Deselected" tooltipOn="Add protein to selection." tooltipOff="Remove protein from selection."
-                icon="fa-plus"></app-toggle>
+                textOff="Deselected" tooltipOn="Add protein to selection." tooltipOff="Remove protein from selection."></app-toggle>
   </div>
 </div>
 <div *ngIf="!wrapper">
diff --git a/src/app/components/launch-analysis/launch-analysis.component.html b/src/app/components/launch-analysis/launch-analysis.component.html
index 1806915e..b6217901 100644
--- a/src/app/components/launch-analysis/launch-analysis.component.html
+++ b/src/app/components/launch-analysis/launch-analysis.component.html
@@ -46,13 +46,13 @@
         <div class="field" *ngIf="target === 'drug'">
           <label class="label">Indirect Drugs</label>
           <app-toggle textOn="Include" textOff="Ignore" tooltipOn="Include indirect drugs."
-                      tooltipOff="Exclude indirect drugs from the result." icon="fa-check"
+                      tooltipOff="Exclude indirect drugs from the result."
                       [(value)]="trustrankIncludeIndirectDrugs"></app-toggle>
         </div>
         <div class="field" *ngIf="target === 'drug'">
           <label class="label">Non-approved Drugs</label>
           <app-toggle textOn="Include" textOff="Ignore" tooltipOn="Include non-approved drugs."
-                      tooltipOff="Exclude non-approved drugs from the result." icon="fa-check"
+                      tooltipOff="Exclude non-approved drugs from the result."
                       [(value)]="trustrankIncludeNonApprovedDrugs"></app-toggle>
         </div>
         <div class="field">
@@ -77,13 +77,13 @@
         <div class="field" *ngIf="target === 'drug'">
           <label class="label">Indirect Drugs</label>
           <app-toggle textOn="Include" textOff="Ignore" tooltipOn="Include indirect drugs."
-                      tooltipOff="Exclude indirect drugs from the result." icon="fa-check"
+                      tooltipOff="Exclude indirect drugs from the result."
                       [(value)]="closenessIncludeIndirectDrugs"></app-toggle>
         </div>
         <div class="field" *ngIf="target === 'drug'">
           <label class="label">Non-approved Drugs</label>
           <app-toggle textOn="Include" textOff="Ignore" tooltipOn="Include non-approved drugs."
-                      tooltipOff="Exclude non-approved drugs from the result." icon="fa-check"
+                      tooltipOff="Exclude non-approved drugs from the result."
                       [(value)]="closenessIncludeNonApprovedDrugs"></app-toggle>
         </div>
         <div class="field">
@@ -99,7 +99,7 @@
         <div class="field" *ngIf="target === 'drug'">
           <label class="label">Non-approved Drugs</label>
           <app-toggle textOn="Include" textOff="Ignore" tooltipOn="Include non-approved drugs."
-                      tooltipOff="Exclude non-approved drugs from the result." icon="fa-check"
+                      tooltipOff="Exclude non-approved drugs from the result."
                       [(value)]="degreeIncludeNonApprovedDrugs"></app-toggle>
         </div>
         <div class="field">
diff --git a/src/app/pages/explorer-page/explorer-page.component.html b/src/app/pages/explorer-page/explorer-page.component.html
index 38139f44..e2ec147a 100644
--- a/src/app/pages/explorer-page/explorer-page.component.html
+++ b/src/app/pages/explorer-page/explorer-page.component.html
@@ -167,8 +167,7 @@
               </button>
               <app-toggle class="footer-buttons" textOn="Animation On" textOff="Off"
                           tooltipOn="Enable the network animation." tooltipOff="Disable the network animation and freeze nodes."
-                          [value]="physicsEnabled" (valueChange)="updatePhysicsEnabled($event)"
-                          icon="fa-wind"></app-toggle>
+                          [value]="physicsEnabled" (valueChange)="updatePhysicsEnabled($event)"></app-toggle>
             </footer>
           </div>
         </div>
-- 
GitLab