~hristoast/mousikofidi

mousikofidi/mousikofidi/templates/plist_table.html -rw-r--r-- 854 bytes
60039fd3Hristos N. Triantafillou Don't blow up when there's no cover art 27 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% if plists %}

  <table style="margin: 0 auto;">
    <thead>
      <tr>
        <th>Playlist Name</th>
        <th>Track Count</th>
        {# <th class="center">Load Into Queue</th> #}
      </tr>
    </thead>
    <tbody>
      {% for p in plists %}
        <tr>
          <td>
            <a class="bold mobile-big" href="{{ url_for('.playlist_detail', name=p.name) }}">
              {% if icons %}<i class="fas fa-list"></i> {% endif %}{{ p.name }}
            </a>
          </td>
          <td>
            {{ p.count }}
          </td>
          {# <td class="center"> #}
          {# <span data-name="{{ p.name }}" class="add-all-plus">&plus;</span> #}
          {# </td> #}
        </tr>
      {% endfor %}
    </tbody>
  </table>
{% elif not "Welcome" in page_name %}
  <p class="bold center mobile-big">
    Nothing here!
  </p>
{% endif %}