mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
### New features - New face + dark mode - [Change font to vazirmatn](057f3190de) - [use customized andtv](f956009fd2) - [popConfirm for del and reset client](66c98e8392) - [Separate page for xray config](9e1cd6315f) - Separate face for mobile view - [Show online users](bf892e9965) [#559](https://github.com/alireza0/x-ui/issues/559) - [Auto renew](96408967ae) ### Bug fixes - [[tgbot] Retry loop on start](211c05ec29) - [fix docker-compose version](1dcec91ce4) - [fix redirect after restart](81d25a032c)
21 lines
1.1 KiB
HTML
21 lines
1.1 KiB
HTML
{{define "form/http"}}
|
|
<a-form layout="inline">
|
|
<table style="width: 100%; text-align: center; margin-bottom: 10px;">
|
|
<tr>
|
|
<td width="45%">{{ i18n "username" }}</td>
|
|
<td width="45%">{{ i18n "password" }}</td>
|
|
<td><a-button size="small" @click="inbound.settings.addAccount(new Inbound.HttpSettings.HttpAccount())">+</a-button></td>
|
|
</tr>
|
|
</table>
|
|
<a-input-group compact v-for="(account, index) in inbound.settings.accounts" style="margin-bottom: 10px;">
|
|
<a-input style="width: 50%" v-model.trim="account.user" placeholder='{{ i18n "username" }}'>
|
|
<template slot="addonBefore" style="margin: 0;">[[ index+1 ]]</template>
|
|
</a-input>
|
|
<a-input style="width: 50%" v-model.trim="account.pass" placeholder='{{ i18n "password" }}'>
|
|
<template slot="addonAfter">
|
|
<a-button size="small" @click="inbound.settings.delAccount(index)">-</a-button>
|
|
</template>
|
|
</a-input>
|
|
</a-input-group>
|
|
</a-form>
|
|
{{end}} |