71 lines
3.0 KiB
HTML
71 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>Negro Mate</title>
|
|
<link rel="shortcut icon" href="{{ root_path }}/static/css/nm_icon.png">
|
|
<link href="{{ root_path }}/static/js/libjass/lib/libjass.css" rel="stylesheet">
|
|
<link href="{{ root_path }}/static/js/videojs/video-js.css" rel="stylesheet">
|
|
<link href="{{ root_path }}/static/js/videojs-playlist-ui/dist/videojs-playlist-ui.vertical.css" rel="stylesheet">
|
|
<link href="{{ root_path }}/static/js/videojs-ass/src/videojs.ass.css" rel="stylesheet">
|
|
<link href="{{ root_path }}/static/css/main.css" rel="stylesheet">
|
|
<style>
|
|
@font-face {
|
|
font-family: "CyrBit";
|
|
src: url("{{ root_path }}/static/css/CyrBit.ttf");
|
|
}
|
|
</style>
|
|
<script>
|
|
window.HELP_IMPROVE_VIDEOJS = false;
|
|
</script>
|
|
<script src="{{ root_path }}/static/js/videojs/video.min.js"></script>
|
|
<script src="{{ root_path }}/static/js/libjass/lib/libjass.js"></script>
|
|
<script src="{{ root_path }}/static/js/videojs-playlist/dist/videojs-playlist.js"></script>
|
|
<script src="{{ root_path }}/static/js/videojs-playlist-ui/dist/videojs-playlist-ui.js"></script>
|
|
<script src="{{ root_path }}/static/js/videojs-ass/src/videojs.ass.js"></script>
|
|
</head>
|
|
<body>
|
|
<header id="header">
|
|
<h1><a href="{{ root_path }}/home/">Negro Mate</a></h1>
|
|
</header>
|
|
<div id="content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% block page %}
|
|
<nav id="menu">
|
|
<ul>
|
|
{% for item in songs %}
|
|
<li><a href="{{ item.path|url }}/">{{ item.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
<p id="playlist"><a href="{{ root_path }}/playlist/">Playlist</a></p>
|
|
<p id="libreto"><a href="{{ root_path }}/static/libreto/libreto.pdf"><img src="{{ root_path }}/static/libreto/libreto.png" alt="libreto negro mate">Libreto</a></p>
|
|
<p id="onion"><a href="http://d2eekkvsyh7u2hf6jc3j5xexkxu3rfzizmj3wyrt33hp4bwkphumbbyd.onion/">onion</a></p>
|
|
<p id="todo"><a href="{{ root_path }}/todo/">TODO</a></p>
|
|
</nav>
|
|
{% endblock %}
|
|
<footer>
|
|
<p>
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
|
|
<img alt="Licencia Creative Commons" style="border-width:0" src="{{ root_path }}/static/css/cc-by-sa.png" />
|
|
</a>
|
|
Letras adaptadas con
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
|
|
Licencia Creative Commons Atribución-CompartirIgual 4.0 Internacional
|
|
</a> salvo que se indique lo contrario en la propia canción.
|
|
</footer>
|
|
<script>
|
|
var body = document.getElementsByTagName('body')[0];
|
|
body.addEventListener('keypress', function(event) {
|
|
switch(event.key) {
|
|
case "p":
|
|
window.location = '{{ root_path }}/playlist/';
|
|
break;
|
|
}
|
|
console.log(event.key);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|