diff --git a/Makefile b/Makefile index 2384ba9..ce779a9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ PYTHON=env/bin/python + +LIBRARY=polyphonic/interface/static DROPZONE=5.7.0 +BULMA=1.0.4 +ALPINE=3.15.12 VERSION=0.8.4 @@ -39,7 +43,18 @@ upgrade: poetry run manage collectstatic ${MAKE} libraries -libraries: static/dropzone static/fonts/Quicksand_Book.otf +#libraries: static/dropzone static/fonts/Quicksand_Book.otf +libraries: ${LIBRARY}/css/bulma.min.css ${LIBRARY}/js/alpine.js ${LIBRARY}/css/material.css + +${LIBRARY}/css/bulma.min.css: + curl -o $@ "https://cdn.jsdelivr.net/npm/bulma@${BULMA}/css/bulma.min.css" + +${LIBRARY}/js/alpine.js: + curl -o $@ "https://cdn.jsdelivr.net/npm/alpinejs@${ALPINE}/dist/cdn.min.js" + +${LIBRARY}/css/material.css: + curl -o $@ "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" + static/dropzone: wget -O dropzone-${DROPZONE}.zip https://github.com/enyo/dropzone/archive/v${DROPZONE}.zip diff --git a/polyphonic/interface/static/interface/css/polyphonic.css b/polyphonic/interface/static/css/polyphonic.css similarity index 100% rename from polyphonic/interface/static/interface/css/polyphonic.css rename to polyphonic/interface/static/css/polyphonic.css diff --git a/polyphonic/interface/static/interface/background.png b/polyphonic/interface/static/images/background.png similarity index 100% rename from polyphonic/interface/static/interface/background.png rename to polyphonic/interface/static/images/background.png diff --git a/polyphonic/interface/static/interface/icon.png b/polyphonic/interface/static/images/icon.png similarity index 100% rename from polyphonic/interface/static/interface/icon.png rename to polyphonic/interface/static/images/icon.png diff --git a/polyphonic/interface/static/interface/js/interface.js b/polyphonic/interface/static/js/interface.js similarity index 100% rename from polyphonic/interface/static/interface/js/interface.js rename to polyphonic/interface/static/js/interface.js diff --git a/polyphonic/interface/templates/base.html b/polyphonic/interface/templates/base.html index cf64fbd..a8aebbe 100644 --- a/polyphonic/interface/templates/base.html +++ b/polyphonic/interface/templates/base.html @@ -5,15 +5,11 @@ - - - - - - - - - + + + + +