diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-27 15:19:49 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-27 15:48:07 +0300 |
| commit | 04c658f1a09bcae8d8a68b20196a9956f7ff24b3 (patch) | |
| tree | 79691c569d42ca0f06785719809e8a250f88861d /web/html | |
| parent | 2ab1a174dbed37c455a95356ff6b995eafd23440 (diff) | |
Client: Comment
now you can add Comment and write anything you want to remember
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/client.html | 3 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index c5d5bf0e..11b24eae 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -68,6 +68,9 @@ </template> <a-input-number style="width: 50%" v-model="client.tgId" min="0"></a-input-number> </a-form-item> + <a-form-item v-if="client.email" label='Comment'> + <a-input v-model.trim="client.comment"></a-input> + </a-form-item> <a-form-item v-if="app.ipLimitEnable"> <template slot="label"> <a-tooltip> diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 1e30aa83..62db3801 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -185,6 +185,14 @@ <a-tag>↑ [[ sizeFormat(infoModal.clientStats.up) ]] / [[ sizeFormat(infoModal.clientStats.down) ]] ↓</a-tag> </td> </tr> + <tr v-if="infoModal.clientSettings.comment"> + <td>Comment</td> + <td> + <a-tooltip :title="[[ infoModal.clientSettings.comment ]]"> + <a-tag class="info-large-tag">[[ infoModal.clientSettings.comment ]]</a-tag> + </a-tooltip> + </td> + </tr> <tr v-if="app.ipLimitEnable"> <td>{{ i18n "pages.inbounds.IPLimit" }}</td> <td> |
