MyHome/primary/templates/akses/index.html

23 lines
494 B
HTML
Raw Normal View History

2020-01-15 14:09:07 +00:00
{% extends "layouts/base.html" %}
{% block subtitle %}
<h1 class="text-4xl">Daftar Akses</h1>
{% endblock %}
{% block content %}
<div>
{% for entry in aksess %}
<div class="px-4 py-4 flex flex-row justify-start aksess-center hover:bg-blue-300">
{{ entry.User.NamaUser }}
<br/>
{% if entry.StatusAkses %}
diperbolehkan mengakses
{% else %}
tidak diperbolehkan mengakses
{% endif %}
{{ entry.Item.NamaItem }}
</div>
{% endfor %}
</div>
{% endblock %}