diff --git a/css/base.css b/css/base.css index b27afb1..c37d2b1 100644 --- a/css/base.css +++ b/css/base.css @@ -39,6 +39,22 @@ } } +.banner { + margin: calc(-1 * var(--spacing-4,1rem)); +} + +.banner.header { + margin-bottom: var(--spacing-4,1rem); +} + +.banner.footer { + margin-top: var(--spacing-4,1rem); + padding: var(--spacing-4,1rem); +} + +div.card:contains(section.banner.footer) { + padding-bottom: 0px; +} .tab-button { font-size: 2rem; @@ -256,6 +272,10 @@ sup.\~critical, .text-critical { justify-content: center; } +.middle { + align-items: center; +} + .no-lp { padding-left: 0px; } diff --git a/html/setup2.html b/html/setup2.html new file mode 100644 index 0000000..42cb8f9 --- /dev/null +++ b/html/setup2.html @@ -0,0 +1,347 @@ + + + + + {{ template "header.html" . }} + {{ .strings.pageTitle }} + + +
+ + + + + + + +
+
+
+ +
+
+ Welcome! +
+
+

You'll need to do a few things to set up jfa-go. Press continue to get started.

+
+ +
+
+ Language +

Community translations are available for most parts of jfa-go. You can choose the default languages below, but users can still change it for themselves. If you want to help out, sign up here to start contributing!

+ + + + +
+
+ Login +

To access the admin page, you need to login with a method below:

+
+ + + +
+
+ + + +
+ +
+
+ Jellyfin/Emby +

jfa-go needs admin access because API tokens don't allow user creation. You should create a separate account and check "Allow this user to manage the server". You can disable everything else. Once done, enter the credentials here.

+ + + + + + +
+
+ Email +

jfa-go can send password reset PINs and various notifications. You can connect to an SMTP server, or use the Mailgun API.

+
+
+ + + + +
+ + +
+ +
+
+
+ + + + + +
+
+ + +
+
+
+ +
+
+ Notifications +

If enabled, you can choose (per invite) to receive an email when an invite expires, or a user is created. If you didn't choose Jellyfin Authentication, make sure you provided an email address.

+ + Password Resets +

When a user tries to reset their password, Jellyfin creates a file named "passwordreset-*.json" which contains a PIN. jfa-go reads the file and sends the PIN to the user.

+ + + + +
+
+ Invite Emails +

If enabled, you can send invites directly to a user's email address. Because you might be using a reverse proxy, you need to provide the URL invites are accessed from. Write your URL Base and append "/invite".

+ + + + +
+
+ Password Validation +

If enabled, a set of password requirements will show on the create account page, such as minimum length, uppercase/lowercase characters, etc.

+ + + + + + + +
+
+ Help Messages +

These messages will display in the account creation page and in emails.

+ + + + +
+
+
+ Finished! +
+
+

There are more settings you can configure on the admin page. Click below to restart, then refresh the page.

+
+
+ Submit +
+
+
+ {{ template "form-base" . }} + + +