{% extends "base.html" %} {% block title %}TAPDB Admin - Dashboard{% endblock %} {% block content %}

Dashboard

{{ template_count }}
Templates
View All
{{ instance_count }}
Instances
View All
{{ lineage_count }}
Lineages
View All

Quick Actions

🔗 View Object Graph 🧠 Complex Query 📋 Browse Templates 📦 Browse Instances

Search by EUID

Simple Query

{% if query_params.q %} {% if object_results %} {% for row in object_results %} {% endfor %}
Kind EUID Name Category Type/Subtype Created
{{ row.kind }} {{ row.euid }} {{ row.name or '-' }} {{ row.category or '-' }} {{ row.type or '-' }}/{{ row.subtype or '-' }} {{ row.created_dt.strftime('%Y-%m-%d %H:%M:%S') if row.created_dt else '-' }}
{% else %}

No objects matched your query.

{% endif %} {% else %}

Enter a query to search templates, instances, and lineages.

{% endif %}

Object Audit Trail

{% if query_params.object_euid %} {% if object_audit_rows %} {% for row in object_audit_rows %} {% set old_text = row.old_value or '-' %} {% set new_text = row.new_value or '-' %} {% endfor %}
Changed At Operation Table Column Changed By Old New
{{ row.changed_at.strftime('%Y-%m-%d %H:%M:%S') if row.changed_at else '-' }} {{ row.operation_type or '-' }} {{ row.rel_table_name or '-' }} {{ row.column_name or '-' }} {{ row.changed_by or '-' }} {{ (old_text[:120] ~ '...') if old_text|length > 120 else old_text }} {{ (new_text[:120] ~ '...') if new_text|length > 120 else new_text }}
{% else %}

No audit rows found for this object.

{% endif %} {% else %}

Enter an object EUID to load its audit trail.

{% endif %}

User Audit Trail

{% if audit_warning %}
{{ audit_warning }}
{% endif %}
{% if user_audit_rows %} {% for row in user_audit_rows %} {% set old_text = row.old_value or '-' %} {% set new_text = row.new_value or '-' %} {% endfor %}
Changed At Operation Object Table Column Changed By Old New
{{ row.changed_at.strftime('%Y-%m-%d %H:%M:%S') if row.changed_at else '-' }} {{ row.operation_type or '-' }} {{ row.rel_table_euid_fk or '-' }} {{ row.rel_table_name or '-' }} {{ row.column_name or '-' }} {{ row.changed_by or '-' }} {{ (old_text[:120] ~ '...') if old_text|length > 120 else old_text }} {{ (new_text[:120] ~ '...') if new_text|length > 120 else new_text }}
{% else %}

No user audit rows found for {{ audit_user_effective }}.

{% endif %}

About TAPDB

TAPDB (Templated Abstract Polymorphic Database) is a flexible object model for building database applications. It provides:

{% endblock %}