|
@ -26,15 +26,16 @@ |
|
|
</a> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="distribusi_files"> |
|
|
<div id="mainworkflow"> |
|
|
|
|
|
<div class="distribusi_files"> |
|
|
{% for id, describe_form in distribusi_file_forms.items() %} |
|
|
{% for id, describe_form in distribusi_file_forms.items() %} |
|
|
<div class="distribusi_file"> |
|
|
<div class="distribusi_file"> |
|
|
{% if describe_form.type == "image" %} |
|
|
{% if describe_form.type == "image" %} |
|
|
<img src="{{describe_form.file_path}}" alt="" /> |
|
|
<img src="{{describe_form.file_path}}" alt="" data-src="{{describe_form.file_path}}" loading="lazy"/> |
|
|
{% elif describe_form.type == "video" %} |
|
|
{% elif describe_form.type == "video" %} |
|
|
<video src="{{describe_form.file_path}}" preload="auto" alt="" controls></video> |
|
|
<video src="{{describe_form.file_path}}" preload="auto" alt="" controls loading="lazy"></video> |
|
|
{% elif describe_form.type == "audio" %} |
|
|
{% elif describe_form.type == "audio" %} |
|
|
<audio src="{{describe_form.file_path}}" preload="auto" alt="" controls></audio> |
|
|
<audio src="{{describe_form.file_path}}" preload="auto" alt="" controls loading="lazy"> </audio> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<a href="{{describe_form.file_path}}">file: {{describe_form.file_path}}</a> |
|
|
<a href="{{describe_form.file_path}}">file: {{describe_form.file_path}}</a> |
|
|
{% endif %} |
|
|
{% endif %} |
|
@ -68,6 +69,6 @@ |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
{% endfor%} |
|
|
{% endfor%} |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|