summaryrefslogtreecommitdiff
path: root/src/views/BMC/Configuration/BMCConfigurationControl.vue
blob: 7f3de0219b72b4d4b2c07dcd6f9236efb297527f (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<template>
  <page-section class="bmc-control-section">
    <div class="bmc-control__table">
      <div class="bmc-control__table__cell">
        <div>
          <span class="semi-bold-12px"> {{ $t('BMC.ControlBmc') }} </span>
        </div>
        <popover
          id="popover-reactive-1"
          description="BMC.ReloadBmc"
          popup="BMC.ReloadBmc_popup"
          button="BMC.ReloadBmc"
        />
        <settings-import-popup
          id="popover-reactive-2"
          description="BMC.ExportImport"
          popup="BMC.ExportImport"
          button="BMC.ExportImport_button"
        />
        <div>
          <span
            class="regular-12px underline pointer"
            @click="redirectNetworkParametrs"
            >{{ $t('BMC.Parametrs') }}</span
          >
        </div>
      </div>

      <div class="bmc-control__table__cell">
        <div>
          <span class="semi-bold-12px">{{ $t('BMC.microcode') }}</span>
        </div>
        <popover
          id="popover-reactive-3"
          description="BMC.ReloadMicrocodeBios"
          popup="BMC.ReloadMicrocodeBios"
          button="global.action.refresh"
          :is-microcode="true"
        />
        <popover
          id="popover-reactive-4"
          description="BMC.ReloadicrocodeBmc"
          popup="BMC.ReloadicrocodeBmc"
          button="global.action.refresh"
          :is-microcode="true"
        />
      </div>
    </div>
  </page-section>
</template>

<script>
import SettingsImportPopup from './SettingsImportPopup';
import PageSection from '@/components/Global/PageSection';
import Popover from '@/components/Global/Popover';

export default {
  components: {
    PageSection,
    Popover,
    SettingsImportPopup,
  },
  data() {
    return {
      timeOption: 'resetBios',
      picked: '',
      options: [
        { text: 'Toggle this custom radio', value: 'first' },
        { text: 'Or toggle this other custom radio', value: 'second' },
      ],
      progress1: {
        value: 90,
      },
      progress2: {
        value: null,
      },
    };
  },
  methods: {
    redirectNetworkParametrs() {
      this.$router.push('/network-parametrs');
    },
  },
};
</script>
<style lang="scss" scoped>
a {
  list-style-type: none;
}

.bmc-control-section {
  position: relative;
  margin: 16px 2rem 2rem;
  width: 70%;
}

.bmc-control__table {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 85%;
}

.bmc-control__table__cell {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  row-gap: 6px;
}

.semi-bold-12px {
  display: inline-block;
}

label {
  padding-top: 5px;
}

.pointer {
  cursor: pointer;
}
</style>