Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui/xray.html')
-rw-r--r--web/html/xui/xray.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 35f5cad7..0e9f15e4 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -419,7 +419,14 @@
</a-col>
<a-col :xs="12" :sm="12" :lg="12" style="text-align: right;">
<a-icon type="sync" :spin="refreshing" @click="refreshOutboundTraffic()" style="margin: 0 5px;"></a-icon>
- <a-icon type="retweet" @click="resetOutboundTraffic(-1)"></a-icon>
+ <a-popconfirm placement="topRight" @confirm="resetOutboundTraffic(-1)"
+ title='{{ i18n "pages.inbounds.resetTrafficContent"}}'
+ :overlay-class-name="themeSwitcher.currentTheme"
+ ok-text='{{ i18n "reset"}}'
+ cancel-text='{{ i18n "cancel"}}'>
+ <a-icon slot="icon" type="question-circle-o" :style="themeSwitcher.isDarkTheme ? 'color: #008771' : 'color: #008771'"></a-icon>
+ <a-icon type="retweet" style="cursor: pointer;"></a-icon>
+ </a-popconfirm>
</a-col>
</a-row>
<a-table :columns="outboundColumns" bordered