Make sure check button is visible
All checks were successful
release / release-plugins (push) Successful in 24s

This commit is contained in:
mschuepbach
2024-03-16 13:21:42 +01:00
parent f3debbb50a
commit bdbb9073db

View File

@@ -7,15 +7,20 @@
[% END %]
[% WRAPPER setting title="PLUGIN_YOUTUBEMUSIC_AUTH" desc="PLUGIN_YOUTUBEMUSIC_AUTH_DESC" %]
<input type="submit" name="get_device_code" value=[% "PLUGIN_YOUTUBEMUSIC_START_AUTH" | string %]>
[% IF user_code %]
<a href="[% verification_url %]" target="none">[% "PLUGIN_YOUTUBEMUSIC_VERIFICATIONURL" | string %]</a>
<div>[% user_code %]</div>
<div>
[% IF !user_code %]
<input type="submit" name="get_device_code" value=[% "PLUGIN_YOUTUBEMUSIC_START_AUTH" | string %]>
[% ELSE %]
<a href="[% verification_url %]" target="none">[% "PLUGIN_YOUTUBEMUSIC_VERIFICATIONURL" | string %]</a>
<div>[% user_code %]</div>
[% END %]
</div>
<div>
<input type="submit" name="get_token" value="Check">
[% IF access_token %]
<div>Success</div>
[% END %]
[% END %]
</div>
[% END %]
[% PROCESS settings/footer.html %]