Correct web paths for bot
This commit is contained in:
4 files changed
+17
-17
No files matched your search
+1
-1
@@ -57,4 +57,4 @@ var t="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typ
|
||||
* https://js.foundation/
|
||||
*
|
||||
* Date: 2020-03-14
|
||||
*/!function(a){var i,r,o,l,s,f,h,u,m,v,p,d,z,g,M,y,x,C,b,H="sizzle"+1*new Date,V=a.document,L=0,N=0,w=ue(),S=ue(),A=ue(),T=ue(),k=function(e,c){return e===c&&(p=!0),0},_={}.hasOwnProperty,E=[],j=E.pop,D=E.push,O=E.push,P=E.slice,q=function(e,c){for(var t=0,n=e.length;t<n;t++)if(e[t]===c)return t;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",Z=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",Q=new RegExp(R+"+","g"),W=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),X=new RegExp(Z),Y=new RegExp("^"+F+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,ce=/^h\d$/i,te=/^[^{]+\{\s*\[native \w/,ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ae=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,c){var t="0x"+e.slice(1)-65536;return c||(t<0?String.fromCharCode(t+65536):String.fromCharCode(t>>10|55296,1023&t|56320))},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,le=function(e,c){return c?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=function(){d()},fe=He((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(E=P.call(V.childNodes),V.childNodes),E[V.childNodes.length].nodeType}catch(e){O={apply:E.length?function(e,c){D.apply(e,P.call(c))}:function(e,c){for(var t=e.length,n=0;e[t++]=c[n++];);e.length=t-1}}}function he(e,c,t,n){var a,i,o,l,s,h,m,v=c&&c.ownerDocument,p=c?c.nodeType:9;if(t=t||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return t;if(!n&&(d(c),c=c||z,M)){if(11!==p&&(s=ne.exec(e)))if(a=s[1]){if(9===p){if(!(o=c.getElementById(a)))return t;if(o.id===a)return t.push(o),t}else if(v&&(o=v.getElementById(a))&&b(c,o)&&o.id===a)return t.push(o),t}else{if(s[2])return O.apply(t,c.getElementsByTagName(e)),t;if((a=s[3])&&r.getElementsByClassName&&c.getElementsByClassName)return O.apply(t,c.getElementsByClassName(a)),t}if(r.qsa&&!T[e+" "]&&(!y||!y.test(e))&&(1!==p||"object"!==c.nodeName.toLowerCase())){if(m=e,v=c,1===p&&(G.test(e)||U.test(e))){for((v=ae.test(e)&&xe(c.parentNode)||c)===c&&r.scope||((l=c.getAttribute("id"))?l=l.replace(oe,le):c.setAttribute("id",l=H)),i=(h=f(e)).length;i--;)h[i]=(l?"#"+l:":scope")+" "+be(h[i]);m=h.join(",")}try{return O.apply(t,v.querySelectorAll(m)),t}catch(c){T(e,!0)}finally{l===H&&c.removeAttribute("id")}}}return u(e.replace(W,"$1"),c,t,n)}function ue(){var e=[];return function c(t,n){return e.push(t+" ")>o.cacheLength&&delete c[e.shift()],c[t+" "]=n}}function me(e){return e[H]=!0,e}function ve(e){var c=z.createElement("fieldset");try{return!!e(c)}catch(e){return!1}finally{c.parentNode&&c.parentNode.removeChild(c),c=null}}function pe(e,c){for(var t=e.split("|"),n=t.length;n--;)o.attrHandle[t[n]]=c}function de(e,c){var t=c&&e,n=t&&1===e.nodeType&&1===c.nodeType&&e.sourceIndex-c.sourceIndex;if(n)return n;if(t)for(;t=t.nextSibling;)if(t===c)return-1;return e?1:-1}function ze(e){return function(c){return"input"===c.nodeName.toLowerCase()&&c.type===e}}function ge(e){return function(c){var t=c.nodeName.toLowerCase();return("input"===t||"button"===t)&&c.type===e}}function Me(e){return function(c){return"form"in c?c.parentNode&&!1===c.disabled?"label"in c?"label"in c.parentNode?c.parentNode.disabled===e:c.disabled===e:c.isDisabled===e||c.isDisabled!==!e&&fe(c)===e:c.disabled===e:"label"in c&&c.disabled===e}}function ye(e){return me((function(c){return c=+c,me((function(t,n){for(var a,i=e([],t.length,c),r=i.length;r--;)t[a=i[r]]&&(t[a]=!(n[a]=t[a]))}))}))}function xe(e){return e&&void 0!==e.getElementsByTagName&&e}for(i in r=he.support={},s=he.isXML=function(e){var c=e.namespaceURI,t=(e.ownerDocument||e).documentElement;return!J.test(c||t&&t.nodeName||"HTML")},d=he.setDocument=function(e){var c,t,n=e?e.ownerDocument||e:V;return n!=z&&9===n.nodeType&&n.documentElement?(g=(z=n).documentElement,M=!s(z),V!=z&&(t=z.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",se,!1):t.attachEvent&&t.attachEvent("onunload",se)),r.scope=ve((function(e){return g.appendChild(e).appendChild(z.createElement("div")),void 0!=Line truncated
|
||||
*/!function(a){var i,r,o,l,s,f,h,u,m,v,p,d,z,g,M,y,x,C,b,H="sizzle"+1*new Date,V=a.document,L=0,N=0,w=ue(),S=ue(),A=ue(),T=ue(),k=function(e,c){return e===c&&(p=!0),0},_={}.hasOwnProperty,E=[],j=E.pop,D=E.push,O=E.push,P=E.slice,q=function(e,c){for(var t=0,n=e.length;t<n;t++)if(e[t]===c)return t;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",Z=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",Q=new RegExp(R+"+","g"),W=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),X=new RegExp(Z),Y=new RegExp("^"+F+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,ce=/^h\d$/i,te=/^[^{]+\{\s*\[native \w/,ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ae=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,c){var t="0x"+e.slice(1)-65536;return c||(t<0?String.fromCharCode(t+65536):String.fromCharCode(t>>10|55296,1023&t|56320))},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,le=function(e,c){return c?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=function(){d()},fe=He((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(E=P.call(V.childNodes),V.childNodes),E[V.childNodes.length].nodeType}catch(e){O={apply:E.length?function(e,c){D.apply(e,P.call(c))}:function(e,c){for(var t=e.length,n=0;e[t++]=c[n++];);e.length=t-1}}}function he(e,c,t,n){var a,i,o,l,s,h,m,v=c&&c.ownerDocument,p=c?c.nodeType:9;if(t=t||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return t;if(!n&&(d(c),c=c||z,M)){if(11!==p&&(s=ne.exec(e)))if(a=s[1]){if(9===p){if(!(o=c.getElementById(a)))return t;if(o.id===a)return t.push(o),t}else if(v&&(o=v.getElementById(a))&&b(c,o)&&o.id===a)return t.push(o),t}else{if(s[2])return O.apply(t,c.getElementsByTagName(e)),t;if((a=s[3])&&r.getElementsByClassName&&c.getElementsByClassName)return O.apply(t,c.getElementsByClassName(a)),t}if(r.qsa&&!T[e+" "]&&(!y||!y.test(e))&&(1!==p||"object"!==c.nodeName.toLowerCase())){if(m=e,v=c,1===p&&(G.test(e)||U.test(e))){for((v=ae.test(e)&&xe(c.parentNode)||c)===c&&r.scope||((l=c.getAttribute("id"))?l=l.replace(oe,le):c.setAttribute("id",l=H)),i=(h=f(e)).length;i--;)h[i]=(l?"#"+l:":scope")+" "+be(h[i]);m=h.join(",")}try{return O.apply(t,v.querySelectorAll(m)),t}catch(c){T(e,!0)}finally{l===H&&c.removeAttribute("id")}}}return u(e.replace(W,"$1"),c,t,n)}function ue(){var e=[];return function c(t,n){return e.push(t+" ")>o.cacheLength&&delete c[e.shift()],c[t+" "]=n}}function me(e){return e[H]=!0,e}function ve(e){var c=z.createElement("fieldset");try{return!!e(c)}catch(e){return!1}finally{c.parentNode&&c.parentNode.removeChild(c),c=null}}function pe(e,c){for(var t=e.split("|"),n=t.length;n--;)o.attrHandle[t[n]]=c}function de(e,c){var t=c&&e,n=t&&1===e.nodeType&&1===c.nodeType&&e.sourceIndex-c.sourceIndex;if(n)return n;if(t)for(;t=t.nextSibling;)if(t===c)return-1;return e?1:-1}function ze(e){return function(c){return"input"===c.nodeName.toLowerCase()&&c.type===e}}function ge(e){return function(c){var t=c.nodeName.toLowerCase();return("input"===t||"button"===t)&&c.type===e}}function Me(e){return function(c){return"form"in c?c.parentNode&&!1===c.disabled?"label"in c?"label"in c.parentNode?c.parentNode.disabled===e:c.disabled===e:c.isDisabled===e||c.isDisabled!==!e&&fe(c)===e:c.disabled===e:"label"in c&&c.disabled===e}}function ye(e){return me((function(c){return c=+c,me((function(t,n){for(var a,i=e([],t.length,c),r=i.length;r--;)t[a=i[r]]&&(t[a]=!(n[a]=t[a]))}))}))}function xe(e){return e&&void 0!==e.getElementsByTagName&&e}for(i in r=he.support={},s=he.isXML=function(e){var c=e.namespaceURI,t=(e.ownerDocument||e).documentElement;return!J.test(c||t&&t.nodeName||"HTML")},d=he.setDocument=function(e){var c,t,n=e?e.ownerDocument||e:V;return n!=z&&9===n.nodeType&&n.documentElement?(g=(z=n).documentElement,M=!s(z),V!=z&&(t=z.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",se,!1):t.attachEvent&&t.attachEvent("onunload",se)),r.scope=ve((function(e){return g.appendChild(e).appendChild(z.createElement("div")),void 0!=Line truncated
|
||||
@@ -1 +1 @@
|
||||
<!doctype html><head><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta charset="UTF-8"><title>botamusique web interface</title><link rel="icon" href="../static/img/favicon.ico"/><link id="pagestyle" rel="stylesheet" href="../static/css/main.css"></head><body><div class="container page-header mb-5" id="banner"><div class="row"><div class="col-auto"><img src="../static/img/logo.png" height="200px"></div><div class="col my-auto"><h1>botamusique Web Interface</h1></div></div></div><div id="playlist" class="container mb-5"><div class="btn-toolbar mb-2" role="toolbar" aria-label="Playlist controls"><button type="button" id="play-pause-btn" class="btn btn-info mb-2 btn-space" onclick="togglePlayPause()"><i class="fas fa-play"></i></button> <button type="button" id="fast-forward-btn" class="btn btn-info mb-2" onclick="request('post', {action : 'next'})"><i class="fas fa-fast-forward"></i></button><div class="ml-auto"><div class="dropdown mr-2"><button class="btn btn-secondary dropdown-toggle" type="button" id="play-mode" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-tasks mr-2" aria-hidden="true" id="modeIndicator"></i></button><div class="dropdown-menu" aria-labelledby="play-mode"><a class="dropdown-item" href="#" id="one-shot-mode-btn" onclick="changePlayMode('one-shot')"><i class="fas fa-tasks mr-2" aria-hidden="true"></i>One-shot </a><a class="dropdown-item" href="#" id="random-mode-btn" onclick="changePlayMode('randomize')"><i class="fas fa-random mr-2" aria-hidden="true"></i>Random </a><a class="dropdown-item" href="#" id="repeat-mode-btn" onclick="changePlayMode('repeat')"><i class="fas fa-redo mr-2" aria-hidden="true"></i>Repeat </a><a class="dropdown-item" href="#" id="autoplay-mode-btn" onclick="changePlayMode('autoplay')"><i class="fas fa-robot mr-2" aria-hidden="true"></i>Autoplay</a></div></div><button type="button" id="volume-popover-btn" class="btn btn-warning ml-1" onclick="toggleVolumePopover()"><i class="fa fa-volume-up" aria-hidden="true"></i></button><div id="volume-popover"><a onclick="request('post', {action : 'volume_down'})"><i class="fa fa-volume-down" aria-hidden="true"></i> </a><input type="range" class="custom-range ml-1" id="volume-slider" min="0" max="1" step="0.01" value="0.5" onchange="setVolumeDelayed(this.value)"/> <a onclick="request('post', {action : 'volume_up'})"><i class="fa fa-volume-up" aria-hidden="true"></i></a><div id="volume-popover-arrow"></div></div></div></div><div class="table-responsive"><table class="table table-striped table-hover"><thead><tr><th scope="col" class="d-none d-md-table-cell">#</th><th scope="col" class="w-50">Title</th><th scope="col" class="d-none d-md-table-cell">Url/Path</th><th scope="col">Action</th></tr></thead><tbody id="playlist-table" class="playlist-table"><tr id="playlist-loading"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="../static/img/loading.svg"/></td></tr><tr id="playlist-empty" class="d-none"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="../static/img/empty_box.svg"/></td></tr><tr class="playlist-expand table-dark d-none"><td colspan="4" class="text-center"><a class="text-muted" href="javascript:">See item <span class="playlist-expand-item-range"></span> on the playlist.</a></td></tr><tr class="playlist-item-template d-none"><th scope="row" class="playlist-item-index d-none d-md-table-cell"></th><td><input hidden class="playlist-item-id" value=""/><div class="float-left"><img width="80" class="playlist-item-thumbnail" src="../static/img/unknown-album.png"/></div><div class="playlist-artwork"><b class="playlist-item-title"></b> <span class="playlist-item-type badge badge-secondary"></span><br/><span class="playlist-item-artist"></span><br/><div class="playlist-item-tags"><a class="playlist-item-edit tag-space tag-click"><i class="fas fa-edit" style="color: #AAAAAA"></i></a></div></div></td><td class="d-none d-md-table-cell"><small class="playlist-item-path"></small></td><td><div class="btn-group"><button type="button" class="playlist-item-play btn btn-info btn-sm"><i class="fas fa-play" aria-hidden="true"></i></button> <button type="button" class="playlist-item-trash btn btn-danger btn-sm ml-1"><i class="fas fa-trash-alt" aria-hidden="true"></i></button></div></td></tr></tbody></table></div><div class="btn-group"><button type="button" class="btn btn-danger mr-1" onclick="request('post', {action : 'clear'})"><i class="fas fa-trash-alt" aria-hidden="true"></i> Clear Playlist</button></div></div><div class="container mb-3"><h2 id="forms">Music Library</h2><div class="card mb-3"><div class="card-header"><h5 class="card-title">Filters</h5><hr><div class="row"><div class="col"><label>Type</label><div id="filter-type" class="input-group mb-2"><div class="btn-group btn-group-sm btn-group-toggle"><label id="filter-type-file" class="btn btn-secondary" onclick="setFilterType(event, 'file')"><inputLine truncated
|
||||
<!doctype html><head><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta charset="UTF-8"><title>botamusique web interface</title><link rel="icon" href="static/img/favicon.ico"/><link id="pagestyle" rel="stylesheet" href="static/css/main.css"></head><body><div class="container page-header mb-5" id="banner"><div class="row"><div class="col-auto"><img src="static/img/logo.png" height="200px"></div><div class="col my-auto"><h1>botamusique Web Interface</h1></div></div></div><div id="playlist" class="container mb-5"><div class="btn-toolbar mb-2" role="toolbar" aria-label="Playlist controls"><button type="button" id="play-pause-btn" class="btn btn-info mb-2 btn-space" onclick="togglePlayPause()"><i class="fas fa-play"></i></button> <button type="button" id="fast-forward-btn" class="btn btn-info mb-2" onclick="request('post', {action : 'next'})"><i class="fas fa-fast-forward"></i></button><div class="ml-auto"><div class="dropdown mr-2"><button class="btn btn-secondary dropdown-toggle" type="button" id="play-mode" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-tasks mr-2" aria-hidden="true" id="modeIndicator"></i></button><div class="dropdown-menu" aria-labelledby="play-mode"><a class="dropdown-item" href="#" id="one-shot-mode-btn" onclick="changePlayMode('one-shot')"><i class="fas fa-tasks mr-2" aria-hidden="true"></i>One-shot </a><a class="dropdown-item" href="#" id="random-mode-btn" onclick="changePlayMode('randomize')"><i class="fas fa-random mr-2" aria-hidden="true"></i>Random </a><a class="dropdown-item" href="#" id="repeat-mode-btn" onclick="changePlayMode('repeat')"><i class="fas fa-redo mr-2" aria-hidden="true"></i>Repeat </a><a class="dropdown-item" href="#" id="autoplay-mode-btn" onclick="changePlayMode('autoplay')"><i class="fas fa-robot mr-2" aria-hidden="true"></i>Autoplay</a></div></div><button type="button" id="volume-popover-btn" class="btn btn-warning ml-1" onclick="toggleVolumePopover()"><i class="fa fa-volume-up" aria-hidden="true"></i></button><div id="volume-popover"><a onclick="request('post', {action : 'volume_down'})"><i class="fa fa-volume-down" aria-hidden="true"></i> </a><input type="range" class="custom-range ml-1" id="volume-slider" min="0" max="1" step="0.01" value="0.5" onchange="setVolumeDelayed(this.value)"/> <a onclick="request('post', {action : 'volume_up'})"><i class="fa fa-volume-up" aria-hidden="true"></i></a><div id="volume-popover-arrow"></div></div></div></div><div class="table-responsive"><table class="table table-striped table-hover"><thead><tr><th scope="col" class="d-none d-md-table-cell">#</th><th scope="col" class="w-50">Title</th><th scope="col" class="d-none d-md-table-cell">Url/Path</th><th scope="col">Action</th></tr></thead><tbody id="playlist-table" class="playlist-table"><tr id="playlist-loading"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/loading.svg"/></td></tr><tr id="playlist-empty" class="d-none"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/empty_box.svg"/></td></tr><tr class="playlist-expand table-dark d-none"><td colspan="4" class="text-center"><a class="text-muted" href="javascript:">See item <span class="playlist-expand-item-range"></span> on the playlist.</a></td></tr><tr class="playlist-item-template d-none"><th scope="row" class="playlist-item-index d-none d-md-table-cell"></th><td><input hidden class="playlist-item-id" value=""/><div class="float-left"><img width="80" class="playlist-item-thumbnail" src="static/img/unknown-album.png"/></div><div class="playlist-artwork"><b class="playlist-item-title"></b> <span class="playlist-item-type badge badge-secondary"></span><br/><span class="playlist-item-artist"></span><br/><div class="playlist-item-tags"><a class="playlist-item-edit tag-space tag-click"><i class="fas fa-edit" style="color: #AAAAAA"></i></a></div></div></td><td class="d-none d-md-table-cell"><small class="playlist-item-path"></small></td><td><div class="btn-group"><button type="button" class="playlist-item-play btn btn-info btn-sm"><i class="fas fa-play" aria-hidden="true"></i></button> <button type="button" class="playlist-item-trash btn btn-danger btn-sm ml-1"><i class="fas fa-trash-alt" aria-hidden="true"></i></button></div></td></tr></tbody></table></div><div class="btn-group"><button type="button" class="btn btn-danger mr-1" onclick="request('post', {action : 'clear'})"><i class="fas fa-trash-alt" aria-hidden="true"></i> Clear Playlist</button></div></div><div class="container mb-3"><h2 id="forms">Music Library</h2><div class="card mb-3"><div class="card-header"><h5 class="card-title">Filters</h5><hr><div class="row"><div class="col"><label>Type</label><div id="filter-type" class="input-group mb-2"><div class="btn-group btn-group-sm btn-group-toggle"><label id="filter-type-file" class="btn btn-secondary" onclick="setFilterType(event, 'file')"><input type="checkbox" nLine truncated
|
||||
@@ -24,7 +24,7 @@ export default class {
|
||||
static set(dark = false) {
|
||||
// Swap CSS to selected theme
|
||||
document.getElementById('pagestyle')
|
||||
.setAttribute('href', '../static/css/' + (dark ? 'dark' : 'main') + '.css');
|
||||
.setAttribute('href', 'static/css/' + (dark ? 'dark' : 'main') + '.css');
|
||||
|
||||
// Update local storage
|
||||
localStorage.setItem('darkTheme', dark);
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
<title>botamusique web interface</title>
|
||||
|
||||
<link rel="icon" href="../static/img/favicon.ico" />
|
||||
<link rel="icon" href="static/img/favicon.ico" />
|
||||
|
||||
<link id="pagestyle" rel="stylesheet" href="../static/css/main.css">
|
||||
<link id="pagestyle" rel="stylesheet" href="static/css/main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container page-header mb-5" id="banner">
|
||||
<div class="row">
|
||||
<div class="col-auto">
|
||||
<img src="../static/img/logo.png" height="200px">
|
||||
<img src="static/img/logo.png" height="200px">
|
||||
</div>
|
||||
<div class="col my-auto">
|
||||
<h1>botamusique Web Interface</h1>
|
||||
@@ -88,12 +88,12 @@
|
||||
<tbody id="playlist-table" class="playlist-table">
|
||||
<tr id="playlist-loading">
|
||||
<td colspan="4" class="text-center">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/loading.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/loading.svg" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="playlist-empty" class="d-none">
|
||||
<td colspan="4" class="text-center">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/empty_box.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/empty_box.svg" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="playlist-expand table-dark d-none">
|
||||
@@ -108,7 +108,7 @@
|
||||
<td>
|
||||
<input hidden type="text" class="playlist-item-id" value="" />
|
||||
<div class="float-left">
|
||||
<img width="80" class="playlist-item-thumbnail" src="../static/img/unknown-album.png" />
|
||||
<img width="80" class="playlist-item-thumbnail" src="static/img/unknown-album.png" />
|
||||
</div>
|
||||
<div class="playlist-artwork">
|
||||
<b class="playlist-item-title"></b>
|
||||
@@ -207,17 +207,17 @@
|
||||
<div class="card-body">
|
||||
<div id="library-group" class="list-group library-group" style="overflow: auto;">
|
||||
<div id="library-item-loading" class="list-group-item library-item">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/loading.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/loading.svg" />
|
||||
</div>
|
||||
<div id="library-item-empty" style="display: none" class="list-group-item library-item">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/empty_box.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/empty_box.svg" />
|
||||
</div>
|
||||
<div id="library-item" style="display: none;" class="list-group-item library-item">
|
||||
<input hidden type="text" class="library-item-id" value="" />
|
||||
|
||||
<div class="library-thumb-col">
|
||||
<div class="library-thumb-img">
|
||||
<img class="library-item-thumb library-thumb-img" src="../static/img/unknown-album.png" />
|
||||
<img class="library-item-thumb library-thumb-img" src="static/img/unknown-album.png" />
|
||||
</div>
|
||||
<div class="btn-group-vertical library-thumb-grp">
|
||||
<div class="library-item-play btn btn-secondary library-thumb-btn-up" title="Play">
|
||||
@@ -250,10 +250,10 @@
|
||||
|
||||
<div id="library-group" class="list-group library-group" style="overflow: auto;">
|
||||
<div id="library-item-loading" class="list-group-item library-item">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/loading.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/loading.svg" />
|
||||
</div>
|
||||
<div id="library-item-empty" style="display: none" class="list-group-item library-item">
|
||||
<img style="margin: auto; width: 35px;" src="../static/img/empty_box.svg" />
|
||||
<img style="margin: auto; width: 35px;" src="static/img/empty_box.svg" />
|
||||
</div>
|
||||
<div id="library-item" style="display: none;" class="list-group-item library-item">
|
||||
<input hidden type="text" class="library-item-id" value="" />
|
||||
@@ -451,8 +451,8 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="toast-body" id="playerContainer">
|
||||
<img id="playerArtworkIdle" src="../static/img/empty_box.svg" />
|
||||
<img id="playerArtwork" src="../static/img/unknown-album.png" style="display: none;" />
|
||||
<img id="playerArtworkIdle" src="static/img/empty_box.svg" />
|
||||
<img id="playerArtwork" src="static/img/unknown-album.png" style="display: none;" />
|
||||
<div id="playerInfo">
|
||||
<div id="playerActionBox">
|
||||
<button id="playerPlayBtn" class="btn btn-primary btn-sm btn-space" style="display: none"
|
||||
@@ -569,7 +569,7 @@
|
||||
|
||||
<input type="hidden" id="maxUploadFileSize" value="{{ max_upload_file_size }}" />
|
||||
|
||||
<script src="../static/js/main.js"></script>
|
||||
<script src="static/js/main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user