calibre-web/cps/templates/generate_kobo_auth_url.html
2022-12-25 10:22:58 +01:00

16 lines
417 B
HTML

{% extends "fragment.html" %}
{% block body %}
<div class="well">
<p>
{% if not warning %}
{{_('Open the .kobo/Kobo/Kobo eReader.conf file in a text editor and add (or edit):')}}
</p><p>
api_endpoint={{url_for("kobo.TopLevelEndpoint", auth_token=auth_token, _external=True)}}
{% else %}
{{warning}}
</p><p>{{_('Kobo Token:')}} {{ auth_token }}
{% endif %}
</p>
</div>
{% endblock %}