web/admin: add re-authenticate button for plex
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #1205
This commit is contained in:
parent
5571aa32b6
commit
ac77291b6d
|
@ -3026,6 +3026,10 @@ msgstr "RSA-SHA384"
|
||||||
msgid "RSA-SHA512"
|
msgid "RSA-SHA512"
|
||||||
msgstr "RSA-SHA512"
|
msgstr "RSA-SHA512"
|
||||||
|
|
||||||
|
#: src/pages/sources/plex/PlexSourceForm.ts
|
||||||
|
msgid "Re-authenticate with plex"
|
||||||
|
msgstr "Re-authenticate with plex"
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Re-evaluate policies"
|
msgid "Re-evaluate policies"
|
||||||
msgstr "Re-evaluate policies"
|
msgstr "Re-evaluate policies"
|
||||||
|
|
|
@ -3018,6 +3018,10 @@ msgstr ""
|
||||||
msgid "RSA-SHA512"
|
msgid "RSA-SHA512"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/pages/sources/plex/PlexSourceForm.ts
|
||||||
|
msgid "Re-authenticate with plex"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Re-evaluate policies"
|
msgid "Re-evaluate policies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -85,7 +85,13 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
${t`Load servers`}
|
${t`Load servers`}
|
||||||
</button>`;
|
</button>`;
|
||||||
}
|
}
|
||||||
return html`<ak-form-element-horizontal name="allowFriends">
|
return html`
|
||||||
|
<button class="pf-c-button pf-m-secondary" type="button" @click=${() => {
|
||||||
|
this.doAuth();
|
||||||
|
}}>
|
||||||
|
${t`Re-authenticate with plex`}
|
||||||
|
</button>
|
||||||
|
<ak-form-element-horizontal name="allowFriends">
|
||||||
<div class="pf-c-check">
|
<div class="pf-c-check">
|
||||||
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?.allowFriends, true)}>
|
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?.allowFriends, true)}>
|
||||||
<label class="pf-c-check__label">
|
<label class="pf-c-check__label">
|
||||||
|
|
Reference in New Issue