Added a version number display (#78)
* Added a version number * Appends version number when loading subpages
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
<th>Bugs and Feature Requests</th>
|
||||
<td><a href="https://github.com/gaseous-project/gaseous-server/issues" class="romlink">https://github.com/gaseous-project/gaseous-server/issues</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Server Version</th>
|
||||
<td id="settings_appversion"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<h3>Data Sources</h2>
|
||||
@@ -38,4 +42,13 @@
|
||||
The Old School Emulation Center
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
ajaxCall('/api/v1/System/Version', 'GET', function (result) {
|
||||
if (result) {
|
||||
var versionBox = document.getElementById('settings_appversion');
|
||||
versionBox.innerHTML = result;
|
||||
}
|
||||
});
|
||||
</script>
|
Reference in New Issue
Block a user