diff options
author | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-06-22 21:32:03 +0300 |
---|---|---|
committer | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-06-22 21:32:03 +0300 |
commit | c727fe428a747aeb16b628172d80d91287460360 (patch) | |
tree | e8e5e50a8b28e18dca29fb47b63fab2f4fdcc1ab | |
parent | aaecac2908a0063cba8a3628cb089f7e0b9491bd (diff) | |
download | openbmc-c727fe428a747aeb16b628172d80d91287460360.tar.xz |
WEBUI: split UI changes to patches and IBS specific changes
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-bootstrap-grid-for-large-media.patch | 36 | ||||
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0008-AppLayout-refresh-UI-on-time.patch (renamed from meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-AppLayout-refresh-UI-on-time.patch) | 0 | ||||
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue_%.bbappend | 5 |
3 files changed, 39 insertions, 2 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-bootstrap-grid-for-large-media.patch b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-bootstrap-grid-for-large-media.patch new file mode 100644 index 0000000000..21602cd03f --- /dev/null +++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-bootstrap-grid-for-large-media.patch @@ -0,0 +1,36 @@ +From e362ae032e560703ea7ea8b985f17a4f09a1fdde Mon Sep 17 00:00:00 2001 +From: "Andrey V.Kosteltsev" <AKosteltsev@IBS.RU> +Date: Wed, 22 Jun 2022 21:05:10 +0300 +Subject: [PATCH] bootstrap: grid for large media + +--- + src/assets/styles/bmc/custom/_bootstrap-grid.scss | 15 ++++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/src/assets/styles/bmc/custom/_bootstrap-grid.scss b/src/assets/styles/bmc/custom/_bootstrap-grid.scss +index 7ad7c81b..3badf048 100644 +--- a/src/assets/styles/bmc/custom/_bootstrap-grid.scss ++++ b/src/assets/styles/bmc/custom/_bootstrap-grid.scss +@@ -5,4 +5,17 @@ + // so the content doesn't center align + // https://bootstrap-vue.org/docs/components/layout#fluid-width-container + margin-left: 0; +-} +\ No newline at end of file ++} ++ ++@media (min-width: 1200px) { ++ .container-xl { ++ max-width: unset !important; ++ } ++ .col-md-9, ++ .col-xl-9, ++ .col-xl-10, ++ .col-xl-11 { ++ flex: 0 0 100%; ++ max-width: unset !important; ++ } ++} +-- +2.35.1 + diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-AppLayout-refresh-UI-on-time.patch b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0008-AppLayout-refresh-UI-on-time.patch index 8ae2342734..8ae2342734 100644 --- a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0007-AppLayout-refresh-UI-on-time.patch +++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0008-AppLayout-refresh-UI-on-time.patch diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue_%.bbappend b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue_%.bbappend index 728e09bf92..e22d45ecbd 100644 --- a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue_%.bbappend +++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue_%.bbappend @@ -7,7 +7,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" SRC_URI = "git://git@git.sila.ru/srv/pub/scm/git/openbmc/webui-vue.git;branch=sila;protocol=ssh" -SRCREV = "ce43d5ca9bc408c40c3c10d936110d9ee7db35f0" +SRCREV = "1ac772723bd291d26d30ef4fe98c0d6e347cfc61" SRC_URI += "\ file://favicon.ico \ @@ -21,7 +21,8 @@ SRC_URI += "\ file://0004-main-padding-right-when-media-gt-992px.patch \ file://0005-ButtonBackToTop-alignment.patch \ file://0006-AppLayout-app-content-overflow.patch \ - file://0007-AppLayout-refresh-UI-on-time.patch \ + file://0007-bootstrap-grid-for-large-media.patch \ + file://0008-AppLayout-refresh-UI-on-time.patch \ " do_update_logo () { |