2022-10-12 06:22:22 +00:00
|
|
|
<p class="title">This is a demo panel</p>
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<button
|
2022-10-12 06:22:22 +00:00
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-get="{% url 'modal' %}"
|
|
|
|
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>
|
2022-10-12 06:22:22 +00:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-10-12 06:22:22 +00:00
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-get="{% url 'widget' %}"
|
|
|
|
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>
|
2022-10-12 06:22:22 +00:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-10-12 06:22:22 +00:00
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-get="{% url 'window' %}"
|
|
|
|
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>
|
2022-10-12 06:22:22 +00:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|