mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Music - RYG</title>
|
|
<script src="{{ url_for('static', filename='sorttable.js') }}"></script>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
|
|
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='royal.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>
|
|
Royal Music
|
|
</h1>
|
|
<div id="music">
|
|
<h2>
|
|
File più ascoltati
|
|
</h2>
|
|
<table class="table table-hover sortable">
|
|
<thead>
|
|
<tr>
|
|
<th>File</th>
|
|
<th>Ascoltato</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for record in music_data %}
|
|
<tr>
|
|
<td>{{ record.filename }}</td>
|
|
<td sorttable_customkey="{{ record[1] }}">{{ record[1] }} volt{{ 'a' if record[1] == 1 else 'e' }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|