File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
netbox/utilities/templates/navigation Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1
1
{% load helpers %}
2
+ {% load i18n %}
2
3
{% load navigation %}
3
4
4
5
< ul class ="navbar-nav pt-lg-2 " {% htmx_boost %} >
6
+ < li class ="nav-item d-block d-lg-none ">
7
+ < form action ="{% url 'search' %} " method ="get " autocomplete ="off " novalidate >
8
+ < div class ="input-group mb-1 mt-2 ">
9
+ < div class ="input-group-prepend ">
10
+ < span class ="input-group-text ">
11
+ < i class ="mdi mdi-magnify "> </ i >
12
+ </ span >
13
+ </ div >
14
+ < input type ="text " name ="q " value ="" class ="form-control " placeholder ="{% trans "Search… " %}" aria-label="{% trans "Search NetBox " %}">
15
+ < div class ="input-group-append ">
16
+ < button type ="submit " class ="form-control "> {% trans "Search" %}</ button >
17
+ </ div >
18
+ </ div >
19
+ </ form >
20
+ </ li >
5
21
{% for menu, groups in nav_items %}
6
22
< li class ="nav-item dropdown ">
7
23
You can’t perform that action at this time.
0 commit comments