add about page to web ui

This commit is contained in:
Harvey Tindall
2020-08-31 15:29:35 +01:00
parent 1b0ca34586
commit 8e8debd8a4
5 changed files with 314 additions and 283 deletions
+6
View File
@@ -100,6 +100,7 @@ var userDefaultsModal = createModal('userDefaults');
var usersModal = createModal('users');
var restartModal = createModal('restartModal');
var refreshModal = createModal('refreshModal');
var aboutModal = createModal('aboutModal');
// Parsed invite: [<code>, <expires in _>, <1: Empty invite (no delete/link), 0: Actual invite>, <email address>, <remaining uses>, [<used-by>], <date created>, <notify on expiry>, <notify on creation>]
function parseInvite(invite, empty = false) {
@@ -606,6 +607,11 @@ document.getElementById('loginForm').onsubmit = function() {
return false;
};
document.getElementById('openAbout').onclick = function() {
settingsModal.hide();
aboutModal.show();
};
document.getElementById('openDefaultsWizard').onclick = function() {
this.disabled = true
this.innerHTML =
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 58 KiB