123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {% extends 'base.html' %}
- {% load static %}
- {% block extra_css %}
- <link rel="stylesheet" href="{% static 'jquery-ui/jquery-ui.min.css' %}" />
- {% endblock extra_css %}
- {% block extra_scripts %}
- <script src="{% static 'js/viewmap.js' %}"> </script>
- <script src="{% static 'jquery-ui/jquery-ui.min.js' %}"> </script>
- {% endblock extra_scripts %}
- {% block content %}
- <style>
- .ui-datepicker { z-index: 200 !important ;}
- </style>
- <div id="dialog"></div>
- <div id="short-actions">
- <button class="btn" id="btn-open-filter">Filtra</button>
- </div>
- <div id="filters">
- <!-- TODO: rendi collassabile -->
- <header><h3>Filtra</h3></header>
- <form method="GET">
- <div class="form-field-line">
- <label for="tipo_radio__id">Osservazione fatta con</label>
- <select name="tipo_radio__id" >
- <option value=""
- {% if params.tipo_radio__id == "" %} selected="selected" {% endif %}
- >//</option>
- {% for tr in tipiradio %}
- <option value="{{tr.id}}"
- {% if tr.id == params.tipo_radio__id|add:"0" %}
- selected="selected"
- {% endif %}
- >
- <strong>{{tr.nome}}</strong> - {{tr.descrizione|default:'' }}
- </option>
- {% endfor %}
- </select>
- <div>
- <label for="created__gt">Da</label>
- <input type="text" name="created__gt" value="{{params.created__gt}}">
- <label for="created__lt">A</label>
- <input type="text" name="created__lt" value="{{params.created__lt}}">
- </div>
- </div>
- <button class="btn" id="search">Filtra</button>
- </form>
- </div>
- {% endblock content %}
|