mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Clean up search results layout
This commit is contained in:
parent
85e9438ff7
commit
2451b0a5b1
@ -5,7 +5,18 @@
|
|||||||
|
|
||||||
{% block title %}Search{% endblock %}
|
{% block title %}Search{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block tabs %}
|
||||||
|
<ul class="nav nav-tabs px-3">
|
||||||
|
<li class="nav-item" role="presentation">
|
||||||
|
<button class="nav-link active" type="button" role="tab">
|
||||||
|
Results
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
{% endblock tabs %}
|
||||||
|
|
||||||
|
{% block content-wrapper %}
|
||||||
|
<div class="tab-content">
|
||||||
{% if request.GET.q %}
|
{% if request.GET.q %}
|
||||||
{% if results %}
|
{% if results %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -73,4 +84,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock content %}
|
</div>
|
||||||
|
{% endblock content-wrapper %}
|
||||||
|
Loading…
Reference in New Issue
Block a user