<i18n>
{
  "en": {
    "efi": "EFI",
    "bios": "BIOS"
  },
  "de": {
    "efi": "EFI",
    "bios": "BIOS"
  }
}
</i18n>

<template>
  <v-container fill-height>
    <v-layout>
      <v-flex xl10 offset-xl1 lg12>
        <v-card class="tabbar-card">
          <v-tabs v-model="tabs" grow :dark="tabsDark" :color="tabsColor" :slider-color="tabsSliderColor">
            <v-tab><v-icon class="tabbar-tabicon">memory</v-icon>{{ $t('efi') }}</v-tab>
            <v-tab><v-icon class="tabbar-tabicon">memory</v-icon>{{ $t('bios') }}</v-tab>
          </v-tabs>
        </v-card>

        <v-tabs-items v-model="tabs" style="padding-bottom: 20px">
          <v-tab-item>
            <ipxe-builder-module-config :ipxeVersion="'efi'"></ipxe-builder-module-config>
          </v-tab-item>
          <v-tab-item>
             <ipxe-builder-module-config :ipxeVersion="'bios'"></ipxe-builder-module-config>
          </v-tab-item>

        </v-tabs-items>
      </v-flex>
    </v-layout>
  </v-container>
</template>

<script>
import { mapGetters } from 'vuex'
import IpxeBuilderModuleConfig from '@/components/IpxeBuilderModuleConfig'

export default {
  name: 'IpxeBuilderModule',
  components: {
    IpxeBuilderModuleConfig
  },
  data () {
    return {
      tabs: 0
    }
  },
  computed: {
    ...mapGetters(['tabsDark', 'tabsColor', 'tabsSliderColor'])
  },
  watch: {
  },
  methods: {
  },
  created () {
  }
}
</script>
