asd
This commit is contained in:
commit
ac2893b991
4 changed files with 243 additions and 0 deletions
63
templates/queue_table.html
Normal file
63
templates/queue_table.html
Normal file
|
@ -0,0 +1,63 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
h2 {
|
||||
color: #000000;
|
||||
margin: 10px 0;
|
||||
}
|
||||
.now-playing {
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
margin: 0;
|
||||
font-size: 1em;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
th, td {
|
||||
padding: 12px;
|
||||
border: 1px solid #ddd;
|
||||
text-align: left;
|
||||
}
|
||||
th {
|
||||
background-color: #000000;
|
||||
color: white;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Track</th>
|
||||
<th>Artist</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for i in range(length) %}
|
||||
<tr>
|
||||
<td>{{ i+1 }}</td>
|
||||
<td>{{ queue[i].track }}</td>
|
||||
<td>{{ queue[i].artist }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table></center>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue