{% extends "base.html" %} {% block title %}File Manager – Admin{% endblock %} {% block content %}
{{ workdir }}
| Name | DB | Actions | |||
|---|---|---|---|---|---|
| .. | |||||
| {% if entry.is_dir %} {{ entry.name }} {% else %} {{ entry.name }} {% endif %} | {% if entry.db_status == 'in_db' %} In DB {% elif entry.db_status == 'orphan' %} Orphan {% endif %} | {% if not entry.is_dir %} Download {% endif %} | |||
| This directory is empty. | |||||
| ID | Original Filename | local_filename | original_file_path | processed_file_path | Health |
|---|---|---|---|---|---|
| {{ rec.id }} | {% if rec.is_duplicate %} dup {% endif %} {{ rec.original_filename }} | {# Helper macro: render a path cell #} {% for path_info in [rec.local, rec.original, rec.processed] %}{% if path_info.path is none %} — {% elif path_info.exists %} {{ path_info.rel }} {% else %} {{ path_info.rel }} {% endif %} | {% endfor %}{% if rec.health == 'ok' %} OK {% else %} Missing {% endif %} |
| Path (relative to workdir) | Actions | |
|---|---|---|
| {{ f.rel_path }} | Download |
No orphan files found.
{% endif %}| ID | Original Filename | Missing paths |
|---|---|---|
| {{ rec.id }} | {{ rec.original_filename }} |
{% for path_info in [rec.local, rec.original, rec.processed] %}
{% if path_info.exists is sameas false %}
{{ path_info.rel }}
{% endif %}
{% endfor %}
|
No ghost records found.
{% endif %}