dip/templates/index.html
2020-01-27 21:16:08 +01:00

28 lines
679 B
HTML

<html>
{{ template "head.html" .}}
<body>
<div id="dip_main_div">
<h1 class="dip_h1">{{ .Title }}</h1>
<table class="uk-table uk-table-striped uk-table-hover">
<caption>IP informations</caption>
<tr>
<td>IP</td>
<td>{{ .IP.IP }}</td>
</tr>
<tr>
<td>Reverse DNS</td>
<td>{{ .IP.Hostname }}</td>
</tr>
<tr>
<td>City</td>
<td>{{ .IP.City }}</td>
</tr>
<tr>
<td>Country</td>
<td>{{ .IP.Country }}</td>
</tr>
<button class="dip_btn" onclick="page_refresh()">Refresh</button>
</div>
</body>
</html>