Fix overview modals
This commit is contained in:
@@ -64,12 +64,14 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<button
|
||||
type="button"
|
||||
class="button is-light"
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'threshold_irc_network_info' net %}">
|
||||
Cancel
|
||||
</button>
|
||||
<button class="button is-info">Submit</button>
|
||||
<button type="submit" class="button is-info">Submit</button>
|
||||
<script>activateButtons();</script>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'threshold_irc_actions_add-network' %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#modals-here-actions"
|
||||
hx-target="#modals-here"
|
||||
class="button is-info">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
||||
@@ -42,6 +42,4 @@
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="modals-here">
|
||||
</div>
|
||||
</div>
|
||||
@@ -63,11 +63,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
class="button is-light modal-close-button">
|
||||
Cancel
|
||||
</button>
|
||||
<button class="button is-info modal-close-button">Submit</button>
|
||||
|
||||
<button type="submit" class="button is-info modal-close-button">Submit</button>
|
||||
<script>activateButtons();</script>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -52,11 +52,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
class="button is-light modal-close-button">
|
||||
Cancel
|
||||
</button>
|
||||
<button class="button is-info modal-close-button">Submit</button>
|
||||
|
||||
<button type="submit" class="button is-info modal-close-button">Submit</button>
|
||||
<script>activateButtons();</script>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -85,5 +85,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="modals-here">
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user