1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

remove predefined m- and p- spacing

This commit is contained in:
Harvey Tindall 2021-12-30 23:58:20 +00:00
parent acc8892f26
commit 62be8adc65
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
6 changed files with 156 additions and 197 deletions

View File

@ -85,47 +85,6 @@ div.card:contains(section.banner.footer) {
font-size: 2rem; font-size: 2rem;
} }
.mb-half {
margin-bottom: 0.5rem;
}
.mb-1 {
margin-bottom: 1rem;
}
.mb-2 {
margin-bottom: 2rem;
}
.mt-half {
margin-top: 0.5rem;
}
.mt-1 {
margin-top: 1rem;
}
.ml-half {
margin-left: 0.5rem;
}
.mr-half {
margin-right: 0.5rem;
}
.p-1 {
padding: 1rem;
}
.pb-1 {
padding-bottom: 1rem;
}
.pl-1 {
padding-left: 1rem;
}
.al { .al {
text-align: left; text-align: left;
} }

View File

@ -22,7 +22,7 @@
<div id="modal-login" class="modal"> <div id="modal-login" class="modal">
<form class="modal-content card" id="form-login" href=""> <form class="modal-content card" id="form-login" href="">
<span class="heading">{{ .strings.login }}</span> <span class="heading">{{ .strings.login }}</span>
<input type="text" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.username }}" id="login-user"> <input type="text" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.username }}" id="login-user">
<input type="password" class="field input ~neutral @high mb-1" placeholder="{{ .strings.password }}" id="login-password"> <input type="password" class="field input ~neutral @high mb-1" placeholder="{{ .strings.password }}" id="login-password">
<label> <label>
<input type="submit" class="unfocused"> <input type="submit" class="unfocused">
@ -33,8 +33,8 @@
<div id="modal-add-user" class="modal"> <div id="modal-add-user" class="modal">
<form class="modal-content card" id="form-add-user" href=""> <form class="modal-content card" id="form-add-user" href="">
<span class="heading">{{ .strings.newUser }} <span class="modal-close">&times;</span></span> <span class="heading">{{ .strings.newUser }} <span class="modal-close">&times;</span></span>
<input type="text" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.username }}" id="add-user-user"> <input type="text" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.username }}" id="add-user-user">
<input type="email" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.emailAddress }}"> <input type="email" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.emailAddress }}">
<input type="password" class="field input ~neutral @high mb-1" placeholder="{{ .strings.password }}" id="add-user-password"> <input type="password" class="field input ~neutral @high mb-1" placeholder="{{ .strings.password }}" id="add-user-password">
<label> <label>
<input type="submit" class="unfocused"> <input type="submit" class="unfocused">
@ -49,23 +49,23 @@
<p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p> <p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p>
<p>{{ .strings.commitNoun }} <span class="code monospace">{{ .commit }}</span></p> <p>{{ .strings.commitNoun }} <span class="code monospace">{{ .commit }}</span></p>
<div class="row col flex"> <div class="row col flex">
<a class="button ~neutral mr-half mt-1 mb-1 lang-link" href="https://github.com/hrfee/jfa-go"><i class="ri-github-line mr-half"></i>github</a> <a class="button ~neutral mr-0.5 mt-1 mb-1 lang-link" href="https://github.com/hrfee/jfa-go"><i class="ri-github-line mr-0.5"></i>github</a>
<a class="button ~urge mt-1 mb-1 mr-half lang-link" href="https://wiki.jfa-go.com">wiki/docs</a> <a class="button ~urge mt-1 mb-1 mr-0.5 lang-link" href="https://wiki.jfa-go.com">wiki/docs</a>
<a class="button ~positive mt-1 mb-1 mr-half lang-link" href="https://weblate.jfa-go.com">translation</a> <a class="button ~positive mt-1 mb-1 mr-0.5 lang-link" href="https://weblate.jfa-go.com">translation</a>
<div class="dropdown mr-half" tabindex="0"> <div class="dropdown mr-0.5" tabindex="0">
<a href="https://github.com/sponsors/hrfee" target="_blank" class="button ~info mt-1 mb-1 dropdown-button lang-link"> <a href="https://github.com/sponsors/hrfee" target="_blank" class="button ~info mt-1 mb-1 dropdown-button lang-link">
<i class="ri-hand-heart-line mr-half"></i> <i class="ri-hand-heart-line mr-0.5"></i>
donate donate
<span class="ml-1 chev"></span> <span class="ml-1 chev"></span>
</a> </a>
<div class="dropdown-display"> <div class="dropdown-display">
<div class="card ~info @low"> <div class="card ~info @low">
<a href="https://github.com/sponsors/hrfee" target="_blank" class="button input ~neutral field mb-half lang-link">GitHub</a> <a href="https://github.com/sponsors/hrfee" target="_blank" class="button input ~neutral field mb-0.5 lang-link">GitHub</a>
<a href="https://ko-fi.com/hrfee" target="_blank" class="button input ~neutral field mb-half lang-link">Ko-fi</a> <a href="https://ko-fi.com/hrfee" target="_blank" class="button input ~neutral field mb-0.5 lang-link">Ko-fi</a>
</div> </div>
</div> </div>
</div> </div>
<a class="button ~urge mt-1 mb-1 @low discord lang-link" href="https://discord.com/invite/MrtvuQmyhP" target="_blank"><i class="ri-discord-line mr-half"></i>discord</a> <a class="button ~urge mt-1 mb-1 @low discord lang-link" href="https://discord.com/invite/MrtvuQmyhP" target="_blank"><i class="ri-discord-line mr-0.5"></i>discord</a>
</div> </div>
<p><a href="https://github.com/hrfee/jfa-go/blob/main/LICENSE">Available under the MIT License.</a></p> <p><a href="https://github.com/hrfee/jfa-go/blob/main/LICENSE">Available under the MIT License.</a></p>
<pre class="monospace">{{ .license }}</pre> <pre class="monospace">{{ .license }}</pre>
@ -104,7 +104,7 @@
<div id="modal-delete-user" class="modal"> <div id="modal-delete-user" class="modal">
<form class="modal-content card" id="form-delete-user" href=""> <form class="modal-content card" id="form-delete-user" href="">
<span class="heading"><span id="header-delete-user"></span> <span class="modal-close">&times;</span></span> <span class="heading"><span id="header-delete-user"></span> <span class="modal-close">&times;</span></span>
<div class="content mt-half"> <div class="content mt-0.5">
<label class="switch mb-1"> <label class="switch mb-1">
<input type="checkbox" id="delete-user-notify" checked> <input type="checkbox" id="delete-user-notify" checked>
<span>{{ .strings.sendDeleteNotificationEmail }}</span> <span>{{ .strings.sendDeleteNotificationEmail }}</span>
@ -120,11 +120,11 @@
<div id="modal-extend-expiry" class="modal"> <div id="modal-extend-expiry" class="modal">
<form class="modal-content card" id="form-extend-expiry" href=""> <form class="modal-content card" id="form-extend-expiry" href="">
<span class="heading"><span id="header-extend-expiry"></span> <span class="modal-close">&times;</span></span> <span class="heading"><span id="header-extend-expiry"></span> <span class="modal-close">&times;</span></span>
<div class="content mt-half"> <div class="content mt-0.5">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="extend-expiry-months">{{ .strings.inviteMonths }}</label> <label class="label supra" for="extend-expiry-months">{{ .strings.inviteMonths }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="extend-expiry-months"> <select id="extend-expiry-months">
<option>0</option> <option>0</option>
</select> </select>
@ -132,7 +132,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="extend-expiry-days">{{ .strings.inviteDays }}</label> <label class="label supra" for="extend-expiry-days">{{ .strings.inviteDays }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="extend-expiry-days"> <select id="extend-expiry-days">
<option>0</option> <option>0</option>
</select> </select>
@ -142,7 +142,7 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="extend-expiry-hours">{{ .strings.inviteHours }}</label> <label class="label supra" for="extend-expiry-hours">{{ .strings.inviteHours }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="extend-expiry-hours"> <select id="extend-expiry-hours">
<option>0</option> <option>0</option>
</select> </select>
@ -150,7 +150,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="extend-expiry-minutes">{{ .strings.inviteMinutes }}</label> <label class="label supra" for="extend-expiry-minutes">{{ .strings.inviteMinutes }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="extend-expiry-minutes"> <select id="extend-expiry-minutes">
<option>0</option> <option>0</option>
</select> </select>
@ -173,20 +173,20 @@
<form class="modal-content wide card" id="form-announce" href=""> <form class="modal-content wide card" id="form-announce" href="">
<span class="heading"><span id="header-announce"></span> <span class="modal-close">&times;</span></span> <span class="heading"><span id="header-announce"></span> <span class="modal-close">&times;</span></span>
<div class="row"> <div class="row">
<div class="col flex-col content mt-half"> <div class="col flex-col content mt-0.5">
<div id="announce-details"> <div id="announce-details">
<span class="label supra" for="editor-variables" id="label-editor-variables">{{ .strings.variables }}</span> <span class="label supra" for="editor-variables" id="label-editor-variables">{{ .strings.variables }}</span>
<div id="announce-variables"> <div id="announce-variables">
<span class="button ~urge @low mb-1 mt-half" id="announce-variables-username" style="margin-left: 0.25rem; margin-right: 0.25rem;"><span class="monospace">{username}</span></span> <span class="button ~urge @low mb-1 mt-0.5" id="announce-variables-username" style="margin-left: 0.25rem; margin-right: 0.25rem;"><span class="monospace">{username}</span></span>
</div> </div>
<label class="label supra" for="announce-subject"> {{ .strings.subject }}</label> <label class="label supra" for="announce-subject"> {{ .strings.subject }}</label>
<input type="text" id="announce-subject" class="input ~neutral @low mb-1 mt-half"> <input type="text" id="announce-subject" class="input ~neutral @low mb-1 mt-0.5">
<label class="label supra" for="textarea-announce">{{ .strings.message }}</label> <label class="label supra" for="textarea-announce">{{ .strings.message }}</label>
<textarea id="textarea-announce" class="textarea full-width ~neutral @low mt-half monospace"></textarea> <textarea id="textarea-announce" class="textarea full-width ~neutral @low mt-0.5 monospace"></textarea>
<p class="support mt-half mb-1">{{ .strings.markdownSupported }}</p> <p class="support mt-0.5 mb-1">{{ .strings.markdownSupported }}</p>
</div> </div>
<label class="label unfocused" id="announce-name"><p class="supra">{{ .strings.name }}</p> <label class="label unfocused" id="announce-name"><p class="supra">{{ .strings.name }}</p>
<input type="text" class="input ~neutral @low mb-1 mt-half"> <input type="text" class="input ~neutral @low mb-1 mt-0.5">
<p class="support">{{ .strings.templateEnterName }}</p> <p class="support">{{ .strings.templateEnterName }}</p>
</label> </label>
<div class="row flex-expand"> <div class="row flex-expand">
@ -199,7 +199,7 @@
</div> </div>
<div class="col card ~neutral @low"> <div class="col card ~neutral @low">
<span class="subheading supra">{{ .strings.preview }}</span> <span class="subheading supra">{{ .strings.preview }}</span>
<div class="mt-half" id="announce-preview"></div> <div class="mt-0.5" id="announce-preview"></div>
</div> </div>
</div> </div>
</form> </form>
@ -226,16 +226,16 @@
<form class="modal-content wide card" id="form-editor" href=""> <form class="modal-content wide card" id="form-editor" href="">
<span class="heading"><span id="header-editor"></span> <span class="modal-close">&times;</span></span> <span class="heading"><span id="header-editor"></span> <span class="modal-close">&times;</span></span>
<div class="row"> <div class="row">
<div class="col flex-col content mt-half"> <div class="col flex-col content mt-0.5">
<span class="label supra" for="editor-variables" id="label-editor-variables">{{ .strings.variables }}</span> <span class="label supra" for="editor-variables" id="label-editor-variables">{{ .strings.variables }}</span>
<div id="editor-variables"></div> <div id="editor-variables"></div>
<span class="label supra" for="editor-conditionals" id="label-editor-conditionals">{{ .strings.conditionals }}</span> <span class="label supra" for="editor-conditionals" id="label-editor-conditionals">{{ .strings.conditionals }}</span>
<div id="editor-conditionals"></div> <div id="editor-conditionals"></div>
<label class="label supra" for="textarea-editor">{{ .strings.message }}</label> <label class="label supra" for="textarea-editor">{{ .strings.message }}</label>
<textarea id="textarea-editor" class="textarea full-width flex-auto ~neutral @low mt-half monospace"></textarea> <textarea id="textarea-editor" class="textarea full-width flex-auto ~neutral @low mt-0.5 monospace"></textarea>
<p class="support mt-half mb-1">{{ .strings.markdownSupported }}</p> <p class="support mt-0.5 mb-1">{{ .strings.markdownSupported }}</p>
<div class="flex-row"> <div class="flex-row">
<label class="full-width ml-half"> <label class="full-width ml-0.5">
<input type="submit" class="unfocused"> <input type="submit" class="unfocused">
<span class="button ~urge @low full-width center supra submit">{{ .strings.submit }}</span> <span class="button ~urge @low full-width center supra submit">{{ .strings.submit }}</span>
</label> </label>
@ -243,7 +243,7 @@
</div> </div>
<div class="col card ~neutral @low"> <div class="col card ~neutral @low">
<span class="subheading supra">{{ .strings.preview }}</span> <span class="subheading supra">{{ .strings.preview }}</span>
<div class="mt-half" id="editor-preview"></div> <div class="mt-0.5" id="editor-preview"></div>
</div> </div>
</div> </div>
</form> </form>
@ -253,7 +253,7 @@
<span class="heading">{{ .strings.settingsRestartRequired }} <span class="modal-close">&times;</span></span> <span class="heading">{{ .strings.settingsRestartRequired }} <span class="modal-close">&times;</span></span>
<p class="content pb-1">{{ .strings.settingsRestartRequiredDescription }}</p> <p class="content pb-1">{{ .strings.settingsRestartRequiredDescription }}</p>
<div class="fr"> <div class="fr">
<span class="button ~info @low mb-half" id="settings-apply-no-restart">{{ .strings.settingsApplyRestartLater }}</span> <span class="button ~info @low mb-0.5" id="settings-apply-no-restart">{{ .strings.settingsApplyRestartLater }}</span>
<span class="button ~critical @low" id="settings-apply-restart">{{ .strings.settingsApplyRestartNow }}</span> <span class="button ~critical @low" id="settings-apply-restart">{{ .strings.settingsApplyRestartNow }}</span>
</div> </div>
</div> </div>
@ -268,7 +268,7 @@
<div class="modal-content card ~neutral @low"> <div class="modal-content card ~neutral @low">
<span class="heading">{{ .strings.sendPWR }}</span> <span class="heading">{{ .strings.sendPWR }}</span>
<p class="content" id="send-pwr-note"></p> <p class="content" id="send-pwr-note"></p>
<span class="button ~urge @low mt-half" id="send-pwr-link">{{ .strings.copy }}</span> <span class="button ~urge @low mt-0.5" id="send-pwr-link">{{ .strings.copy }}</span>
</div> </div>
</div> </div>
<div id="modal-ombi-profile" class="modal"> <div id="modal-ombi-profile" class="modal">
@ -313,10 +313,10 @@
<p class="content">{{ .strings.addProfileDescription }}</p> <p class="content">{{ .strings.addProfileDescription }}</p>
<label> <label>
<span class="supra">{{ .strings.addProfileNameOf }} </span> <span class="supra">{{ .strings.addProfileNameOf }} </span>
<input type="text" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.name }}" id="add-profile-name"> <input type="text" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.name }}" id="add-profile-name">
<label> <label>
<span class="supra">{{ .strings.user }}</span> <span class="supra">{{ .strings.user }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="add-profile-user"></select> <select id="add-profile-user"></select>
</div> </div>
</label> </label>
@ -379,9 +379,9 @@
<form class="modal-content card" id="form-matrix" href=""> <form class="modal-content card" id="form-matrix" href="">
<span class="heading">{{ .strings.linkMatrix }}</span> <span class="heading">{{ .strings.linkMatrix }}</span>
<p class="content">{{ .strings.linkMatrixDescription }}</p> <p class="content">{{ .strings.linkMatrixDescription }}</p>
<input type="text" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.matrixHomeServer }}" id="matrix-homeserver"> <input type="text" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.matrixHomeServer }}" id="matrix-homeserver">
<input type="text" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.username }}" id="matrix-user"> <input type="text" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.username }}" id="matrix-user">
<input type="password" class="field input ~neutral @high mt-half mb-1" placeholder="{{ .strings.password }}" id="matrix-password"> <input type="password" class="field input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.password }}" id="matrix-password">
<label> <label>
<input type="submit" class="unfocused"> <input type="submit" class="unfocused">
<span class="button ~urge @low full-width center supra submit">{{ .strings.submit }}</span> <span class="button ~urge @low full-width center supra submit">{{ .strings.submit }}</span>
@ -447,7 +447,7 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="create-months">{{ .strings.inviteMonths }}</label> <label class="label supra" for="create-months">{{ .strings.inviteMonths }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="create-months"> <select id="create-months">
<option>0</option> <option>0</option>
</select> </select>
@ -455,7 +455,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="create-days">{{ .strings.inviteDays }}</label> <label class="label supra" for="create-days">{{ .strings.inviteDays }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="create-days"> <select id="create-days">
<option>0</option> <option>0</option>
</select> </select>
@ -465,7 +465,7 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="create-hours">{{ .strings.inviteHours }}</label> <label class="label supra" for="create-hours">{{ .strings.inviteHours }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="create-hours"> <select id="create-hours">
<option>0</option> <option>0</option>
</select> </select>
@ -473,7 +473,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="create-minutes">{{ .strings.inviteMinutes }}</label> <label class="label supra" for="create-minutes">{{ .strings.inviteMinutes }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="create-minutes"> <select id="create-minutes">
<option>0</option> <option>0</option>
</select> </select>
@ -483,16 +483,16 @@
</div> </div>
<div id="user-expiry" class="unfocused"> <div id="user-expiry" class="unfocused">
<p class="support">{{ .strings.userExpiryDescription }}</p> <p class="support">{{ .strings.userExpiryDescription }}</p>
<div class="mb-half"> <div class="mb-0.5">
<label for="create-user-expiry-enabled" class="button ~neutral @low"> <label for="create-user-expiry-enabled" class="button ~neutral @low">
<input type="checkbox" id="create-user-expiry-enabled" aria-label="User duration enabled"> <input type="checkbox" id="create-user-expiry-enabled" aria-label="User duration enabled">
<span class="ml-half">{{ .strings.enabled }} </span> <span class="ml-0.5">{{ .strings.enabled }} </span>
</label> </label>
</div> </div>
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="user-months">{{ .strings.inviteMonths }}</label> <label class="label supra" for="user-months">{{ .strings.inviteMonths }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="user-months"> <select id="user-months">
<option>0</option> <option>0</option>
</select> </select>
@ -500,7 +500,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="user-days">{{ .strings.inviteDays }}</label> <label class="label supra" for="user-days">{{ .strings.inviteDays }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="user-days"> <select id="user-days">
<option>0</option> <option>0</option>
</select> </select>
@ -510,7 +510,7 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label supra" for="user-hours">{{ .strings.inviteHours }}</label> <label class="label supra" for="user-hours">{{ .strings.inviteHours }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="user-hours"> <select id="user-hours">
<option>0</option> <option>0</option>
</select> </select>
@ -518,7 +518,7 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="user-minutes">{{ .strings.inviteMinutes }}</label> <label class="label supra" for="user-minutes">{{ .strings.inviteMinutes }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="user-minutes"> <select id="user-minutes">
<option>0</option> <option>0</option>
</select> </select>
@ -528,12 +528,12 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label supra" for="create-label"> {{ .strings.label }}</label> <label class="label supra" for="create-label"> {{ .strings.label }}</label>
<input type="text" id="create-label" class="input ~neutral @low mb-1 mt-half"> <input type="text" id="create-label" class="input ~neutral @low mb-1 mt-0.5">
</div> </div>
</div> </div>
<div class="card ~neutral @low col"> <div class="card ~neutral @low col">
<label class="label supra" for="create-uses">{{ .strings.inviteNumberOfUses }}</label> <label class="label supra" for="create-uses">{{ .strings.inviteNumberOfUses }}</label>
<div class="flex-expand mb-1 mt-half"> <div class="flex-expand mb-1 mt-0.5">
<input type="number" min="0" id="create-uses" class="input ~neutral @low mr-1" value=1> <input type="number" min="0" id="create-uses" class="input ~neutral @low mr-1" value=1>
<label for="create-inf-uses" class="button ~neutral @low" title="Set uses to infinite"> <label for="create-inf-uses" class="button ~neutral @low" title="Set uses to infinite">
<span></span> <span></span>
@ -542,13 +542,13 @@
</div> </div>
<p class="support unfocused" id="create-inf-uses-warning"><span class="badge ~critical">{{ .strings.warning }}</span> {{ .strings.inviteInfiniteUsesWarning }}</p> <p class="support unfocused" id="create-inf-uses-warning"><span class="badge ~critical">{{ .strings.warning }}</span> {{ .strings.inviteInfiniteUsesWarning }}</p>
<label class="label supra">{{ .strings.profile }}</label> <label class="label supra">{{ .strings.profile }}</label>
<div class="select ~neutral @low mb-1 mt-half"> <div class="select ~neutral @low mb-1 mt-0.5">
<select id="create-profile"> <select id="create-profile">
</select> </select>
</div> </div>
<div id="create-send-to-container"> <div id="create-send-to-container">
<label class="label supra">{{ .strings.inviteSendToEmail }}</label> <label class="label supra">{{ .strings.inviteSendToEmail }}</label>
<div class="flex-expand mb-1 mt-half"> <div class="flex-expand mb-1 mt-0.5">
{{ if .discordEnabled }} {{ if .discordEnabled }}
<input type="text" id="create-send-to" class="input ~neutral @low mr-1" placeholder="example@example.com | user#1234"> <input type="text" id="create-send-to" class="input ~neutral @low mr-1" placeholder="example@example.com | user#1234">
<span id="create-send-to-search" class="button ~neutral @low mr-1"> <span id="create-send-to-search" class="button ~neutral @low mr-1">
@ -575,9 +575,9 @@
<input type="search" class="col sm field ~neutral @low input search ml-1 mr-1" id="accounts-search" placeholder="{{ .strings.search }}"> <input type="search" class="col sm field ~neutral @low input search ml-1 mr-1" id="accounts-search" placeholder="{{ .strings.search }}">
</div> </div>
<div class="row"> <div class="row">
<span class="col sm button ~neutral @low center mb-half" id="accounts-add-user">{{ .quantityStrings.addUser.Singular }}</span> <span class="col sm button ~neutral @low center mb-0.5" id="accounts-add-user">{{ .quantityStrings.addUser.Singular }}</span>
<div id="accounts-announce-dropdown" class="col sm dropdown" tabindex="0"> <div id="accounts-announce-dropdown" class="col sm dropdown" tabindex="0">
<span class="h-100 sm button ~info @low center mb-half" id="accounts-announce">{{ .strings.announce }}</span> <span class="h-100 sm button ~info @low center mb-0.5" id="accounts-announce">{{ .strings.announce }}</span>
<div class="dropdown-display"> <div class="dropdown-display">
<div class="card ~neutral @low"> <div class="card ~neutral @low">
<span class="supra sm">{{ .strings.templates }}</span> <span class="supra sm">{{ .strings.templates }}</span>
@ -585,21 +585,21 @@
</div> </div>
</div> </div>
</div> </div>
<span class="col sm button ~urge @low center mb-half" id="accounts-modify-user">{{ .strings.modifySettings }}</span> <span class="col sm button ~urge @low center mb-0.5" id="accounts-modify-user">{{ .strings.modifySettings }}</span>
<span class="col sm button ~warning @low center mb-half" id="accounts-extend-expiry">{{ .strings.extendExpiry }}</span> <span class="col sm button ~warning @low center mb-0.5" id="accounts-extend-expiry">{{ .strings.extendExpiry }}</span>
<div id="accounts-disable-enable-dropdown" class="col sm dropdown manual" tabindex="0"> <div id="accounts-disable-enable-dropdown" class="col sm dropdown manual" tabindex="0">
<span class="h-100 sm button ~positive @low center mb-half" id="accounts-disable-enable">{{ .strings.disable }}</span> <span class="h-100 sm button ~positive @low center mb-0.5" id="accounts-disable-enable">{{ .strings.disable }}</span>
<div class="dropdown-display"> <div class="dropdown-display">
<div class="card ~neutral @low"> <div class="card ~neutral @low">
<span class="button ~neutral sm full-width accounts-announce-template-button" id="accounts-enable-expiry">{{ .strings.setExpiry }}</span> <span class="button ~neutral sm full-width accounts-announce-template-button" id="accounts-enable-expiry">{{ .strings.setExpiry }}</span>
</div> </div>
</div> </div>
</div> </div>
<span class="col sm button ~info @low center mb-half unfocused" id="accounts-send-pwr">{{ .strings.sendPWR }}</span> <span class="col sm button ~info @low center mb-0.5 unfocused" id="accounts-send-pwr">{{ .strings.sendPWR }}</span>
<span class="col sm button ~critical @low center mb-half" id="accounts-delete-user">{{ .quantityStrings.deleteUser.Singular }}</span> <span class="col sm button ~critical @low center mb-0.5" id="accounts-delete-user">{{ .quantityStrings.deleteUser.Singular }}</span>
</div> </div>
</div> </div>
<div class="card ~neutral @low accounts-header table-responsive mt-half"> <div class="card ~neutral @low accounts-header table-responsive mt-0.5">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -631,7 +631,7 @@
<span class="heading">{{ .strings.settings }}</span> <span class="heading">{{ .strings.settings }}</span>
<label for="settings-advanced-enabled" class="button ~neutral @low ml-1"> <label for="settings-advanced-enabled" class="button ~neutral @low ml-1">
<input type="checkbox" id="settings-advanced-enabled" aria-label="Advanced settings enabled"> <input type="checkbox" id="settings-advanced-enabled" aria-label="Advanced settings enabled">
<span class="ml-half">{{ .strings.advancedSettings }} </span> <span class="ml-0.5">{{ .strings.advancedSettings }} </span>
</label> </label>
</div> </div>
<div> <div>
@ -641,9 +641,9 @@
</div> </div>
<div class="row"> <div class="row">
<div class="card ~neutral @low col" id="settings-sidebar"> <div class="card ~neutral @low col" id="settings-sidebar">
<aside class="aside sm ~info mb-half" id="settings-message">Note: <span class="badge ~critical">*</span> indicates a required field, <span class="badge ~info">R</span> indicates changes require a restart.</aside> <aside class="aside sm ~info mb-0.5" id="settings-message">Note: <span class="badge ~critical">*</span> indicates a required field, <span class="badge ~info">R</span> indicates changes require a restart.</aside>
<span class="button ~neutral @low settings-section-button mb-half" id="setting-about"><span class="flex">{{ .strings.aboutProgram }} <i class="ri-information-line ml-half"></i></span></span> <span class="button ~neutral @low settings-section-button mb-0.5" id="setting-about"><span class="flex">{{ .strings.aboutProgram }} <i class="ri-information-line ml-0.5"></i></span></span>
<span class="button ~neutral @low settings-section-button mb-half" id="setting-profiles"><span class="flex">{{ .strings.userProfiles }} <i class="ri-user-line ml-half"></i></span></span> <span class="button ~neutral @low settings-section-button mb-0.5" id="setting-profiles"><span class="flex">{{ .strings.userProfiles }} <i class="ri-user-line ml-0.5"></i></span></span>
</div> </div>
<div class="card ~neutral @low col overflow" id="settings-panel"></div> <div class="card ~neutral @low col overflow" id="settings-panel"></div>
</div> </div>

View File

@ -22,7 +22,7 @@
<section class="section ~neutral @low"> <section class="section ~neutral @low">
<div class="flex-expand"> <div class="flex-expand">
<span class="subheading">Full Log</span> <span class="subheading">Full Log</span>
<span class="button ~urge ml-half" id="copy-log">Copy</span> <span class="button ~urge ml-0.5" id="copy-log">Copy</span>
</div> </div>
<div class="row mb-1"> <div class="row mb-1">
<label class="col mr-1"> <label class="col mr-1">

View File

@ -110,11 +110,11 @@
{{ if not .passwordReset }} {{ if not .passwordReset }}
<label class="label supra"> <label class="label supra">
{{ .strings.username }} {{ .strings.username }}
<input type="text" class="input ~neutral @high mt-half mb-1" placeholder="{{ .strings.username }}" id="create-username" aria-label="{{ .strings.username }}"> <input type="text" class="input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.username }}" id="create-username" aria-label="{{ .strings.username }}">
</label> </label>
<label class="label supra" for="create-email">{{ .strings.emailAddress }}</label> <label class="label supra" for="create-email">{{ .strings.emailAddress }}</label>
<input type="email" class="input ~neutral @high mt-half mb-1" placeholder="{{ .strings.emailAddress }}" id="create-email" aria-label="{{ .strings.emailAddress }}" value="{{ .email }}"> <input type="email" class="input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.emailAddress }}" id="create-email" aria-label="{{ .strings.emailAddress }}" value="{{ .email }}">
{{ if .telegramEnabled }} {{ if .telegramEnabled }}
<span class="button ~info @low full-width center mb-1" id="link-telegram">{{ .strings.linkTelegram }}</span> <span class="button ~info @low full-width center mb-1" id="link-telegram">{{ .strings.linkTelegram }}</span>
{{ end }} {{ end }}
@ -148,10 +148,10 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
<label class="label supra" for="create-password">{{ .strings.password }}</label> <label class="label supra" for="create-password">{{ .strings.password }}</label>
<input type="password" class="input ~neutral @high mt-half mb-1" placeholder="{{ .strings.password }}" id="create-password" aria-label="{{ .strings.password }}"> <input type="password" class="input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.password }}" id="create-password" aria-label="{{ .strings.password }}">
<label class="label supra" for="create-reenter-password">{{ .strings.reEnterPassword }}</label> <label class="label supra" for="create-reenter-password">{{ .strings.reEnterPassword }}</label>
<input type="password" class="input ~neutral @high mt-half mb-1" placeholder="{{ .strings.password }}" id="create-reenter-password" aria-label="{{ .strings.reEnterPassword }}"> <input type="password" class="input ~neutral @high mt-0.5 mb-1" placeholder="{{ .strings.password }}" id="create-reenter-password" aria-label="{{ .strings.reEnterPassword }}">
<label> <label>
<input type="submit" class="unfocused"> <input type="submit" class="unfocused">
<span class="button ~urge @low full-width center supra submit"> <span class="button ~urge @low full-width center supra submit">

View File

@ -37,22 +37,22 @@
<span class="heading">{{ .lang.Language.title }}</span> <span class="heading">{{ .lang.Language.title }}</span>
<p class="content" id="language-description"></p> <p class="content" id="language-description"></p>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Language.defaultAdminLang }}</span> <span class="mt-0.5">{{ .lang.Language.defaultAdminLang }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="ui-language-admin"> <select id="ui-language-admin">
</select> </select>
</div> </div>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Language.defaultFormLang }}</span> <span class="mt-0.5">{{ .lang.Language.defaultFormLang }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="ui-language-form"> <select id="ui-language-form">
</select> </select>
</div> </div>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Language.defaultEmailLang }}</span> <span class="mt-0.5">{{ .lang.Language.defaultEmailLang }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="email-language"> <select id="email-language">
</select> </select>
</div> </div>
@ -67,20 +67,20 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.General.listenAddress }}</span> <span class="mt-0.5">{{ .lang.General.listenAddress }}</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="ui-host" value="0.0.0.0"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="ui-host" value="0.0.0.0">
</label> </label>
<label class="row switch"> <label class="row switch">
<input type="checkbox" id="advanced-tls"><span>{{ .lang.General.useHTTPS }}</span> <input type="checkbox" id="advanced-tls"><span>{{ .lang.General.useHTTPS }}</span>
</label> </label>
<p class="support mb-1">{{ .lang.General.useHTTPSNotice }}</p> <p class="support mb-1">{{ .lang.General.useHTTPSNotice }}</p>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.General.pathToCertificate }}</span> <span class="mt-0.5">{{ .lang.General.pathToCertificate }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="advanced-tls_cert"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="advanced-tls_cert">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.General.pathToKeyFile }}</span> <span class="mt-0.5">{{ .lang.General.pathToKeyFile }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="advanced-tls_key"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="advanced-tls_key">
</label> </label>
<span class="heading">{{ .lang.Updates.title }}</span> <span class="heading">{{ .lang.Updates.title }}</span>
<p class="content" id="updates-description"></p> <p class="content" id="updates-description"></p>
@ -89,7 +89,7 @@
</label> </label>
<label class="label"> <label class="label">
<span>{{ .lang.Updates.updateChannel }}</span> <span>{{ .lang.Updates.updateChannel }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="updates-channel"> <select id="updates-channel">
<option value="stable">{{ .lang.Updates.stable }}</option> <option value="stable">{{ .lang.Updates.stable }}</option>
<option value="unstable">{{ .lang.Updates.unstable }}</option> <option value="unstable">{{ .lang.Updates.unstable }}</option>
@ -99,21 +99,21 @@
</div> </div>
<div class="col"> <div class="col">
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.port }}</span> <span class="mt-0.5">{{ .lang.Strings.port }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="ui-port" value="8056"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="ui-port" value="8056">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.General.httpsPort }}</span> <span class="mt-0.5">{{ .lang.General.httpsPort }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="advanced-tls_port" value="8057"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="advanced-tls_port" value="8057">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.General.urlBase }} ({{ .lang.Strings.optional }})</span> <span class="mt-0.5">{{ .lang.General.urlBase }} ({{ .lang.Strings.optional }})</span>
<input type="url" class="input ~neutral @low mt-half" id="ui-url_base"> <input type="url" class="input ~neutral @low mt-0.5" id="ui-url_base">
<p class="support mb-1">{{ .lang.General.urlBaseNotice }}</p> <p class="support mb-1">{{ .lang.General.urlBaseNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span>{{ .lang.Strings.theme }}</span> <span>{{ .lang.Strings.theme }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="ui-theme"> <select id="ui-theme">
<option value="Jellyfin (Dark)">{{ .lang.General.darkTheme }}</option> <option value="Jellyfin (Dark)">{{ .lang.General.darkTheme }}</option>
<option value="Default (Light)">{{ .lang.General.lightTheme }}</option> <option value="Default (Light)">{{ .lang.General.lightTheme }}</option>
@ -143,16 +143,16 @@
</div> </div>
<div id="login-manual"> <div id="login-manual">
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.username }}</span> <span class="mt-0.5">{{ .lang.Strings.username }}</span>
<input type="text" id="ui-username" class="input ~neutral @low mt-half mb-1" placeholder="{{ .lang.Strings.username }}"> <input type="text" id="ui-username" class="input ~neutral @low mt-0.5 mb-1" placeholder="{{ .lang.Strings.username }}">
</label> </label>
<label class="label"> <label class="label">
<span>{{ .lang.Strings.password }}</span> <span>{{ .lang.Strings.password }}</span>
<input type="password" id="ui-password" class="input ~neutral @low mt-half mb-1" placeholder="{{ .lang.Strings.password }}"> <input type="password" id="ui-password" class="input ~neutral @low mt-0.5 mb-1" placeholder="{{ .lang.Strings.password }}">
</label> </label>
<label class="label"> <label class="label">
<span>{{ .lang.Strings.emailAddress }} ({{ .lang.Strings.optional }})</span> <span>{{ .lang.Strings.emailAddress }} ({{ .lang.Strings.optional }})</span>
<input type="email" id="ui-email" class="input ~neutral @low mt-half" placeholder="email@address"> <input type="email" id="ui-email" class="input ~neutral @low mt-0.5" placeholder="email@address">
<span class="support mb-1">{{ .lang.Login.emailNotice }}</span> <span class="support mb-1">{{ .lang.Login.emailNotice }}</span>
</label> </label>
</div> </div>
@ -168,7 +168,7 @@
<div class="col"> <div class="col">
<label class="label"> <label class="label">
<span>{{ .lang.Strings.serverType }}</span> <span>{{ .lang.Strings.serverType }}</span>
<div class="select ~neutral @low mt-half"> <div class="select ~neutral @low mt-0.5">
<select id="jellyfin-type"> <select id="jellyfin-type">
<option value="jellyfin">Jellyfin</option> <option value="jellyfin">Jellyfin</option>
<option value="emby">Emby</option> <option value="emby">Emby</option>
@ -177,27 +177,27 @@
<p class="support mb-1">{{ .lang.JellyfinEmby.embyNotice }}</p> <p class="support mb-1">{{ .lang.JellyfinEmby.embyNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.JellyfinEmby.replaceJellyfin }} ({{ .lang.Strings.optional }})</span> <span class="mt-0.5">{{ .lang.JellyfinEmby.replaceJellyfin }} ({{ .lang.Strings.optional }})</span>
<input type="text" class="input ~neutral @low mt-half" id="jellyfin-substitute_jellyfin_strings"> <input type="text" class="input ~neutral @low mt-0.5" id="jellyfin-substitute_jellyfin_strings">
<p class="support mb-1">{{ .lang.JellyfinEmby.replaceJellyfinNotice }}</p> <p class="support mb-1">{{ .lang.JellyfinEmby.replaceJellyfinNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.username }}</span> <span class="mt-0.5">{{ .lang.Strings.username }}</span>
<input type="text" id="jellyfin-username" class="input ~neutral @low mt-half mb-1" placeholder="{{ .lang.Strings.username }}"> <input type="text" id="jellyfin-username" class="input ~neutral @low mt-0.5 mb-1" placeholder="{{ .lang.Strings.username }}">
</label> </label>
<label class="label"> <label class="label">
<span>{{ .lang.Strings.password }}</span> <span>{{ .lang.Strings.password }}</span>
<input type="password" id="jellyfin-password" class="input ~neutral @low mt-half mb-1" placeholder="{{ .lang.Strings.password }}"> <input type="password" id="jellyfin-password" class="input ~neutral @low mt-0.5 mb-1" placeholder="{{ .lang.Strings.password }}">
</label> </label>
</div> </div>
<div class="col"> <div class="col">
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.internal }})</span> <span class="mt-0.5">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.internal }})</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="jellyfin-server" placeholder="http://jellyf.in:80"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="jellyfin-server" placeholder="http://jellyf.in:80">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.external }})</span> <span class="mt-0.5">{{ .lang.Strings.serverAddress }} ({{ .lang.JellyfinEmby.external }})</span>
<input type="url" class="input ~neutral @low mt-half" id="jellyfin-public_server" placeholder="https://jellyf.in"> <input type="url" class="input ~neutral @low mt-0.5" id="jellyfin-public_server" placeholder="https://jellyf.in">
<p class="support mb-1">{{ .lang.JellyfinEmby.addressExternalNotice }}</p> <p class="support mb-1">{{ .lang.JellyfinEmby.addressExternalNotice }}</p>
</label> </label>
</div> </div>
@ -217,12 +217,12 @@
<input type="checkbox" id="ombi-enabled"><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="ombi-enabled"><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.serverAddress }}</span> <span class="mt-0.5">{{ .lang.Strings.serverAddress }}</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="ombi-server" placeholder="ombi.jellyf.in"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="ombi-server" placeholder="ombi.jellyf.in">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.apiKey }}</span> <span class="mt-0.5">{{ .lang.Strings.apiKey }}</span>
<input type="text" class="input ~neutral @low mt-half" id="ombi-api_key"> <input type="text" class="input ~neutral @low mt-0.5" id="ombi-api_key">
<p class="support mb-1">{{ .lang.Ombi.apiKeyNotice }}</p> <p class="support mb-1">{{ .lang.Ombi.apiKeyNotice }}</p>
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">
@ -239,8 +239,8 @@
<input type="checkbox" id="messages-enabled" checked><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="messages-enabled" checked><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Email.dateFormat }}</span> <span class="mt-0.5">{{ .lang.Email.dateFormat }}</span>
<input type="text" class="input ~neutral @low mt-half" id="email-date_format" value="%d/%m/%y"> <input type="text" class="input ~neutral @low mt-0.5" id="email-date_format" value="%d/%m/%y">
<p class="support mb-1" id="email-dateformat-notice"></p> <p class="support mb-1" id="email-dateformat-notice"></p>
</label> </label>
<div> <div>
@ -258,7 +258,7 @@
<div class="col"> <div class="col">
<label class="label"> <label class="label">
<span>{{ .lang.Email.method }}</span> <span>{{ .lang.Email.method }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="email-method"> <select id="email-method">
<option value="">{{ .lang.Strings.disabled }}</option> <option value="">{{ .lang.Strings.disabled }}</option>
<option value="smtp">SMTP</option> <option value="smtp">SMTP</option>
@ -271,12 +271,12 @@
<p class="support mb-1">{{ .lang.Email.useEmailAsUsernameNotice }}</p> <p class="support mb-1">{{ .lang.Email.useEmailAsUsernameNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Email.fromAddress }}</span> <span class="mt-0.5">{{ .lang.Email.fromAddress }}</span>
<input type="email" class="input ~neutral @low mt-half mb-1" id="email-address" placeholder="mail@jellyf.in"> <input type="email" class="input ~neutral @low mt-0.5 mb-1" id="email-address" placeholder="mail@jellyf.in">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Email.senderName }}</span> <span class="mt-0.5">{{ .lang.Email.senderName }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="email-from" value="Jellyfin"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="email-from" value="Jellyfin">
</label> </label>
</div> </div>
<div class="col"> <div class="col">
@ -284,7 +284,7 @@
<p class="subheading">SMTP</p> <p class="subheading">SMTP</p>
<label class="label"> <label class="label">
<span>{{ .lang.Email.encryption }}</span> <span>{{ .lang.Email.encryption }}</span>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="smtp-encryption"> <select id="smtp-encryption">
<option value="starttls">STARTTLS ({{ .lang.Strings.port }} 587)</option> <option value="starttls">STARTTLS ({{ .lang.Strings.port }} 587)</option>
<option value="ssl_tls">SSL/TLS ({{ .lang.Strings.port }} 465)</option> <option value="ssl_tls">SSL/TLS ({{ .lang.Strings.port }} 465)</option>
@ -292,31 +292,31 @@
</div> </div>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.serverAddress }}</span> <span class="mt-0.5">{{ .lang.Strings.serverAddress }}</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="smtp-server" placeholder="smtp.jellyf.in"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="smtp-server" placeholder="smtp.jellyf.in">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.port }}</span> <span class="mt-0.5">{{ .lang.Strings.port }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="smtp-port" placeholder="587"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="smtp-port" placeholder="587">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.username }}</span> <span class="mt-0.5">{{ .lang.Strings.username }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="smtp-username"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="smtp-username">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.password }}</span> <span class="mt-0.5">{{ .lang.Strings.password }}</span>
<input type="password" class="input ~neutral @low mt-half mb-1" id="smtp-password"> <input type="password" class="input ~neutral @low mt-0.5 mb-1" id="smtp-password">
</label> </label>
</div> </div>
<div id="email-mailgun"> <div id="email-mailgun">
<p class="subheading">Mailgun</p> <p class="subheading">Mailgun</p>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Email.mailgunApiURL }}</span> <span class="mt-0.5">{{ .lang.Email.mailgunApiURL }}</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="mailgun-api_url" placeholder="https://api.eu.mailgun.net/v3/mail.jellyf.in/messages"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="mailgun-api_url" placeholder="https://api.eu.mailgun.net/v3/mail.jellyf.in/messages">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.apiKey }}</span> <span class="mt-0.5">{{ .lang.Strings.apiKey }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="mailgun-api_key"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="mailgun-api_key">
</label> </label>
</div> </div>
</div> </div>
@ -341,8 +341,8 @@
<input type="checkbox" id="welcome_email-enabled"><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="welcome_email-enabled"><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.emailSubject }}</span> <span class="mt-0.5">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="welcome_email-subject" placeholder="{{ .emailLang.WelcomeEmail.title }}"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="welcome_email-subject" placeholder="{{ .emailLang.WelcomeEmail.title }}">
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span> <span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
@ -358,12 +358,12 @@
<input type="checkbox" id="invite_emails-enabled"><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="invite_emails-enabled"><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.URL }}</span> <span class="mt-0.5">{{ .lang.Strings.URL }}</span>
<input type="url" class="input ~neutral @low mt-half mb-1" id="invite_emails-url_base" placeholder="https://accounts.jellyf.in/invite"> <input type="url" class="input ~neutral @low mt-0.5 mb-1" id="invite_emails-url_base" placeholder="https://accounts.jellyf.in/invite">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.Strings.emailSubject }}</span> <span class="mt-0.5">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="invite_emails-subject" placeholder="{{ .emailLang.InviteEmail.title }}"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="invite_emails-subject" placeholder="{{ .emailLang.InviteEmail.title }}">
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span> <span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
@ -379,8 +379,8 @@
<input type="checkbox" id="password_resets-enabled"><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="password_resets-enabled"><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordResets.pathToJellyfin }}</span> <span class="mt-0.5">{{ .lang.PasswordResets.pathToJellyfin }}</span>
<input type="text" class="input ~neutral @low mt-half" id="password_resets-watch_directory" placeholder="/config/jellyfin"> <input type="text" class="input ~neutral @low mt-0.5" id="password_resets-watch_directory" placeholder="/config/jellyfin">
<p class="support mb-1">{{ .lang.PasswordResets.pathToJellyfinNotice }}</p> <p class="support mb-1">{{ .lang.PasswordResets.pathToJellyfinNotice }}</p>
</label> </label>
<label class="switch"> <label class="switch">
@ -392,15 +392,15 @@
<p class="support mb-1">{{ .lang.PasswordResets.setPasswordNotice }}</p> <p class="support mb-1">{{ .lang.PasswordResets.setPasswordNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<p class="mt-half">{{ .lang.PasswordResets.resetLinksLanguage }}</p> <p class="mt-0.5">{{ .lang.PasswordResets.resetLinksLanguage }}</p>
<div class="select ~neutral @low mt-half mb-1"> <div class="select ~neutral @low mt-0.5 mb-1">
<select id="password_resets-language"> <select id="password_resets-language">
</select> </select>
</div> </div>
</label> </label>
<label class="row label"> <label class="row label">
<span class="mt-half">{{ .lang.Strings.emailSubject }}</span> <span class="mt-0.5">{{ .lang.Strings.emailSubject }}</span>
<input type="text" class="input ~neutral @low mt-half mb-1" id="password_resets-subject" placeholder="{{ .emailLang.PasswordReset.title }}"> <input type="text" class="input ~neutral @low mt-0.5 mb-1" id="password_resets-subject" placeholder="{{ .emailLang.PasswordReset.title }}">
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span> <span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
@ -416,24 +416,24 @@
<input type="checkbox" id="password_validation-enabled" checked><span>{{ .lang.Strings.enabled }}</span> <input type="checkbox" id="password_validation-enabled" checked><span>{{ .lang.Strings.enabled }}</span>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordValidation.length }}</span> <span class="mt-0.5">{{ .lang.PasswordValidation.length }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="password_validation-min_length" value="8"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="password_validation-min_length" value="8">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordValidation.uppercase }}</span> <span class="mt-0.5">{{ .lang.PasswordValidation.uppercase }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="password_validation-upper" value="1"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="password_validation-upper" value="1">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordValidation.lowercase }}</span> <span class="mt-0.5">{{ .lang.PasswordValidation.lowercase }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="password_validation-lower" value="0"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="password_validation-lower" value="0">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordValidation.numbers }}</span> <span class="mt-0.5">{{ .lang.PasswordValidation.numbers }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="password_validation-number" value="0"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="password_validation-number" value="0">
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.PasswordValidation.special }}</span> <span class="mt-0.5">{{ .lang.PasswordValidation.special }}</span>
<input type="number" class="input ~neutral @low mt-half mb-1" id="password_validation-special" value="0"> <input type="number" class="input ~neutral @low mt-0.5 mb-1" id="password_validation-special" value="0">
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">
<span class="button ~neutral @low back">{{ .lang.Strings.back }}</span> <span class="button ~neutral @low back">{{ .lang.Strings.back }}</span>
@ -446,23 +446,23 @@
<span class="heading">{{ .lang.HelpMessages.title }}</span> <span class="heading">{{ .lang.HelpMessages.title }}</span>
<p class="content">{{ .lang.HelpMessages.description }}</p> <p class="content">{{ .lang.HelpMessages.description }}</p>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.HelpMessages.contactMessage }}</span> <span class="mt-0.5">{{ .lang.HelpMessages.contactMessage }}</span>
<input type="text" class="input ~neutral @low mt-half" id="ui-contact_message"> <input type="text" class="input ~neutral @low mt-0.5" id="ui-contact_message">
<p class="support mb-1">{{ .lang.HelpMessages.contactMessageNotice }}</p> <p class="support mb-1">{{ .lang.HelpMessages.contactMessageNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.HelpMessages.helpMessage }}</span> <span class="mt-0.5">{{ .lang.HelpMessages.helpMessage }}</span>
<input type="text" class="input ~neutral @low mt-half" id="ui-help_message"> <input type="text" class="input ~neutral @low mt-0.5" id="ui-help_message">
<p class="support mb-1">{{ .lang.HelpMessages.helpMessageNotice }}</p> <p class="support mb-1">{{ .lang.HelpMessages.helpMessageNotice }}</p>
</label> </label>
<label class="label"> <label class="label">
<span class="mt-half">{{ .lang.HelpMessages.successMessage }}</span> <span class="mt-0.5">{{ .lang.HelpMessages.successMessage }}</span>
<input type="text" class="input ~neutral @low mt-half" id="ui-success_message"> <input type="text" class="input ~neutral @low mt-0.5" id="ui-success_message">
<p class="support mb-1">{{ .lang.HelpMessages.successMessageNotice }}</p> <p class="support mb-1">{{ .lang.HelpMessages.successMessageNotice }}</p>
</label> </label>
<label class="label related-to-email"> <label class="label related-to-email">
<span class="mt-half">{{ .lang.HelpMessages.emailMessage }}</span> <span class="mt-0.5">{{ .lang.HelpMessages.emailMessage }}</span>
<input type="text" class="input ~neutral @low mt-half" id="email-message"> <input type="text" class="input ~neutral @low mt-0.5" id="email-message">
<p class="support mb-1">{{ .lang.HelpMessages.emailMessageNotice }}</p> <p class="support mb-1">{{ .lang.HelpMessages.emailMessageNotice }}</p>
</label> </label>
<section class="section ~neutral banner footer flex-expand middle"> <section class="section ~neutral banner footer flex-expand middle">

View File

@ -20,7 +20,7 @@ module.exports = {
d_info: dark.d_info, d_info: dark.d_info,
d_critical: dark.d_critical d_critical: dark.d_critical
} }
}, }
}, },
plugins: [require("a17t")], plugins: [require("a17t")],
} }