aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/auth_account.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-03 21:18:10 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-03 21:18:10 -0800
commit03df0b8a6d1285fa4aa17e6c4216dd2716a9ac47 (patch)
treece6cc7f35a038ff5da26b86184d83441604de024 /python/fatcat_web/templates/auth_account.html
parent422a8cc47489aa44b852ff0add1ef6ea63cfc1ff (diff)
downloadfatcat-03df0b8a6d1285fa4aa17e6c4216dd2716a9ac47.tar.gz
fatcat-03df0b8a6d1285fa4aa17e6c4216dd2716a9ac47.zip
account page and renaming
Diffstat (limited to 'python/fatcat_web/templates/auth_account.html')
-rw-r--r--python/fatcat_web/templates/auth_account.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/auth_account.html b/python/fatcat_web/templates/auth_account.html
new file mode 100644
index 00000000..57155722
--- /dev/null
+++ b/python/fatcat_web/templates/auth_account.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% block body %}
+
+<h1>Your Account</h1>
+
+<p><b>Username:</b> <code>{{ current_user.username }}</code>
+<p><b>Editor Id:</b> <code><a href="/editor/{{ current_user.editor_id }}">{{ current_user.editor_id }}</a></code>
+
+<div>
+<p>Change username:
+<form class="" role="change_username" action="/auth/change_username" method="post">
+ <div class="ui form">
+ <div class="ui action input medium fluid">
+ <input type="text" name="username" value="{{ current_user.username }}" aria-label="account username">
+ <button class="ui button">Update</button>
+ </div>
+ </div>
+</form>
+</div>
+
+<p>In the future, you might be able to...
+<ul>
+ <li>Create a bot user
+ <li>Generate an API token
+</ul>
+
+{% endblock %}