2024-09-26 12:18:14 +07:00
|
|
|
<div class="container mb-5">
|
2024-09-26 19:41:33 +07:00
|
|
|
<h1>Here is Dashboard!</h1>
|
|
|
|
|
|
|
|
% if 4 in user['profile']['roles']:
|
|
|
|
<!-- Debug Section -->
|
2024-09-26 12:18:14 +07:00
|
|
|
<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>
|
2024-09-26 19:41:33 +07:00
|
|
|
% endif
|
2024-09-26 12:18:14 +07:00
|
|
|
|
2024-09-26 19:41:33 +07:00
|
|
|
</div>
|