26 lines
507 B
Django/Jinja
26 lines
507 B
Django/Jinja
{% extends 'frontend/base.html.j2' %}
|
|
|
|
{% block title %}{{ gettext('new app token') }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div>
|
|
<p>
|
|
Your new App Token for scopes: {app_token.scopes}:
|
|
</p>
|
|
|
|
<p>
|
|
<code id="app_token_secret">{{ app_token.token }}</code><br />
|
|
</p>
|
|
<p>
|
|
<button class="btn btn-primary" onclick="navigator.clipboard.writeText(document.getElementById('app_token_secret').textContent);">
|
|
<i class="fa-solid fa-clipboard"></i>
|
|
Copy Secret
|
|
</button>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
|