diff --git a/lib/jsorolla b/lib/jsorolla
index 04758c2b5..fb06f28ed 160000
--- a/lib/jsorolla
+++ b/lib/jsorolla
@@ -1 +1 @@
-Subproject commit 04758c2b5c3b695645edd1b828dc3af5df5ba721
+Subproject commit fb06f28ed882f38fae5bf64cb00cace454ce16c4
diff --git a/src/about.html b/src/about.html
new file mode 100644
index 000000000..ef3b8b2d8
--- /dev/null
+++ b/src/about.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
About
+
+
+
+
+
+
+
diff --git a/src/conf/config.js b/src/conf/config.js
index 054b4af58..a7eea599b 100644
--- a/src/conf/config.js
+++ b/src/conf/config.js
@@ -287,14 +287,19 @@ const application = {
settings: {
visibility: "public",
},
- about: [
- {name: "Documentation", url: "http://docs.opencb.org/display/iva/IVA+Home", icon: "fa fa-book"},
- {name: "Tutorial", url: "http://docs.opencb.org/display/iva/Tutorials", icon: ""},
- {name: "Source code", url: "https://github.com/opencb/iva", icon: "fa fa-github"},
- {name: "Releases", url: "https://github.com/opencb/iva/releases", icon: ""},
- {name: "Contact", url: "http://docs.opencb.org/display/iva/About", icon: "fa fa-envelope"},
- {name: "FAQ", url: "", icon: ""},
- ],
+ about: {
+ dropdown: false,
+ links: [
+ {id: "documentation", name: "Documentation", url: "http://docs.opencb.org/display/iva/IVA+Home", icon: "fa fa-book"},
+ {id: "tutorial", name: "Tutorial", url: "http://docs.opencb.org/display/iva/Tutorials", icon: ""},
+ {id: "code", name: "Source code", url: "https://github.com/opencb/iva", icon: "fa fa-github"},
+ {id: "releases", name: "Releases", url: "https://github.com/opencb/iva/releases", icon: ""},
+ {id: "about", name: "About", url: "http://docs.opencb.org/display/iva/About", icon: "fa fa-envelope"},
+ {id: "terms", name: "Terms", url: "http://docs.opencb.org/display/iva/About", icon: "fa fa-envelope"},
+ {id: "contact", name: "Contact", url: "http://docs.opencb.org/display/iva/About", icon: "fa fa-envelope"},
+ {id: "faq", name: "FAQ", url: "", icon: ""},
+ ]
+ },
login: {
visible: true,
},
diff --git a/src/contact.html b/src/contact.html
new file mode 100644
index 000000000..c90a4f539
--- /dev/null
+++ b/src/contact.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
Contact
+
+
+
+
+
+
+
diff --git a/src/faq.html b/src/faq.html
new file mode 100644
index 000000000..069883184
--- /dev/null
+++ b/src/faq.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
Frequently Asked Questions
+
+
+
+
+
+
+
diff --git a/src/iva-app.html b/src/iva-app.html
index df99bbffd..b35800c15 100644
--- a/src/iva-app.html
+++ b/src/iva-app.html
@@ -21,6 +21,10 @@
+
+
+
+
@@ -204,20 +208,33 @@
-
- About
-
-
-
+
+
+ About
+
+
+
+
+
+
+
+
+
+
+
+ {{link.name}}
+
+
+
@@ -247,15 +264,41 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
@@ -305,11 +348,11 @@
+ population-frequencies="{{config.populationFrequencies}}"
+ protein-substitution-scores="{{config.proteinSubstitutionScores}}"
+ consequence-types="{{config.consequenceTypes}}"
+ opencga-client="{{opencgaClient}}" cellbase-client="{{cellbaseClient}}"
+ on-notifymessage="onNotifyMessage" event-notify-name="{{config.notifyEventMessage}}" >
@@ -317,7 +360,7 @@
+ on-notifymessage="onNotifyMessage" event-notify-name="{{config.notifyEventMessage}}" >
@@ -527,6 +570,10 @@
// We can customise which components are active by default, this improves the first loading time.
_config.enabledComponents.home = true;
+ _config.enabledComponents.about = false;
+ _config.enabledComponents.contact = false;
+ _config.enabledComponents.terms = false;
+ _config.enabledComponents.faq = false;
// Enable tools reading the configuration
for (let tool in _config.tools) {
@@ -801,9 +848,9 @@
if (UtilsNew.isNotEmpty(_message)) {
this.notifySession = NotificationUtils.showNotify(_message, UtilsNew.MESSAGE_INFO,
{}, {
- delay: 0,
- onClosed: this.onCloseRefreshNotify.bind(this)
- }, this.opencgaClient, this.notifySession);
+ delay: 0,
+ onClosed: this.onCloseRefreshNotify.bind(this)
+ }, this.opencgaClient, this.notifySession);
}
}
diff --git a/src/terms.html b/src/terms.html
new file mode 100644
index 000000000..b60c657bc
--- /dev/null
+++ b/src/terms.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
Terms
+
+
+
+
+
+
+