{% extends '_base.html' %}
{% load render_table from django_tables2 %}

{% 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>
    {% endif %}
    {% include 'inc/export_button.html' with obj_type='sites' %}
</div>
<h1>Sites</h1>
{% render_table table 'table.html' %}
{% endblock %}
