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

updated license agreement

parent 96ef65db
No related branches found
No related tags found
No related merge requests found
<div <div
class="modal absolute" class="modal absolute"
[class.is-active]="show && drugstoneConfig.config.useNedrexLicensed && license" [class.is-active]="show && drugstoneConfig.config.licensedDatasets && license"
> >
<div class="modal-background"></div> <div class="modal-background"></div>
<div class="modal-card"> <div class="modal-card">
<header class="modal-card-head"> <header class="modal-card-head">
<p class="modal-card-title"> <p class="modal-card-title">
<span class="icon"><i class="fa fa-key"></i></span> <span class="icon"><i class="fa fa-key"></i></span>
NeDRex License Data License Agreement
</p> </p>
</header> </header>
<section class="modal-card-body"> <section class="modal-card-body">
<div [innerHTML]="license"></div> <div class="is-text-align-justify" style="margin-bottom: 16px"> <i>For the use of licenced data of sources like DrugBank and OMIM, partially provided by the NeDRex database, the terms of use for data of the NeDRex platform have to be accepted:</i></div>
<div [innerHTML]="license" class="is-text-align-justify"></div>
</section> </section>
<footer class="modal-card-foot"> <footer class="modal-card-foot">
<button <button
......
.absolute { .absolute {
position: absolute !important; position: absolute !important;
} }
\ No newline at end of file
.is-text-align-justify {
text-align: justify
}
...@@ -79,10 +79,10 @@ export interface IConfig { ...@@ -79,10 +79,10 @@ export interface IConfig {
autofillEdges: boolean; autofillEdges: boolean;
interactions?: InteractionDatabase; interactions?: InteractionDatabase;
physicsOn?: boolean; physicsOn?: boolean;
licensedDatasets?: boolean;
identifier?: Identifier; identifier?: Identifier;
nodeShadow?: boolean; nodeShadow?: boolean;
edgeShadow?: boolean; edgeShadow?: boolean;
useNedrexLicensed?: boolean;
algorithms: { [key in AlgorithmTarget]: Array<AlgorithmType | QuickAlgorithmType> } algorithms: { [key in AlgorithmTarget]: Array<AlgorithmType | QuickAlgorithmType> }
} }
...@@ -163,12 +163,11 @@ export const defaultConfig: IConfig = { ...@@ -163,12 +163,11 @@ export const defaultConfig: IConfig = {
interactionProteinProtein: 'NeDRex', interactionProteinProtein: 'NeDRex',
associatedProteinDisorder: 'NeDRex', associatedProteinDisorder: 'NeDRex',
indicationDrugDisorder: 'NeDRex', indicationDrugDisorder: 'NeDRex',
licencedDatasets: false, licensedDatasets: false,
nodeShadow: true, nodeShadow: true,
edgeShadow: true, edgeShadow: true,
autofillEdges: true, autofillEdges: true,
physicsOn: false, physicsOn: false,
useNedrexLicensed: true,
selfReferences: false, selfReferences: false,
algorithms: { algorithms: {
'drug': ['trustrank', 'closeness', 'degree', 'proximity'], 'drug': ['trustrank', 'closeness', 'degree', 'proximity'],
......
.modal-card { .modal-card {
height: 800px; height: 500px;
max-height: 80vh;
} }
.modal-card-body { .modal-card-body {
......
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
<drugst-one id="netexp1" <drugst-one id="netexp1"
pluginId="2" pluginId="2"
groups='{"nodeGroups":{"important":{"type":"gene","color":"#ff881f","font":{"color":"#000000"},"groupName":"Important Gene","shape":"star"},"gene":{"type":"gene","color":"#4da300","font":{"color":"#f0f0f0"},"groupName":"Gene","shape":"circle"}}}' groups='{"nodeGroups":{"important":{"type":"gene","color":"#ff881f","font":{"color":"#000000"},"groupName":"Important Gene","shape":"star"},"gene":{"type":"gene","color":"#4da300","font":{"color":"#f0f0f0"},"groupName":"Gene","shape":"circle"}}}'
config='{"licencedDatasets": false, "licencedDatasets": false,"physicsOn":false,"identifier":"symbol","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":true,"showLegend":true}' config='{"licensedDatasets": false, "physicsOn":false,"identifier":"symbol","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":true,"showLegend":true}'
network='{"nodes":[{"id":"ATM","label":"ATM","group":"gene","x":289,"y":242},{"id":"BARD1","label":"BARD1","group":"gene","x":44,"y":250},{"id":"BRCA1","label":"BRCA1","group":"gene","x":466,"y":576},{"id":"BRCA2","label":"BRCA2","group":"gene","x":507,"y":285},{"id":"BRIP1","label":"BRIP1","group":"gene","x":54,"y":474},{"id":"CHEK2","label":"CHEK2","group":"gene","x":216,"y":590},{"id":"CDH1","label":"CDH1","group":"gene","x":320,"y":-57},{"id":"NF1","label":"NF1","group":"gene","x":481,"y":111},{"id":"NBN","label":"NBN","group":"gene","x":-57,"y":314},{"id":"PALB2","label":"PALB2","group":"gene","x":450,"y":190},{"id":"PTEN","label":"PTEN","group":"important","x":305,"y":494},{"id":"RAD51C","label":"RAD51C","group":"gene","x":182,"y":-90},{"id":"RAD51D","label":"RAD51D","group":"gene","x":368,"y":73},{"id":"STK11","label":"STK11","group":"gene","x":686,"y":330},{"id":"TP53","label":"TP53","group":"important","x":333,"y":316}]}' network='{"nodes":[{"id":"FOXP3","label":"FOXP3","group":"gene"},{"id":"ATM","label":"ATM","group":"gene","x":289,"y":242},{"id":"BARD1","label":"BARD1","group":"gene","x":44,"y":250},{"id":"BRCA1","label":"BRCA1","group":"gene","x":466,"y":576},{"id":"BRCA2","label":"BRCA2","group":"gene","x":507,"y":285},{"id":"BRIP1","label":"BRIP1","group":"gene","x":54,"y":474},{"id":"CHEK2","label":"CHEK2","group":"gene","x":216,"y":590},{"id":"CDH1","label":"CDH1","group":"gene","x":320,"y":-57},{"id":"NF1","label":"NF1","group":"gene","x":481,"y":111},{"id":"NBN","label":"NBN","group":"gene","x":-57,"y":314},{"id":"PALB2","label":"PALB2","group":"gene","x":450,"y":190},{"id":"PTEN","label":"PTEN","group":"important","x":305,"y":494},{"id":"RAD51C","label":"RAD51C","group":"gene","x":182,"y":-90},{"id":"RAD51D","label":"RAD51D","group":"gene","x":368,"y":73},{"id":"STK11","label":"STK11","group":"gene","x":686,"y":330},{"id":"TP53","label":"TP53","group":"important","x":333,"y":316}]}'
> >
</drugst-one> </drugst-one>
...@@ -104,8 +104,8 @@ ...@@ -104,8 +104,8 @@
<!-- <drugst-one id="netexp1"--> <!-- <drugst-one id="netexp1"-->
<!-- pluginId="2"--> <!-- pluginId="2"-->
<!-- groups='{"nodeGroups":{"node":{"type":"Gene","color":"#0000FF","font":{"color":"#ffffff"},"groupName":"Node","shape":"ellipse"}, "gene":{"type":"Gene","color":"#CD5C5C","font":{"color":"#000000"},"groupName":"Gene","shape":"ellipse"}}}'--> <!-- groups='{"nodeGroups":{"node":{"type":"Gene","color":"#0000FF","font":{"color":"#ffffff"},"groupName":"Node","shape":"ellipse"}, "gene":{"type":"Gene","color":"#CD5C5C","font":{"color":"#000000"},"groupName":"Gene","shape":"ellipse"}}}'-->
<!-- config='{"selfReferences": false, "licencedDatasets": false,"physicsOn":false,"identifier":"ensg","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":true,"showLegend":true}'--> <!-- config='{"selfReferences": false, "licensedDatasets": false,"physicsOn":false,"identifier":"ensg","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":true,"showLegend":true}'-->
<!-- network='{"nodes":[{"id":"ENSG00000185379","group":"gene","label":"ENSG00000185379"},{"id":"ENSG00000108384","group":"gene","label":"ENSG00000108384"},{"id":"ENSG00000138376","group":"gene","label":"ENSG00000138376"},{"id":"ENSG00000284792","group":"gene","label":"ENSG00000284792"},{"id":"ENSG00000171862","group":"gene","label":"ENSG00000171862"},{"id":"ENSG00000141510","group":"gene","label":"ENSG00000141510"}],"edges":[]}'--> <!-- network='{"nodes":[{"id":"ENSG00000049768", "group": "gene", "label":"ENSG00000049768"},{"id":"ENSG00000185379","group":"gene","label":"ENSG00000185379"},{"id":"ENSG00000108384","group":"gene","label":"ENSG00000108384"},{"id":"ENSG00000138376","group":"gene","label":"ENSG00000138376"},{"id":"ENSG00000284792","group":"gene","label":"ENSG00000284792"},{"id":"ENSG00000171862","group":"gene","label":"ENSG00000171862"},{"id":"ENSG00000141510","group":"gene","label":"ENSG00000141510"}],"edges":[]}'-->
<!-- >--> <!-- >-->
<!--</drugst-one>--> <!--</drugst-one>-->
</div> </div>
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
} }
function changeLicenced(licenced){ function changeLicenced(licenced){
setAttribute('licencedDatasets',licenced) setAttribute('licensedDatasets',licenced)
} }
function applyDataset(){ function applyDataset(){
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
nav.navbar { nav.navbar {
height: 60px; height: 60px;
} }
.modal-card {
max-height: 90% !important;
}
img.menu-icon.is-hoverable.navbar-item.logo { img.menu-icon.is-hoverable.navbar-item.logo {
height: 40px; height: 40px;
......
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