Small fixes

* data format
* replace js link to a tag
* css fixes
* changed link structure to /{number}/{name}/
This commit is contained in:
Carlos Galindo 2020-12-07 18:18:47 +01:00
parent 9f4e8b89fc
commit ae5e6b6cf0
5 changed files with 34 additions and 11 deletions

View file

@ -15,6 +15,11 @@
border-radius: 4px;
}
.songs li a {
color: inherit;
text-decoration: inherit;
}
.songs li:hover {
color: #607D8B;
background-color: #DDD;
@ -54,4 +59,4 @@
min-height: 1.8em;
margin-right: .8em;
border-radius: 4px 0 0 4px;
}
}

View file

@ -1,4 +1,6 @@
<li onclick="window.location = '%s'"%s>
<span class="numberBadge">%d. </span>
%s%s%s
<li%s>
<a href="%s">
<span class="numberBadge">%d. </span>
%s%s%s
</a>
</li>

9
res/song_redir.html Normal file
View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url = {0}">
</head>
<body>
<a href="{0}">Redirigiendo a la canción, haz click aquí si no sucede de forma automática.</a>
</body>
</html>