{% extends "index.html" %} {% block title %} Local distributives {% endblock %} {% block content %} {% from "_formhelpers.html" import render_ajax_submit, render_submit %}
Local storage
{% if dists %} {% for dist in dists|sort %} {% endfor %}
{{ dist }} Download Delete
{% endif %}
{% for source in dist_sources %}
Remote storage "{{ source.name or source.id }}"
{% if source.list_url %} {# For repositories with ability to list items display selector #}
{{ render_submit('Download to local storage') }}

{% else %} {# Display text input for repositories w/o list ability #}
This repository doesn't support listing. You can input actual version name here
{{ render_submit('Download to local storage') }}
{% endif %} {% if source.upload_url %}
{{ render_submit('Upload from local storage') }}
{% endif %}
{% endfor %}
{% endblock %}