Update index.html

This commit is contained in:
Tara Rostami 2024-02-15 00:25:08 +03:30 committed by GitHub
parent cc318bf81b
commit 687b053b03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,14 @@
.ant-card-dark h2 {
color: hsla(0, 0%, 100%, .65);
}
.ant-tag-df {
color: rgb(0 0 0 / 80%);
}
.dark .ant-tag-df {
color: rgb(255 255 255 / 80%);
}
</style>
<body>
@ -85,8 +93,8 @@
<a-col :sm="24" :lg="12">
<a-card hoverable>
<b>{{ i18n "pages.index.operationHours" }}:</b>
<a-tag color="green">Xray [[ formatSecond(status.appStats.uptime) ]]</a-tag>
<a-tag color="green">OS [[ formatSecond(status.uptime) ]]</a-tag>
<a-tag class="ant-tag-df">Xray [[ formatSecond(status.appStats.uptime) ]]</a-tag>
<a-tag class="ant-tag-df">OS [[ formatSecond(status.uptime) ]]</a-tag>
</a-card>
</a-col>
<a-col :sm="24" :lg="12">
@ -120,7 +128,7 @@
<a-col :sm="24" :lg="12">
<a-card hoverable>
<b>{{ i18n "pages.index.systemLoad" }}:</b>
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
[[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
<template slot="title">
@ -133,10 +141,10 @@
<a-col :sm="24" :lg="12">
<a-card hoverable>
<b>{{ i18n "usage"}}:</b>
<a-tag>
<a-tag class="ant-tag-df">
RAM [[ sizeFormat(status.appStats.mem) ]]
</a-tag>
<a-tag>
<a-tag class="ant-tag-df">
Threads [[ status.appStats.threads ]]
</a-tag>
</a-card>
@ -145,7 +153,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="global"></a-icon> IPv4
<template slot="title">
@ -155,7 +163,7 @@
</a-tag>
</a-col>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="global"></a-icon> IPv6
<template slot="title">
@ -171,7 +179,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="swap"></a-icon> TCP: [[ status.tcpCount ]]
<template slot="title">
@ -181,7 +189,7 @@
</a-tag>
</a-col>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="swap"></a-icon> UDP: [[ status.udpCount ]]
<template slot="title">
@ -197,7 +205,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="arrow-up"></a-icon>
Up: [[ sizeFormat(status.netIO.up) ]]/s
@ -208,7 +216,7 @@
</a-tag>
</a-col>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="arrow-down"></a-icon>
Down: [[ sizeFormat(status.netIO.down) ]]/s
@ -225,7 +233,7 @@
<a-card hoverable>
<a-row>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="cloud-upload"></a-icon>
<template slot="title">
@ -235,7 +243,7 @@
</a-tag>
</a-col>
<a-col :span="12">
<a-tag>
<a-tag class="ant-tag-df">
<a-tooltip>
<a-icon type="cloud-download"></a-icon>
<template slot="title">