Skip to content
Snippets Groups Projects
Commit dc484d58 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

Merge develop, fix conflicts

parents 93021da8 e53fa388
Branches
No related tags found
No related merge requests found
......@@ -34,37 +34,54 @@
</div>
<div id="legend"></div>
</div>
<form class="form-inline" method="get" action="">
<div class="form-group">
<input class="form-control" type="date" id="dateFrom" name="from" value="{{from|safe}}"/>
</div>
-
<div class="form-group">
<input class="form-control" type="date" id="dateTo" name="to" value="{{to|safe}}"/>
</div>
<div class="form-group">
<select name="pestId" id="observationPestList" class="form-control chosen-select" data-placeholder="{% trans "Organism" %}">
</select>
</div>
<div class="form-group">
<select name="cropId" id="observationCropList" class="form-control chosen-select" data-placeholder="{% trans "Crop" %}">
</select>
</div>
<div class="form-group">
<select name="cropCategoryId" id="cropCategoryList" style="min-width: 150px;" class="form-control chosen-select" data-placeholder="{% trans "Crop categories" %}">
</select>
</div>
<form method="get" action="" class="">
<div class="row">
<!-- Date Range Fields -->
<div class="form-group col-sm-3">
<label for="dateFrom">{% trans "From" %}</label>
<input class="form-control" type="date" id="dateFrom" name="from" value="{{from|safe}}"/>
</div>
<div class="form-group col-sm-3">
<label for="dateTo">{% trans "To" %}</label>
<input class="form-control" type="date" id="dateTo" name="to" value="{{to|safe}}"/>
</div>
<div class="form-group col-sm-6">
<div class="checkbox">
&nbsp;<br>
<label>
<input type="checkbox" name="includeNegative"{% if include_negative %}checked{% endif %} value="true"> {% trans "Include registrations without pest presence" %}
<input type="checkbox" name="includeNegative"{% if include_negative %}checked{% endif %} value="true"> {% trans "Include registrations without pest presence" %}
</label>
</div>
</div>
</div>
</div>
<div class="row mt-2">
<div class="form-group col-sm-3">
<label for="observationPestList">{% trans "Organism" %}</label>
<select name="pestId" id="observationPestList" class="form-control chosen-select" data-placeholder="{% trans "Organism" %}">
</select>
</div>
<div class="form-group col-sm-3">
<label for="observationCropList">{% trans "Crop" %}</label>
<select name="cropId" id="observationCropList" class="form-control chosen-select" data-placeholder="{% trans "Crop" %}">
</select>
</div>
<div class="form-group col-sm-3">
<label for="cropCategoryList">{% trans "Crop categories" %}</label>
<select name="cropCategoryId" id="cropCategoryList" class="form-control chosen-select" style="min-width: 150px;" data-placeholder="{% trans "Crop categories" %}">
</select>
</div>
<div class="form-group col-sm-3">
&nbsp;<br>
<button type="submit" class="btn btn-primary">{% trans "Filter" %}</button>
</form>
</div>
</div>
</form>
<div style="padding: 10px 0px">
<span id="emptyResult">{% trans "No observations found for specified search criteria" %}</span>
<a id="downloadLink" href="">{% trans "Download as Excel" %}</a>
</div>
<a id="downloadLink" href="">{% trans "Download as Excel" %}</a>
<div class="table-responsive">
<table class="table table-striped" id="observationTable">
<thead>
......@@ -153,4 +170,4 @@
);
</script>
{% endblock %}
\ No newline at end of file
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment