Shdir
Current Directory: ~ {% set current_full_path = namespace(value="") %} {% for dir in subpath.split('/') %} {% if dir %} {% if current_full_path.value == "" %} {% set current_full_path.value = dir %} {% else %} {% set current_full_path.value = current_full_path.value + '/' + dir %} {% endif %} {{ dir }} {% endif %} {% endfor %}
{% if upload %}Upload the file to the CWD
-
{% if not is_root %}
{% if show_home %}
-
{% include "icons/arrow_up.svg" %} Go Home
{% endif %}
-
{% include "icons/arrow_up.svg" %} ../
{% endif %}
{% for dir in dirs %}
- {% include "icons/folder.svg" %} /{{ dir.name }} {% include "icons/zip.svg" %} {% endfor %} {% for file in files %}
-
{% include "icons/file.svg" %} {{ file.name }} {% if file.ext in ['.mp4', '.mov', '.avi', '.webm', '.mkv', '.flv', '.wmv', '.3gp'] %} {% include "icons/play.svg" %} {% endif %}
{% endfor %}