2018-06-01 17:13:56 +02:00
|
|
|
<p>
|
2018-07-31 11:52:24 +02:00
|
|
|
<form class="form-inline" style="width:250px; display:inline-block;" action="" method=post>
|
|
|
|
<input name="date" class="form-control my-1 mr-sm-2" type="date" value="{{ date }}">
|
|
|
|
<button type="submit" class="btn btn-primary my-1">Set date</button>
|
2018-06-01 17:13:56 +02:00
|
|
|
</form>
|
2018-07-31 11:52:24 +02:00
|
|
|
<form class="form-inline" style="width:200px; display:inline-block;" action="" method=post>
|
|
|
|
<select name="ipversion" class="custom-select my-1 mr-sm-2">
|
2018-06-01 17:13:56 +02:00
|
|
|
<option value="v4" {% if ipversion == 'v4' %} selected="selected"{% endif %}>v4</option>
|
|
|
|
<option value="v6" {% if ipversion == 'v6' %} selected="selected"{% endif %}>v6</option>
|
|
|
|
</select>
|
2018-07-31 11:52:24 +02:00
|
|
|
<button type="submit" class="btn btn-primary my-1">IP version</button>
|
2018-06-01 17:13:56 +02:00
|
|
|
</form>
|
2018-07-31 11:52:24 +02:00
|
|
|
<form class="form-inline" style="width:400px; display:inline-block;" action="" method=post>
|
2018-07-31 14:21:06 +02:00
|
|
|
<select name="source" class="selectpicker" multiple>
|
|
|
|
<option value="_all" {% if not source %} selected="selected"{% endif %}>all</option>
|
2018-06-01 17:13:56 +02:00
|
|
|
{% for s in sources %}
|
2018-07-31 14:21:06 +02:00
|
|
|
<option value="{{ s }}" {% if s in source %} selected="selected"{% endif %}>{{ s }}</option>
|
2018-06-01 17:13:56 +02:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
2018-07-31 11:52:24 +02:00
|
|
|
<input type="submit" class="btn btn-primary my-1"value="Set source">
|
2018-06-01 17:13:56 +02:00
|
|
|
</form>
|
2018-07-31 11:52:24 +02:00
|
|
|
<form class="form-inline" style="width:350px; display:inline-block;" action="{{ url_for('asn_details') }}" method=post>
|
|
|
|
<input type=number name=asn class="form-control my-1 mr-sm-2">
|
|
|
|
<button type="submit" class="btn btn-primary my-1">Search ASN</button>
|
2018-06-01 17:13:56 +02:00
|
|
|
</form>
|
2018-07-31 11:52:24 +02:00
|
|
|
<form class="form-inline"style="width:500px; display:inline-block;" action="{{ url_for('country') }}" method=post>
|
2018-07-31 14:21:06 +02:00
|
|
|
<select name="country" class="selectpicker" multiple>
|
2018-07-30 14:40:42 +02:00
|
|
|
<option value="" {% if not country %} selected="selected"{% endif %}>all</option>
|
|
|
|
{% for cc, name in countries %}
|
|
|
|
<option value="{{ cc }}" {% if country == cc %} selected="selected"{% endif %}>{{ name }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
2018-07-31 11:52:24 +02:00
|
|
|
<input type="submit" class="btn btn-primary my-1"value="Set country">
|
2018-07-30 14:40:42 +02:00
|
|
|
</form>
|
2018-06-01 17:13:56 +02:00
|
|
|
<p>
|
|
|
|
<br/>
|