From 9c0b9f0bcceae33a88d9f2c12f8d485808978053 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 20 Sep 2021 17:53:10 -0400 Subject: [PATCH] update signup form and admin panel --- server/styles.css | 4 + server/templates/admin.hbs | 130 ++++++++++++++++++--------------- server/templates/community.hbs | 5 +- 3 files changed, 79 insertions(+), 60 deletions(-) diff --git a/server/styles.css b/server/styles.css index ff30f7bb1f..47c9dc61a2 100644 --- a/server/styles.css +++ b/server/styles.css @@ -58,6 +58,10 @@ break-inside: avoid; } + .alternate-bg:nth-of-type(even) { + background-color: rgba(255,255,255,0.06); + } + /* This fixes scrollbar jump */ @media screen and (min-width: 960px) { html { diff --git a/server/templates/admin.hbs b/server/templates/admin.hbs index 3fa7568648..98b9a117b6 100644 --- a/server/templates/admin.hbs +++ b/server/templates/admin.hbs @@ -20,66 +20,80 @@ }); -
-

Admin

-

Users

- - - - - - - - - - - - +
+
+

Admin

+ +
+ +

Users

+ +
+
+

Github Username

+

Admin

+

+
+
+ +
+

+

+

+
+
+
+ +
+
+

Github Username

+

Admin

+

+
+ {{#each users}} +
+
+
+

{{github_login}}

+

+

+
+ +
+ {{/each}} +
- {{#each users}} -
- - - - - - - {{/each}} -
GitHub LoginAdmin
- - - - - -
- {{github_login}} - - - - -
+

Signups

-

Signups

- - {{#each signups}} - - - - - - - - - - {{/each}} -
{{github_login}}{{email_address}}{{about}} - {{#if wants_releases}}releases{{/if}} - {{#if wants_updates}}updates{{/if}} - {{#if wants_community}}community{{/if}} - - -
+
+ +
+

Email

+

Github

+

Releases

+

Updates

+

Community

+

Remove

+
+ {{#each signups}} +
+
+
+

{{email_address}}

+

{{github_login}}

+

{{#if wants_releases}}[✓]{{else}}[ ]{{/if}}

+

{{#if wants_updates}}[✓]{{else}}[ ]{{/if}}

+

{{#if wants_community}}[✓]{{else}}[ ]{{/if}}

+

+
+
+

{{about}}

+
+ {{/each}} +
{{/layout}} \ No newline at end of file diff --git a/server/templates/community.hbs b/server/templates/community.hbs index 046d365442..42e5f75547 100644 --- a/server/templates/community.hbs +++ b/server/templates/community.hbs @@ -28,8 +28,9 @@ - - + + +