{% extends "base.html" %} {% block title %}Documents - RAGVersion{% endblock %} {% block content %}

Documents

Total: {{ total_documents }}
{% if search or file_type %} Clear {% endif %}
{% if documents %}
{% for doc in documents %} {% endfor %}
File Name Type Versions Size Last Updated Actions
{{ doc.file_name }}
{{ doc.file_path }}
{{ doc.file_type }} {{ doc.version_count }} {% set kb = doc.file_size / 1024 %} {% if kb < 1024 %} {{ "%.1f"|format(kb) }} KB {% else %} {{ "%.1f"|format(kb / 1024) }} MB {% endif %} {{ doc.updated_at.strftime('%Y-%m-%d %H:%M') if doc.updated_at else 'N/A' }} View Details
{% if total_pages > 1 %}
{% if page > 1 %} Previous {% endif %} Page {{ page }} of {{ total_pages }} {% if page < total_pages %} Next {% endif %}
{% endif %} {% else %}

No documents found

{% if search or file_type %} Try adjusting your filters or view all documents. {% else %} Start tracking documents using the CLI: ragversion track ./documents {% endif %}

{% endif %}
{% endblock %}