Remove preview for spotify playlists
This commit is contained in:
parent
5d822073c3
commit
952d96f8ea
5 changed files with 5 additions and 61 deletions
|
@ -11,14 +11,12 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<table class="table table-hover table-striped">
|
<table class="table table-hover table-striped">
|
||||||
<caption><a href="{{ $playlist.external_urls.spotify }}">View playlist on Spotify</a></caption>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"></th>
|
<th scope="row"></th>
|
||||||
<th scope="row">Track</th>
|
<th scope="row">Track</th>
|
||||||
<th scope="row">Artist</th>
|
<th scope="row">Artist</th>
|
||||||
<th scope="row">Album</th>
|
<th scope="row">Album</th>
|
||||||
<th scope="row">Preview</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -33,11 +31,6 @@
|
||||||
{{ range $i, $e := .artists }}{{ if $i }}, {{ end }}{{ .name }}{{ end }}
|
{{ range $i, $e := .artists }}{{ if $i }}, {{ end }}{{ .name }}{{ end }}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ .album.name }}</td>
|
<td>{{ .album.name }}</td>
|
||||||
<td>
|
|
||||||
<audio controls class="mejs__player" data-plyr='{"controls": ["play", "progress"]}'>
|
|
||||||
<source src="{{ .preview_url }}" type="audio/mpeg" />
|
|
||||||
</audio>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
56
package-lock.json
generated
56
package-lock.json
generated
|
@ -401,27 +401,11 @@
|
||||||
"babel-runtime": "6.26.0"
|
"babel-runtime": "6.26.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"babel-polyfill": {
|
|
||||||
"version": "6.26.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
|
|
||||||
"integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=",
|
|
||||||
"requires": {
|
|
||||||
"babel-runtime": "6.26.0",
|
|
||||||
"core-js": "2.5.3",
|
|
||||||
"regenerator-runtime": "0.10.5"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"regenerator-runtime": {
|
|
||||||
"version": "0.10.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
|
|
||||||
"integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-runtime": {
|
"babel-runtime": {
|
||||||
"version": "6.26.0",
|
"version": "6.26.0",
|
||||||
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||||
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
|
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"core-js": "2.5.3",
|
"core-js": "2.5.3",
|
||||||
"regenerator-runtime": "0.11.1"
|
"regenerator-runtime": "0.11.1"
|
||||||
|
@ -1445,7 +1429,8 @@
|
||||||
"core-js": {
|
"core-js": {
|
||||||
"version": "2.5.3",
|
"version": "2.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz",
|
||||||
"integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4="
|
"integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"core-util-is": {
|
"core-util-is": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
@ -1562,11 +1547,6 @@
|
||||||
"array-find-index": "1.0.2"
|
"array-find-index": "1.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"custom-event-polyfill": {
|
|
||||||
"version": "0.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/custom-event-polyfill/-/custom-event-polyfill-0.3.0.tgz",
|
|
||||||
"integrity": "sha1-mYB4Ob5i7bRGtkWDLg2A6tb6GIg="
|
|
||||||
},
|
|
||||||
"d": {
|
"d": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
|
||||||
|
@ -4281,11 +4261,6 @@
|
||||||
"strip-bom": "2.0.0"
|
"strip-bom": "2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"loadjs": {
|
|
||||||
"version": "3.5.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/loadjs/-/loadjs-3.5.4.tgz",
|
|
||||||
"integrity": "sha512-vJO1whnJ/9Cg+Z8tOLVGuIaLiGpCxEd/+R1OgzWJxoJHAfXOfHqJWnsGbst9Q8dQAGVvt4/X8zhCO0EtlnXcRg=="
|
|
||||||
},
|
|
||||||
"lodash": {
|
"lodash": {
|
||||||
"version": "4.17.5",
|
"version": "4.17.5",
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz",
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz",
|
||||||
|
@ -5667,18 +5642,6 @@
|
||||||
"integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=",
|
"integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"plyr": {
|
|
||||||
"version": "3.3.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/plyr/-/plyr-3.3.8.tgz",
|
|
||||||
"integrity": "sha512-IaenPLlT3KSxRB1+2XXdBAH25FgbOJQaECd+F8camA3IUSyogNHaqz463bY4P6/efHlwf4sI/Xp5CF5aGkrfOA==",
|
|
||||||
"requires": {
|
|
||||||
"babel-polyfill": "6.26.0",
|
|
||||||
"custom-event-polyfill": "0.3.0",
|
|
||||||
"loadjs": "3.5.4",
|
|
||||||
"raven-js": "3.25.2",
|
|
||||||
"url-polyfill": "1.0.13"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pngquant-bin": {
|
"pngquant-bin": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/pngquant-bin/-/pngquant-bin-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/pngquant-bin/-/pngquant-bin-4.0.0.tgz",
|
||||||
|
@ -6119,11 +6082,6 @@
|
||||||
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
|
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"raven-js": {
|
|
||||||
"version": "3.25.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/raven-js/-/raven-js-3.25.2.tgz",
|
|
||||||
"integrity": "sha512-En+UitE5SW8flqfqreZl2WIPslubX8/EWUJcg0V1XShxXkFM3rS6ddWc9kXkjS1mNOleEfamDGWQ4YWWtefUVg=="
|
|
||||||
},
|
|
||||||
"raw-body": {
|
"raw-body": {
|
||||||
"version": "2.3.2",
|
"version": "2.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",
|
||||||
|
@ -6256,7 +6214,8 @@
|
||||||
"regenerator-runtime": {
|
"regenerator-runtime": {
|
||||||
"version": "0.11.1",
|
"version": "0.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
||||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
|
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"regex-cache": {
|
"regex-cache": {
|
||||||
"version": "0.4.4",
|
"version": "0.4.4",
|
||||||
|
@ -7752,11 +7711,6 @@
|
||||||
"prepend-http": "1.0.4"
|
"prepend-http": "1.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"url-polyfill": {
|
|
||||||
"version": "1.0.13",
|
|
||||||
"resolved": "https://registry.npmjs.org/url-polyfill/-/url-polyfill-1.0.13.tgz",
|
|
||||||
"integrity": "sha512-tNb+OrSQWDkKNapyp84/tvzQUBpTj1HvE07ySZCvsu/P736+HJbqTVY3NqWd+GPGt5OknqNaWqT0s1VsAmTqJA=="
|
|
||||||
},
|
|
||||||
"url-regex": {
|
"url-regex": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz",
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
"lg-thumbnail": "1.1.0",
|
"lg-thumbnail": "1.1.0",
|
||||||
"lightgallery": "1.6.11",
|
"lightgallery": "1.6.11",
|
||||||
"mermaid": "7.1.2",
|
"mermaid": "7.1.2",
|
||||||
"plyr": "3.3.8",
|
|
||||||
"popper.js": "1.14.3",
|
"popper.js": "1.14.3",
|
||||||
"speedpack": "0.2.0"
|
"speedpack": "0.2.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,6 @@ require('bootstrap');
|
||||||
require('lightgallery/dist/js/lightgallery');
|
require('lightgallery/dist/js/lightgallery');
|
||||||
require('lg-thumbnail/dist/lg-thumbnail');
|
require('lg-thumbnail/dist/lg-thumbnail');
|
||||||
|
|
||||||
require('plyr').setup();
|
|
||||||
var Clipboard = require('clipboard');
|
var Clipboard = require('clipboard');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
@import "node_modules/lightgallery/src/sass/lightgallery";
|
@import "node_modules/lightgallery/src/sass/lightgallery";
|
||||||
@import "node_modules/bootstrap/scss/bootstrap";
|
@import "node_modules/bootstrap/scss/bootstrap";
|
||||||
@import "node_modules/plyr/src/sass/plyr";
|
|
||||||
|
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
|
|
Loading…
Reference in a new issue