mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
31 lines
933 B
HTML
31 lines
933 B
HTML
{% extends '_base.html' %}
|
|
{% load helpers %}
|
|
|
|
{% block title %}Racks{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="pull-right">
|
|
{% if perms.dcim.add_rack %}
|
|
<a href="{% url 'dcim:rack_add' %}" class="btn btn-primary">
|
|
<span class="fa fa-plus" aria-hidden="true"></span>
|
|
Add a rack
|
|
</a>
|
|
<a href="{% url 'dcim:rack_import' %}" class="btn btn-info">
|
|
<span class="fa fa-download" aria-hidden="true"></span>
|
|
Import racks
|
|
</a>
|
|
{% endif %}
|
|
{% include 'inc/export_button.html' with obj_type='racks' %}
|
|
</div>
|
|
<h1>Racks</h1>
|
|
<div class="row">
|
|
<div class="col-md-9">
|
|
{% include 'utilities/obj_table.html' with bulk_edit_url='dcim:rack_bulk_edit' bulk_delete_url='dcim:rack_bulk_delete' %}
|
|
</div>
|
|
<div class="col-md-3">
|
|
{% include 'inc/search_panel.html' %}
|
|
{% include 'inc/filter_panel.html' %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|