<commit_before>{% extends "base.html" %}
{% load staticfiles %}

{% block title %}
    Stores
{% endblock %}

{% block style %}
    <style type="text/css" xmlns="http://www.w3.org/1999/html">
        #map-canvas-stores {
            width: 100%;
            height: 500px;
        }
    </style>
{% endblock %}

{% block scripts %}
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="{% static "js/gmap.js" %}"></script>
<script type="text/javascript">
    var stores = [
        {% for store in store_list %}{% if store.address.geo_latitude  %}['{{ store }}', {{ store.address.geo_latitude }}, {{ store.address.geo_longitude }}, {{ store.store_type }}],{% endif %}
        {% endfor %}
    ];
    $(document).ready(function(){initialize_map(stores, document.getElementById("map-canvas-stores"))});
</script>
{% endblock %}

{% block content %}
    <div class="page-header">
        <h1>Stores</h1>
    </div>

    <div class="row-fluid">
        <div class="span7">
            <div class="row-fluid">
                <div class="span8">
                    <form method="get">
                        <input type="text" name="q" class="search-query" placeholder="Search" value="{{ search_query }}">
                        <a href="#" class="btn btn-small">Advanced Search</a>
                    </form>
                </div>
                <div class="span4">
                    <a href="{% url "store-create" %}" class="btn btn-small pull-right">Submit A Store</a>
                </div>
            </div>
            {% if store_list.count %}
            <table class="table table-striped">
                <thead>
                    <tr><th>Name</th><th>Town/City</th><th>Country</th></tr><commit_msg>Remove advanced search until properly implemented.<commit_after>{% extends "base.html" %}
{% load staticfiles %}

{% block title %}
    Stores
{% endblock %}

{% block style %}
    <style type="text/css" xmlns="http://www.w3.org/1999/html">
        #map-canvas-stores {
            width: 100%;
            height: 500px;
        }
    </style>
{% endblock %}

{% block scripts %}
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="{% static "js/gmap.js" %}"></script>
<script type="text/javascript">
    var stores = [
        {% for store in store_list %}{% if store.address.geo_latitude  %}['{{ store }}', {{ store.address.geo_latitude }}, {{ store.address.geo_longitude }}, {{ store.store_type }}],{% endif %}
        {% endfor %}
    ];
    $(document).ready(function(){initialize_map(stores, document.getElementById("map-canvas-stores"))});
</script>
{% endblock %}

{% block content %}
    <div class="page-header">
        <h1>Stores</h1>
    </div>

    <div class="row-fluid">
        <div class="span7">
            <div class="row-fluid">
                <div class="span8">
                    <form method="get">
                        <input type="text" name="q" class="search-query" placeholder="Search" value="{{ search_query }}">
                    </form>
                </div>
                <div class="span4">
                    <a href="{% url "store-create" %}" class="btn btn-small pull-right">Submit A Store</a>
                </div>
            </div>
            {% if store_list.count %}
            <table class="table table-striped">
                <thead>
                    <tr><th>Name</th><th>Town/City</th><th>Country</th></tr>
{'fraction_non_alphanumeric': 0.18899858956276447, 'fraction_numerical': 0.009026798307475317, 'mean_word_length': 2.1774193548387095, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4544075', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1045, 'n_words': 203}