{% extends "base.html" %} {% block title %}Rolodex · Delphi Database{% endblock %} {% from "partials/answer_table_macros.html" import results_summary, pagination, answer_table, bulk_actions_bar %} {% block content %}

Rolodex

{{ results_summary(start_index, end_index, total) }}
{% set headers = [ { 'title': 'Name', 'width': '220px' }, { 'title': 'Company' }, { 'title': 'Address' }, { 'title': 'City' }, { 'title': 'State', 'width': '80px' }, { 'title': 'ZIP', 'width': '110px' }, { 'title': 'Phones', 'width': '200px' }, { 'title': 'Actions', 'width': '140px', 'align': 'end' }, ] %}
{% if enable_bulk %} {% endif %} {% for h in headers %} {{ h.title }} {% endfor %} {% if clients and clients|length > 0 %} {% for c in clients %} {% if enable_bulk %} {% endif %} {% endfor %} {% else %} {% endif %}
{{ c.last_name or '' }}, {{ c.first_name or '' }} {{ c.company or '' }} {{ c.address or '' }} {{ c.city or '' }} {{ c.state or '' }} {{ c.zip_code or '' }} {% if c.phones and c.phones|length > 0 %} {% for p in c.phones[:3] %} {{ p.phone_number }} {% endfor %} {% else %} {% endif %} View
No clients found.
{% if enable_bulk %} {% endif %}
{{ pagination('/rolodex', page, total_pages, page_size, {'q': q, 'phone': phone}) }}
{% block extra_scripts %}{% endblock %} {% endblock %}