diff --git a/manager/ejs/connections.ejs b/manager/ejs/connections.ejs new file mode 100644 index 00000000..c2e71afa --- /dev/null +++ b/manager/ejs/connections.ejs @@ -0,0 +1,89 @@ + +
+
+
User path
+
Ports and address
+
Passwords
+
<%= install? 'Install': 'Update' %>
+
+
+
+ + Accept or modify port settings (optional) + + + If you are installing Olympus locally for Single player use, it's recommended you leave these as default and continue. + If you are installing a dedicated server, then follow the instructions available on the DCS Olympus Wiki. + +
+
+ Client port + + +
+ "> + +
+ Port already in use +
+
+
+
+ Backend port + + +
+ "> + +
+ Port already in use +
+
+
+
+ Backend address + + + "> +
+ +
+ Cancel installation +
+
+
\ No newline at end of file diff --git a/manager/ejs/installations.ejs b/manager/ejs/installations.ejs new file mode 100644 index 00000000..efff26b1 --- /dev/null +++ b/manager/ejs/installations.ejs @@ -0,0 +1,112 @@ + +
+
+
User path
+
Ports and address
+
Passwords
+
Install
+
+
+
+ + Select a DCS path to install Olympus to. + + + We have automatically detected the following DCS installations under your Saved Games / DCS folder. + + + Please select which DCS installations you want to add Olympus to. + +
+
+
+ <% for (let i = 0; i < instances.length; i++) {%> +
+ <%= instances[i].name %> + <%= instances[i].folder %> + + <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus already installed'): 'Olympus not installed yet' %> + +
+ <% } %> +
+
+ +
+ Cancel installation +
+
+
\ No newline at end of file diff --git a/manager/ejs/instanceDiv.ejs b/manager/ejs/instanceDiv.ejs deleted file mode 100644 index fe3aeb9e..00000000 --- a/manager/ejs/instanceDiv.ejs +++ /dev/null @@ -1,68 +0,0 @@ -
-
-
- <%= folder %> -
-
- Detected .dll version: "><%= version %>
- Available .dll version: <%= newVersion %> -
-
- - - - - - - - - - - - - -
-
-
Client port
- " min="1023" max="65535" <%= !installed? "disabled": "" %> tabindex="<%= index %>"> - -
-
-
-
Game Master password
- tabindex="<%= index + 3 %>"> - -
-
-
-
Backend port
- " min="1023" max="65535" <%= !installed? "disabled": "" %> tabindex="<%= index + 1 %>"> - -
-
-
-
Blue Commander password
- tabindex="<%= index + 4 %>"> - -
-
-
-
Backend address
- " min="1023" max="65535" <%= !installed? "disabled": "" %> tabindex="<%= index + 2 %>"> - -
-
-
-
Red Commander password
- tabindex="<%= index + 5 %>"> - -
-
-
- - - - -
-
-
\ No newline at end of file diff --git a/manager/ejs/instances.ejs b/manager/ejs/instances.ejs new file mode 100644 index 00000000..7376bb9f --- /dev/null +++ b/manager/ejs/instances.ejs @@ -0,0 +1,174 @@ + +
+
+
+ Return to menu +
+
+ + <%= manage? "View and manage instances": "Update Olympus settings" %> + + + The following versions of Olympus have been detected. + + + <%= manage? "You can inspect and manage you Olympus instances by selecting the options below.": "You can edit your settings or remove Olympus by selecting the options below." %> + +
+
+
+ <% for (let i = 0; i < instances.length; i++) {%> +
+
+ <%= instances[i].name %> + + <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': ''): '' %> + + <% if (!manage) { %> + <%= instances[i].folder %> + <% } else { %> +
+
ACTIVE
+
OFFLINE
+
CONNECTED
+
DISCONNECTED
+
FPS: 0
+
Load: 0
+
+
+ <% } %> +
+
+
Client port
+
<%= instances[i].clientPort %>
+
+
+
Backend port
+
<%= instances[i].backendPort %>
+
+
+
Backend address
+
<%= instances[i].backendAddress %>
+
+
+
+ <% if (!manage) { %> +
Edit settings
+
Uninstall
+ <% } else { %> +
Start server
+ + <% } %> +
+
+ <% } %> +
+
+
+
\ No newline at end of file diff --git a/manager/ejs/managerconnections.ejs b/manager/ejs/managerconnections.ejs deleted file mode 100644 index 9471b01c..00000000 --- a/manager/ejs/managerconnections.ejs +++ /dev/null @@ -1,110 +0,0 @@ - -
- -
- Client port - This port is used to allow access to Olympus. Be sure to allow this port through your firewall if you want people to connect remotely. -
- "> - -
- Port already in use -
-
-
-
- Backend port - This port is used to communicate with DCS. It is not necessary to allow this port through your firewall. -
- "> - -
- Port already in use -
-
-
-
- Backend address - This is the backend address Olympus will listen on. Unless you know what you are doing, leave it as localhost, even for dedicated server installations. - "> -
- -
\ No newline at end of file diff --git a/manager/ejs/managerinstallations.ejs b/manager/ejs/managerinstallations.ejs deleted file mode 100644 index acf8bde4..00000000 --- a/manager/ejs/managerinstallations.ejs +++ /dev/null @@ -1,134 +0,0 @@ - -
- -
- - Select the copy of DCS you want to install Olympus to. - - - For most people, this is your main DCS installation. - - - If you are running a dedicated server, you would also install Olympus to this DCS version. - -
-
-
- <% for (let i = 0; i < instances.length; i++) {%> -
- -
- <%= instances[i].name %> - - <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus already installed'): 'Olympus not installed yet' %> - - - <%= instances[i].folder %> -
-
- <% } %> -
-
- - -
\ No newline at end of file diff --git a/manager/ejs/managerinstances.ejs b/manager/ejs/managerinstances.ejs deleted file mode 100644 index 6f093350..00000000 --- a/manager/ejs/managerinstances.ejs +++ /dev/null @@ -1,153 +0,0 @@ - -
- -
- - Select the copy of Olympus you want to manage. - -
-
-
- <% for (let i = 0; i < instances.length; i++) {%> -
-
- <%= instances[i].name %> - - <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': ''): '' %> - - <%= instances[i].folder %> -
-
Client port
-
<%= instances[i].clientPort %>
-
-
-
Backend port
-
<%= instances[i].backendPort %>
-
-
-
Backend address
-
<%= instances[i].backendAddress %>
-
-
-
- <% } %> -
-
- -
\ No newline at end of file diff --git a/manager/ejs/managermenu.ejs b/manager/ejs/managermenu.ejs deleted file mode 100644 index 11ea3d46..00000000 --- a/manager/ejs/managermenu.ejs +++ /dev/null @@ -1,45 +0,0 @@ - -
- -
- Install Olympus -
-
- Update/remove Olympus -
-
- View and manage instances (WIP) -
-
\ No newline at end of file diff --git a/manager/ejs/managerpasswords.ejs b/manager/ejs/managerpasswords.ejs deleted file mode 100644 index 7b46f7bb..00000000 --- a/manager/ejs/managerpasswords.ejs +++ /dev/null @@ -1,73 +0,0 @@ - -
- -
- Enter your passwords to access Olympus - By using the passwords below, you can access different roles in Olympus. -
- -
- Game Master Password - This password is used to access Olympus as Game Master with full priviledges. - -
-
- Blue Commander Password - This password is used to access Olympus as blue coalition Commander. - -
-
- Red Commander Password - This password is used to access Olympus as red coalition Commander. - -
- -
\ No newline at end of file diff --git a/manager/ejs/managerresult.ejs b/manager/ejs/managerresult.ejs deleted file mode 100644 index 9149de72..00000000 --- a/manager/ejs/managerresult.ejs +++ /dev/null @@ -1,160 +0,0 @@ - -
- -
- Installing hook scripts -
-
- Installing mod folder -
-
- Installing configuration file -
-
- Applying configuration -
-
- Creating shortcuts -
- -
- Olympus successfully installed in the following DCS instance -
- -
- An error has occurred while installing Olympus -
- -
- -
- - <%= instance.name %> - - - <%= instance.folder %> - -
-
- -
- You may now start DCS and use Olympus either with the shortcuts or the "View and manage Olympus" entry in the - main menu -
- -
- Please make sure DCS is not currently being executed -
- - -
\ No newline at end of file diff --git a/manager/ejs/menu.ejs b/manager/ejs/menu.ejs new file mode 100644 index 00000000..11fee64e --- /dev/null +++ b/manager/ejs/menu.ejs @@ -0,0 +1,88 @@ + +
+
+
DCS OLYMPUS
+
INSTALL WIZARD AND MANAGER
+
Using this manager, you can install Olympus, update settings, and view and manage instances
+
+ +
\ No newline at end of file diff --git a/manager/ejs/passwords.ejs b/manager/ejs/passwords.ejs new file mode 100644 index 00000000..6e38d6c7 --- /dev/null +++ b/manager/ejs/passwords.ejs @@ -0,0 +1,48 @@ + +
+
+
User path
+
Ports and address
+
Passwords
+
<%= install? 'Install': 'Update' %>
+
+
+
+ + Enter your passwords to access Olympus + + + When logging into Olympus, these passwords will let you access the different roles. Gamemaster is the default. + +
+ +
+ Game Master Password + + +
+
+ Blue Commander Password + + +
+
+ Red Commander Password + + +
+ +
+ Cancel installation +
+
+
\ No newline at end of file diff --git a/manager/ejs/popup.ejs b/manager/ejs/popup.ejs deleted file mode 100644 index 37258fa9..00000000 --- a/manager/ejs/popup.ejs +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/manager/ejs/result.ejs b/manager/ejs/result.ejs new file mode 100644 index 00000000..d644ade4 --- /dev/null +++ b/manager/ejs/result.ejs @@ -0,0 +1,146 @@ + +
+
+
+ Installing hook scripts +
+
+ Installing mod folder +
+
+ Installing configuration file +
+
+ Applying configuration +
+
+ Creating shortcuts +
+ +
+ Olympus successfully installed in the following DCS instance +
+ +
+ An error has occurred while installing Olympus +
+ +
+ You may now start DCS and use Olympus either with the shortcuts or the "View and manage instances" entry in the + main menu +
+ +
+ Please make sure DCS is not currently being executed +
+ +
+ +
+ + <%= instance.name %> + + + <%= instance.folder %> + +
+
+ + +
+
\ No newline at end of file diff --git a/manager/icons/circle-question-regular.svg b/manager/icons/circle-question-regular.svg new file mode 100644 index 00000000..1abea876 --- /dev/null +++ b/manager/icons/circle-question-regular.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/manager/icons/display-solid.svg b/manager/icons/display-solid.svg new file mode 100644 index 00000000..73243fa9 --- /dev/null +++ b/manager/icons/display-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/manager/icons/server-solid.svg b/manager/icons/server-solid.svg new file mode 100644 index 00000000..1a5af762 --- /dev/null +++ b/manager/icons/server-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/manager/index.html b/manager/index.html index 001a5fab..96ed27cb 100644 --- a/manager/index.html +++ b/manager/index.html @@ -9,40 +9,42 @@ href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600;700;800&display=swap" /> - DCS Olympus Manager v1.0.4 + DCS Olympus Manager {{OLYMPUS_VERSION_NUMBER}}
DCS Olympus manager
- - + +