Update index.html

This commit is contained in:
Tara Rostami 2024-02-14 17:30:04 +03:30 committed by GitHub
parent d1b42b4024
commit 209110b9db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,8 +77,8 @@
<a-row> <a-row>
<a-col :sm="24" :lg="12"> <a-col :sm="24" :lg="12">
<a-card hoverable> <a-card hoverable>
<a rel="noopener" href="https://github.com/MHSanaei/3x-ui/releases" target="_blank"><a-tag color="green">3X-UI v{{ .cur_ver }}</a-tag></a> <b>{{ i18n "pages.index.panelInfo" }}:</b>
<a-tag color="green" style="cursor: pointer;" @click="openSelectV2rayVersion">Xray v[[ status.xray.version ]]</a-tag> <a rel="noopener" href="https://github.com/MHSanaei/3x-ui/releases" target="_blank"><a-tag color="green">v{{ .cur_ver }}</a-tag></a>
<a rel="noopener" href="https://t.me/panel3xui" target="_blank"><a-tag color="green">@Panel3xui</a-tag></a> <a rel="noopener" href="https://t.me/panel3xui" target="_blank"><a-tag color="green">@Panel3xui</a-tag></a>
</a-card> </a-card>
</a-col> </a-col>
@ -106,7 +106,7 @@
</a-popover> </a-popover>
<a-tag color="purple" style="cursor: pointer;" @click="stopXrayService">{{ i18n "pages.index.stopXray" }}</a-tag> <a-tag color="purple" style="cursor: pointer;" @click="stopXrayService">{{ i18n "pages.index.stopXray" }}</a-tag>
<a-tag color="purple" style="cursor: pointer;" @click="restartXrayService">{{ i18n "pages.index.restartXray" }}</a-tag> <a-tag color="purple" style="cursor: pointer;" @click="restartXrayService">{{ i18n "pages.index.restartXray" }}</a-tag>
<a-tag color="purple" style="cursor: pointer;" @click="openSelectV2rayVersion">{{ i18n "pages.index.xraySwitch" }}</a-tag> <a-tag color="purple" style="cursor: pointer;" @click="openSelectV2rayVersion">v[[ status.xray.version ]]</a-tag>
</a-card> </a-card>
</a-col> </a-col>
<a-col :sm="24" :lg="12"> <a-col :sm="24" :lg="12">
@ -143,17 +143,8 @@
</a-col> </a-col>
<a-col :sm="24" :lg="12"> <a-col :sm="24" :lg="12">
<a-card hoverable> <a-card hoverable>
<b>{{ i18n "pages.index.machineInfo" }}:</b> <b>{{ i18n "pages.index.pubilcIpInfo" }}:</b>
<a-tag> <a-tag>
<a-tooltip>
<template slot="title">
{{ i18n "pages.index.hostname" }}
</template>
[[ status.publicIP.hostname ]]
</template>
</a-tooltip>
</a-tag>
<a-tag v-if="status.publicIP.ipv4">
<a-tooltip> <a-tooltip>
<a-icon type="global"></a-icon> IPv4 <a-icon type="global"></a-icon> IPv4
<template slot="title"> <template slot="title">
@ -161,7 +152,7 @@
</template> </template>
</a-tooltip> </a-tooltip>
</a-tag> </a-tag>
<a-tag v-if="status.publicIP.ipv6"> <a-tag>
<a-tooltip> <a-tooltip>
<a-icon type="global"></a-icon> IPv6 <a-icon type="global"></a-icon> IPv6
<template slot="title"> <template slot="title">
@ -384,7 +375,7 @@
this.mem = new CurTotal(0, 0); this.mem = new CurTotal(0, 0);
this.netIO = { up: 0, down: 0 }; this.netIO = { up: 0, down: 0 };
this.netTraffic = { sent: 0, recv: 0 }; this.netTraffic = { sent: 0, recv: 0 };
this.publicIP = { hostname:"", ipv4: 0, ipv6: 0 }; this.publicIP = { ipv4: 0, ipv6: 0 };
this.swap = new CurTotal(0, 0); this.swap = new CurTotal(0, 0);
this.tcpCount = 0; this.tcpCount = 0;
this.udpCount = 0; this.udpCount = 0;