{% extends "base.html" %} {% load static %} {% block title %}{{ source.name }} - Source Details{% endblock %} {% block content %}

{{ source.name }}

Edit Generate Keys Delete
Source Information
{{ source.name }}
{{ source.get_source_type_display }}
{% if source.description %}
{{ source.description|linebreaks }}
{% endif %}
{% if source.contact_email %} {{ source.contact_email }} {% else %} Not specified {% endif %}
{% if source.contact_phone %} {{ source.contact_phone }} {% else %} Not specified {% endif %}
{% if source.is_active %} Active {% else %} Inactive {% endif %}
{% if source.requires_auth %} Yes {% else %} No {% endif %}
{% if source.webhook_url %}
{{ source.webhook_url }}
{% endif %} {% if source.api_timeout %}
{{ source.api_timeout }} seconds
{% endif %} {% if source.notes %}
{{ source.notes|linebreaks }}
{% endif %}
{{ source.created_at|date:"M d, Y H:i" }}
{{ source.updated_at|date:"M d, Y H:i" }}
API Credentials
Integration Statistics
{{ total_logs }}
{{ successful_logs }}
{{ failed_logs }}
{% if total_logs > 0 %}
{% widthratio successful_logs total_logs 100 %}%
{% endif %}
Recent Integration Logs
Last 10 logs
{% if integration_logs %}
{% for log in integration_logs %} {% endfor %}
Timestamp Method Status Response Time Details
{{ log.created_at|date:"M d, Y H:i:s" }} {{ log.method }} {% if log.status_code >= 200 and log.status_code < 300 %} {{ log.status_code }} {% elif log.status_code >= 400 %} {{ log.status_code }} {% else %} {{ log.status_code }} {% endif %} {% if log.response_time_ms %} {{ log.response_time_ms }}ms {% else %} - {% endif %} {% if log.request_data %} {% else %} No data {% endif %}
{% else %}

No integration logs found

{% endif %}
{% for log in integration_logs %} {% if log.request_data %} {% endif %} {% endfor %} {% endblock %} {% block extra_js %} {% endblock %}