<commit_before>{% extends "base.html" %}

{% block title %}Sample upload through FTP {{ super() }}{% endblock %}
{% block body %}
    {{ super() }}
    <br />
    <div class="grid-x">
        <div class="column medium-12">
            <h1>Upload a new sample through FTP</h1>
            <p>Below you can find the login details so you can upload your sample.</p>
            <p><strong>These credentials are <em>for you alone</em>! This will guarantee your privacy. If you share them, your samples are no longer guaranteed to be viewable by you alone.</strong></p>
            <blockquote class="grid-x">
                <div class="column medium-3">Server:</div><div class="column medium-9">{{ host }}</div>
                <div class="column medium-3">Port:</div><div class="column medium-9">{{ port }}</div>
                <div class="column medium-3">Username:</div><div class="column medium-9">{{ username }}</div>
                <div class="column medium-3">Password:</div><div class="column medium-9">{{ password }}</div>
            </blockquote>
            <div class="notice warning">
                <i class="fa fa-warning fa-large"></i> As soon as the server detects that the file was completely uploaded, the sample will be processed, which moves it to another location. You can see a list of the successfully uploaded files at the <a href="{{ url_for(".index") }}">upload</a> page.
            </div>
        </div>
        <div class="column medium-12">
            <h2>Pre-configured configuration files</h2>
            <p>For some programs we offer a ready-made configuration, which you only need to import in order to be able to connect to the platform's FTP site.</p>
            <h3>FileZilla</h3>
            <div class="grid-x">
                <div class="column medium-8">
                    <ol>
                        <li>Download the <a target="_blank" href="{{ url_for(".ftp_filezilla") }}">FileZilla configuration file</a></li>
                        <li>Open FileZilla</li>
                        <li>Open the configuration file using File -> Import</li>
                        <li>Confirm you want to import site entries</li>
                        <li>You should now have an entry called "Sample Submission Platform", to which you can connect to</li>
                    </ol>
                </div><commit_msg>[FIX] fixed ui of FTP upload section (#172)<commit_after>{% extends "base.html" %}

{% block title %}Sample upload through FTP {{ super() }}{% endblock %}
{% block body %}
    {{ super() }}
    <br />
    <div class="grid-x">
        <div class="column medium-12">
            <h1>Upload a new sample through FTP</h1>
            <p>Below you can find the login details so you can upload your sample.</p>
            <p><strong>These credentials are <em>for you alone</em>! This will guarantee your privacy. If you share them, your samples are no longer guaranteed to be viewable by you alone.</strong></p>
            <blockquote class="row">
                <div class="column medium-3">Server:</div><div class="column medium-9">{{ host }}</div>
                <div class="column medium-3">Port:</div><div class="column medium-9">{{ port }}</div>
                <div class="column medium-3">Username:</div><div class="column medium-9">{{ username }}</div>
                <div class="column medium-3">Password:</div><div class="column medium-9">{{ password }}</div>
            </blockquote>
            <div class="notice warning">
                <i class="fa fa-warning fa-large"></i> As soon as the server detects that the file was completely uploaded, the sample will be processed, which moves it to another location. You can see a list of the successfully uploaded files at the <a href="{{ url_for(".index") }}">upload</a> page.
            </div>
        </div>
        <div class="column medium-12">
            <h2>Pre-configured configuration files</h2>
            <p>For some programs we offer a ready-made configuration, which you only need to import in order to be able to connect to the platform's FTP site.</p>
            <h3>FileZilla</h3>
            <div class="grid-x">
                <div class="column medium-8">
                    <ol>
                        <li>Download the <a target="_blank" href="{{ url_for(".ftp_filezilla") }}">FileZilla configuration file</a></li>
                        <li>Open FileZilla</li>
                        <li>Open the configuration file using File -> Import</li>
                        <li>Confirm you want to import site entries</li>
                        <li>You should now have an entry called "Sample Submission Platform", to which you can connect to</li>
                    </ol>
                </div>
{'fraction_non_alphanumeric': 0.1351636747624076, 'fraction_numerical': 0.008658922914466738, 'mean_word_length': 2.197839297771776, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '498899', 'n_tokens_mistral': 1281, 'n_tokens_neox': 1217, 'n_words': 462}