Commit 537f64ef authored by Athanasios's avatar Athanasios
Browse files

Update settings.js

parent 6c3c79bc
Pipeline #6130 passed with stages
in 18 seconds
/*
███████╗██╗███╗ ██╗ ██████╗ ███████╗██████╗ ██╗ ██╗███████╗ ██████╗
██╔════╝██║████╗ ██║██╔════╝ ██╔════╝██╔══██╗ ██║ ██║██╔════╝██╔════╝
█████╗ ██║██╔██╗ ██║██║ ███╗█████╗ ██████╔╝ ██║ █╗ ██║█████╗ ██║ ███╗
██╔══╝ ██║██║╚██╗██║██║ ██║██╔══╝ ██╔══██╗ ██║███╗██║██╔══╝ ██║ ██║
██║ ██║██║ ╚████║╚██████╔╝███████╗██║ ██║ ╚███╔███╔╝███████╗╚██████╔╝
╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚══════╝ ╚═════╝
*/
const BASE_URL = `${window.location.origin}/${window.location.pathname.split('/').filter((e, i)=>{return i>0 & i<4}).join('/')}`; const BASE_URL = `${window.location.origin}/${window.location.pathname.split('/').filter((e, i)=>{return i>0 & i<4}).join('/')}`;
const ON = true; const ON = true;
const OFF = false; const OFF = false;
...@@ -24,6 +33,15 @@ const DEFAULT = { ...@@ -24,6 +33,15 @@ const DEFAULT = {
avatar: `${BASE_URL}/assets/images/avatar.png` avatar: `${BASE_URL}/assets/images/avatar.png`
}; };
/*
███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
*/
let settings = { let settings = {
switches: [ switches: [
...@@ -35,10 +53,6 @@ let settings = { ...@@ -35,10 +53,6 @@ let settings = {
name: "projectName", name: "projectName",
state: ON state: ON
}, },
{
name: "menu",
state: OFF
},
{ {
name: "participants", name: "participants",
state: ON state: ON
...@@ -53,21 +67,6 @@ let settings = { ...@@ -53,21 +67,6 @@ let settings = {
projectName: "M4_LAB Page Demo", projectName: "M4_LAB Page Demo",
menu: [
{
menuText: "home",
link: `${BASE_URL}/home/`
},
{
menuText: "results",
link: `${BASE_URL}/results/`
},
{
menuText: "demo",
link: "http://example.com"
}
],
participants: [ participants: [
{ {
name: "John Doe", name: "John Doe",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment