<% if (state === 'INSTALL') { %>
">
Olympus installed successfully in <%= activeInstance !== undefined? activeInstance["name"]: "" %>!
">
An error occurred while installing Olympus in <%= activeInstance !== undefined? activeInstance["name"]: "" %>
<% } else if (state === 'EDIT') {%>
">
Olympus settings updated for <%= activeInstance !== undefined? activeInstance["name"]: "" %>!
">
An error occurred while updating Olympus settings for <%= activeInstance !== undefined? activeInstance["name"]: "" %>
<% } else {%>
">
Olympus removed successfully from <%= activeInstance !== undefined? activeInstance["name"]: "" %>!
">
An error occurred while removing Olympus settings from <%= activeInstance !== undefined? activeInstance["name"]: "" %>
<% } %>
<% if (instances.length > 0) { %> View and manage installs The following DCS installations have been identified.
You can start an Olympus server, modify settings and uninstall below.
<% } else { %> No DCS installs detected Please ensure you have DCS installed correctly.
Olympus cannot be added unless there is a DCS Saved Games folder on your computer.

If you are still having issues, try re-installing DCS and Olympus

If DCS is installed but Olympus is failing to detect it, you can add it manually.
See the troubleshooting guide for more info.
<% } %>
<% for (let i = 0; i < instances.length; i++) {%>
<%= instances[i].name %> <%= 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' %>
Frontend port
<%= instances[i].installed? instances[i].frontendPort: "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
<% } %>