<commit_before>{% load static %}

{% block css %}
    <link href="{% static "css/bootstrap-datetimepicker.css" %}" rel="stylesheet">
    <style>
        .datetimepicker {
            width: 300px;
        }
    </style>
{% endblock %}

{% for argument in arguments %}
    <div class="row">
        <div class="col-xs-12">
            <div class="form-group label-floating is-empty">
                {% if argument.type != 'QUERY' %}
                    <label class="control-label">{{ argument.title }}</label>
                {% endif %}
                {% if argument.type == 'QUERY' %}
                {% elif argument.type == 'COLUMN' %}
                    <select id="{{ argument.name }}" class="form-control full-width variable-select" name="{{ argument.title }}" >
                        <option disabled selected value>-- select variable --</option>
                    </select>
                {% elif argument.type == 'DIMENSION' %}
                    <select id="{{ argument.name }}" class="form-control full-width variable-select" name="{{ argument.title }}" >
                        <option disabled selected value>-- select dimension --</option>
                    </select>
                {% elif argument.type == 'SPATIAL_COV' %}
                         <div id="newmap" style="min-height: 200px; width: 100%; margin-top: 10px;">
                         </div>
                        <div id="choices">
                            <select style="width: 100%; border: 2px solid grey; border-radius: 1em;" id="mapchoices">
                                <option value="-1">Choose Predefined</option>
                                <option value="0">Baltic Sea</option>
                                <option value="1">Sea Of Japan</option>
                                <option value="2">Red Sea</option>
                                <option value="3">Mediterranean</option>
                            </select>
                        </div>
                        <div class="col-sm-12">
                            <span class="col-sm-3" style="padding: 10px 0px;color: #ababaa;">Latitude, from: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="min_lat" class="form-control" value="{{ argument.default_lat_min }}" data-default="{{ argument.default_lat_min }}" style="width:100%">
                            </div>
                            <span class="col-sm-1" style="padding: 10px 0px;color: #ababaa;">to: </span>
                            <div class="form-group col-sm-3" style=";margin: 1px 1px;">
                                <input step="0.001" type="number" id="max_lat" class="form-control" value="{{ argument.default_lat_max }}" data-default="{{ argument.default_lat_max }}" style="width:100%">
                            </div>
                        </div>
                        <div class="col-sm-12">
                            <span class="col-sm-3" style="padding: 10px 0px;color: #ababaa;">Longitude, from: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="min_lon" class="form-control" value="{{ argument.default_lon_min }}" data-default="{{ argument.default_lon_min }}" style="width:100%">
                            </div>
                            <span class="col-sm-1" style="padding: 10px 0px;color: #ababaa;">to: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="max_lon" class="form-control" value="{{ argument.default_lon_max }}" data-default="{{ argument.default_lon_max }}" style="width:100%">
                            </div>
                        </div>
                        <input type="hidden" id="spatialCovInput" name="{{ argument.name }}" value="{{ argument.default }}">
                        <input hidden type="number" id="areaSelectWidth" value="{{ argument.areaSelectWidth }}" data-default="{{ argument.areaSelectWidth }}" style="width:100%">
                        <input hidden type="number" id="areaSelectHeight" value="{{ argument.areaSelectHeight }}" data-default="{{ argument.areaSelectHeight }}" style="width:100%">
                {% elif argument.type == 'DATETIME' %}
                    <div class="coverage-date-filters">
                        <div class="row">
                            <div class="coverage-date-filters-icon">
                            </div>
                            <div class='col-sm-6'>
                                <div class="form-group">
                                    <div class='input-group date' id='startdatepicker'>
                                        <label>Start Date:</label>
                                        <input type='text' class="form-control" />
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-calendar"></span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class='col-sm-6'>
                                <div class="form-group">
                                    <div class='input-group date' id='enddatepicker'>
                                        <label>End Date:</label>
                                        <input type='text' class="form-control" />
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-calendar"></span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                {% elif argument.type == 'INT' %}
                    <input id="{{ argument.name }}" type="number" step="0.00001" class="form-control full-width" name="{{ argument.name }}" autocomplete="off" value="{{ argument.default }}">
                {% elif argument.type == 'FLOAT' %}
                    <input id="{{ argument.name }}" type="number" step="0.00001" class="form-control full-width" name="{{ argument.name }}" autocomplete="off" value="{{ argument.default }}">
                {% else %}
                    <input id="{{ argument.name }}" type="text" class="form-control full-width" name="{{ argument.name }}"  value="{{ argument.default }}">
                {% endif %}
                <span class="material-input"></span>
            </div><commit_msg>single datetime input<commit_after>{% load static %}

