mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Update modal template
This commit is contained in:
parent
defe59d79e
commit
9f42bce16a
@ -134,7 +134,7 @@
|
|||||||
{% include 'inc/paginator.html' with paginator=circuits_table.paginator page=circuits_table.page %}
|
{% include 'inc/paginator.html' with paginator=circuits_table.paginator page=circuits_table.page %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% include 'inc/modal.html' with modal_name='graphs' %}
|
{% include 'inc/modal.html' with name='graphs' title='Graphs' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block javascript %}
|
{% block javascript %}
|
||||||
|
@ -873,7 +873,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% include 'inc/modal.html' with modal_name='graphs' %}
|
{% include 'inc/modal.html' with name='graphs' title='Graphs' %}
|
||||||
{% include 'secrets/inc/private_key_modal.html' %}
|
{% include 'secrets/inc/private_key_modal.html' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -288,7 +288,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% include 'inc/modal.html' with modal_name='graphs' %}
|
{% include 'inc/modal.html' with name='graphs' title='Graphs' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block javascript %}
|
{% block javascript %}
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<div class="modal fade" id="{{ modal_name }}_modal" tabindex="-1" role="dialog">
|
<div class="modal fade" id="{{ name }}_modal" tabindex="-1" role="dialog">
|
||||||
<div class="modal-dialog modal-lg" role="document">
|
<div class="modal-dialog modal-lg" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
{% if title %}
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<div class="modal-header">
|
||||||
<h4 class="modal-title" id="{{ modal_name }}_modal_title">Modal title</h4>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title">{{ title }}</h4>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<div class="modal-body">
|
||||||
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user