mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-01-13 20:17:09 +01:00
Some small template improvements
This commit is contained in:
parent
e7eba57cb2
commit
fef954f6c1
@ -30,11 +30,13 @@
|
||||
title="Search for an IP-Adress, Domain-Name, or ASN."
|
||||
placeholder="1.2.3.4, 2001::1:2:3:4, example.org, AS1234"
|
||||
value="{% if view == "dig" %}{{ data.query }}{% elif view == "ip" %}{{ data.result.address }}{% elif view == "asn"%}AS{{ data.asn }}{% endif %}"/>
|
||||
<select name="dns">
|
||||
{% if dns_resolvers | length > 1 %}
|
||||
<select name="dns" title="DNS Resolver">
|
||||
{% for r in dns_resolvers %}
|
||||
<option value="{{ r.id }}" {% if r.id == dns_resolver_id %}selected{%endif%}>{{ r.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% endif %}
|
||||
<input type="submit" value="Query"/>
|
||||
</form>
|
||||
</nav>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{% block title %}dig {{ data.query }}{% endblock %}
|
||||
{% block og_title %}dig {{ data.query }}{% endblock %}
|
||||
{% block h1 %}dig <code>{{ helper::breadcrumb_domain(extra=extra, name=data.query) }}</code> via <a href="{{extra.base_url}}/dns_resolver/{{data.result.used_dns_resolver}}">{{data.result.used_dns_resolver}}</a>{% endblock %}
|
||||
{% block h1 %}dig <code>{{ helper::breadcrumb_domain(extra=extra, name=data.query) }}</code> <small>via <a href="{{extra.base_url}}/dns_resolver/{{data.result.used_dns_resolver}}">{{data.result.used_dns_resolver}}</a></small>{% endblock %}
|
||||
|
||||
{% block og_path %}/dig/{{ data.query | urlencode_strict }}{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user