2024-03-21 10:07:09 +00:00
|
|
|
<p class="title">Common controls</p>
|
2023-10-17 20:00:25 +00:00
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<button
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
2024-03-26 17:06:44 +00:00
|
|
|
hx-get="{% url 'home' %}"
|
2023-10-17 20:00:25 +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>
|
2024-03-21 10:07:09 +00:00
|
|
|
<span>Open search widget</span>
|
2023-10-17 20:00:25 +00:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
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>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
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>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|