1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-09 20:00:12 +00:00
jfa-go/html/setup.html

545 lines
34 KiB
HTML
Raw Normal View History

2020-07-29 21:11:28 +00:00
<!DOCTYPE html>
2021-12-31 17:28:08 +00:00
<html lang="en" class="light">
2020-07-29 21:11:28 +00:00
<head>
<link rel="stylesheet" type="text/css" href="css/{{ .cssVersion }}bundle.css">
2021-01-27 21:38:35 +00:00
{{ template "header.html" . }}
2021-01-27 21:37:43 +00:00
<title>{{ .lang.Strings.pageTitle }}</title>
2020-07-29 21:11:28 +00:00
</head>
2021-01-27 21:37:43 +00:00
<body class="max-w-full overflow-x-hidden section">
<div id="notification-box"></div>
<div class="top-4 left-4 absolute">
<span class="dropdown" tabindex="0" id="lang-dropdown">
<span class="button ~urge dropdown-button">
<i class="ri-global-line"></i>
<span class="ml-2 chev"></span>
</span>
<div class="dropdown-display">
<div class="card ~neutral @low" id="lang-list">
</div>
2021-01-27 21:37:43 +00:00
</div>
</span>
</div>
2021-01-27 21:37:43 +00:00
<div class="page-container" id="page-container">
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2">
2020-07-29 21:11:28 +00:00
<div class="row">
2021-01-27 21:37:43 +00:00
<img class="banner header" src="banner.svg" alt="jfa-go" />
</div>
<div class="row col flex center">
<span class="heading welcome">{{ .lang.StartPage.welcome }}</span>
</div>
<div class="row col flex center">
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.StartPage.pressStart }}</p>
2021-01-27 21:37:43 +00:00
</div>
<section class="section ~neutral banner footer flex-expand middle">
<span class="support">{{ .lang.StartPage.httpsNotice }}</span>
<span class="button ~urge @low next">{{ .lang.StartPage.start }}</span>
2021-01-27 21:37:43 +00:00
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.Language.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2" id="language-description"></p>
2021-01-27 21:37:43 +00:00
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Language.defaultAdminLang }}</span>
<div class="select ~neutral @low mt-4 mb-2">
2021-01-27 21:37:43 +00:00
<select id="ui-language-admin">
</select>
</div>
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Language.defaultFormLang }}</span>
<div class="select ~neutral @low mt-4 mb-2">
2021-01-27 21:37:43 +00:00
<select id="ui-language-form">
</select>
</div>
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Language.defaultEmailLang }}</span>
<div class="select ~neutral @low mt-4 mb-2">
2021-01-27 21:37:43 +00:00
<select id="email-language">
</select>
</div>
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.General.title }}</span>
<div class="row">
<div class="col">
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.General.listenAddress }}</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="ui-host" value="0.0.0.0">
2021-01-27 21:37:43 +00:00
</label>
<label class="row switch">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="advanced-tls"><span>{{ .lang.General.useHTTPS }}</span>
2021-01-27 21:37:43 +00:00
</label>
2021-12-31 18:00:19 +00:00
<p class="support mb-2 mt-1">{{ .lang.General.useHTTPSNotice }}</p>
2021-01-27 21:37:43 +00:00
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.General.pathToCertificate }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="advanced-tls_cert">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.General.pathToKeyFile }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="advanced-tls_key">
2021-01-27 21:37:43 +00:00
</label>
2021-03-20 18:00:01 +00:00
<span class="heading">{{ .lang.Updates.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2" id="updates-description"></p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="updates-enabled" checked><span>{{ .lang.Strings.enabled }}</span>
2021-03-20 18:00:01 +00:00
</label>
<label class="label">
<span>{{ .lang.Updates.updateChannel }}</span>
2021-12-31 18:00:19 +00:00
<div class="select ~neutral @low mt-4 mb-2">
2021-03-20 18:00:01 +00:00
<select id="updates-channel">
<option value="stable">{{ .lang.Updates.stable }}</option>
<option value="unstable">{{ .lang.Updates.unstable }}</option>
</select>
</div>
</label>
2021-01-27 21:37:43 +00:00
</div>
<div class="col">
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.port }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="ui-port" value="8056">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.General.httpsPort }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="advanced-tls_port" value="8057">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.General.urlBase }} ({{ .lang.Strings.optional }})</span>
<input type="url" class="input ~neutral @low mt-4" id="ui-url_base">
<p class="support mb-2 mt-1">{{ .lang.General.urlBaseNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
<span>{{ .lang.Strings.theme }}</span>
2021-12-31 18:00:19 +00:00
<div class="select ~neutral @low mt-4 mb-2">
2021-01-27 21:37:43 +00:00
<select id="ui-theme">
<option value="Jellyfin (Dark)">{{ .lang.General.darkTheme }}</option>
<option value="Default (Light)">{{ .lang.General.lightTheme }}</option>
</select>
2020-07-29 21:11:28 +00:00
</div>
2021-01-27 21:37:43 +00:00
</label>
<span class="heading">{{ .lang.Proxy.title }}</span>
<p class="content my-2" id="proxy-description">{{ .lang.Proxy.description }}</p>
<label class="row switch pb-4">
<input type="checkbox" class="mr-2" id="advanced-proxy"><span>{{ .lang.Strings.enabled }}</span>
</label>
<label class="label">
<span>{{ .lang.Proxy.protocol }}</span>
<div class="select ~neutral @low mt-4 mb-2">
<select id="advanced-proxy_protocol">
<option value="http">HTTP</option>
<option value="socks">SOCKS5</option>
</select>
</div>
</label>
<label class="label">
<span class="mt-4">{{ .lang.Proxy.address }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="advanced-proxy_address">
</label>
<label class="label">
<span class="mt-4">{{ .lang.Strings.username }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="advanced-proxy_user">
</label>
<label class="label">
<span class="mt-4">{{ .lang.Strings.password }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="advanced-proxy_password">
</label>
2021-01-27 21:37:43 +00:00
</div>
</div>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.Login.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.Login.description }}</p>
2021-12-31 00:22:28 +00:00
<div class="pl-4">
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="radio" class="mr-2" name="ui-jellyfin_login" value="true" checked><span>{{ .lang.Login.authorizeWithJellyfin }}</span>
2021-01-27 21:37:43 +00:00
</label>
2021-12-31 00:22:28 +00:00
<label class="row switch pl-4 pb-4">
<input type="checkbox" class="mr-2" id="ui-admin_only" checked><span>{{ .lang.Login.adminOnly }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="row switch pl-4 pb-2">
<input type="checkbox" class="mr-2" id="ui-allow_all"><span>{{ .lang.Login.allowAll }}</span>
</label>
<p class="support pb-4 pl-4 mt-1" id="description-ui-allow_all">{{ .lang.Login.allowAllDescription }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="radio" class="mr-2" name="ui-jellyfin_login" value="false"><span>{{ .lang.Login.authorizeManual }}</span>
2021-01-27 21:37:43 +00:00
</label>
<p class="support pb-4 pl-4 mt-1">{{ .lang.Login.authorizeManualUserPageNotice }}</p>
2021-01-27 21:37:43 +00:00
</div>
<div id="login-manual">
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.username }}</span>
<input type="text" id="ui-username" class="input ~neutral @low mt-4 mb-2" placeholder="{{ .lang.Strings.username }}">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
<span>{{ .lang.Strings.password }}</span>
2021-12-31 18:00:19 +00:00
<input type="password" id="ui-password" class="input ~neutral @low mt-4 mb-2" placeholder="{{ .lang.Strings.password }}">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
<span>{{ .lang.Strings.emailAddress }} ({{ .lang.Strings.optional }})</span>
2021-12-31 18:00:19 +00:00
<input type="email" id="ui-email" class="input ~neutral @low mt-4" placeholder="email@address">
<span class="support mb-2 mt-1">{{ .lang.Login.emailNotice }}</span>
2021-01-27 21:37:43 +00:00
</label>
</div>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.JellyfinEmby.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.JellyfinEmby.description }}</p>
2021-01-27 21:37:43 +00:00
<div class="row">
<div class="col">
<label class="label">
<span>{{ .lang.Strings.serverType }}</span>
2021-12-31 18:00:19 +00:00
<div class="select ~neutral @low mt-4">
2021-01-27 21:37:43 +00:00
<select id="jellyfin-type">
<option value="jellyfin">Jellyfin</option>
<option value="emby">Emby</option>
</select>
2020-07-29 21:11:28 +00:00
</div>
2021-12-31 18:00:19 +00:00
<p class="support mb-2 mt-1">{{ .lang.JellyfinEmby.embyNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.JellyfinEmby.replaceJellyfin }} ({{ .lang.Strings.optional }})</span>
<input type="text" class="input ~neutral @low mt-4" id="jellyfin-substitute_jellyfin_strings">
<p class="support mb-2 mt-1">{{ .lang.JellyfinEmby.replaceJellyfinNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.username }}</span>
<input type="text" id="jellyfin-username" class="input ~neutral @low mt-4 mb-2" placeholder="{{ .lang.Strings.username }}">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
<span>{{ .lang.Strings.password }}</span>
2021-12-31 18:00:19 +00:00
<input type="password" id="jellyfin-password" class="input ~neutral @low mt-4 mb-2" placeholder="{{ .lang.Strings.password }}">
2021-01-27 21:37:43 +00:00
</label>
</div>
<div class="col">
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.internal }})</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="jellyfin-server" placeholder="http://jellyf.in:80">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.external }})</span>
<input type="url" class="input ~neutral @low mt-4" id="jellyfin-public_server" placeholder="https://jellyf.in">
<p class="support mb-2 mt-1">{{ .lang.JellyfinEmby.addressExternalNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
</div>
</div>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low" id="jellyfin-test-connection">{{ .lang.JellyfinEmby.testConnection }}</span>
<span class="button ~urge @low next" disabled>{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.Ombi.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.Ombi.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="ombi-enabled"><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.serverAddress }}</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="ombi-server" placeholder="ombi.jellyf.in">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.apiKey }}</span>
<input type="text" class="input ~neutral @low mt-4" id="ombi-api_key">
<p class="support mb-2 mt-1">{{ .lang.Ombi.apiKeyNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
<div class="card ~neutral @low mb-2 unfocused">
<span class="heading">{{ .lang.UserPage.title }}</span>
<p class="content my-2">{{ .lang.UserPage.description }}</p>
<p class="content my-2">{{ .lang.UserPage.customizeMessages }}</p>
<label class="row switch pb-4">
<input type="checkbox" class="mr-2" id="userpage-enabled"><span>{{ .lang.Strings.enabled }}</span>
</label>
<p class="support mb-1 mt-1">{{ .lang.UserPage.requiredSettings }}</p>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
<span class="heading">{{ .lang.Messages.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2" id="messages-description"></p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="messages-enabled" checked><span>{{ .lang.Strings.enabled }}</span>
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Email.dateFormat }}</span>
<input type="text" class="input ~neutral @low mt-4" id="email-date_format" value="%d/%m/%y">
<p class="support mb-2 mt-1" id="email-dateformat-notice"></p>
</label>
<div>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="radio" class="mr-2" name="email-24h" value="true" checked><span>{{ .lang.Strings.time24h }}</span>
</label>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="radio" class="mr-2" name="email-24h" value="false"><span>{{ .lang.Strings.time12h }}</span>
</label>
</div>
<div id="email-sect">
<span class="heading">{{ .lang.Email.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2" id="email-description"></p>
<div class="row">
<div class="col">
2021-01-27 21:37:43 +00:00
<label class="label">
<span>{{ .lang.Email.method }}</span>
2021-12-31 18:00:19 +00:00
<div class="select ~neutral @low mt-4 mb-2">
<select id="email-method">
<option value="">{{ .lang.Strings.disabled }}</option>
<option value="smtp">SMTP</option>
<option value="mailgun">Mailgun</option>
2021-01-27 21:37:43 +00:00
</select>
</div>
</label>
<label class="row switch">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="email-no_username"><span>{{ .lang.Email.useEmailAsUsername }}</span>
<p class="support mb-2 mt-1">{{ .lang.Email.useEmailAsUsernameNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Email.fromAddress }}</span>
<input type="email" class="input ~neutral @low mt-4 mb-2" id="email-address" placeholder="mail@jellyf.in">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Email.senderName }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="email-from" value="Jellyfin">
2021-01-27 21:37:43 +00:00
</label>
2020-07-29 21:11:28 +00:00
</div>
<div class="col">
<div id="email-smtp">
2021-12-31 18:00:19 +00:00
<p class="text-2xl font-semibold mb-2">SMTP</p>
<label class="label">
<span>{{ .lang.Email.encryption }}</span>
2021-12-31 18:00:19 +00:00
<div class="select ~neutral @low mt-4 mb-2">
<select id="smtp-encryption">
<option value="starttls">STARTTLS ({{ .lang.Strings.port }} 587)</option>
<option value="ssl_tls">SSL/TLS ({{ .lang.Strings.port }} 465)</option>
</select>
</div>
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.serverAddress }}</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="smtp-server" placeholder="smtp.jellyf.in">
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.port }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="smtp-port" placeholder="587">
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.username }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="smtp-username">
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.password }}</span>
<input type="password" class="input ~neutral @low mt-4 mb-2" id="smtp-password">
</label>
</div>
<div id="email-mailgun">
2021-12-31 18:00:19 +00:00
<p class="text-2xl font-semibold mb-2">Mailgun</p>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Email.mailgunApiURL }}</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="mailgun-api_url" placeholder="https://api.eu.mailgun.net/v3/mail.jellyf.in/messages">
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.apiKey }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="mailgun-api_key">
</label>
</div>
2020-07-29 21:11:28 +00:00
</div>
</div>
2021-01-27 21:37:43 +00:00
</div>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused related-to-email">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.Notifications.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.Notifications.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="notifications-enabled"><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<span class="heading">{{ .lang.WelcomeEmails.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.WelcomeEmails.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="welcome_email-enabled"><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="welcome_email-subject" placeholder="{{ .emailLang.WelcomeEmail.title }}">
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused related-to-email">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.InviteEmails.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.InviteEmails.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="invite_emails-enabled"><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.URL }}</span>
<input type="url" class="input ~neutral @low mt-4 mb-2" id="invite_emails-url_base" placeholder="https://accounts.jellyf.in/invite">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="invite_emails-subject" placeholder="{{ .emailLang.InviteEmail.title }}">
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div id="password-resets" class="card ~neutral @low mb-2 unfocused related-to-email">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.PasswordResets.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.PasswordResets.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="password_resets-enabled"><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordResets.pathToJellyfin }}</span>
<input type="text" class="input ~neutral @low mt-4" id="password_resets-watch_directory" placeholder="/config/jellyfin">
<p class="support mb-2 mt-1">{{ .lang.PasswordResets.pathToJellyfinNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
2021-05-02 13:15:03 +00:00
<label class="switch">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="password_resets-link_reset"><span>{{ .lang.PasswordResets.resetLinks }}</span>
<p class="support mb-2 mt-1">{{ .lang.PasswordResets.resetLinksNotice }} {{ .lang.PasswordResets.resetLinksRequiredForUserPage }}</p>
2021-05-02 13:15:03 +00:00
</label>
<label class="switch">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="password_resets-set_password"><span>{{ .lang.PasswordResets.setPassword }}</span>
<p class="support mb-2 mt-1">{{ .lang.PasswordResets.setPasswordNotice }}</p>
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<p class="mt-4">{{ .lang.PasswordResets.resetLinksLanguage }}</p>
<div class="select ~neutral @low mt-4 mb-2">
2021-05-02 13:15:03 +00:00
<select id="password_resets-language">
</select>
</div>
</label>
<label class="row label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-4 mb-2" id="password_resets-subject" placeholder="{{ .emailLang.PasswordReset.title }}">
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.PasswordValidation.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.PasswordValidation.description }}</p>
2021-12-31 00:22:28 +00:00
<label class="row switch pb-4">
2021-12-31 18:00:19 +00:00
<input type="checkbox" class="mr-2" id="password_validation-enabled" checked><span>{{ .lang.Strings.enabled }}</span>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordValidation.length }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="password_validation-min_length" value="8">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordValidation.uppercase }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="password_validation-upper" value="1">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordValidation.lowercase }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="password_validation-lower" value="0">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordValidation.numbers }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="password_validation-number" value="0">
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.PasswordValidation.special }}</span>
<input type="number" class="input ~neutral @low mt-4 mb-2" id="password_validation-special" value="0">
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<span class="heading">{{ .lang.HelpMessages.title }}</span>
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.HelpMessages.description }}</p>
2021-01-27 21:37:43 +00:00
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.HelpMessages.contactMessage }}</span>
<input type="text" class="input ~neutral @low mt-4" id="ui-contact_message">
<p class="support mb-2 mt-1">{{ .lang.HelpMessages.contactMessageNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.HelpMessages.helpMessage }}</span>
<input type="text" class="input ~neutral @low mt-4" id="ui-help_message">
<p class="support mb-2 mt-1">{{ .lang.HelpMessages.helpMessageNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.HelpMessages.successMessage }}</span>
<input type="text" class="input ~neutral @low mt-4" id="ui-success_message">
<p class="support mb-2 mt-1">{{ .lang.HelpMessages.successMessageNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<label class="label related-to-email">
2021-12-31 18:00:19 +00:00
<span class="mt-4">{{ .lang.HelpMessages.emailMessage }}</span>
<input type="text" class="input ~neutral @low mt-4" id="email-message">
<p class="support mb-2 mt-1">{{ .lang.HelpMessages.emailMessageNotice }}</p>
2021-01-27 21:37:43 +00:00
</label>
<section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
2021-01-27 21:37:43 +00:00
<div>
<span class="button ~urge @low next">{{ .lang.Strings.next }}</span>
2021-01-27 21:37:43 +00:00
</div>
</section>
</div>
2021-12-31 18:00:19 +00:00
<div class="card ~neutral @low mb-2 unfocused">
2021-01-27 21:37:43 +00:00
<div class="row col flex center">
<span class="heading">{{ .lang.EndPage.finished }}</span>
</div>
<div class="row col flex center">
2021-12-31 18:00:19 +00:00
<p class="content my-2">{{ .lang.EndPage.restartMessage }}</p>
2021-01-27 21:37:43 +00:00
</div>
<div class="row col flex center">
2021-12-31 00:22:28 +00:00
<span class="button ~neutral @low back mr-4">{{ .lang.Strings.back }}</span>
<span class="button ~urge @low" id="restart">{{ .lang.Strings.submit }}</span>
<span class="button ~urge @low unfocused" id="refresh">{{ .lang.EndPage.refreshPage }}</span>
2020-07-29 21:11:28 +00:00
</div>
</div>
</div>
2021-01-27 21:37:43 +00:00
<script>
window.langFile = JSON.parse({{ .language }});
window.messages = JSON.parse({{ .messages }});
</script>
<script src="js/setup.js" type="module"></script>
2020-07-29 21:11:28 +00:00
</body>
2021-01-27 21:37:43 +00:00
</html>