diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-03-17 22:33:21 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-03-17 22:33:21 +0300 |
| commit | 74b14657cf7baf57ed2a0f2d8d1eef3e5d55be97 (patch) | |
| tree | ac31dbbf753ce18b8f90e92ef8249d20cdb633fe /web/html/xui/form/protocol | |
| parent | 07b35753d4252d4cf10074ab38f06b0dd41d8277 (diff) | |
remove useless code
Diffstat (limited to 'web/html/xui/form/protocol')
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 23 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 23 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 23 |
3 files changed, 0 insertions, 69 deletions
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index e1d82572..ca9213c2 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -31,29 +31,6 @@ </span> <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;" ></a-input> </a-form-item> - <a-form-item v-if="client.email && client.limitIp > 0 && isEdit"> - <span slot="label"> - IP log - <a-tooltip> - <template slot="title"> - IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log) - </template> - <a-icon type="question-circle" theme="filled"></a-icon> - </a-tooltip> - <a-tooltip> - <template slot="title"> - clear the log - </template> - <span style="color: #FF4D4F"> - <a-icon type="delete" @click="clearDBClientIps(client.email,$event)"></a-icon> - </span> - </a-tooltip> - </span> - <a-form layout="block"> - <a-textarea readonly @click="getDBClientIps(client.email,$event)" placeholder="Click To Get IPs" :auto-size="{ minRows: 2, maxRows: 10 }"> - </a-textarea> - </a-form> - </a-form-item> <a-form-item v-if="inbound.xtls" label="Flow"> <a-select v-model="client.flow" style="width: 150px"> <a-select-option value="">{{ i18n "none" }}</a-select-option> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 146587f7..6b3436f0 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -31,29 +31,6 @@ </span> <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;" ></a-input> </a-form-item> - <a-form-item v-if="client.email && client.limitIp > 0 && isEdit"> - <span slot="label"> - IP log - <a-tooltip> - <template slot="title"> - IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log) - </template> - <a-icon type="question-circle" theme="filled"></a-icon> - </a-tooltip> - <a-tooltip> - <template slot="title"> - clear the log - </template> - <span style="color: #FF4D4F"> - <a-icon type="delete" @click="clearDBClientIps(client.email,$event)"></a-icon> - </span> - </a-tooltip> - </span> - <a-form layout="block"> - <a-textarea readonly @click="getDBClientIps(client.email,$event)" placeholder="Click To Get IPs" :auto-size="{ minRows: 2, maxRows: 10 }"> - </a-textarea> - </a-form> - </a-form-item> <a-form-item v-if="inbound.XTLS" label="Flow"> <a-select v-model="inbound.settings.vlesses[index].flow" style="width: 150px"> <a-select-option value="" selected>{{ i18n "none" }}</a-select-option> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 4c6779dd..59cf6d2b 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -34,29 +34,6 @@ </span> <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;"></a-input> </a-form-item> - <a-form-item v-if="client.email && client.limitIp > 0 && isEdit"> - <span slot="label"> - IP Log - <a-tooltip> - <template slot="title"> - IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log) - </template> - <a-icon type="question-circle" theme="filled"></a-icon> - </a-tooltip> - <a-tooltip> - <template slot="title"> - Clear The Log - </template> - <span style="color: #FF4D4F"> - <a-icon type="delete" @click="clearDBClientIps(client.email,$event)"></a-icon> - </span> - </a-tooltip> - </span> - <a-form layout="block"> - <a-textarea readonly @click="getDBClientIps(client.email,$event)" placeholder="Click To Get IPs" :auto-size="{ minRows: 2, maxRows: 10 }"> - </a-textarea> - </a-form> - </a-form-item> <a-form-item> <span slot="label"> <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) |
