oidc example auth
This commit is contained in:
25
templates/dashboard.html
Normal file
25
templates/dashboard.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Dashboard – BoxDrop{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Dashboard</h1>
|
||||
<p>This page is only visible to authenticated users.</p>
|
||||
|
||||
<table style="border-collapse:collapse;width:100%">
|
||||
<thead>
|
||||
<tr style="background:#f4f4f4">
|
||||
<th style="text-align:left;padding:0.5rem 1rem;border:1px solid #ddd">Claim</th>
|
||||
<th style="text-align:left;padding:0.5rem 1rem;border:1px solid #ddd">Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for key, value in user.items() %}
|
||||
<tr>
|
||||
<td style="padding:0.5rem 1rem;border:1px solid #ddd"><code>{{ key }}</code></td>
|
||||
<td style="padding:0.5rem 1rem;border:1px solid #ddd">{{ value }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user