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:
authorAli Golzar <57574919+aliglzr@users.noreply.github.com>2025-08-31 00:01:57 +0300
committerGitHub <noreply@github.com>2025-08-31 00:01:57 +0300
commitd0796b26c94da1132390446cf7a59c18ff36bb25 (patch)
treefb3a8093ac702132e0058c97e6384f083a950b5e
parent2750f46c011ea44923f96a2a1c8bfda98fa2b5d5 (diff)
fix(ui): hide Created/Updated columns and fix issues in small displays (#3400)
- Hide the “Created” and “Updated” columns in the clients - Ensures the “All-time Traffic” column no longer overlaps with adjacent columns. - Improves layout readability and prevents UI cluttering after the v2.6.7 update. Closes #3399
-rw-r--r--web/html/inbounds.html6
-rw-r--r--web/html/modals/inbound_info_modal.html32
2 files changed, 34 insertions, 4 deletions
diff --git a/web/html/inbounds.html b/web/html/inbounds.html
index b0d9828f..1621807e 100644
--- a/web/html/inbounds.html
+++ b/web/html/inbounds.html
@@ -731,12 +731,12 @@
}, {
title: '{{ i18n "pages.inbounds.traffic" }}',
align: 'center',
- width: 60,
+ width: 90,
scopedSlots: { customRender: 'traffic' },
}, {
title: '{{ i18n "pages.inbounds.allTimeTraffic" }}',
align: 'center',
- width: 60,
+ width: 70,
scopedSlots: { customRender: 'allTimeInbound' },
}, {
title: '{{ i18n "pages.inbounds.expireDate" }}',
@@ -776,8 +776,6 @@
{ 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.expireDate" }}', width: 80, align: 'center', scopedSlots: { customRender: 'expiryTime' } },
- { title: '{{ i18n "pages.inbounds.createdAt" }}', width: 90, align: 'center', scopedSlots: { customRender: 'createdAt' } },
- { title: '{{ i18n "pages.inbounds.updatedAt" }}', width: 90, align: 'center', scopedSlots: { customRender: 'updatedAt' } },
];
const innerMobileColumns = [
diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html
index 3807be34..fe7d7a82 100644
--- a/web/html/modals/inbound_info_modal.html
+++ b/web/html/modals/inbound_info_modal.html
@@ -185,6 +185,38 @@
<a-tag>↑ [[ SizeFormatter.sizeFormat(infoModal.clientStats.up) ]] / [[ SizeFormatter.sizeFormat(infoModal.clientStats.down) ]] ↓</a-tag>
</td>
</tr>
+ <tr>
+ <td>{{ i18n "pages.inbounds.createdAt" }}</td>
+ <td>
+ <template v-if="infoModal.clientSettings && infoModal.clientSettings.created_at">
+ <template v-if="app.datepicker === 'gregorian'">
+ <a-tag>[[ DateUtil.formatMillis(infoModal.clientSettings.created_at) ]]</a-tag>
+ </template>
+ <template v-else>
+ <a-tag>[[ DateUtil.convertToJalalian(moment(infoModal.clientSettings.created_at)) ]]</a-tag>
+ </template>
+ </template>
+ <template v-else>
+ <a-tag>-</a-tag>
+ </template>
+ </td>
+ </tr>
+ <tr>
+ <td>{{ i18n "pages.inbounds.updatedAt" }}</td>
+ <td>
+ <template v-if="infoModal.clientSettings && infoModal.clientSettings.updated_at">
+ <template v-if="app.datepicker === 'gregorian'">
+ <a-tag>[[ DateUtil.formatMillis(infoModal.clientSettings.updated_at) ]]</a-tag>
+ </template>
+ <template v-else>
+ <a-tag>[[ DateUtil.convertToJalalian(moment(infoModal.clientSettings.updated_at)) ]]</a-tag>
+ </template>
+ </template>
+ <template v-else>
+ <a-tag>-</a-tag>
+ </template>
+ </td>
+ </tr>
<tr v-if="infoModal.clientSettings.comment">
<td>{{ i18n "comment" }}</td>
<td>