<template>
    <div class="event-log">
        <div class="configuration-title">Network Bonding Configuration</div>
        <div class="configuration-text">The following options are for configuring the networking bonding for the device.</div>
        <div class="event-log-form">
            <Form :model="formEventLog" label-position="left" :label-width="150">
                <div class="configuration-subtitle"></div>
                <FormItem label="Network Bonding">
                    <Checkbox v-model="formEventLog.NetworkBonding">Enable</Checkbox>
                </FormItem>
                <FormItem label="Bonding Mode">
                    <Input v-model="formEventLog.BondingMode" style="width: 200px;"/>
                </FormItem>
                <FormItem label="Default Interfaces">
                    <Select v-model="formEventLog.DefaultInterfaces" style="width: 200px;">
                    </Select>
                </FormItem>
                <FormItem label="Auto Configuration" >
                    <Checkbox v-model="formEventLog.AutoConfiguration">Enable</Checkbox>
                </FormItem>
            </Form>
        </div>
        <div class="configuration-btn-right">
            <Button type="primary" style="margin-right: 10px;">Save</Button>
            <Button type="primary">Reset</Button>
        </div>
    </div>
</template>

<script>
    export default {
        name: "NetworkBond",
        data() {
            return {
                formEventLog: {
                    NetworkBonding: false,
                    BondingMode: '',
                    DefaultInterfaces: '',
                    AutoConfiguration: true,
                }
            }
        }
    }
</script>

<style lang="scss" scoped>
    .event-log-form {
        padding-left: 30px;
        .configuration-subtitle {
            font-size: 14px;
            margin-bottom: 10px;
        }
    }
    .configuration-btn-right {
        border-top: 1px solid #000;
    }
</style>



