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 ff30f7bb1f2791a6855616a8f11a62af5128e5d8..47c9dc61a29f9ddebc02a7f82d067afd69f847d3 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 3fa75686487afe9b12369b0044b524c7d317632d..98b9a117b697b3d573a553c0dd04b8acccffe0cc 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 046d3654429ef3d2c18024ebf7271aa9d6dae568..42e5f75547ed6cab17478f4b6cb2cea61eaaaed9 100644 --- a/server/templates/community.hbs +++ b/server/templates/community.hbs @@ -28,8 +28,9 @@ - - + + +