summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/auth_account.html
blob: 4faeb48f3ccffe988624e227662a6f8017772e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends "base.html" %}

{% block title %}Account Settings{% endblock %}

{% block body %}

<h1 class="ui header">
  <i class="settings icon"></i>
  Account Settings
</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>

<br>
<div class="ui segment">
<h3 class="ui header">Change Username</h3>
<form class="" role="change_username" action="/auth/change_username" method="post">
  <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
  <div class="ui form">
    <div class="ui action input medium">
      <input type="text" name="username" value="{{ current_user.username }}" aria-label="account username">
      <button class="ui red button">Update</button>
    </div>
  </div>
</form>
</div>

<br>
<p>In the future, you will be able to...
<ul>
  <li>Create and manage bot accounts
  <li>Generate API tokens
</ul>

{% endblock %}