<commit_before>{% 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="glyphicon glyphicon-plus" aria-hidden="true"></span>
            Add a rack
        </a>
        <a href="{% url 'dcim:rack_import' %}" class="btn btn-info">
            <span class="glyphicon glyphicon-import" 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">
		<div class="panel panel-default">
			<div class="panel-heading">
				<strong>Search</strong>
			</div>
			<div class="panel-body">
				<form action="{% url 'dcim:rack_list' %}" method="get">
					<div class="input-group">
						<input type="text" name="q" class="form-control" placeholder="Name" {% if request.GET.q %}value="{{ request.GET.q }}" {% endif %}/>
						<span class="input-group-btn">
							<button type="submit" class="btn btn-primary">
								<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
							</button>
						</span>
					</div>
				</form>
			</div>
		</div>
		{% include 'inc/filter_panel.html' %}
    </div>
</div>
{% endblock %}<commit_msg>Add 'search' glyphicon to filter panel header<commit_after>{% 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="glyphicon glyphicon-plus" aria-hidden="true"></span>
            Add a rack
        </a>
        <a href="{% url 'dcim:rack_import' %}" class="btn btn-info">
            <span class="glyphicon glyphicon-import" 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">
		<div class="panel panel-default">
			<div class="panel-heading">
				<span class="glyphicon glyphicon-search" aria-hidden="true"></span> 
				<strong>Search</strong>
			</div>
			<div class="panel-body">
				<form action="{% url 'dcim:rack_list' %}" method="get">
					<div class="input-group">
						<input type="text" name="q" class="form-control" placeholder="Name" {% if request.GET.q %}value="{{ request.GET.q }}" {% endif %}/>
						<span class="input-group-btn">
							<button type="submit" class="btn btn-primary">
								<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
							</button>
						</span>
					</div>
				</form>
			</div>
		</div>
		{% include 'inc/filter_panel.html' %}
    </div>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.19837550765385817, 'fraction_numerical': 0.002499218994064355, 'mean_word_length': 3.0998719590268884, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4024272', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1085, 'n_words': 226}