{% extends "common/base.html" %} {% from "components/header.html" import header %} {% block title %}Instances - DocuPulse{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {{ header( title="Instances", description="Manage your DocuPulse instances", icon="fa-server", buttons=[ { 'text': 'Launch New Instance', 'url': '#', 'icon': 'fa-rocket', 'class': 'btn-primary', 'onclick': 'showAddInstanceModal()' }, { 'text': 'Add Existing Instance', 'url': '#', 'icon': 'fa-link', 'class': 'btn-primary', 'onclick': 'showAddExistingInstanceModal()' } ] ) }}
| PORT | Company | Rooms | Conversations | Data | Payment Plan | Main URL | Status | Version | Connection Token | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ instance.name }} | {{ instance.company }} | {{ instance.rooms_count }} | {{ instance.conversations_count }} | {{ "%.1f"|format(instance.data_size) }} GB | {{ instance.payment_plan }} | {{ instance.main_url }} | {{ instance.status|title }} |
{% if instance.deployed_version and instance.deployed_version != 'unknown' %}
Version:
{% if instance.latest_version and instance.latest_version != 'unknown' %}
{{ instance.deployed_version }}
Latest:
{% if instance.deployed_version == instance.latest_version %}
Up-to-date
{% else %}
Outdated
{% endif %}
{% else %}
Unknown
{% endif %}
{% if instance.version_checked_at %}
{{ instance.latest_version }}
{{ instance.version_checked_at.strftime('%H:%M') }}
{% endif %}
|
{% if instance.connection_token %} Authenticated {% else %} Generate Token {% endif %} |
|