2016-03-01 11:23:03 -05:00
|
|
|
{% extends '_base.html' %}
|
|
|
|
|
|
|
|
{% block title %}Sites{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
|
|
|
{% if perms.dcim.add_site %}
|
|
|
|
<a href="{% url 'dcim:site_add' %}" class="btn btn-primary">
|
|
|
|
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
|
|
|
Add a site
|
|
|
|
</a>
|
2016-07-28 15:30:29 -04:00
|
|
|
<a href="{% url 'dcim:site_import' %}" class="btn btn-info">
|
2016-07-29 18:04:38 -04:00
|
|
|
<span class="fa fa-download" aria-hidden="true"></span>
|
2016-07-28 15:30:29 -04:00
|
|
|
Import sites
|
|
|
|
</a>
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endif %}
|
2016-06-16 13:38:31 -04:00
|
|
|
{% include 'inc/export_button.html' with obj_type='sites' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
<h1>Sites</h1>
|
2016-06-29 12:06:37 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-9">
|
2016-07-28 15:30:29 -04:00
|
|
|
{% include 'utilities/obj_table.html' with bulk_edit_url='dcim:site_bulk_edit' %}
|
2016-06-29 12:06:37 -04:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
2016-07-29 12:51:23 -04:00
|
|
|
{% include 'inc/search_panel.html' %}
|
2016-07-26 17:28:46 -04:00
|
|
|
{% include 'inc/filter_panel.html' %}
|
2016-06-29 12:06:37 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endblock %}
|