From b75ddda0955212b2c8594203a7f280b3d9a5a731 Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Fri, 28 May 2021 17:19:01 -0300 Subject: [PATCH] apply patternfly 3 button stylings in el7 --- makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefile b/makefile index f94c268..50cefd4 100644 --- a/makefile +++ b/makefile @@ -21,6 +21,9 @@ all: default install: mkdir -p $(DESTDIR)/usr/share/cockpit/ cp -rpf navigator $(DESTDIR)/usr/share/cockpit +ifeq ($(EL7),1) + sed -i "s/pf-c-button/btn/g;s/pf-m-primary/btn-primary/g;s/pf-m-secondary/btn-default/g;s/pf-m-danger/btn-danger/g" $(DESTDIR)/usr/share/cockpit/navigator/navigator.html +endif uninstall: rm -rf $(DESTDIR)/usr/share/cockpit/navigator