Fix global search bar

This commit is contained in:
Jeremy Stretch 2024-01-04 14:06:51 -05:00
parent 68e9c140c7
commit a2a1c388a4

View File

@ -95,6 +95,7 @@ Blocks:
<div class="collapse navbar-collapse" id="navbar-menu"> <div class="collapse navbar-collapse" id="navbar-menu">
<form action="{% url 'search' %}" method="get" autocomplete="off" novalidate> <form action="{% url 'search' %}" method="get" autocomplete="off" novalidate>
<div class="input-icon"> <div class="input-icon">
{# TODO: Use standard icon #}
<span class="input-icon-addon"> <span class="input-icon-addon">
<!-- Download SVG icon from http://tabler-icons.io/i/search --> <!-- Download SVG icon from http://tabler-icons.io/i/search -->
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
@ -103,7 +104,7 @@ Blocks:
<path d="M21 21l-6 -6" /> <path d="M21 21l-6 -6" />
</svg> </svg>
</span> </span>
<input type="text" value="" class="form-control" placeholder="Search…" aria-label="Search NetBox"> <input type="text" name="q" value="" class="form-control" placeholder="Search…" aria-label="Search NetBox">
</div> </div>
</form> </form>
</div> </div>