From bf93b8e90ade1b218b92bb38eebfde3a3f0724a0 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Mon, 1 Jan 2024 18:19:56 +0100 Subject: [PATCH] Added simplified mode and disabled not useful buttons --- manager/DCS.openbeta - Copia.log | 3 ++ manager/ejs/connections.ejs | 6 +++- manager/ejs/menu.ejs | 14 +++++++-- manager/ejs/passwords.ejs | 4 ++- manager/javascripts/connections.js | 11 +++++-- manager/javascripts/manager.js | 47 ++++++++++++++++++++++++++++-- manager/javascripts/menu.js | 22 +++++++++----- manager/javascripts/passwords.js | 11 +++++-- manager/stylesheets/style.css | 1 + 9 files changed, 98 insertions(+), 21 deletions(-) create mode 100644 manager/DCS.openbeta - Copia.log diff --git a/manager/DCS.openbeta - Copia.log b/manager/DCS.openbeta - Copia.log new file mode 100644 index 00000000..24385365 --- /dev/null +++ b/manager/DCS.openbeta - Copia.log @@ -0,0 +1,3 @@ +Microsoft (R) Windows Script Host Versione 5.812 +Copyright (C) Microsoft Corporation. Tutti i diritti riservati. + diff --git a/manager/ejs/connections.ejs b/manager/ejs/connections.ejs index c2e71afa..4c1dc3a1 100644 --- a/manager/ejs/connections.ejs +++ b/manager/ejs/connections.ejs @@ -29,7 +29,7 @@
-
User path
+
User path
Ports and address
Passwords
<%= install? 'Install': 'Update' %>
@@ -75,15 +75,19 @@ ">
+ <% if (!simplified) { %>
Cancel installation
+ <% } %>
\ No newline at end of file diff --git a/manager/ejs/menu.ejs b/manager/ejs/menu.ejs index 11fee64e..bd638ecd 100644 --- a/manager/ejs/menu.ejs +++ b/manager/ejs/menu.ejs @@ -55,6 +55,8 @@ align-items: center; border-radius: 5px; cursor: pointer; + background-color: transparent; + color: var(--offwhite); } #manager-menu .option:hover { @@ -62,6 +64,12 @@ background-color: var(--offwhite); } + #manager-menu .option.disabled { + pointer-events: none; + color: var(--darkgray); + border-color: var(--darkgray); + } + #manager-menu .option * { pointer-events: none; } @@ -74,14 +82,14 @@
Using this manager, you can install Olympus, update settings, and view and manage instances