authsquare/app/pages/dashboard/dashboard.html

26 lines
773 B
HTML
Raw Normal View History

2024-09-26 12:18:14 +07:00
<h1>Here is Dashboard!</h1>
% if 4 in user['profile']['roles']:
<!-- Debug Section -->
<div class="container mb-5">
<div class="row">
<div class="col">
<div class="card">
<div class="card-body">
<h1>Debug Section</h1>
<p>Only tester that can see this section</p>
<p>
<b>Username:</b> ${user['profile']['username']} <br>
<b>Email:</b> ${user['profile']['email']} <br>
<b>Phone:</b> ${user['profile']['phone']} <br>
<b>Roles:</b> ${str(user['profile']['roles'])} <br>
</p>
</div>
</div>
</div>
</div>
</div>
% endif