From 2ccaf2b7afefe2851ab4cdfe24709f3dd0968634 Mon Sep 17 00:00:00 2001
From: Michael Hartung <michi@dhcp-172-21-88-178.wlan.uni-hamburg.de.local>
Date: Mon, 27 Sep 2021 14:55:21 +0200
Subject: [PATCH] naming buttons

---
 src/app/config.ts                                        | 6 ++++--
 src/app/pages/explorer-page/explorer-page.component.html | 6 +++---
 src/index.html                                           | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/app/config.ts b/src/app/config.ts
index 2abf461d..a88b6814 100644
--- a/src/app/config.ts
+++ b/src/app/config.ts
@@ -35,7 +35,8 @@ export interface IConfig {
   legendUrl: string;
   legendClass: string;
   legendPos: 'left' | 'right';
-  taskName: string;
+  taskTargetName: string,
+  taskDrugName: string,
   showLeftSidebar: boolean;
   showRightSidebar: boolean;
   showOverview: boolean;
@@ -72,7 +73,8 @@ export const defaultConfig: IConfig = {
   legendUrl: '', // 'https://exbio.wzw.tum.de/covex/assets/leg1.png' show legend image if set, otherwise default legend
   legendClass: 'legend',
   legendPos: 'left',
-  taskName: 'Run Task X',
+  taskTargetName: 'Drug Target Search',
+  taskDrugName: 'Drug Search',
   showLegendNodes: true,
   showLegendEdges: true,
   showLeftSidebar: true,
diff --git a/src/app/pages/explorer-page/explorer-page.component.html b/src/app/pages/explorer-page/explorer-page.component.html
index e459358c..bb1b5fac 100644
--- a/src/app/pages/explorer-page/explorer-page.component.html
+++ b/src/app/pages/explorer-page/explorer-page.component.html
@@ -450,7 +450,7 @@
                           ></i>
                         </span>
                         <span [ngClass]="{ 'text-normal': smallStyle }">
-                          {{ myConfig.taskName }}
+                          {{ myConfig.taskDrugName }}
                         </span>
                       </button>
                     </div>
@@ -511,7 +511,7 @@
                     <span class="icon">
                       <i class="fa fa-crosshairs"></i>
                     </span>
-                    <span> Find Drug Targets </span>
+                    <span>{{ myConfig.taskDrugName }}</span>
                   </button>
                 </div>
               </div>
@@ -538,7 +538,7 @@
                       <i class="fa fa-capsules"></i>
                     </span>
                     <span>
-                      {{ myConfig.taskName }}
+                      {{ myConfig.taskDrugName }}
                     </span>
                   </button>
                 </div>
diff --git a/src/index.html b/src/index.html
index f8cd409d..6437c273 100644
--- a/src/index.html
+++ b/src/index.html
@@ -44,7 +44,7 @@
 
   <network-expander id="netexp1"
                     config='{
-                      "nodeGroups": {"selectedNode": {"font": {"size": "18"} }, "0.5": {"shadow":"true","font": "18px verdana blue", "type": "0.5er Instanz", "color": "green", "groupName": "0.5", "shape": "star"}, "patientgroup": {"type": "Patient", "detailShowLabel": "true", "color": "#632345", "groupName": "patient group", "shape": "text", "size": "50"}, "pugGroup": {"type": "woof woof", "color": "grey", "groupName": "Pug Group", "shape": "triangle", "image": "https://static.raymondcamden.com/images/2016/11/pug.png"}},
+                      "nodeGroups": {"selectedNode": {"font": {"size": "18"} }, "0.5": {"type": "0.5er Instanz", "color": "green", "groupName": "0.5", "shape": "star"}, "patientgroup": {"type": "Patient", "detailShowLabel": "true", "color": "#632345", "groupName": "patient group", "shape": "text", "size": "50"}, "pugGroup": {"type": "woof woof", "color": "grey", "groupName": "Pug Group", "shape": "triangle", "image": "https://static.raymondcamden.com/images/2016/11/pug.png"}},
                       "edgeGroups": {"xxx": {"color": "black", "groupName": "xxx Group", "dashes": [1, 2]}, "notdashes": {"color": "black", "groupName": "not dashes Group"}},
                       "identifier": "symbol",
                       "nodeShadow": true,
-- 
GitLab