chg: use bootstrap forms, get ASNs/day
parent
719f0270a0
commit
af3ee0f4ce
|
@ -1,36 +1,36 @@
|
||||||
<p>
|
<p>
|
||||||
<form style="width:230px; display:inline-block;" action="" method=post>
|
<form class="form-inline" style="width:250px; display:inline-block;" action="" method=post>
|
||||||
<input name="date" type="date" value="{{ date }}">
|
<input name="date" class="form-control my-1 mr-sm-2" type="date" value="{{ date }}">
|
||||||
<input type="submit" value="Set date">
|
<button type="submit" class="btn btn-primary my-1">Set date</button>
|
||||||
</form>
|
</form>
|
||||||
<form style="width:200px; display:inline-block;" action="" method=post>
|
<form class="form-inline" style="width:200px; display:inline-block;" action="" method=post>
|
||||||
<select name="ipversion">
|
<select name="ipversion" class="custom-select my-1 mr-sm-2">
|
||||||
<option value="v4" {% if ipversion == 'v4' %} selected="selected"{% endif %}>v4</option>
|
<option value="v4" {% if ipversion == 'v4' %} selected="selected"{% endif %}>v4</option>
|
||||||
<option value="v6" {% if ipversion == 'v6' %} selected="selected"{% endif %}>v6</option>
|
<option value="v6" {% if ipversion == 'v6' %} selected="selected"{% endif %}>v6</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" value="Set IP version">
|
<button type="submit" class="btn btn-primary my-1">IP version</button>
|
||||||
</form>
|
</form>
|
||||||
<form style="width:400px; display:inline-block;" action="" method=post>
|
<form class="form-inline" style="width:400px; display:inline-block;" action="" method=post>
|
||||||
<select name="source">
|
<select name="source" class="form-control">
|
||||||
<option value="" {% if not source %} selected="selected"{% endif %}>all</option>
|
<option value="" {% if not source %} selected="selected"{% endif %}>all</option>
|
||||||
{% for s in sources %}
|
{% for s in sources %}
|
||||||
<option value="{{ s }}" {% if source == s %} selected="selected"{% endif %}>{{ s }}</option>
|
<option value="{{ s }}" {% if source == s %} selected="selected"{% endif %}>{{ s }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" value="Set source">
|
<input type="submit" class="btn btn-primary my-1"value="Set source">
|
||||||
</form>
|
</form>
|
||||||
<form style="width:350px; display:inline-block;" action="{{ url_for('asn_details') }}" method=post>
|
<form class="form-inline" style="width:350px; display:inline-block;" action="{{ url_for('asn_details') }}" method=post>
|
||||||
ASN to search: <input type=number name=asn>
|
<input type=number name=asn class="form-control my-1 mr-sm-2">
|
||||||
<input type="submit" value="Search">
|
<button type="submit" class="btn btn-primary my-1">Search ASN</button>
|
||||||
</form>
|
</form>
|
||||||
<form style="width:500px; display:inline-block;" action="{{ url_for('country') }}" method=post>
|
<form class="form-inline"style="width:500px; display:inline-block;" action="{{ url_for('country') }}" method=post>
|
||||||
<select name="country">
|
<select name="country" class="form-control">
|
||||||
<option value="" {% if not country %} selected="selected"{% endif %}>all</option>
|
<option value="" {% if not country %} selected="selected"{% endif %}>all</option>
|
||||||
{% for cc, name in countries %}
|
{% for cc, name in countries %}
|
||||||
<option value="{{ cc }}" {% if country == cc %} selected="selected"{% endif %}>{{ name }}</option>
|
<option value="{{ cc }}" {% if country == cc %} selected="selected"{% endif %}>{{ name }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" value="Set country">
|
<input type="submit" class="btn btn-primary my-1"value="Set country">
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<p>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in New Issue