{# 复盘四周期截图槽位(须加载 journal_upload_slots.js) #}
{% macro journal_upload_slots() -%}
<input type="hidden" name="journal_draft_id" id="journal-draft-id" value="">
<div class="journal-upload-slots" id="journal-upload-slots">
    {% for tf in ['5m', '15m', '1h', '4h'] %}
    <div class="journal-upload-row" data-tf="{{ tf }}">
        <span class="journal-upload-slot-label">{{ tf }}</span>
        <input
            type="file"
            accept="image/*"
            class="journal-upload-slot-input"
            data-tf="{{ tf }}"
        >
        <input type="hidden" name="uploaded_screenshot_{{ tf }}" class="journal-upload-hidden-file" data-tf="{{ tf }}" value="">
        <span class="journal-upload-status" data-tf="{{ tf }}" aria-live="polite"></span>
    </div>
    {% endfor %}
</div>
<p class="sub journal-upload-hint">可只传部分周期;选文件后即时上传,保存后详情页四宫格查看</p>
{%- endmacro %}
