Add 'search on youtube' links on results
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Radio Balises</title>
|
<title>Radio Balises</title>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#results {
|
#results {
|
||||||
border-colapse: collapse;
|
border-colapse: collapse;
|
||||||
@@ -13,6 +15,13 @@
|
|||||||
#results tr:hover {
|
#results tr:hover {
|
||||||
background-color: #eaeaea;
|
background-color: #eaeaea;
|
||||||
}
|
}
|
||||||
|
#results a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
#results .fa-youtube {
|
||||||
|
color:red;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -33,6 +42,7 @@
|
|||||||
<th>{{str(x.date.time())}}</th>
|
<th>{{str(x.date.time())}}</th>
|
||||||
<td>{{x.song.artist}}</td>
|
<td>{{x.song.artist}}</td>
|
||||||
<td>{{x.song.title}}</td>
|
<td>{{x.song.title}}</td>
|
||||||
|
<td><a href="https://www.youtube.com/results?search_query={{x.song.artist + ' ' + x.song.title}}" title="Rechercher sur Youtube"><i class="fab fa-lg fa-youtube"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
% end
|
% end
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user