Notifications behind menu; Build cachebuster duplicate

This commit is contained in:
James Barnsley
2017-04-11 20:01:03 +12:00
parent 5b3c49a67a
commit a754bd0544
3 changed files with 6 additions and 7 deletions

View File

@ -12,11 +12,10 @@ cp src/index.html mopidy_iris/static/test.html
# process production html
CACHEBUSTER=$(date | md5sum | cut -f1 -d' ')
echo -e Cachebusting js/css URLs $CACHEBUSTER
sed -i 's/app.js/app.min.js?'$CACHEBUSTER'/g' mopidy_iris/static/index.html
sed -i 's/app.css/app.min.css?'$CACHEBUSTER'/g' mopidy_iris/static/index.html
sed -i 's/app.js/app.js?'$CACHEBUSTER'/g' mopidy_iris/static/test.html
sed -i 's/app.css/app.css?'$CACHEBUSTER'/g' mopidy_iris/static/test.html
sed -i 's/app.css/app.css?'$CACHEBUSTER'/g' mopidy_iris/static/test.html
sed -i 's/app.js/app.min.js?cachebuster='$CACHEBUSTER'/g' mopidy_iris/static/index.html
sed -i 's/app.css/app.min.css?cachebuster='$CACHEBUSTER'/g' mopidy_iris/static/index.html
sed -i 's/app.js/app.js?cachebuster='$CACHEBUSTER'/g' mopidy_iris/static/test.html
sed -i 's/app.css/app.css?cachebuster='$CACHEBUSTER'/g' mopidy_iris/static/test.html
sed -i 's/<\/head>/\t<script type="text\/javascript">window._testMode = true;<\/script>\n\n<\/head>/g' mopidy_iris/static/test.html
echo -e "\x1b[32;01m"Done!"\x1b[39;49;00m"

View File

@ -237,7 +237,7 @@
}
&.duration {
width: auto;
width: auto !important;
position: absolute;
right: 10px;
text-align: right;

View File

@ -4,7 +4,7 @@
position: fixed;
bottom: 15px;
right: 30px;
z-index: 99;
z-index: 97;
pointer-events: none;
width: 200px;