dip/templates/index.html

28 lines
679 B
HTML
Raw Normal View History

<html>
2020-01-26 16:38:57 +01:00
{{ template "head.html" .}}
<body>
<div id="dip_main_div">
2020-01-27 21:16:08 +01:00
<h1 class="dip_h1">{{ .Title }}</h1>
2020-01-26 16:38:57 +01:00
<table class="uk-table uk-table-striped uk-table-hover">
<caption>IP informations</caption>
<tr>
<td>IP</td>
2020-01-27 21:16:08 +01:00
<td>{{ .IP.IP }}</td>
2020-01-26 16:38:57 +01:00
</tr>
<tr>
<td>Reverse DNS</td>
2020-01-27 21:16:08 +01:00
<td>{{ .IP.Hostname }}</td>
2020-01-26 16:38:57 +01:00
</tr>
<tr>
<td>City</td>
2020-01-27 21:16:08 +01:00
<td>{{ .IP.City }}</td>
2020-01-26 16:38:57 +01:00
</tr>
<tr>
<td>Country</td>
2020-01-27 21:16:08 +01:00
<td>{{ .IP.Country }}</td>
2020-01-26 16:38:57 +01:00
</tr>
<button class="dip_btn" onclick="page_refresh()">Refresh</button>
</div>
</body>
2020-01-20 13:57:11 +01:00
</html>