Commit 34d91eb0 authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

Make it a switch

parent 12a90d09
......@@ -29,7 +29,7 @@
</header>
<el-dialog title="Settings" :visible.sync="settings.visible" width="30%">
<el-form ref="form" :model="settings.data" :rules="settings.rules" label-position="left" label-width="120px" size="small">
<el-form ref="form" :model="settings.data" :rules="settings.rules" label-position="left" label-width="180px" size="small">
<el-form-item label="Network Address" prop="address">
<el-input v-model="settings.data.address"></el-input>
</el-form-item>
......@@ -39,8 +39,8 @@
<el-form-item label="DNS Server" prop="dnsServer">
<el-input v-model="settings.data.dnsServer"></el-input>
</el-form-item>
<el-form-item label="">
<el-checkbox v-model="settings.data.allowICC">Allow Client-to-Client connection</el-checkbox>
<el-form-item label="Inter-client connections">
<el-switch v-model="settings.data.allowICC"></el-switch>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment