Skip to content

Commit

Permalink
Update HTML table
Browse files Browse the repository at this point in the history
  • Loading branch information
pnedkov committed Jan 28, 2024
1 parent 5f754d9 commit 490e953
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions ipask/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,20 @@
<td>{{ client_info.xff }}</td>
</tr>
{% endif %}
{% if client_info.city and client_info.country and client_info.region and client_info.location %}
{% if client_info.city and client_info.region and client_info.country %}
<tr>
<td>curl {{ client_info.server_host }}/city<br>curl {{ client_info.server_host }}/country</td>
<td>{{ client_info.city }}, {{ client_info.region }}, {{ client_info.country }} ({{ client_info.location }})</td>
<td>
curl {{ client_info.server_host }}/city<br>
curl {{ client_info.server_host }}/region<br>
curl {{ client_info.server_host }}/country
</td>
<td>{{ client_info.city }}, {{ client_info.region }}, {{ client_info.country }}</td>
</tr>
{% endif %}
{% if client_info.location %}
<tr>
<td>curl {{ client_info.server_host }}/location</td>
<td>{{ client_info.location }}</td>
</tr>
{% endif %}
<tr>
Expand Down

0 comments on commit 490e953

Please sign in to comment.