{% block css %}
    <link href="{% static "css/bootstrap-datetimepicker.css" %}" rel="stylesheet">
    <style>
        .datetimepicker {
            width: 300px;
        }
    </style>
{% endblock %}

{% for argument in arguments %}
    <div class="row">
        <div class="col-xs-12">
            <div class="form-group label-floating is-empty">
                {% if argument.type != 'QUERY' %}
                    <label class="control-label">{{ argument.title }}</label>
                {% endif %}
                {% if argument.type == 'QUERY' %}
                {% elif argument.type == 'COLUMN' %}
                    <select id="{{ argument.name }}" class="form-control full-width variable-select" name="{{ argument.title }}" >
                        <option disabled selected value>-- select variable --</option>
                    </select>
                {% elif argument.type == 'DIMENSION' %}
                    <select id="{{ argument.name }}" class="form-control full-width variable-select" name="{{ argument.title }}" >
                        <option disabled selected value>-- select dimension --</option>
                    </select>
                {% elif argument.type == 'SPATIAL_COV' %}
                         <div id="newmap" style="min-height: 200px; width: 100%; margin-top: 10px;">
                         </div>
                        <div id="choices">
                            <select style="width: 100%; border: 2px solid grey; border-radius: 1em;" id="mapchoices">
                                <option value="-1">Choose Predefined</option>
                                <option value="0">Baltic Sea</option>
                                <option value="1">Sea Of Japan</option>
                                <option value="2">Red Sea</option>
                                <option value="3">Mediterranean</option>
                            </select>
                        </div>
                        <div class="col-sm-12">
                            <span class="col-sm-3" style="padding: 10px 0px;color: #ababaa;">Latitude, from: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="min_lat" class="form-control" value="{{ argument.default_lat_min }}" data-default="{{ argument.default_lat_min }}" style="width:100%">
                            </div>
                            <span class="col-sm-1" style="padding: 10px 0px;color: #ababaa;">to: </span>
                            <div class="form-group col-sm-3" style=";margin: 1px 1px;">
                                <input step="0.001" type="number" id="max_lat" class="form-control" value="{{ argument.default_lat_max }}" data-default="{{ argument.default_lat_max }}" style="width:100%">
                            </div>
                        </div>
                        <div class="col-sm-12">
                            <span class="col-sm-3" style="padding: 10px 0px;color: #ababaa;">Longitude, from: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="min_lon" class="form-control" value="{{ argument.default_lon_min }}" data-default="{{ argument.default_lon_min }}" style="width:100%">
                            </div>
                            <span class="col-sm-1" style="padding: 10px 0px;color: #ababaa;">to: </span>
                            <div class="form-group col-sm-3" style="display: inline-block;margin: 1px 1px;">
                                <input step="0.001" type="number" id="max_lon" class="form-control" value="{{ argument.default_lon_max }}" data-default="{{ argument.default_lon_max }}" style="width:100%">
                            </div>
                        </div>
                        <input type="hidden" id="spatialCovInput" name="{{ argument.name }}" value="{{ argument.default }}">
                        <input hidden type="number" id="areaSelectWidth" value="{{ argument.areaSelectWidth }}" data-default="{{ argument.areaSelectWidth }}" style="width:100%">
                        <input hidden type="number" id="areaSelectHeight" value="{{ argument.areaSelectHeight }}" data-default="{{ argument.areaSelectHeight }}" style="width:100%">
                {% elif argument.type == 'DATETIME' %}
                    <div class="coverage-date-filters">
                        <div class="row">
                            <div>
                                <div class="form-group">
                                    <div class='input-group date'>
                                        <input type='text' class="form-control" name="{{ argument.name }}" id="{{ argument.name }}"/>
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-calendar"></span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                {% elif argument.type == 'INT' %}
                    <input id="{{ argument.name }}" type="number" step="0.00001" class="form-control full-width" name="{{ argument.name }}" autocomplete="off" value="{{ argument.default }}">
                {% elif argument.type == 'FLOAT' %}
                    <input id="{{ argument.name }}" type="number" step="0.00001" class="form-control full-width" name="{{ argument.name }}" autocomplete="off" value="{{ argument.default }}">
                {% else %}
                    <input id="{{ argument.name }}" type="text" class="form-control full-width" name="{{ argument.name }}"  value="{{ argument.default }}">
                {% endif %}
                <span class="material-input"></span>
            </div>
{'fraction_non_alphanumeric': 0.1519505600617999, 'fraction_numerical': 0.015758980301274622, 'mean_word_length': 1.4036390642406238, 'pattern_counts': {'":': 0, '<': 180, '<?xml version=': 0, '>': 180, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3635404', 'n_tokens_mistral': 3438, 'n_tokens_neox': 3095, 'n_words': 678}