mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-01 11:41:00 +00:00
8f57aa5f37
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
49 lines
1.6 KiB
HTML
49 lines
1.6 KiB
HTML
{% extends "settings/base.html" %}
|
|
|
|
{% block subtitle %}Token{% endblock %}
|
|
|
|
{% block settings_content %}
|
|
<h1>{{ token.application.name }}</h1>
|
|
<form action="." method="POST">
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
<legend>Application</legend>
|
|
<table class="metadata">
|
|
<tr>
|
|
<th>Name</th>
|
|
<td>{{ token.application.name }}</td>
|
|
</tr>
|
|
{% if token.application.website %}
|
|
<tr>
|
|
<th>Website</th>
|
|
<td>{{ token.application.website }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
<tr>
|
|
<th>Authorized</th>
|
|
<td>{{ token.created }}</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>Token</legend>
|
|
<table class="metadata">
|
|
<tr>
|
|
<th>Access Token</th>
|
|
<td>
|
|
<span class="secret" _="on click add .visible to me">
|
|
<span class="label">Click to reveal</span>
|
|
<tt class="value">{{ token.token }}</tt>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
|
|
<div class="buttons">
|
|
<a href="{% url "settings_tokens" handle=identity.handle %}" class="button secondary left">Back</a>
|
|
<button class="danger">Remove Access</button>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|