summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0013-power-operations-boot-settings.patch
blob: 04b0698c539b84e4960d316bdeb0a46c9c9639be (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
From e8efe44db456a2f271c2aa398241ed48ee2ba192 Mon Sep 17 00:00:00 2001
From: "Andrey V.Kosteltsev" <AKosteltsev@IBS.RU>
Date: Tue, 28 Jun 2022 11:15:37 +0300
Subject: [PATCH] power operations: boot settings

---
 src/assets/styles/bmc/custom/_index.scss             |  1 +
 .../styles/bmc/custom/ibs/_power-operations.scss     |  9 +++++++++
 .../ServerPowerOperations/ServerPowerOperations.vue  | 12 +++++++-----
 3 files changed, 17 insertions(+), 5 deletions(-)
 create mode 100644 src/assets/styles/bmc/custom/ibs/_power-operations.scss

diff --git a/src/assets/styles/bmc/custom/_index.scss b/src/assets/styles/bmc/custom/_index.scss
index 85a93356..2be710cc 100644
--- a/src/assets/styles/bmc/custom/_index.scss
+++ b/src/assets/styles/bmc/custom/_index.scss
@@ -19,3 +19,4 @@
 @import "./ibs/virtual-media";
 @import "./ibs/firmware";
 @import "./ibs/inventory";
+@import "./ibs/power-operations";
diff --git a/src/assets/styles/bmc/custom/ibs/_power-operations.scss b/src/assets/styles/bmc/custom/ibs/_power-operations.scss
new file mode 100644
index 00000000..0921323e
--- /dev/null
+++ b/src/assets/styles/bmc/custom/ibs/_power-operations.scss
@@ -0,0 +1,9 @@
+
+//
+// Power Operations:
+//
+.boot-settings .form-background {
+  padding: $spacer * 2 $spacer * 2 $spacer !important;
+  border-radius: $border-radius;
+  background-color: $surface-secondary !important;
+}
diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
index 9e030837..e6b685f4 100644
--- a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
+++ b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
@@ -50,11 +50,13 @@
     </b-row>
     <b-row>
       <b-col v-if="hasBootSourceOptions" sm="8" md="6" xl="4">
-        <page-section
-          :section-title="$t('pageServerPowerOperations.serverBootSettings')"
-        >
-          <boot-settings />
-        </page-section>
+        <div class="boot-settings">
+          <page-section
+            :section-title="$t('pageServerPowerOperations.serverBootSettings')"
+          >
+            <boot-settings />
+          </page-section>
+        </div>
       </b-col>
       <b-col sm="8" md="6" xl="7">
         <page-section
-- 
2.35.1