{% extends "base.html" %}
{% block title %}Print - {{ client.name }}{% endblock %}
{% block content %}
{{ client.name }}
Details
Phone: {{ client.phone or "N/A" }} | Address: {{ client.address or "N/A" }}
Remote
{% for category, remotes in remotes_by_category.items() %}
{% if remotes|length > 0 %}
{{ category }}
{% if category == 'RDP' %}
| Name |
IP Address |
Port |
{% elif category == 'SSL-VPN' %}
| IP Address |
Port |
{% elif category == 'VPN' %}
| IP Address |
PSK |
{% elif category == 'MGMT' %}
| Name |
Address |
{% else %}
| Details |
{% endif %}
{% for remote in remotes %}
{% if category == 'RDP' %}
| {{ remote.name }} |
{{ remote.ip_address }} |
{{ remote.port }} |
{% elif category == 'SSL-VPN' %}
{{ remote.ip_address }} |
{{ remote.port }} |
{% elif category == 'VPN' %}
{{ remote.ip_address }} |
{{ remote.psk }} |
{% elif category == 'MGMT' %}
{{ remote.name }} |
{{ remote.address }} |
{% else %}
{{ remote.details }} |
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
Passwords
{% for category, passwords in passwords_by_category.items() %}
{% if passwords|length > 0 %}
{{ category }}
| Item |
Username |
Password |
{% for p in passwords %}
| {{ p.item }} |
{{ p.username }} |
{{ p.password }} |
{% endfor %}
{% endif %}
{% endfor %}
Domains
{% if client.domains|length > 0 %}
| Domain |
WHOIS Expiration |
{% for d in client.domains %}
| {{ d.domain }} |
{{ d.expiration_date }} |
{% endfor %}
{% else %}
No domain associations.
{% endif %}
SSL
{% if client.ssl_domains|length > 0 %}
| Domain |
SSL Expiration |
{% for d in client.ssl_domains %}
| {{ d.domain }} |
{{ d.ssl_expiration_date }} |
{% endfor %}
{% else %}
No SSL associations.
{% endif %}
{% endblock %}