From 2d443fb50b21032e5ffbadbb6b2cfade4d340e7c Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 30 Dec 2020 23:48:01 +0000 Subject: [PATCH] fully functional invites tab, flesh out bugs also: * fix select chevrons appearing above modals * add custom errors and use them for http errors, also now appear above modals. * functional logout button * slightly cleaned up admin.ts --- css/base.css | 1 + css/modal.css | 2 +- html/admin.html | 158 ++++-------------------- ts/admin.ts | 97 ++++----------- ts/modules/common.ts | 60 ++++++++-- ts/modules/invites.ts | 273 +++++++++++++++++++++++++++++++----------- ts/typings/d.ts | 5 +- 7 files changed, 302 insertions(+), 294 deletions(-) diff --git a/css/base.css b/css/base.css index cd11b53..684be76 100644 --- a/css/base.css +++ b/css/base.css @@ -299,4 +299,5 @@ p.top { position: fixed; right: 1rem; bottom: 1rem; + z-index: 16; } diff --git a/css/modal.css b/css/modal.css index e544ff4..64e69ef 100644 --- a/css/modal.css +++ b/css/modal.css @@ -1,7 +1,7 @@ .modal { display: none; position: fixed; - z-index: 1; + z-index: 12; top: 0; left: 0; width: 100%; diff --git a/html/admin.html b/html/admin.html index 3b5f6a3..a1a3440 100644 --- a/html/admin.html +++ b/html/admin.html @@ -15,7 +15,6 @@ Login - @@ -30,7 +29,7 @@