Demo Mode Improvements
This commit is contained in:
1 parent
13d2717462
commit
031dbdbe25
4 files changed
+18
-3
No files matched your search
@@ -177,6 +177,11 @@ function newPlottersManager() {
|
||||
let scheme = 'http'
|
||||
if (host === undefined) { host = window.location.hostname }
|
||||
if (webPort === undefined) { webPort = window.location.port }
|
||||
|
||||
if (UI.environment.DEMO_MODE === true) {
|
||||
host = UI.environment.DEMO_MODE_HOST
|
||||
}
|
||||
|
||||
if (extWSURL !== undefined) {
|
||||
host = window.location.hostname
|
||||
webPort = window.location.port
|
||||
|
||||
@@ -138,8 +138,13 @@ function newFoundationsCockpitSpace() {
|
||||
statusCounter--
|
||||
if (statusCounter < 0) {
|
||||
statusCounter = 0
|
||||
statusText = undefined,
|
||||
statusType = undefined
|
||||
statusText = undefined
|
||||
statusType = undefined
|
||||
|
||||
if (UI.environment.DEMO_MODE === true) {
|
||||
statusText = 'You are running Superalgos in DEMO MODE. That means that you will not be able to run or stop tasks. Remember Tutorials were designed for the full version, when you download the software.'
|
||||
statusType = STATUS_TYPES.WARNING
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user