This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
negromate_origins/web/negromateweb/templates/base.html

71 lines
3.0 KiB
HTML
Raw Normal View History

2018-10-12 23:00:20 +02:00
<!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>
2018-10-12 23:00:20 +02:00
<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>
2018-10-12 23:00:20 +02:00
</head>
<body>
<header id="header">
<h1><a href="{{ root_path }}/home/">Negro Mate</a></h1>
2018-10-12 23:00:20 +02:00
</header>
<div id="content">
{% block content %}{% endblock %}
</div>
{% block page %}
2018-10-12 23:00:20 +02:00
<nav id="menu">
<ul>
{% for item in songs %}
<li><a href="{{ item.path|url }}/">{{ item.name }}</a></li>
2018-10-12 23:00:20 +02:00
{% 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>
2019-09-19 21:40:23 +02:00
<p id="onion"><a href="http://d2eekkvsyh7u2hf6jc3j5xexkxu3rfzizmj3wyrt33hp4bwkphumbbyd.onion/">onion</a></p>
<p id="todo"><a href="{{ root_path }}/todo/">TODO</a></p>
2018-10-12 23:00:20 +02:00
</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>&nbsp;
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>
2018-10-12 23:00:20 +02:00
</body>
</html>