Skip to content

Commit

Permalink
New: Global Latency Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Jan 25, 2024
1 parent 7b564a5 commit dca844a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/contents/lang_cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default {
PacketLoss: "丢包率",
ReceivedPackets: "收到",
DroppedPackets: "丢失",
Run: "运行测试",
},
ipcheck: {
id: "ipcheck",
Expand Down
1 change: 1 addition & 0 deletions public/contents/lang_en.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default {
PacketLoss: "Packet Loss",
ReceivedPackets: "Received",
DroppedPackets: "Dropped",
Run: "Run Test",
},
ipcheck: {
id: "ipcheck",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ <h2 id="PingTest" :class="{'mobile-h2' : isMobile }">🌐 {{currentTexts.pingtes
<div class="col-auto">
<button class="btn btn-primary" @click="startPingCheck"
:disabled="pingCheckStatus === 'running' || selectedIP === allIPs[0]">
<span v-if="pingCheckStatus === 'idle' || pingCheckStatus === 'finished' ">Run</span>
<span v-if="pingCheckStatus === 'idle' || pingCheckStatus === 'finished' ">{{currentTexts.pingtest.Run}}</span>
<span v-if="pingCheckStatus === 'running'" class="spinner-grow spinner-grow-sm"
aria-hidden="true"></span>
</button>
Expand Down

0 comments on commit dca844a

Please sign in to comment.