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