Commit 46ee3229 authored by Johannes Zellner's avatar Johannes Zellner

Do not allow to modify the netmask

parent 7a215909
......@@ -31,10 +31,9 @@
<el-dialog title="Settings" :visible.sync="settings.visible" width="30%">
<el-form ref="form" :model="" :rules="settings.rules" label-position="left" label-width="180px" size="small">
<el-form-item label="Network Address" prop="address">
<el-input v-model=""></el-input>
<el-form-item label="Netmask" prop="netmask">
<el-input v-model=""></el-input>
<el-input v-model="">
<template slot="append"> / 24</template>
<el-form-item label="DNS Server" prop="dnsServer">
<el-input v-model=""></el-input>
......@@ -207,6 +207,9 @@
onSettingsSave () {
this.settings.busy = true;
// hardcode netmask for now = '';'/api/settings', { settings: }).end((error, result) => {
this.settings.busy = false;
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