lenticular_cloud2/lenticular_cloud/template/frontend/app_token_new_show.html.j2

26 lines
507 B
Plaintext
Raw Permalink Normal View History

2022-07-15 08:53:06 +00:00
{% extends 'frontend/base.html.j2' %}
2023-10-22 17:45:37 +00:00
{% block title %}{{ gettext('new app token') }}{% endblock %}
2022-07-15 08:53:06 +00:00
{% block content %}
<div>
<p>
2023-10-22 17:45:37 +00:00
Your new App Token for scopes: {app_token.scopes}:
2022-07-15 08:53:06 +00:00
</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 %}