From 2f50ab36fd771e56177108fa8678a90c83579dcd Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 4 Jan 2022 20:09:51 +0000 Subject: [PATCH] pad table and some other stuff --- html/admin.html | 10 +++++----- ts/modules/accounts.ts | 2 +- ts/modules/invites.ts | 6 +++--- ts/modules/settings.ts | 19 ++++++++++--------- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/html/admin.html b/html/admin.html index 345041b..305a9d3 100644 --- a/html/admin.html +++ b/html/admin.html @@ -213,7 +213,7 @@ {{ .strings.name }} - {{ .strings.reset }} + {{ .strings.reset }} {{ .strings.edit }} @@ -542,7 +542,7 @@ -

{{ .strings.warning }} {{ .strings.inviteInfiniteUsesWarning }}

+

{{ .strings.warning }} {{ .strings.inviteInfiniteUsesWarning }}

- {{ .strings.username }} + {{ .strings.username }} {{ .strings.emailAddress }} {{ if .telegramEnabled }} Telegram @@ -643,7 +643,7 @@
- + {{ .strings.aboutProgram }} {{ .strings.userProfiles }}
diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index 38d5935..d94a412 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -387,7 +387,7 @@ class user implements User { this._row = document.createElement("tr") as HTMLTableRowElement; let innerHTML = ` -
+
`; if (window.telegramEnabled) { diff --git a/ts/modules/invites.ts b/ts/modules/invites.ts index 80034ec..d917734 100644 --- a/ts/modules/invites.ts +++ b/ts/modules/invites.ts @@ -251,7 +251,7 @@ class DOMInvite implements Invite { this._header = document.createElement('div') as HTMLDivElement; this._container.appendChild(this._header); - this._header.classList.add("card", "~info", "dark:~d_neutral", "@low", "inv-header", "elem-pad", "no-pad", "flex-expand", "row", "mt-2", "overflow-y"); + this._header.classList.add("card", "dark:~d_neutral", "@low", "inv-header", "elem-pad", "no-pad", "flex-expand", "row", "mt-2", "overflow-y"); this._codeArea = document.createElement('div') as HTMLDivElement; this._header.appendChild(this._codeArea); @@ -322,7 +322,7 @@ class DOMInvite implements Invite { `; if (window.notificationsEnabled) { innerHTML += ` -

${window.lang.strings("notifyEvent")}

+

${window.lang.strings("notifyEvent")}