blob: fe7b37c7bf0205f24d0f03dac8dd897b5fe2cf2d [file] [log] [blame]
{% extends "modules/gci/base.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/forms.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/uniform.default.css" />
{% endblock stylesheets %}
{% block page_content %}
<form action="" method="post" id="form" class="form-bulk">
<h2 id="form-bulk-title">{{ page_name}}</h2>
<div>
For bulk uploading tasks please use your favorite spreadsheet editor that can export data in CSV format.
Structure your columns in the following order.
<ol>
<li>Title of the task.</li>
<li>Description, for markup use HTML.</li>
<li>Time to complete in hours, as integer.</li>
<li>Usernames of mentors for this task, comma separated.</li>
<li>Task types, one or more of the allowed types <i>({{ types }})</i>, comma separated.</li>
<li>Task tags, any custom tags you want to add, comma separated.</li>
</ol>
The field separator is the comma character. <br/>
If your field contains commas, use double quotes (&quot;field with a , comma&quot;) to quote the field content. <br/>
If your field contains double quotes, escape as two double quotes (&quot;field with &quot;&quot; double quotes&quot;). <br/>
</div>
{{ form.render }}
<div id="form-register-fieldset-button-row" class="row button-row">
<input id="form-bulk-submit" type="submit" value="Submit" class="submit" />
</div>
</form>
{% endblock page_content %}