diff --git a/public/index.html b/public/index.html
index 34e4569..1526607 100644
--- a/public/index.html
+++ b/public/index.html
@@ -10,6 +10,7 @@
+
@@ -125,16 +126,20 @@
-
-
-
+
+
+
Mod Update Output
-
+
-
+
@@ -180,13 +185,12 @@
-
-
@@ -215,15 +219,19 @@
-
SFTP Browser
-
-
+
+
+
SFTP Browser
+
+
+
+
diff --git a/public/js/app.js b/public/js/app.js
index c1be2fb..057c5a5 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -494,7 +494,7 @@ document.addEventListener('DOMContentLoaded', () => {
const editPropertiesBtn = elements.editPropertiesBtn;
const updateModsBtn = elements.updateModsBtn;
const backupBtn = elements.backupBtn;
- // const sftpBtn = elements.sftpBtn; // Commented out as it appears to be disabled in the provided code
+ const sftpBtn = elements.sftpBtn; // Commented out as it appears to be disabled in the provided code
const startBtn = document.getElementById('startBtn');
const stopBtn = elements.stopBtn;
const restartBtn = elements.restartBtn;
@@ -525,9 +525,9 @@ document.addEventListener('DOMContentLoaded', () => {
if (backupBtn) {
backupBtn.classList.add('hidden');
}
- // if (sftpBtn) {
- // sftpBtn.classList.add('hidden');
- // }
+ if (sftpBtn) {
+ sftpBtn.classList.add('hidden');
+ }
if (stopBtn) {
stopBtn.disabled = true;
stopBtn.classList.add('disabled-btn');
@@ -556,9 +556,9 @@ document.addEventListener('DOMContentLoaded', () => {
if (backupBtn) {
backupBtn.classList.remove('hidden');
}
- // if (sftpBtn) {
- // sftpBtn.classList.remove('hidden');
- // }
+ if (sftpBtn) {
+ sftpBtn.classList.remove('hidden');
+ }
if (stopBtn) {
stopBtn.disabled = false;
stopBtn.classList.remove('disabled-btn');
@@ -1669,7 +1669,7 @@ document.addEventListener('DOMContentLoaded', () => {
}
});
- // elements.sftpBtn.addEventListener('click', connectSftp);
+ elements.sftpBtn.addEventListener('click', connectSftp);
document.getElementById('refresh').addEventListener('click', async () => {
if (ws && ws.readyState === WebSocket.OPEN) {
diff --git a/public/screenshots/panel.png b/public/screenshots/panel.png
index 12f676e..d375cf6 100644
Binary files a/public/screenshots/panel.png and b/public/screenshots/panel.png differ