diff options
author | Jesús <heckyel@hyperbola.info> | 2018-11-13 21:38:05 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-11-13 21:38:05 -0500 |
commit | b6679eb105cb46a48cfa23d7011a6bfd3f1270ba (patch) | |
tree | 0117f98d97acc7495d357fc25cfe87a2aaf00571 | |
parent | 0232bbf9060a99aaeea241a57b668dc700f55630 (diff) | |
download | ytlibre-b6679eb105cb46a48cfa23d7011a6bfd3f1270ba.tar.lz ytlibre-b6679eb105cb46a48cfa23d7011a6bfd3f1270ba.tar.xz ytlibre-b6679eb105cb46a48cfa23d7011a6bfd3f1270ba.zip |
Added license of ECMAScript
-rw-r--r-- | templates/css/salida.min.css | 2 | ||||
-rw-r--r-- | templates/js/render.js | 3 | ||||
-rw-r--r-- | templates/librejs.html | 20 | ||||
-rw-r--r-- | templates/sass/salida.sass | 1 | ||||
-rw-r--r-- | templates/video.tpl | 31 |
5 files changed, 54 insertions, 3 deletions
diff --git a/templates/css/salida.min.css b/templates/css/salida.min.css index e973082..ef64064 100644 --- a/templates/css/salida.min.css +++ b/templates/css/salida.min.css @@ -1 +1 @@ -body{background:#2d3743;color:#fff}a.enlace{color:#1aafff;text-decoration:none}a.enlace:hover{color:#2dde98}.contenedor{margin:auto;width:100%;max-width:800px;display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}.contenedor .libreyt{padding-bottom:20px}.contenedor .libreyt .row{display:flex;width:80%;max-width:400px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center}.contenedor .libreyt .row .imageyt{flex:1 0 30%;max-width:40%;padding:0px 15px}.contenedor .libreyt .row .imageyt img{width:100%;vertical-align:middle}.contenedor .libreyt .row .features{flex:0;min-height:1px;max-height:100%;position:relative;padding:0px 15px}.contenedor .libreyt .row .features .yt-titulo{font-weight:700;font-size:1rem;line-height:24px}.contenedor .row{line-height:2.5}.contenedor .row .col{text-align:center;padding:0px 15px}.contenedor .row .col .boton-descarga{padding:2px 5px;font-size:12px;border-radius:3px;color:#fff;background-color:#5cb85c;border-color:#5cb85c;text-decoration:none}.librevideojs{width:90%;max-width:700px}header{display:flex;width:90%;padding:20px 0px;justify-content:center}header a.drm-free{align-items:center;height:auto;opacity:.5;transition:opacity 150ms}header a.drm-free:before{content:url("../images/drm-free.png");vertical-align:top;display:block;position:absolute;top:12px;left:12px;max-width:120px;width:100%}header a.drm-free:hover{opacity:1}h2,h3,h4,h5,h6{margin-top:0;margin-bottom:0;line-height:1.1}hr{width:100%}section{width:100%}h2{text-align:center}footer p.copyleft{font-size:12px}@media screen and (max-width: 768px){header a.drm-free:before{display:none}} +body{background:#2d3743;color:#fff}a.enlace{color:#1aafff;text-decoration:none}a.enlace:hover{color:#2dde98}.contenedor{margin:auto;width:100%;max-width:800px;display:flex;flex-direction:column;flex-wrap:wrap;align-items:center}.contenedor .libreyt{padding-bottom:20px}.contenedor .libreyt .row{display:flex;width:80%;max-width:400px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center}.contenedor .libreyt .row .imageyt{flex:1 0 30%;max-width:40%;padding:0px 15px}.contenedor .libreyt .row .imageyt img{width:100%;vertical-align:middle}.contenedor .libreyt .row .features{flex:0;min-height:1px;max-height:100%;position:relative;padding:0px 15px}.contenedor .libreyt .row .features .yt-titulo{font-weight:700;font-size:1rem;line-height:24px}.contenedor .row{line-height:2.5}.contenedor .row .col{text-align:center;padding:0px 15px}.contenedor .row .col .boton-descarga{padding:2px 5px;font-size:12px;border-radius:3px;color:#fff;background-color:#5cb85c;border-color:#5cb85c;text-decoration:none}.librevideojs{width:90%;max-width:700px}header{display:flex;width:90%;padding:20px 0px;justify-content:center}header a.drm-free{align-items:center;height:auto;opacity:.5;transition:opacity 150ms}header a.drm-free:before{content:url("../images/drm-free.png");vertical-align:top;display:block;position:absolute;top:12px;left:12px;max-width:120px;width:100%}header a.drm-free:hover{opacity:1}h2,h3,h4,h5,h6{margin-top:0;margin-bottom:0;line-height:1.1}hr{width:100%}section{width:100%}h2{text-align:center}footer p.copyleft{font-size:12px;text-align:center}@media screen and (max-width: 768px){header a.drm-free:before{display:none}} diff --git a/templates/js/render.js b/templates/js/render.js new file mode 100644 index 0000000..d992d09 --- /dev/null +++ b/templates/js/render.js @@ -0,0 +1,3 @@ +document.addEventListener('DOMContentLoaded', () => { + const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); +}); diff --git a/templates/librejs.html b/templates/librejs.html new file mode 100644 index 0000000..91a8e78 --- /dev/null +++ b/templates/librejs.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <meta charset="UTF-8"> + <title>JavaScript license information</title> + <link rel="icon" href="../images/favicon.png" sizes="192x192"> + </head> + <body> + <table id="jslicense-labels1"> + <tbody> + <tr> + <td><a href="./libs/plyr/plyr.js">plyr.js</a></td> + <td><a href="https://www.freebsd.org/copyright/freebsd-license.html">Expat</a></td> + <td><a href="https://gitlab.com/heckyel-ng/plyr/-/archive/v3.4.4/plyr-v3.4.4.tar.gz">plyr.tar.gz</a></td> + </tr> + </tbody> + </table> + </body> +</html> diff --git a/templates/sass/salida.sass b/templates/sass/salida.sass index 40c62e5..c561ef1 100644 --- a/templates/sass/salida.sass +++ b/templates/sass/salida.sass @@ -122,6 +122,7 @@ h2 footer p.copyleft font-size: 12px + text-align: center @media screen and (max-width: 768px) header diff --git a/templates/video.tpl b/templates/video.tpl index 208c66a..38e9149 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -8,6 +8,32 @@ <link href="{$styles.normalize}" rel="stylesheet"/> <link href="{$styles.salida}" rel="stylesheet"/> <!--Plyr--> + <script> + /* + @licstart The following is the entire license notice for the + JavaScript code in this page. + + Copyright (C) 2018 Jesús E. | <heckyel@hyperbola.info> + + The JavaScript code in this page is free software: you can + redistribute it and/or modify it under the terms of the GNU + General Public License (GNU GPL) as published by the Free Software + Foundation, either version 3 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. + + As additional permission under GNU GPL version 3 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU GPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + + + @licend The above is the entire license notice + for the JavaScript code in this page. + */ + </script> <link href="{$styles.plyr}" rel="stylesheet"/> <style> code, kbd, samp { @@ -67,11 +93,9 @@ </div> <!--Plyr--> <script> - // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later document.addEventListener('DOMContentLoaded', () => { const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); }); - // @license-end </script> <!--EndPlyr--> </div> @@ -84,6 +108,9 @@ <abbr title="GNU Affero General Public License version 3">GNU AGPLv3+</abbr> </a> </p> + <p class="copyleft"> + <a class="enlace" href="templates/librejs.html" data-jslicense="1" rel="license noopener noreferrer" target="_blank">Información de licencias de JavaScript.</a> + </p> </footer> </div> <script src="{$javascript.plyr}"></script> |