Andy A
2015-04-06 19:14:12 UTC
Hi.
Been trying to customize captive portal template by creating a new profile (with all the files). There are three folders under the 'static' folder where I have put my custom css, images and javascript files. I reference these files in the HTML code as static/js/sample.js OR static/css/sample.css OR static/images/sample.png
1. Is that the correct place to store these files?
2. The files appear to have changed link as preview/static/js/sample.js OR preview/static/css/sample.css
3. Also, the content type of these files while previewing is text/html instead of application/javascript or text/css
Any comments would be helpful.
Thanks.
Been trying to customize captive portal template by creating a new profile (with all the files). There are three folders under the 'static' folder where I have put my custom css, images and javascript files. I reference these files in the HTML code as static/js/sample.js OR static/css/sample.css OR static/images/sample.png
1. Is that the correct place to store these files?
2. The files appear to have changed link as preview/static/js/sample.js OR preview/static/css/sample.css
3. Also, the content type of these files while previewing is text/html instead of application/javascript or text/css
Any comments would be helpful.
Thanks.