{% extends "base.html" %} {% block title %}{{ file_name }} - {{ dataset_name }} - Kirin{% endblock %} {% block breadcrumb %} > {{ catalog_id }} > {{ dataset_name }} > {{ file_name }} {% endblock %} {% block header_title %}{{ file_name }}{% endblock %} {% block header_description %} {{ "%.1f"|format(file_size / 1024) }} KB • {% if is_binary %} Binary file ({{ content_type or "unknown type" }}) {% else %} Text preview {% if truncated %} • First 1000 lines {% endif %} {% endif %} {% endblock %} {% block content %}
{% if file_metadata and file_metadata.source_file %}
{% endif %}
Back to Dataset

File Content

{% if is_image %}
{{ file_name }}
{% elif is_binary %}

Binary File

This file cannot be previewed as text. Download the file to view its contents.

File type: {{ content_type or "unknown" }}
Size: {{ "%.1f"|format(file_size / 1024) }} KB

{% else %}
{{ content }}
{% endif %}
{% if truncated %}
Preview limited: Showing first 1000 lines only. Download the full file to see all content.
{% endif %}
{% endblock %}