<div id="client-list">
  {% if not clients %}
  <p>No clients configured yet.</p>
  {% else %}
  <table>
    <thead>
      <tr>
        <th>Name</th>
        <th>Created</th>
      </tr>
    </thead>
    <tbody>
      {% for c in clients %}
      <tr>
        <td>{{ c.name }}</td>
        <td>{{ c.created_at.strftime('%Y-%m-%d') if c.created_at else '—' }}</td>
      </tr>
      {% endfor %}
    </tbody>
  </table>
  {% endif %}
</div>
