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/index.html

55 lines
1.5 KiB
HTML
Raw Normal View History

<!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" type="image/png">
<style>
body {
background-color: #232323;
}
h1 {
font-family: "CyrBit";
text-align: center;
font-size: 50pt;
border: 5px solid black;
background: white;
margin: 1em auto 0;
min-width: 300px;
width: 30%;
}
a {
font-size: 200pt;
font-weight: bold;
background-color: white;
color: black;
display: block;
line-height: 210pt;
margin: 10pt auto 0;
width: 210pt;
height: 210pt;
text-align: center;
border-radius: 105pt;
text-decoration: none;
font-style: italic;
}
</style>
</head>
<body>
<h1>Negro mate</h1>
<a href="{{ root_path }}/home/">#</a>
</body>
<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>
</html>