add CSS file for PBS ExtJS6 basic ui

some fitting rules copied over from PVE's ext6-pve.css file.
simply place it in the css subfolder where the proxmox-backup-gui.js
file is hosted and add a "css/" alias for that directory, the
formatter gets use the right content type with that.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2019-12-16 18:16:05 +01:00
committed by Dietmar Maurer
parent 25cdd0e0a1
commit 2d694f8f1f
4 changed files with 80 additions and 2 deletions

View File

@ -17,7 +17,7 @@ JSSRC= \
Application.js \
MainView.js
all: js/proxmox-backup-gui.js
all: js/proxmox-backup-gui.js css/ext6-pbs.css
js:
mkdir js
@ -31,10 +31,12 @@ clean:
find . -name '*~' -exec rm {} ';'
rm -rf js
install: js/proxmox-backup-gui.js
install: js/proxmox-backup-gui.js css/ext6-pbs.css
install -dm755 $(DESTDIR)$(JSDIR)
install -dm755 $(DESTDIR)$(JSDIR)/js
install -m644 js/proxmox-backup-gui.js $(DESTDIR)$(JSDIR)/js/
install -dm755 $(DESTDIR)$(JSDIR)/css
install -m644 css/ext6-pbs.css $(DESTDIR)$(JSDIR)/css/
install -dm755 $(DESTDIR)$(JSDIR)/images
$(foreach i,$(IMAGES), \
install -m644 $(i) $(DESTDIR)$(JSDIR)/images/ ;)