diff options
| author | Tara Rostami <132676256+TaraRostami@users.noreply.github.com> | 2025-09-20 10:36:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-20 10:36:56 +0300 |
| commit | 5e7a3db873466936a1ee1d2e9c6cd5b6cff0a1ec (patch) | |
| tree | 27daa8458d1617ff91bca3add0820ae51b23f97d /web/html | |
| parent | 6ced549deaecb42b9bb93ea9efcb4c1bbaabe8a4 (diff) | |
Minor Fixes (#3520)
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/component/aClientTable.html | 10 | ||||
| -rw-r--r-- | web/html/inbounds.html | 8 | ||||
| -rw-r--r-- | web/html/modals/inbound_info_modal.html | 5 |
3 files changed, 13 insertions, 10 deletions
diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html index 0164161f..f28b821b 100644 --- a/web/html/component/aClientTable.html +++ b/web/html/component/aClientTable.html @@ -2,21 +2,21 @@ <template slot="actions" slot-scope="text, client, index"> <a-tooltip> <template slot="title">{{ i18n "qrCode" }}</template> - <a-icon :style="{ fontSize: '24px' }" class="normal-icon" type="qrcode" v-if="record.hasLink()" @click="showQrcode(record.id,client);"></a-icon> + <a-icon :style="{ fontSize: '22px', marginInlineStart: '14px' }" class="normal-icon" type="qrcode" v-if="record.hasLink()" @click="showQrcode(record.id,client);"></a-icon> </a-tooltip> <a-tooltip> <template slot="title">{{ i18n "pages.client.edit" }}</template> - <a-icon :style="{ fontSize: '24px' }" class="normal-icon" type="edit" @click="openEditClient(record.id,client);"></a-icon> + <a-icon :style="{ fontSize: '22px' }" class="normal-icon" type="edit" @click="openEditClient(record.id,client);"></a-icon> </a-tooltip> <a-tooltip> <template slot="title">{{ i18n "info" }}</template> - <a-icon :style="{ fontSize: '24px' }" class="normal-icon" type="info-circle" @click="showInfo(record.id,client);"></a-icon> + <a-icon :style="{ fontSize: '22px' }" class="normal-icon" type="info-circle" @click="showInfo(record.id,client);"></a-icon> </a-tooltip> <a-tooltip> <template slot="title">{{ i18n "pages.inbounds.resetTraffic" }}</template> <a-popconfirm @confirm="resetClientTraffic(client,record.id,false)" 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="{ color: 'var(--color-primary-100)'}"></a-icon> - <a-icon :style="{ fontSize: '24px', cursor: 'pointer' }" class="normal-icon" type="retweet" v-if="client.email.length > 0"></a-icon> + <a-icon :style="{ fontSize: '22px', cursor: 'pointer' }" class="normal-icon" type="retweet" v-if="client.email.length > 0"></a-icon> </a-popconfirm> </a-tooltip> <a-tooltip> @@ -25,7 +25,7 @@ </template> <a-popconfirm @confirm="delClient(record.id,client,false)" title='{{ i18n "pages.inbounds.deleteClientContent"}}' :overlay-class-name="themeSwitcher.currentTheme" ok-text='{{ i18n "delete"}}' ok-type="danger" cancel-text='{{ i18n "cancel"}}'> <a-icon slot="icon" type="question-circle-o" :style="{ color: '#e04141' }"></a-icon> - <a-icon :style="{ fontSize: '24px', cursor: 'pointer' }" class="delete-icon" type="delete" v-if="isRemovable(record.id)"></a-icon> + <a-icon :style="{ fontSize: '22px', cursor: 'pointer' }" class="delete-icon" type="delete" v-if="isRemovable(record.id)"></a-icon> </a-popconfirm> </a-tooltip> </template> diff --git a/web/html/inbounds.html b/web/html/inbounds.html index bea8e8d9..0e285f95 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -660,7 +660,7 @@ }, { title: '{{ i18n "pages.inbounds.allTimeTraffic" }}', align: 'center', - width: 70, + width: 60, scopedSlots: { customRender: 'allTimeInbound' }, }, { title: '{{ i18n "pages.inbounds.expireDate" }}', @@ -693,12 +693,12 @@ }]; const innerColumns = [ - { title: '{{ i18n "pages.inbounds.operate" }}', width: 65, scopedSlots: { customRender: 'actions' } }, - { title: '{{ i18n "pages.inbounds.enable" }}', width: 35, scopedSlots: { customRender: 'enable' } }, + { title: '{{ i18n "pages.inbounds.operate" }}', width: 70, scopedSlots: { customRender: 'actions' } }, + { title: '{{ i18n "pages.inbounds.enable" }}', width: 30, scopedSlots: { customRender: 'enable' } }, { title: '{{ i18n "online" }}', width: 32, scopedSlots: { customRender: 'online' } }, { title: '{{ i18n "pages.inbounds.client" }}', width: 80, scopedSlots: { customRender: 'client' } }, { title: '{{ i18n "pages.inbounds.traffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'traffic' } }, - { title: '{{ i18n "pages.inbounds.allTimeTraffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'allTime' } }, + { title: '{{ i18n "pages.inbounds.allTimeTraffic" }}', width: 60, align: 'center', scopedSlots: { customRender: 'allTime' } }, { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 80, align: 'center', scopedSlots: { customRender: 'expiryTime' } }, ]; diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html index 25f43506..8e4bfc2e 100644 --- a/web/html/modals/inbound_info_modal.html +++ b/web/html/modals/inbound_info_modal.html @@ -106,7 +106,10 @@ <a-tag v-else color="red">{{ i18n "none" }}</a-tag> <br /> {{ i18n "encryption" }} - <a-tag :color="inbound.settings.encryption ? 'green' : 'red'">[[ inbound.settings.encryption ? inbound.settings.encryption : '' ]]</a-tag> + <a-tag class="info-large-tag" :color="inbound.settings.encryption ? 'green' : 'red'">[[ inbound.settings.encryption ? inbound.settings.encryption : '' ]]</a-tag> + <a-tooltip title='{{ i18n "copy" }}'> + <a-button size="small" icon="snippets" @click="copy(inbound.settings.encryption)"></a-button> + </a-tooltip> <br /> <template v-if="inbound.stream.security != 'none'"> {{ i18n "domainName" }} |
