{% extends "base.html" %}

{% block styles %}
{{ super() }}
</style>
{% endblock %}

{% block page_content %}
  <div class="row">
  {% include "admin/admin_tasks.html" %}

  <div class="col-md-12">
  <div class="panel panel-info" id="services">
  <div class="panel-heading">Items</div>
  <div class="panel-body"><p>
  <div class="no-more-tables">
  <table class="table table-hover table-striped table-condensed cf">
   <thead>
    <tr>
     <th>Owner</th>
     <th>Key</th>
     <th>Description</th>
     <th>Data Created</th>
    </tr>
    </thead>
    <tbody>
    {% for item in items %}
     {% endif %}
     {% endif %}
     <td data-title="Owner"><a href="{{ url_for('panel.dashboard', user_id=item.user_id) }}">{{ item.owner.email }}</a></td>
     <td data-title="Key">{{ item.key }}</td>
     <td data-title="Description" >{{ item.description }}</td>
     <td data-title="Date Created">{{ moment(item.date_created).format('lll') }}</td>
    </tr>
    {% endfor %}
    </tbody>
   </table>
  </div>
  </div>
  </div>


  <div class="row">
  </div>
</div>

{% endblock %}

