You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
653 B
16 lines
653 B
<!DOCTYPE html>
|
|
{% load static %}
|
|
{% load render_table export_url from django_tables2 %}
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>User History</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="{% static 'css/dark_bg.css' %}">
|
|
</head>
|
|
<body>
|
|
<h1>{{ user_id }}'s Listening History</h1>
|
|
<a class="btn btn-primary " href="{% export_url 'csv' %}" role="button">Export CSV</a>
|
|
{% render_table user_history_table %}
|
|
</body>
|
|
</html>
|