Template improments, links, breadcrumbs for domain lookups

This commit is contained in:
Slatian
2023-02-24 00:01:51 +01:00
parent 6e1d3c02ef
commit da13444a2e
10 changed files with 112 additions and 8 deletions

View File

@ -19,6 +19,7 @@
<meta name="color-scheme" content="light dark">
{% if extra.stylesheet %}<link rel="stylesheet" href="{{extra.stylesheet}}" type="text/css" />{% endif %}
{% if extra.favicon %}<link rel="icon" href="{{extra.favicon}}" type="{{extra.favicon_mimetype|default(value="image/png")}}" \>{% endif %}
<!-- View: {{view}} -->
</head>
<body>
<header>
@ -27,7 +28,7 @@
<form class="search" method="GET" action="{{ extra.base_url }}">
<input type="text" name="query" autocomplete="on" maxlength="260"
title="Search for an IP-Adress, Domain-Name, or ASN."
value="{% if view == "dig" %}{{ data.query }}{% elif view == "ip" %}{{ data.result.address }}{% endif %}"/>
value="{% if view == "dig" %}{{ data.query }}{% elif view == "ip" %}{{ data.result.address }}{% elif view == "asn"%}AS{{ data.asn }}{% endif %}"/>
<input type="submit" value="Query"/>
</form>
</nav>