diff --git a/manager/.vscode/tasks.json b/manager/.vscode/tasks.json index 9732cc95..7e89e91f 100644 --- a/manager/.vscode/tasks.json +++ b/manager/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "mirror-package", "type": "shell", - "command": "call ./scripts/mirror-package.bat", + "command": "./scripts/mirror-package.bat", "isBackground": true } ] diff --git a/manager/ejs/instances.ejs b/manager/ejs/instances.ejs index fcee3e9d..ab7a6b45 100644 --- a/manager/ejs/instances.ejs +++ b/manager/ejs/instances.ejs @@ -41,67 +41,71 @@ The following DCS installations have been identified.
You can start an Olympus server, modify settings and uninstall below. -
-
- <% for (let i = 0; i < instances.length; i++) {%> -
-
- <%= instances[i].name %> +
"> + No instances detected! +
+
+
+ <% for (let i = 0; i < instances.length; i++) {%> +
+
+ <%= instances[i].name %> - <%= instances[i].folder %> + <%= instances[i].folder %> -
-
ACTIVE
-
OFFLINE
-
CONNECTED
-
DISCONNECTED
-
FPS: 0
-
Load: 0
-
-
- -
- - - <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus installed'): 'Olympus not installed' %> - - -
-
-
Client port
-
<%= instances[i].installed? instances[i].clientPort: "N/A" %>
+
+
ACTIVE
+
OFFLINE
+
CONNECTED
+
DISCONNECTED
+
FPS: 0
+
Load: 0
+
-
-
Backend port
-
<%= instances[i].installed? instances[i].backendPort: "N/A" %>
-
-
-
Backend address
-
<%= instances[i].installed? instances[i].backendAddress: "N/A" %>
+ +
+ + + <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus installed'): 'Olympus not installed' %> + + +
+
+
Client port
+
<%= instances[i].installed? instances[i].clientPort: "N/A" %>
+
+
+
Backend port
+
<%= instances[i].installed? instances[i].backendPort: "N/A" %>
+
+
+
Backend address
+
<%= instances[i].installed? instances[i].backendAddress: "N/A" %>
+
+
+
+ Start Olympus +
+
Start server
+
Start client
+
+
+ +
Edit settings
+
Install Olympus
+
Uninstall Olympus
+
Open in browser
+
Stop Olympus
+
+
-
-
- Start Olympus -
-
Start server
-
Start client
-
-
- -
Edit settings
-
Install Olympus
-
Uninstall Olympus
-
Open in browser
-
Stop Olympus
-
- -
- <% } %> + <% } %> +
diff --git a/manager/ejs/settings.ejs b/manager/ejs/settings.ejs index 45f187d1..70885c36 100644 --- a/manager/ejs/settings.ejs +++ b/manager/ejs/settings.ejs @@ -34,44 +34,48 @@ You can edit settings and uninstall Olympus from this screen.
-
-
- <% for (let i = 0; i < instances.length; i++) {%> - <% if (instances[i].installed) { %> -
-
- <%= instances[i].name %> - <%= instances[i].folder %> -
- - <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus installed'): 'Olympus not installed' %> - -
-
-
Client port
-
<%= instances[i].installed? instances[i].clientPort: "N/A" %>
-
-
-
Backend port
-
<%= instances[i].installed? instances[i].backendPort: "N/A" %>
-
-
-
Backend address
-
<%= instances[i].installed? instances[i].backendAddress: "N/A" %>
+
"> + No instances detected! +
+
+
+ <% for (let i = 0; i < instances.length; i++) {%> + <% if (instances[i].installed) { %> +
+
+ <%= instances[i].name %> + <%= instances[i].folder %> +
+ + <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus installed'): 'Olympus not installed' %> + +
+
+
Client port
+
<%= instances[i].installed? instances[i].clientPort: "N/A" %>
+
+
+
Backend port
+
<%= instances[i].installed? instances[i].backendPort: "N/A" %>
+
+
+
Backend address
+
<%= instances[i].installed? instances[i].backendAddress: "N/A" %>
+
+ +
+
+
Edit settings
+
Uninstall Olympus
-
-
-
Edit settings
-
Uninstall Olympus
-
-
+ <% } %> <% } %> - <% } %> +