You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{% extends "layout/basic.html" %}
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="medium-9 columns">
|
|
<div class="section">
|
|
<div class="section__body">
|
|
<form method="post" enctype="multipart/form-data" action="{{ url('file_upload') }}">
|
|
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
|
<p>{{ _('Upload zipfile') }}:
|
|
<input type="hidden" name="title" value="QDUOJ_IMPORT">
|
|
<input type="hidden" name="redirect" value="{{ url('problem_import_qduoj') }}">
|
|
<input type="file" name="file">
|
|
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="medium-3 columns">
|
|
<div class="section side">
|
|
<div class="section__body typo">
|
|
<h2>{{ _('What is this?') }}</h2>
|
|
<p>{{ _('With this feature, you can import problems that you can view from a site to here. Their title, content, tags and categories will be imported.') }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|