? PlatformStatistics { get; set; }
diff --git a/gaseous-server/Program.cs b/gaseous-server/Program.cs
index 32e203b..d3603f2 100644
--- a/gaseous-server/Program.cs
+++ b/gaseous-server/Program.cs
@@ -1,5 +1,5 @@
-using System.Reflection;
-using System.Text.Json.Serialization;
+using System.Reflection;
+using System.Text.Json.Serialization;
using gaseous_server;
using gaseous_tools;
using Microsoft.AspNetCore.Http.Features;
@@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.OpenApi.Models;
-Logging.Log(Logging.LogType.Information, "Startup", "Starting Gaseous Server");
+Logging.Log(Logging.LogType.Information, "Startup", "Starting Gaseous Server " + Assembly.GetExecutingAssembly().GetName().Version);
// set up db
Database db = new gaseous_tools.Database(Database.databaseType.MySql, Config.DatabaseConfiguration.ConnectionString);
diff --git a/gaseous-server/wwwroot/index.html b/gaseous-server/wwwroot/index.html
index 8c09c26..22b2e7f 100644
--- a/gaseous-server/wwwroot/index.html
+++ b/gaseous-server/wwwroot/index.html
@@ -2,23 +2,42 @@
-
+
+
-
+
-
-
-
+
+
+
Gaseous Games
+
+
@@ -77,6 +96,7 @@
+ $('#content').load('/pages/' + myParam + '.html?v=' + AppVersion);
+ });
+
diff --git a/gaseous-server/wwwroot/pages/dialogs/upload.html b/gaseous-server/wwwroot/pages/dialogs/upload.html
index 3904276..a913b59 100644
--- a/gaseous-server/wwwroot/pages/dialogs/upload.html
+++ b/gaseous-server/wwwroot/pages/dialogs/upload.html
@@ -55,7 +55,7 @@
subModalVariables = modalVariables;
- $('#modal-content-sub').load('/pages/dialogs/' + dialogPage + '.html');
+ $('#modal-content-sub').load('/pages/dialogs/' + dialogPage + '.html?v=' + AppVersion);
}
function closeSubDialog() {
diff --git a/gaseous-server/wwwroot/pages/emulator.html b/gaseous-server/wwwroot/pages/emulator.html
index 2563af0..35bd3ef 100644
--- a/gaseous-server/wwwroot/pages/emulator.html
+++ b/gaseous-server/wwwroot/pages/emulator.html
@@ -44,7 +44,7 @@
switch (getQueryString('engine', 'string')) {
case 'EmulatorJS':
- $('#emulator').load('/pages/EmulatorJS.html');
+ $('#emulator').load('/pages/EmulatorJS.html?v=' + AppVersion);
break;
}
});
diff --git a/gaseous-server/wwwroot/pages/settings.html b/gaseous-server/wwwroot/pages/settings.html
index 00ba206..ca9b811 100644
--- a/gaseous-server/wwwroot/pages/settings.html
+++ b/gaseous-server/wwwroot/pages/settings.html
@@ -42,6 +42,6 @@
}
}
- $('#properties_bodypanel').load('/pages/settings/' + TabName + '.html');
+ $('#properties_bodypanel').load('/pages/settings/' + TabName + '.html?v=' + AppVersion);
}
diff --git a/gaseous-server/wwwroot/pages/settings/about.html b/gaseous-server/wwwroot/pages/settings/about.html
index 16fa1f2..af7c7a0 100644
--- a/gaseous-server/wwwroot/pages/settings/about.html
+++ b/gaseous-server/wwwroot/pages/settings/about.html
@@ -11,6 +11,10 @@
Bugs and Feature Requests |
https://github.com/gaseous-project/gaseous-server/issues |
+
+ Server Version |
+ |
+
Data Sources
@@ -38,4 +42,13 @@
The Old School Emulation Center
|
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/gaseous-server/wwwroot/scripts/main.js b/gaseous-server/wwwroot/scripts/main.js
index 3d6dc43..c1983df 100644
--- a/gaseous-server/wwwroot/scripts/main.js
+++ b/gaseous-server/wwwroot/scripts/main.js
@@ -103,7 +103,7 @@ function showDialog(dialogPage, variables) {
modalVariables = variables;
- $('#modal-content').load('/pages/dialogs/' + dialogPage + '.html');
+ $('#modal-content').load('/pages/dialogs/' + dialogPage + '.html?v=' + AppVersion);
}
function closeDialog() {
@@ -145,7 +145,7 @@ function showSubDialog(dialogPage, variables) {
subModalVariables = variables;
- $('#modal-content-sub').load('/pages/dialogs/' + dialogPage + '.html');
+ $('#modal-content-sub').load('/pages/dialogs/' + dialogPage + '.html?v=' + AppVersion);
}
function closeSubDialog() {