Swap modals with innerHTML
This commit is contained in:
parent
31a77e88ad
commit
2a876a20ba
|
@ -79,6 +79,7 @@
|
|||
hx-get="{% url 'account_info' type=type pk=item.id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML"
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'hook_update' type=type pk=item.hook.id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here">{{ item.hook.name }}
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML">{{ item.hook.name }}
|
||||
</a>
|
||||
</td>
|
||||
<td>{{ item.title }}</td>
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
hx-get="{% url 'callbacks' type=type pk=item.id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML"
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
hx-get="{% url 'position_action' type=type account_id=item.account_id asset_id=item.asset_id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML"
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
hx-get="#"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML"
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
hx-get="#"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML"
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
Loading…
Reference in New Issue