<template>
    <div class="event-log">
        <div class="configuration-title">NCSI Settings</div>
        <div class="configuration-text">The following options are for configuring the channel number and package ID information for the NCSI interface.</div>
        <div class="event-log-form">
            <Form :model="formEventLog" label-position="left" :label-width="0">
                <div class="configuration-subtitle">Current NCSI Mode:</div>
                <FormItem>
                    <RadioGroup v-model="formEventLog.radioPolicy" vertical>
                        <Radio label="0">Set NCSI Mode to Auto Failover Mode</Radio>
                        <Radio label="1">Set NCSI Mode to Manual Switch Mode</Radio>
                    </RadioGroup>
                </FormItem>
                <FormItem label="NCSI Interface" :label-width="120">
                    <Select v-model="formEventLog.interface" style="width: 200px;">
                    </Select>
                </FormItem>
                <FormItem label="Channel Number" :label-width="120">
                    <Select v-model="formEventLog.channelNumber" style="width: 200px;">
                        <Option value="0">0</Option>
                        <Option value="1">1</Option>
                    </Select>
                </FormItem>
                <FormItem label="Package ID" :label-width="120">
                    <Select v-model="formEventLog.packageID" style="width: 200px;">
                        <Option value="0">0</Option>
                        <Option value="1">1</Option>
                    </Select>
                </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: "NCSI",
        data() {
            return {
                formEventLog: {
                    radioPolicy: '',
                    interface: '',
                    channelNumber: '',
                    packageID: ''
                }
            }
        }
    }
</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>


