Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions backend/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,18 @@
_
__ ___ __ ___ | |_ _____ ___ __
\ \ / / '_ \/ __|| __/ _ \ \ /\ / / '_ \
\ V /| |_) \__ \| || (_) \ V V /| | | |
\ V /| |_) \__ \| || (_) \ V V /| | | |
\_/ | .__/|___/|__\___/ \_/\_/ |_| |_|
|_|
_ _
_ __ ___ __| | ___ _ __ _ __ ___ | |__ ___
| '_ \ / _ \ / _` |/ _ \ '_ \| '__/ _ \| '_ \ / _ \
| | | | (_) | (_| | __/ |_) | | | (_) | |_) | __/
|_| |_|\___/ \__,_|\___| .__/|_| \___/|_.__/ \___|
_ __ ___ __| | ___ _ __ _ __ ___ | |__ ___
| '_ \ / _ \ / _` |/ _ \ '_ \| '__/ _ \| '_ \ / _ \
| | | | (_) | (_| | __/ |_) | | | (_) | |_) | __/
|_| |_|\___/ \__,_|\___| .__/|_| \___/|_.__/ \___|
|_|

</pre>
<h1>Your Connection Info</h1>
<ul>
<li>IP: {{ info.client_ip|mask_ip }}</li>
{% if info.location %}<li>Location: {{ info.location }}</li>{% endif %}
Expand Down Expand Up @@ -107,9 +109,9 @@ <h2>Speed Test <span id="download-speed"></span></h2>
r.location || '',
r.asn || '',
r.isp || '',
r.ping_ms ? `${((r.ping_min_ms ?? r.ping_ms)).toFixed(2)}/${(r.ping_ms).toFixed(2)}/${((r.ping_max_ms ?? r.ping_ms)).toFixed(2)} ms` : '',
r.download_mbps ? r.download_mbps.toFixed(2) : '',
r.upload_mbps ? r.upload_mbps.toFixed(2) : '',
r.ping_ms ? `${((r.ping_min_ms ?? r.ping_ms)).toFixed(2)}/${(r.ping_ms).toFixed(2)}/${((r.ping_max_ms ?? r.ping_ms)).toFixed(2)} ms` : '—',
r.download_mbps ? r.download_mbps.toFixed(2) : '—',
r.upload_mbps ? r.upload_mbps.toFixed(2) : '—',
formatTimestamp(r.timestamp)
];
cells.forEach(text => {
Expand Down