feat: add services list
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4fbefadd47
commit
f9061e2ecf
@ -5,29 +5,46 @@
|
|||||||
<small>(<a href="{{ url_for('logout') }}">logout</a>)</small>
|
<small>(<a href="{{ url_for('logout') }}">logout</a>)</small>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if user.preferred_username in invites and invites[user.preferred_username]|length > 0 %}
|
<div>
|
||||||
<table>
|
<h2>Services</h2>
|
||||||
<tr>
|
<ul>
|
||||||
<th>Link</th>
|
<li>lumbung.space</li>
|
||||||
<th>Validity</th>
|
<li>panduan.lumbung.space</li>
|
||||||
<th>Actions</th>
|
<li>cloud.lumbung.space</li>
|
||||||
</tr>
|
<li>tv.lumbung.space</li>
|
||||||
{% for invite in invites[user.preferred_username] %}
|
<li>nongkrong.lumbung.space</li>
|
||||||
<tr>
|
<li>social.lumbung.space</li>
|
||||||
<td>
|
<li>pen.lumbung.space</li>
|
||||||
<a class="invite" href="{{ url_for('register_invite', invite=invite.link) }}">
|
<li>books.lumbung.space</li>
|
||||||
{{ url_for('register_invite', invite=invite.link) }}
|
</ul>
|
||||||
</a>
|
</div>
|
||||||
</td>
|
|
||||||
<td> {{ invite.validity }} </td>
|
|
||||||
<td> <a href="{{ url_for('invite_keycloak_delete') }}?invite={{ invite.link }}">delete</a> </td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<p>
|
<div>
|
||||||
<a href="{{ url_for('invite_keycloak_create') }}">Generate an invite link</a>
|
<h2>Invites</h2>
|
||||||
</p>
|
{% if user.preferred_username in invites and invites[user.preferred_username]|length > 0 %}
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Link</th>
|
||||||
|
<th>Validity</th>
|
||||||
|
<th>Actions</th>
|
||||||
|
</tr>
|
||||||
|
{% for invite in invites[user.preferred_username] %}
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a class="invite" href="{{ url_for('register_invite', invite=invite.link) }}">
|
||||||
|
{{ url_for('register_invite', invite=invite.link) }}
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td> {{ invite.validity }} </td>
|
||||||
|
<td> <a href="{{ url_for('invite_keycloak_delete') }}?invite={{ invite.link }}">delete</a> </td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="{{ url_for('invite_keycloak_create') }}">Generate an invite link</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user