mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 03:27:21 -06:00
Closes #456: Added IP search box to home page
This commit is contained in:
parent
219f084805
commit
e2ad1d4be0
@ -3,9 +3,9 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="row home-search" style="padding: 15px 0px 20px">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<form action="{% url 'dcim:device_list' %}" method="get">
|
||||
<div class="input-group input-group-lg">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" placeholder="Search devices" class="form-control" />
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
@ -17,9 +17,9 @@
|
||||
</form>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<form action="{% url 'ipam:prefix_list' %}" method="get">
|
||||
<div class="input-group input-group-lg">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" placeholder="Search prefixes" class="form-control" />
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
@ -31,9 +31,23 @@
|
||||
</form>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<form action="{% url 'ipam:ipaddress_list' %}" method="get">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" placeholder="Search IPs" class="form-control" />
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<span class="fa fa-search" aria-hidden="true"></span>
|
||||
IPs
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<form action="{% url 'circuits:circuit_list' %}" method="get">
|
||||
<div class="input-group input-group-lg">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" placeholder="Search circuits" class="form-control" />
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
|
Loading…
Reference in New Issue
Block a user