summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/IpxeBuilderModule.vue
blob: 2cd6eaf9ffac6b92515245851b040deef5a586a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<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>