From 635c2be32c410eef3d633adc6c1b231c59f66710 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 13 Oct 2023 10:30:59 +0100 Subject: [PATCH] settings: initial search function not really plugged into anything yet. --- html/admin.html | 4 +++ ts/modules/settings.ts | 73 ++++++++++++++++++++++++++++++++++++------ 2 files changed, 68 insertions(+), 9 deletions(-) diff --git a/html/admin.html b/html/admin.html index 3c7ae1b..2c5aafc 100644 --- a/html/admin.html +++ b/html/admin.html @@ -729,6 +729,10 @@
+
+ + +
{{ .strings.aboutProgram }} {{ .strings.userProfiles }} diff --git a/ts/modules/settings.ts b/ts/modules/settings.ts index 3179e71..07b7e91 100644 --- a/ts/modules/settings.ts +++ b/ts/modules/settings.ts @@ -102,6 +102,7 @@ class DOMInput { constructor(inputType: string, setting: Setting, section: string, name: string) { this._container = document.createElement("div"); this._container.classList.add("setting"); + this._container.setAttribute("data-name", name) this._container.innerHTML = `