lenticular_cloud2/lenticular_cloud/template/frontend/app_token_new_show.html.j2
2023-10-22 19:45:37 +02:00

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 %}