2022-06-29 11:28:26 +02:00
|
|
|
{% extends "default.html" %}
|
2021-04-01 14:09:16 +02:00
|
|
|
|
|
|
|
{% set active_page = "app" %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block title %}Sign in with SimpleLogin apps{% endblock %}
|
2021-04-01 14:09:16 +02:00
|
|
|
{% block default_content %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-04-01 14:09:16 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2022-06-29 11:28:26 +02:00
|
|
|
<h1 class="h3">Apps</h1>
|
2021-04-01 14:09:16 +02:00
|
|
|
<div class="small-text">
|
2021-04-01 14:20:13 +02:00
|
|
|
List of websites/apps that you have used <b>Sign in with SimpleLogin</b>
|
2021-04-01 14:09:16 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row row-cards row-deck mt-4">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="card">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-hover table-outline table-vcenter text-nowrap card-table">
|
|
|
|
<thead>
|
2022-06-29 11:28:26 +02:00
|
|
|
<tr>
|
|
|
|
<th>App</th>
|
|
|
|
<th>
|
|
|
|
Info
|
|
|
|
<i class="fe fe-help-circle"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title="Info this app/website receives"></i>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
First used
|
|
|
|
<i class="fe fe-help-circle"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title="The first time you have used the 'Sign in with SimpleLogin' button on this app/website"></i>
|
|
|
|
</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
<!--<th class="text-center">Last used</th>-->
|
|
|
|
</tr>
|
2021-04-01 14:09:16 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-06-29 11:28:26 +02:00
|
|
|
{% for client_user in client_users %}
|
2021-04-01 14:09:16 +02:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<tr>
|
|
|
|
<td>{{ client_user.client.name }}</td>
|
|
|
|
<td>
|
|
|
|
{% for scope, val in client_user.get_user_info().items() %}
|
2021-04-01 14:09:16 +02:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<div>
|
|
|
|
{% if scope == "email" %}
|
2021-04-01 14:09:16 +02:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
Email:
|
2023-08-15 16:03:04 +02:00
|
|
|
<a href="mailto:{{ val }}" target="_blank">{{ val }}</a>
|
2022-06-29 11:28:26 +02:00
|
|
|
{% elif scope == "name" %}
|
|
|
|
Name: {{ val }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
<td>{{ client_user.created_at | dt }}</td>
|
|
|
|
<td>
|
|
|
|
<form method="post">
|
|
|
|
<input type="hidden" name="client-user-id" value="{{ client_user.id }}">
|
|
|
|
<button class="btn btn-warning">Remove</button>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2021-04-01 14:09:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|