From a4ea1a0e13b1b8016bbfaa0f0fbf983f0abdd5a5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Sep 2019 17:52:10 -0700 Subject: python webface impl token generation --- python/fatcat_web/templates/auth_token.html | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 python/fatcat_web/templates/auth_token.html (limited to 'python/fatcat_web/templates/auth_token.html') diff --git a/python/fatcat_web/templates/auth_token.html b/python/fatcat_web/templates/auth_token.html new file mode 100644 index 00000000..5ff94277 --- /dev/null +++ b/python/fatcat_web/templates/auth_token.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block body %} +

Create API Token

+ + +{% if current_user.is_authenticated %} + +

An API auth token has been created. This token gives full access to your editor account, so you should take care to keep it private. + +

Copy from box: +

+ +
+ +
+
+ +

As wrapped text (beware whitespace): +

+ {{ auth_token }} +
+ +{% else %} +
+
Something Went Wrong
+

Horribly wrong! You should log-out (if possible) and log back in. +

+{% endif %} + +{% endblock %} -- cgit v1.2.3