{% extends "base.html" %} {% block title %}Pottery — {{ "New" if mode=="create" else pottery.id_rep }}{% endblock %} {% macro fld(name, label, type="text", required=False) %}
{% endmacro %} {% macro txa(name, label) %}
{% endmacro %} {% block content %}

Pottery {% if mode=="create" %}— Nuovo{% else %}#{{ pottery.id_rep }}{% endif %}

{% if mode != "create" and pottery and pottery.id_rep %} Export PDF {% endif %}
{{ fld("sito", "Sito", required=True) }}
{{ fld("area", "Area") }}
{{ fld("us", "US", type="number") }}
{{ fld("sector", "Sector") }}
{{ fld("anno", "Year", type="number") }}
{{ fld("box", "Box", type="number") }}
{{ fld("bag", "Bag", type="number") }}
{{ fld("id_number", "ID number", type="number") }}
{{ fld("material", "Material") }}
{{ fld("form", "Form") }}
{{ fld("specific_form", "Specific form") }}
{{ fld("specific_shape", "Specific shape") }}
{{ fld("photo", "Photo (path)") }}
{{ fld("drawing", "Drawing (path)") }}
{{ txa("note", "Note") }}
{{ fld("fabric", "Fabric") }}
{{ fld("ware", "Ware") }}
{{ fld("munsell", "Munsell") }}
{{ fld("percent", "Percent preserved") }}
{{ fld("surf_trat", "Surface treatment") }}
{{ fld("exdeco", "Exterior deco") }}
{{ fld("intdeco", "Interior deco") }}
{{ txa("descrip_ex_deco", "Ext deco description") }}
{{ txa("descrip_in_deco", "Int deco description") }}
{{ fld("qty", "Qty", type="number") }}
{{ fld("diametro_max", "Diam max", type="number") }}
{{ fld("diametro_rim", "Diam rim", type="number") }}
{{ fld("diametro_bottom", "Diam bottom", type="number") }}
{{ fld("diametro_height", "Diam height", type="number") }}
{{ fld("diametro_preserved", "Diam preserved", type="number") }}

Bibliography integration coming in a future release.

Statistics are computed from saved records — visible on the detail view.

{% if pottery and pottery.id_rep %}
File Multimediali
Carica Media

Drag & drop files here or click to browse

Supports: images, documents, videos, audio, 3D models

{% if media_list %}
{% for media in media_list %}
{% if media.media_type == 'image' and media.media_path %} {{ media.media_name }} {% elif media.media_type == 'document' %} {% elif media.media_type == 'video' %} {% elif media.media_type == 'audio' %} {% elif media.media_type == '3d_model' %} {% else %} {% endif %}

{{ media.media_name }}

{% if media.description %}

{{ media.description[:50] }}{% if media.description|length > 50 %}...{% endif %}

{% endif %}
{% endfor %}
{% else %}
No media files have been uploaded for this pottery yet. Upload your first file
{% endif %}
{% endif %}
Cancel
{% if pottery and pottery.id_rep %} {% endif %} {% endblock %}