{% extends 'base.html' %}
{% load calctags %}

{% block top %}
{% endblock %}

{% block body %}

  <table class='table'>
    <thead>
      <tr>
        <th scope='col'>#</th>
        <th scope='col'>Dominio</th>
        <th scope='col'>Sc.Contratto</th>
        <th scope='col'>Sc.Registrar</th>
	<th scope='col'>Gg. al Contr.</th>
	<th scope='col'>Gg. al Regs.</th>
        <th scope='col'>Uuid</th>
      </tr>
    </thead>
    <tbody>
      {% csrf_token %}
      {% for d in domini %}
        <tr>
          <th scope='row'>{{ d.dominio.id }}</th>
          <td> {{ d.domain }} </td>
          <td>{{ d.date_expire_contract }}</td>
          <td>{{ d.date_expire_registrar }}</td>
	  <td>{{ d.date_expire_contract|GGscadenza }}</td>
	  <td>{{ d.date_expire_registrar|GGscadenza }}</td>
          <td>{{ d.renew_code }} </td>
        </tr>
      {% endfor %}
      </form>
    </tbody>
{% endblock %}


