110 lines
4.4 KiB
HTML
110 lines
4.4 KiB
HTML
{% extends "submit/submit_base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load ietf_filters %}
|
|
{% load django_bootstrap5 %}
|
|
|
|
{% block title %}Upload{% endblock %}
|
|
|
|
{% block submit_content %}
|
|
{% origin %}
|
|
|
|
{% if form.shutdown and user|has_role:"Secretariat" %}
|
|
<p class="alert alert-warning">
|
|
<b>Warning:</b> Currently in I-D submission blackout period.
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if form.cutoff_warning %}
|
|
<div class="alert alert-info">
|
|
{{ form.cutoff_warning|safe }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if not form.shutdown or user|has_role:"Secretariat" %}
|
|
<p class="alert alert-warning">
|
|
By submitting your I-D, you are granting some rights to the IETF Trust.
|
|
Before you submit your I-D, review the information in the
|
|
<a href="https://www.ietf.org/about/note-well/">Note Well</a> and
|
|
<a href="{% url 'ietf.doc.views_doc.document_html' name='rfc5378' %}">BCP 78</a>,
|
|
"Rights Contributors Provide to the IETF Trust".
|
|
</p>
|
|
|
|
<p>
|
|
Before you submit your I-D, it is recommended that you check it for nits
|
|
using the <a href="{{settings.IDNITS_BASE_URL}}">idnits</a> tool, and
|
|
fix them.
|
|
</p>
|
|
|
|
<div class="panel ">
|
|
<div class="card-body">
|
|
<form method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
|
|
<div class="form-group">
|
|
{% bootstrap_field form.xml label='<i class="bi bi-file-code" aria-hidden="true"></i> XML source of the I-D' %}
|
|
<p class="help-block">
|
|
Preferably, submit a standalone
|
|
<a href="{% url 'ietf.doc.views_doc.document_html' name='rfc7991' %}">xml2rfc version 3</a>
|
|
source file. You can use this online
|
|
<a href="https://author-tools.ietf.org/">conversion service</a>
|
|
to convert your I-D to this format.
|
|
(You may submit an older
|
|
<a href="{% url 'ietf.doc.views_doc.document_html' name='rfc7749' %}">xml2rfc version 2</a>
|
|
file if you must.)
|
|
</p>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="checkbox">
|
|
<label data-bs-toggle="collapse" data-bs-target="#other-formats" aria-expanded="false" aria-controls="other-formats">
|
|
<input id="checkbox" type="checkbox" /> Submit other formats
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="collapse" id="other-formats">
|
|
<div class="form-group">
|
|
{% bootstrap_field form.txt label='<i class="bi bi-file-text" aria-hidden="true"></i> Plaintext rendering of the I-D'%}
|
|
<p class="help-block">
|
|
Optional to submit, will be auto-generated based
|
|
on the submitted XML.
|
|
However, if you cannot for some reason submit XML, you must
|
|
submit a plaintext rendering of your I-D.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{% bootstrap_field form.pdf label='<i class="bi bi-file-pdf" aria-hidden="true"></i> PDF rendering of the I-D'%}
|
|
<p class="help-block">
|
|
Optional to submit, will be auto-generated based
|
|
on the submitted XML.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
{% bootstrap_form_errors form %}
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
<input class="btn btn-primary" type="submit" value="Upload" name="upload">
|
|
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "submit/problem-reports-footer.html" %}{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
if ($("#checkbox").is(':checked'))
|
|
$("#other-formats").collapse('show')
|
|
});
|
|
</script>
|
|
{% endblock %}
|