forked from janeczku/calibre-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kobo sync token is now also created if accessed from localhost(fixes j…
…aneczku#1990) Create kobo sync token button is now "unclicked" after closing dialog Additional localhost route is catched If book format is deleted this also deletes the book synced to kobo status
- Loading branch information
1 parent
e8e2f78
commit 3b216bf
Showing
5 changed files
with
50 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
{% extends "fragment.html" %} | ||
{% block body %} | ||
<div class="well"> | ||
<p> | ||
{{_('Open the .kobo/Kobo eReader.conf file in a text editor and add (or edit):')}}</a> | ||
<p> | ||
{% if not warning %} | ||
{{_('Open the .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> | ||
<p> | ||
{% if not warning %}api_endpoint={{kobo_auth_url}}{% else %}{{warning}}{% endif %}</a> | ||
</p> | ||
<p> | ||
</div> | ||
{% endblock %} |