fix button classes in modal prompts in EL7

This commit is contained in:
joshuaboud 2021-07-15 13:40:46 -03:00
parent 2950699694
commit e39d18cdb4
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -23,6 +23,7 @@ install:
cp -rpf navigator $(DESTDIR)/usr/share/cockpit
ifeq ($(DIST),"el7")
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
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/components/ModalPrompt.js
endif
uninstall: