From b8cc75c6b4f97f90aeb261858d7a23f472e1c533 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Thu, 15 Jun 2023 23:52:16 +0100 Subject: [PATCH] login: modularize frontend code all in ts/modules/login.ts --- html/login-modal.html | 2 +- ts/admin.ts | 85 +++++++++---------------------------------- ts/modules/login.ts | 73 +++++++++++++++++++++++++++++++++++++ ts/modules/modal.ts | 2 + 4 files changed, 94 insertions(+), 68 deletions(-) create mode 100644 ts/modules/login.ts diff --git a/html/login-modal.html b/html/login-modal.html index df94ef4..f640f04 100644 --- a/html/login-modal.html +++ b/html/login-modal.html @@ -1,5 +1,5 @@