fix(data-rumah): Hide 'Tambah' button for Admin role
parent
811337e44f
commit
ad806e21ca
|
|
@ -15,10 +15,10 @@
|
||||||
<h3 class="mb-2">Rumah</h3>
|
<h3 class="mb-2">Rumah</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="justify-self-end lg:self-center flex flex-wrap gap-3">
|
<div class="justify-self-end lg:self-center flex flex-wrap gap-3">
|
||||||
<button id="btn-tambah-rumah" type="button" class="btn btn-primary rounded-full text-white border-0">
|
@* <button id="btn-tambah-rumah" type="button" class="btn btn-primary rounded-full text-white border-0">
|
||||||
<span class="icon icon-fill me-2">add</span>
|
<span class="icon icon-fill me-2">add</span>
|
||||||
Tambah
|
Tambah
|
||||||
</button>
|
</button> *@
|
||||||
<button class="btn rounded-full bg-white" onclick="modal_filter.showModal()">
|
<button class="btn rounded-full bg-white" onclick="modal_filter.showModal()">
|
||||||
<span class="icon icon-fill me-2">filter_list</span>
|
<span class="icon icon-fill me-2">filter_list</span>
|
||||||
Filter
|
Filter
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Create Modal -->
|
@* <!-- Create Modal -->
|
||||||
<dialog id="modal_create" class="modal modal-bottom sm:modal-middle">
|
<dialog id="modal_create" class="modal modal-bottom sm:modal-middle">
|
||||||
<div class="modal-box w-full sm:max-w-md">
|
<div class="modal-box w-full sm:max-w-md">
|
||||||
<div class="flex items-start justify-between gap-4">
|
<div class="flex items-start justify-between gap-4">
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</dialog>
|
</dialog> *@
|
||||||
|
|
||||||
<!-- Edit Modal -->
|
<!-- Edit Modal -->
|
||||||
<dialog id="modal_edit" class="modal modal-bottom sm:modal-middle">
|
<dialog id="modal_edit" class="modal modal-bottom sm:modal-middle">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue