{# -*- coding: utf-8 -*- # # This file is part of RODARE. # Copyright (C) 2017 HZDR. # # RODARE is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # RODARE is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with RODARE; if not, write to the # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307, USA. #} {%- extends config.UPLOADBYURL_SETTINGS_TEMPLATE %} {% from "invenio_uploadbyurl/_macros.html" import render_field %} {% set panel_title = _("Remote servers") %} {% set panel_icon = "fa fa-server" %} {% block settings_body %}
{% block uploadbyurl_body_text %} {% endblock uploadbyurl_body_text %} {% block uploadbyurl_security_form %} {%- with form = connect_form %}

{{ _('Connect to %(remote_name)s server:', remote_name=remote.name)}}

{{ _('We do not store your password. It is required to connect to the remote machine once and transfer an SSH key.') }}

{{ form.csrf_token }} {{ render_field(form.username, icon="fa fa-user", autofocus=True) }} {{ render_field(form.password, icon="fa fa-unlock") }}
{% endwith %} {% endblock uploadbyurl_security_form %}
{% endblock settings_body %}