2022-10-13 14:26:43 +00:00
|
|
|
<p class="title">This is a demo panel</p>
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<button
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
2022-10-14 06:20:30 +00:00
|
|
|
hx-get="{% url 'hooks' type='modal' %}"
|
2022-10-13 14:26:43 +00:00
|
|
|
hx-trigger="click"
|
|
|
|
hx-target="#modals-here"
|
|
|
|
class="button is-info">
|
|
|
|
<span class="icon-text">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa-solid fa-list"></i>
|
|
|
|
</span>
|
|
|
|
<span>Open modal</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
2022-10-14 06:20:30 +00:00
|
|
|
hx-get="{% url 'hooks' type='widget' %}"
|
2022-10-13 14:26:43 +00:00
|
|
|
hx-trigger="click"
|
|
|
|
hx-target="#widgets-here"
|
|
|
|
class="button is-info">
|
|
|
|
<span class="icon-text">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa-solid fa-list"></i>
|
|
|
|
</span>
|
|
|
|
<span>Open widget</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
2022-10-14 06:20:30 +00:00
|
|
|
hx-get="{% url 'hooks' type='window' %}"
|
2022-10-13 14:26:43 +00:00
|
|
|
hx-trigger="click"
|
|
|
|
hx-target="#items-here"
|
|
|
|
hx-swap="afterend"
|
|
|
|
class="button is-info">
|
|
|
|
<span class="icon-text">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa-solid fa-list"></i>
|
|
|
|
</span>
|
|
|
|
<span>Open window</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|