Welcome to mirror list, hosted at ThFree Co, Russian Federation.

http.html « protocol « form « xui « html « web - github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2eb74582e53eb770179661aa9dda3f64acb5810d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{define "form/http"}}
<a-form layout="inline">
    <a-form-item>
        <a-row>
            <a-button type="primary" size="small" @click="inbound.settings.addAccount(new Inbound.SocksSettings.SocksAccount())">+</a-button>
        </a-row>
        <a-input-group v-for="(account, index) in inbound.settings.accounts">
            <a-input style="width: 45%" v-model.trim="account.user"
                addon-before='{{ i18n "username" }}'></a-input>
            <a-input style="width: 55%" v-model.trim="account.pass"
                addon-before='{{ i18n "password" }}'>
                <template slot="addonAfter">
                    <a-button type="primary" size="small" @click="inbound.settings.delAccount(index)">-</a-button>
                </template>
            </a-input>
        </a-input-group>
    </a-form-item>
</a-form>
{{end}}