datatracker/ietf/templates/nomcom/requirements.html

55 lines
2.3 KiB
HTML

{% extends "nomcom/nomcom_public_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin ietf_filters textfilters %}
{% block subtitle %}- Desired Expertise{% endblock %}
{% block nomcom_content %}
{% origin %}
<h2 class="mb-3">Desired expertise</h2>
<p>
These pages contain the current summaries of desired expertise for open
positions, provided to the NomCom by the IESG, IAB, and IAOC. As the NomCom
proceeds, per {{"BCP 10"|urlize_ietf_docs }}, we receive input from the community on the
qualifications required for the positions. The NomCom bases selections on
all of this information. These pages may be updated periodically.
</p>
<ul class="nomcom-req-positions-tabs nav nav-tabs my-3" role="tablist">
{% for position in positions %}
<li class="nav-item">
<button class="nav-link {% if forloop.first %}active{% endif %}"
data-bs-toggle="tab"
type="button"
role="tab"
data-bs-target="#pos-{{ position.name|slugify }}">
{{ position.name }}
</button>
</li>
{% endfor %}
</ul>
<div class="nomcom-req-positions-content tab-content">
{% for position in positions %}
<div role="tabpanel"
class="tab-pane {% if forloop.first %} show active{% endif %}"
id="pos-{{ position.name|slugify }}">
{{ position.get_requirement|safe|urlize_ietf_docs }}
</div>
{% endfor %}
</div>
{% endblock %}
{% block js %}
<script>
$(document)
.ready(function () {
// Javascript to enable link to tab
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs button[data-bs-target="#' + url.split('#')[1] + '"]')
.tab('show');
}
// Change hash for page-reload
$('.nav-tabs button')
.on('shown.bs.tab', function (e) {
history.replaceState(null, null, e.currentTarget.dataset.bsTarget);
});
});
</script>
{% endblock %}