Skip to content
Snippets Groups Projects
Commit 586eb97d authored by AndiMajore's avatar AndiMajore
Browse files

Merge branch 'master' of gitlab.rrz.uni-hamburg.de:cosy-bio/drugst.one/frontend

parents 5bffca8d af83f638
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,6 @@ const concat = require('concat'); ...@@ -11,6 +11,6 @@ const concat = require('concat');
await fs.ensureDir('drugsTone-build'); await fs.ensureDir('drugsTone-build');
await concat(files, 'drugsTone-build/drugstone.js'); await concat(files, 'drugsTone-build/drugstone.js');
await fs.copy('./dist/netex/styles.css', 'drugsTone-build/styles.css'); await fs.copy('./dist/netex/styles.css', 'drugsTone-build/styles.css');
// await fs.copy('./dist/netex/assets/', 'drugsTone-build/assets/'); await fs.copy('./dist/netex/assets/', 'drugsTone-build/assets/');
})(); })();
...@@ -29753,7 +29753,7 @@ ...@@ -29753,7 +29753,7 @@
"fs.realpath": "^1.0.0", "fs.realpath": "^1.0.0",
"inflight": "^1.0.4", "inflight": "^1.0.4",
"inherits": "2", "inherits": "2",
"minimatch": "^3.1.1", "minimatch": "~3.0.5",
"once": "^1.3.0", "once": "^1.3.0",
"path-is-absolute": "^1.0.0" "path-is-absolute": "^1.0.0"
} }
...@@ -405,7 +405,7 @@ ...@@ -405,7 +405,7 @@
<div class="column"> <div class="column">
<div class="field has-addons is-pulled-right m-1"> <div class="field has-addons is-pulled-right m-1">
<button <button
(click)="downloadNodes('drug')" (click)="downloadNodesAsCSV('drug')"
class="button is-primary control is-outlined is-rounded is-pulled-right is-small" class="button is-primary control is-outlined is-rounded is-pulled-right is-small"
> >
<app-fa-solid-icon <app-fa-solid-icon
...@@ -490,7 +490,7 @@ ...@@ -490,7 +490,7 @@
<div class="column"> <div class="column">
<div class="field has-addons is-pulled-right m-1 control"> <div class="field has-addons is-pulled-right m-1 control">
<button <button
(click)="downloadNodes('protein')" (click)="downloadNodesAsCSV('protein')"
class="button is-primary is-rounded is-outlined is-pulled-right is-small" class="button is-primary is-rounded is-outlined is-pulled-right is-small"
> >
<app-fa-solid-icon <app-fa-solid-icon
......
...@@ -699,7 +699,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges, AfterViewInit ...@@ -699,7 +699,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges, AfterViewInit
} }
} }
public downloadNodes(view: string) { public downloadNodesAsCSV(view: string) {
let data = []; let data = [];
const nodes = this.nodeData.nodes.get(); const nodes = this.nodeData.nodes.get();
nodes.forEach((node) => { nodes.forEach((node) => {
......
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
[href]="getLinkoutURL(target.key)" [href]="getLinkoutURL(target.key)"
target="_blank" target="_blank"
> >
<img class="link-icon" src="assets/{{ target.value }}.png" alt="go to {{ target.value }}" title="go to {{ target.value }}"/></a <img class="link-icon" src="assets/{{ target.value }}.png" alt="{{ target.value }}" title="{{ target.value }}"/></a
> >
</span> </span>
&nbsp; &nbsp;
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
class="is-capitalized" class="is-capitalized"
href="https://clinicaltrials.gov/ct2/results?term={{ wrapper.data.symbol }}" href="https://clinicaltrials.gov/ct2/results?term={{ wrapper.data.symbol }}"
target="_blank" target="_blank"
><img class="link-icon" src="assets/clinicaltrials.png" alt="search in clinicaltrials.gov" title="search in clinicaltrials.gov"/> ><img class="link-icon" src="assets/clinicaltrials.png" alt="ClinicalTrials.gov" title="ClinicalTrials.gov"/>
</a> </a>
</p> </p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment