diff options
| -rw-r--r-- | web/html/xui/inbounds.html | 7 | ||||
| -rw-r--r-- | web/html/xui/settings.html | 18 |
2 files changed, 21 insertions, 4 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 5608b3be..f8ba5a51 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -72,6 +72,10 @@ <a-tag color="green">[[ dbInbounds.length ]]</a-tag> </a-col> <a-col :xs="24" :sm="24" :lg="12"> + <template> + <div> + <a-back-top :target="() => document.getElementById('content-layout')" visibility-height="200"> + </a-back-top> {{ i18n "clients" }}: <a-tag color="green">[[ total.clients ]]</a-tag> <a-popover title='{{ i18n "disabled" }}' :overlay-class-name="themeSwitcher.currentTheme"> @@ -98,6 +102,8 @@ </template> <a-tag color="blue" v-if="onlineClients.length">[[ onlineClients.length ]]</a-tag> </a-popover> + </div> + </template> </a-col> </a-row> </a-card> @@ -163,6 +169,7 @@ <a-radio-button value="online">{{ i18n "online" }}</a-radio-button> </a-radio-group> </div> + <a-back-top></a-back-top> <a-table :columns="isMobile ? mobileColums : columns" :row-key="dbInbound => dbInbound.id" :data-source="searchedInbounds" :scroll="isMobile ? {} : { x: 1000 }" diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 7c4fef16..44b040e9 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -85,10 +85,20 @@ </a-space> </a-col> <a-col :xs="24" :sm="16"> - <a-alert type="warning" style="float: right; width: fit-content" - message='{{ i18n "pages.settings.infoDesc" }}' - show-icon - > + <template> + <div> + <template> + <div> + <a-back-top :target="() => document.getElementById('content-layout')" visibility-height="200"> + </a-back-top> + <a-alert type="warning" style="float: right; width: fit-content" + message='{{ i18n "pages.settings.infoDesc" }}' + show-icon + > + </div> + </template> + </div> + </template> </a-col> </a-row> </a-card> |
