<commit_before>{% extends "landing.html" %}

{% block title %} Create Zone {% endblock title %}

{% block stylesheets %}
    {{ super() }}
     <link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"
  integrity="<KEY>
  crossorigin=""/>
    <script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"
      integrity="<KEY>
      crossorigin=""></script>
{% endblock stylesheets %}

{% block content %}
    <h2>Select the zone for the project</h2>
    <br>
    <form id="map-location" class="form-horizontal form-label-left" action="javascript:;" onsubmit="goToLocation()">
        <div class="form-group">
            <div class="col-md-6 col-sm-6 col-xs-12">
            <label class="control-label" for="latitude">Latitude</label>
                 <input type="text" class="form-control" placeholder="Latitude"
                        id="latitude" name="latitude" value="1.3521">
            </div>

            <div class="col-md-6 col-sm-6 col-xs-12">
            <label class="control-label" for="longitude">Longitude</label>
            <input type="text" class="form-control" placeholder="Longitude"
                       id="longitude" name="longitude" value="103.8198">
            </div>
        </div>
    </form>

    <div style="text-align: center">
        <div id="mapid" style="width: 600px; height: 400px; display: inline-block;"></div>
{#        <div id="lassoResult"></div>#}
        <button onclick="removePoly()">Clear</button>
        <button onclick="createPoly('{{ scenario }}')">Done</button>
    </div>
{% endblock content %}
{% block javascripts %}
    {{ super() }}
    <script src="{{ url_for('.static', filename='landing_map.js') }}"></script>
{% endblock javascripts %}<commit_msg>Add go button to input<commit_after>{% extends "landing.html" %}

{% block title %} Create Zone {% endblock title %}

{% block stylesheets %}
    {{ super() }}
     <link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"
  integrity="<KEY>
  crossorigin=""/>
    <script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"
      integrity="<KEY>
      crossorigin=""></script>
{% endblock stylesheets %}

{% block content %}
    <h2>Select the zone for the project</h2>
    <br>
    <form id="map-location" class="form-horizontal form-label-left" action="javascript:;" onsubmit="goToLocation()">
        <div class="form-group">
            <div class="col-md-6 col-sm-6 col-xs-12">
                <label class="control-label" for="latitude">Latitude</label>
                <input type="text" class="form-control" placeholder="Latitude"
                       id="latitude" name="latitude" value="1.3521" required>
            </div>

            <div class="col-md-6 col-sm-6 col-xs-12">
                <label class="control-label" for="longitude">Longitude</label>
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="Longitude"
                           id="longitude" name="longitude" value="103.8198" required>
                    <div class="input-group-btn">
                        <button class="btn" type="button" onclick="goToLocation()">Go</button>
                    </div>
                </div>

            </div>
        </div>

    </form>

    <div style="text-align: center">
        <div id="mapid" style="width: 600px; height: 400px; display: inline-block;"></div>
{#        <div id="lassoResult"></div>#}
        <button onclick="removePoly()">Clear</button>
        <button onclick="createPoly('{{ scenario }}')">Done</button>
    </div>
{% endblock content %}
{% block javascripts %}
    {{ super() }}
    <script src="{{ url_for('.static', filename='landing_map.js') }}"></script>
{% endblock javascripts %}
{'fraction_non_alphanumeric': 0.1856080722251726, 'fraction_numerical': 0.018056293149229952, 'mean_word_length': 2.6466602129719266, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 4, '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': '2401627', 'n_tokens_mistral': 1229, 'n_tokens_neox': 1135, 'n_words': 224}