~hristoast/mousikofidi

mousikofidi/mousikofidi/templates/settings.html -rw-r--r-- 1.3 KiB
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
34
35
36
37
38
39
40
41
42
43
{% extends 'base.html' %}
{% block content %}

  <h4 class="center">Settings</h4>

  <form class="center" id="settings" action="{{ url_for('.settings_edit') }}" method="post">
    <table style="margin: 0 auto;">
      <thead>
        <tr></tr>
      </thead>
      <tbody>

        <tr>
          <td>
            <label>{% if icons %}<i class="fas fa-palette"></i> {% endif %}Theme selection</label>
          </td>
          <td>
            <select id="themes" class="center" name="theme">
              {% for t in themes %}
                <option value="{{ t.name }}"{% if t.name in theme %} selected{% endif %}>{{ t.proper }}</option>
              {% endfor %}
            </select>
          </td>
        </tr>

        <tr>
          <td>
            <label>{% if icons %}<i class="fas fa-icons"></i> {% endif %}Enable or disable icons
            </label>
          </td>
          <td>
            <select class="center" name="icons">
              <option value="disabled"{% if not icons %} selected{% endif %}>Disabled</option>
              <option value="enabled"{% if icons %} selected{% endif %}>Enabled</option>
            </select>
          </td>
        </tr>

      </tbody>
    </table>
    <input style="margin:0 auto; margin-top:10px;" class="center" type="submit" value="Submit">
  </form>
{% endblock %}