source: templates/rank_list_artists.html

Last change on this file was aee9548, checked in by ManuelTrajcev <manueltrajcev7@…>, 13 days ago

more search fields

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[bfca48b]1<!DOCTYPE html>
2<html>
3<head>
[4abe330]4 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet"
5 integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous">
6 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js"
7 integrity="sha384-k6d4wzSIapyDyv1kpU366/PK5hCdSbCRGRCMv+eplOQJWyd1fbcAu9OCUj5zNLiq"
8 crossorigin="anonymous"></script>
9 <title>Artist with Highest Earnings</title>
[bfca48b]10</head>
[4abe330]11<body class="d-flex bg-light">
12{% include 'sidebar.html' %}
13<div class="container mt-5">
14 <h1 class="text-center mb-4">Artist with Highest Earnings</h1>
[bfca48b]15
[aee9548]16 <form method="get" class="mb-3">
17 {% csrf_token %}
18 <input type="hidden" name="invoice_id" value="{{ selected_invoice_id }}">
19 <div class="input-group">
20 <input type="text" name="search_track" class="form-control" placeholder="Search artists"
21 value="{{ search_track }}">
22 <button class="btn btn-outline-secondary" type="submit">Search</button>
23 </div>
24 </form>
25
[4abe330]26 <div class="list-group">
27 <div class="row">
28 <div class="col-4 font-weight-bold"><strong>Name</strong></div>
29 <div class="col-4 font-weight-bold"><strong>Total Invoices</strong></div>
30 <div class="col-4 font-weight-bold"><strong>Total Money Earned</strong></div>
31 </div>
32
33 {% for row in data %}
34
35 <a href="#" class="list-group-item list-group-item-action">
36 <div class="row">
37 <div class="col-4 font-weight-bold">{{ row.name }}</div>
38 <div class="col-4 font-weight-bold">{{ row.num_invoices }}</div>
39 <div class="col-4 font-weight-bold">${{ row.money_earned }}</div>
40 </div>
41 </a>
42
43 {% empty %}
44 <div class="alert alert-warning" role="alert">
45 No data found.
46 </div>
47 {% endfor %}
48 </div>
49</div>
[bfca48b]50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.