{% extends 'kfet/base.html' %}

{% block title %}Paramètres{% endblock %}
{% block content-header-title %}Paramètres{% endblock %}

{% block content %}

<div class="row">
  <div class="col-sm-4 col-md-3 col-content-left">
    <div class="content-left">
      <div class="buttons">
        <a class="btn btn-primary btn-lg" href="{% url 'kfet.settings.update' %}">
          Modifier
        </a>
      </div>
    </div>
  </div>
  <div class="col-sm-8 col-md-9 col-content-right">
    {% include 'kfet/base_messages.html' %}
    <div class="content-right">
      <div class="content-right-block">
        <h2>Valeurs</h2>
        <div class="table-responsive">
          <table class="table table-condensed">
            <thead>
              <tr>
                <td>Nom</td>
                <td>Valeur</td>
              </tr>
            </thead>
            <tbody>
              {% for key, value in kfet_config.list %}
              <tr>
                <td>{{ key }}</td>
                <td>{{ value }}</td>
              </tr>
              {% endfor %}
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
</div>

{% endblock %}
