More fixes.

- Legacy-Id: 19827
This commit is contained in:
Lars Eggert 2022-01-10 08:41:20 +00:00
parent 6fa5fa073e
commit 373b5dbbf4
67 changed files with 274 additions and 243 deletions

View file

@ -43,4 +43,4 @@
</form>
{% endblock content %}
{% endblock %}

View file

@ -12,4 +12,4 @@
{% else %}
<p>There are no templates defined for this group.</p>
{% endif %}
{% endblock content %}
{% endblock %}

View file

@ -37,4 +37,4 @@
<p class='pasted'>{{ template.content }}</p>
</div>
{% endblock content %}
{% endblock %}

View file

@ -137,9 +137,7 @@ def ballot_icon(context, doc):
i = i + 1
res.append("</tr></table></a>")
# XXX FACELIFT: Loading via href will go away in bootstrap 4.
# See http://getbootstrap.com/javascript/#modals-usage
res.append('<div id="modal-%d" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog modal-lg"><div class="modal-content"></div></div></div>' % ballot.pk)
res.append('<div id="modal-%d" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog modal-dialog-scrollable modal-xl"><div class="modal-content"></div></div></div>' % ballot.pk)
return mark_safe("".join(res))

View file

@ -66,6 +66,12 @@ body {
padding-top: 60px;
}
// Make textareas use monospace font
textarea {
font-family: var(--bs-font-monospace);
}
// Make the font size choice cascade down into group menu dropdowns.
.leftmenu li>ul {
font-size: inherit;
@ -146,8 +152,8 @@ $timeline-even-hover-color: shift-color($timeline-even-color, $link-shade-percen
.ballot-icon table td {
border: $table-border-width solid $table-border-color;
height: 10px;
width: 8px;
height: 1em;
width: .8em;
}
.ballot-icon table .my {

View file

@ -43,7 +43,6 @@ jQuery.ajaxSetup({
$(document)
.ready(function () {
$('[title][title!=""]')
.attr("data-bs-toggle", "tooltip")
.tooltip();
});
@ -227,4 +226,18 @@ $(document)
}
});
});
});
// Bootstrap doesn't load modals via href anymore, so let's do it ourselves.
// See https://stackoverflow.com/a/48934494/2240756
$(document)
.ready(function () {
$('.modal')
.on('show.bs.modal', function (e) {
var button = $(e.relatedTarget);
// load content from value of button href
$(this)
.find('.modal-content')
.load(button.attr("href"));
});
});

View file

@ -1,26 +1,30 @@
$(document).ready(function () {
var form = $("form.upload-content");
// review submission selection
form.find("[name=bofreq_submission]").on("click change", function () {
var val = form.find("[name=bofreq_submission]:checked").val();
$(document)
.ready(function () {
var form = $("form.upload-content");
// review submission selection
form.find("[name=bofreq_submission]")
.on("click change", function () {
var val = form.find("[name=bofreq_submission]:checked")
.val();
var shouldBeVisible = {
"enter": ['[name="bofreq_content"]'],
"upload": ['[name="bofreq_file"]'],
};
var shouldBeVisible = {
enter: ['[name="bofreq_content"]'],
upload: ['[name="bofreq_file"]'],
};
for (var v in shouldBeVisible) {
for (var i in shouldBeVisible[v]) {
var selector = shouldBeVisible[v][i];
var row = form.find(selector);
if (!row.is(".form-group"))
row = row.closest(".form-group");
if ($.inArray(selector, shouldBeVisible[val]) != -1)
row.show();
else
row.hide();
}
}
}).trigger("change");
});
for (var v in shouldBeVisible) {
for (var i in shouldBeVisible[v]) {
var selector = shouldBeVisible[v][i];
var row = form.find(selector);
if (!row.is(".row"))
row = row.closest(".row");
console.log("!");
if ($.inArray(selector, shouldBeVisible[val]) != -1)
row.show();
else
row.hide();
}
}
})
.trigger("change");
});

View file

@ -10,9 +10,7 @@
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>
{% block title %}
No title
{% endblock title %}
{% block title %}No title{% endblock %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
{% comment Halloween %}
@ -20,11 +18,10 @@
{% endcomment %}
<link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}"/>
<style>
{% block morecss %}{% endblock morecss %}
{% block morecss %}{% endblock %}
.leftmenu { width: 13em; }
</style>
{% block pagehead %}
{% endblock pagehead %}
{% block pagehead %}{% endblock %}
{% if server_mode and server_mode == "production" %}
<link rel="shortcut icon"
href="{% static 'ietf/images/ietf-icon-blue3.png' %}"/>
@ -98,11 +95,8 @@
{{ message.message }}
</div>
{% endfor %}
{% block content %}
{{ content|safe }}
{% endblock content %}
{% block content_end %}
{% endblock content_end %}
{% block content %}{{ content|safe }}{% endblock %}
{% block content_end %}{% endblock %}
</div>
</div>
<hr />
@ -142,12 +136,8 @@
{% include "debug.html" %}
</p>
</footer>
{% endblock footer %}
{% endblock %}
</div>
{% block js %}
{% endblock js %}
{% if debug %}
<script src="{% static 'ietf/js/list.js' %}"></script>
{% endif %}
{% block js %}{% endblock %}
</body>
</html>
</html>

View file

@ -4,7 +4,7 @@
{% load origin %}
{% block title %}
User settings
{% endblock title %}
{% endblock %}
{% block content %}
{% origin %}
<h1>User settings</h1>
@ -149,4 +149,4 @@
On
</a>
</p>
{% endblock content %}
{% endblock %}

View file

@ -1,6 +1,12 @@
{# bs5ok #}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% block pagehead %}
{% if debug %}
<link rel="stylesheet" href="{% static 'ietf/css/list.css' %}"/>
{% endif %}
{% endblock %}
{% origin %}
{% if debug %}
{% if sql_debug %}
@ -107,4 +113,9 @@
Add 'ietf.context_processors.sql_debug' to settings.TEMPLATE_CONTECT_PROCESSORS to turn on the SQL statement table
</div>
{% endif %}
{% endif %}
{% endif %}
{% block js %}
{% if debug %}
<script src="{% static 'ietf/js/list.js' %}"></script>
{% endif %}
{% endblock %}

View file

@ -1,48 +1,53 @@
{# bs5ok #}
<!doctype html>
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}{% origin %}
{% load origin %}
{% origin %}
{% load ietf_filters %}
<html lang=en>
<head>
<meta charset=utf-8>
<title>Ballot for {{ doc.name }}</title>
</head>
<body>
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="modal-title-{{ ballot_id }}">Ballot for {{ doc.name }}</h4>
<h5 class="modal-title" id="modal-title-{{ ballot_id }}">Ballot for {{ doc.name }}</h5>
<button type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"></button>
{% if deferred %}
<p>Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.</p>
<p>
Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.
</p>
{% endif %}
</div>
<div class="modal-body">
{{ ballot_content }}
</div>
<div class="modal-body">{{ ballot_content }}</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
{% if editable and user|has_role:"Area Director,Secretariat,IRSG Member" %}
{% if user|can_ballot:doc %}
<a class="btn btn-primary" href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot_id %}">Edit position</a>
<a class="btn btn-primary"
href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot_id %}">
Edit position
</a>
{% endif %}
{% if user|can_defer:doc %}
{% if deferred %}
<a class="btn btn-primary" href="{% url 'ietf.doc.views_ballot.undefer_ballot' name=doc.name %}">Undefer ballot</a>
<a class="btn btn-primary"
href="{% url 'ietf.doc.views_ballot.undefer_ballot' name=doc.name %}">Undefer ballot</a>
{% else %}
<a class="btn btn-warning" href="{% url 'ietf.doc.views_ballot.defer_ballot' name=doc.name %}">Defer ballot</a>
<a class="btn btn-warning"
href="{% url 'ietf.doc.views_ballot.defer_ballot' name=doc.name %}">Defer ballot</a>
{% endif %}
{% if user|has_role:"Secretariat" and ballot_type_slug != "irsg-approve" %}
<a class="btn btn-danger" href="{% url 'ietf.doc.views_ballot.clear_ballot' name=doc.name ballot_type_slug=ballot_type_slug %}">Clear ballot</a>
<a class="btn btn-danger"
href="{% url 'ietf.doc.views_ballot.clear_ballot' name=doc.name ballot_type_slug=ballot_type_slug %}">
Clear ballot
</a>
{% endif %}
{% endif %}
{% endif %}
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Close</button>
</div>
</body>
</html>
</html>

View file

@ -1,46 +1,71 @@
{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021 All Rights Reserved #}
{% load origin %}
{% load person_filters %}
{% load static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}BOF Requests{% endblock %}
{% block content %}
{% origin %}
<h1>BOF Requests</h1>
{% if request.user.is_authenticated %}
<div class="buttonlist">
<a id="start_button" class="btn btn-primary" href="{% url 'ietf.doc.views_bofreq.new_bof_request' %}">Start New BOF Request</a>
<a id="start_button"
class="btn btn-primary"
href="{% url 'ietf.doc.views_bofreq.new_bof_request' %}">
Start New BOF Request
</a>
</div>
{% endif %}
{% if not reqs %}
<p>There are currently no BOF Requests</p>
<p>
There are currently no BOF Requests
</p>
{% else %}
{% regroup reqs by get_state_slug as grouped_reqs %}
{% for req_group in grouped_reqs %}
<div class="card ">
<div class="card-header">{{req_group.grouper|capfirst}} BOF Requests</div>
<div class="card-body">
<table id="bofreqs-{{req_group.grouper}}" class="table table-sm table-striped tablesorter">
<thead>
<tr><th class="col-sm-4">Name</th><th class="col-sm-1">Date</th><th>Title</th><th>Responsible</th><th>Editors</th></tr>
</thead>
<tbody>
{% for req in req_group.list %}
<tr>
<td><a href={% url 'ietf.doc.views_doc.document_main' name=req.name %}>{{req.name}}-{{req.rev}}</a></td>
<td>{{req.latest_revision_event.time|date:"Y-m-d"}}</td>
<td>{{req.title}}</td>
<td>{% for person in req.responsible %}{% person_link person %}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
<td>{% for person in req.editors %}{% person_link person %}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<h2 class="mt-5">{{ req_group.grouper|capfirst }} BOF Requests</h2>
<table id="bofreqs-{{ req_group.grouper }}"
class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="name">Name</th>
<th data-sort="date">Date</th>
<th data-sort="title">Title</th>
<th data-sort="responsible">Responsible</th>
<th data-sort="editors">Editors</th>
</tr>
</thead>
<tbody>
{% for req in req_group.list %}
<tr>
<td>
<a href={% url 'ietf.doc.views_doc.document_main' name=req.name %}>{{ req.name }}-{{ req.rev }}</a>
</td>
<td>{{ req.latest_revision_event.time|date:"Y-m-d" }}</td>
<td>{{ req.title }}</td>
<td>
{% for person in req.responsible %}
{% person_link person %}
{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
<td>
{% for person in req.editors %}
{% person_link person %}
{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}

View file

@ -1,30 +1,25 @@
{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Change editors for {{doc.name}}{% endblock %}
{% block pagehead %}
{{ form.media.css}}
{% endblock %}
{% block title %}Change editors for {{ doc.name }}{% endblock %}
{% block pagehead %}{{ form.media.css }}{% endblock %}
{% block content %}
{% origin %}
<h1>Change editors<br><small class="text-muted">{{ titletext }}</small></h1>
<h1>
Change editors
<br>
<small class="text-muted">{{ titletext }}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-secondary float-end" href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">Back</a>
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}
{% block js %}
{{ form.media.js }}
{% endblock %}
{% block js %}{{ form.media.js }}{% endblock %}

View file

@ -1,32 +1,25 @@
{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Change responsible leadership for {{doc.name}}{% endblock %}
{% block pagehead %}
{{ form.media.css}}
{% endblock %}
{% block title %}Change responsible leadership for {{ doc.name }}{% endblock %}
{% block pagehead %}{{ form.media.css }}{% endblock %}
{% block content %}
{% origin %}
<h1>Change Responsible Leadership<br><small class="text-muted">{{ titletext }}</small></h1>
<h1>
Change Responsible Leadership
<br>
<small class="text-muted">{{ titletext }}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-secondary float-end" href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">Back</a>
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}
{% block js %}
{{ form.media.js }}
{% endblock %}
{% block js %}{{ form.media.js }}{% endblock %}

View file

@ -1,30 +1,26 @@
{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin django_bootstrap5 static %}
{% block title %}Start a new BOF Request{% endblock %}
{% block content %}
{% origin %}
<h1>Start a new BOF Request</h1>
<p>Choose a short descriptive title for your request. Take time to choose a good initial title - it will be used to make the filename for your request's content. The title can be changed later, but the filename will not change.</p>
<p>For example, a request with a title of "A new important bit" will be saved as "bofreq-a-new-important-bit-00.md".</p>
<form class="upload-content form-horizontal" method="post" enctype="multipart/form-data">
<p>
Choose a short descriptive title for your request. Take time to choose a good initial title - it will be used to make the filename for your request's content. The title can be changed later, but the filename will not change.
</p>
<p>
For example, a request with a title of "A new important bit" will be saved as "bofreq-a-new-important-bit-00.md".
</p>
<form class="upload-content form-horizontal"
method="post"
enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form layout="horizontal" %}
<a class="btn btn-primary" href="{{ doc.get_absolute_url }}">Cancel</a>
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-secondary float-end" href="{{ doc.get_absolute_url }}">Cancel</a>
</form>
{% endblock %}
{% block js %}
<script src="{% static 'ietf/js/upload_bofreq.js' %}"></script>
{% endblock %}
{% endblock %}

View file

@ -1,30 +1,24 @@
{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin django_bootstrap5 static %}
{% block title %}Upload new revision: {{doc.name}}{% endblock %}
{% block title %}Upload new revision: {{ doc.name }}{% endblock %}
{% block content %}
{% origin %}
<h1>Upload New Revision<br>
<small>{{ doc.name }}</small>
<h1>
Upload New Revision
<br>
<small class="text-muted">{{ doc.name }}</small>
</h1>
<form class="upload-content form-horizontal" method="post" enctype="multipart/form-data">
<form class="upload-content form-horizontal mt-3"
method="post"
enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form layout="horizontal" %}
<a class="btn btn-primary" href="{{ doc.get_absolute_url }}">Cancel</a>
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-secondary float-end" href="{{ doc.get_absolute_url }}">Cancel</a>
</form>
{% endblock %}
{% block js %}
<script src="{% static 'ietf/js/upload_bofreq.js' %}"></script>
{% endblock %}
{% endblock %}

View file

@ -10,4 +10,4 @@
{% origin %}
{{ top|safe }}
{{ ballot_content|safe }}
{% endblock content %}
{% endblock %}

View file

@ -58,7 +58,7 @@
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -106,7 +106,7 @@
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -38,4 +38,4 @@
</p>
{% endfor %}
{% endfor %}
{% endblock content %}
{% endblock %}

View file

@ -27,4 +27,4 @@
</form>
{% endblock content %}
{% endblock %}

View file

@ -42,4 +42,4 @@
</div>
</div>
</div>
{% endblock content %}
{% endblock %}

View file

@ -49,7 +49,7 @@
{% endwith %}
</div>
{% endif %}
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}

View file

@ -17,4 +17,4 @@
<li><a href="{% url 'ietf.doc.views_material.edit_material' acronym=group.acronym doc_type=t.slug %}">{{ t.name }}</a></li>
{% endfor %}
</ul>
{% endblock content %}
{% endblock %}

View file

@ -70,7 +70,7 @@
</form>
{% endblock content %}
{% endblock %}
{% block js %}
<script>

View file

@ -19,7 +19,7 @@
{% if meta.searching %}
{% include "doc/search/search_results.html" %}
{% endif %}
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -41,7 +41,7 @@
</tbody>
{% endfor %}
</table>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -113,4 +113,4 @@
</tbody>
</table>
</div>
{% endblock content %}
{% endblock %}

View file

@ -40,13 +40,13 @@
<a class="btn {% if name == "Request closing group" %}btn-warning{% else %}btn-primary{% endif %}" href="{{ url }}">{{ name }}</a>
{% endfor %}
{% endif %}
{% endblock buttonlist %}
{% endblock %}
</div>
{% block group_content %}
{% endblock group_content %}
{% endblock %}
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -14,4 +14,4 @@
{% include "doc/search/search_results.html" with docs=docs_related meta=meta_related skip_no_matches_warning=True start_table=False end_table=True %}
{% include "community/list_menu.html" %}
{% endblock group_content %}
{% endblock %}

View file

@ -17,7 +17,7 @@
Request an interim meeting
</a>
{% endif %}
{% endblock buttonlist %}
{% endblock %}
{% block group_content %}
{% origin %}
{% if in_progress %}

View file

@ -4,7 +4,7 @@
{% load origin %}
{% block title %}
Personal Information in the Datatracker
{% endblock title %}
{% endblock %}
{% block content %}
{% origin %}
<h1>Personal Information in the Datatracker</h1>
@ -84,4 +84,4 @@
Please also see the IETF's overall
<a href="https://www.ietf.org/privacy-statement/">Statement concerning personal data.</a>
</p>
{% endblock content %}
{% endblock %}

View file

@ -4,10 +4,10 @@
{% load ietf_filters %}
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" href="/feed/iesg-agenda/"/>
{% endblock pagehead %}
{% endblock %}
{% block title %}
IESG agenda: {{ date }}
{% endblock title %}
{% endblock %}
{% block content %}
{% origin %}
<h1>IESG agenda: {{ date }}</h1>
@ -110,7 +110,7 @@
<pre class="border p-3">{{ section.text|wordwrap:"80" }}</pre>
{% endif %}
{% endfor %}
{% endblock content %}
{% endblock %}
{% block js %}

View file

@ -3,8 +3,9 @@
{% origin %}
{% load ietf_filters ballot_icon person_filters %}
<div class="card mb-3">
{# FIXME-LARS: just using float-end here messes up the spacing between row columns? #}
<div class="position-absolute top-0 end-0 m-3">{% ballot_icon doc %}</div>
<div class="card-body">
<div class="float-end">{% ballot_icon doc %}</div>
<div class="row">
<div class="col-sm-3 text-end fw-bold">{{ doc.intended_std_level }}</div>
<div class="col">
@ -60,13 +61,13 @@
{% if doc.iana_review_state %}
<div class="row">
<div class="col-sm-3 text-end fw-bold">IANA review</div>
<div class="col">{{ doc.iana_review_state }}</div>
<div class="col {% if doc.iana_review_state|slice:7 != "IANA OK" %}text-danger{% else %}text-success{% endif %}">{{ doc.iana_review_state }}</div>
</div>
{% endif %}
{% if doc.consensus %}
<div class="row">
<div class="col-sm-3 text-end fw-bold">Consensus</div>
<div class="col {% if doc.consensus != "Yes" %}text-danger{% endif %}">{{ doc.consensus }}</div>
<div class="col {% if doc.consensus != "Yes" %}text-danger{% else %}text-success{% endif %}">{{ doc.consensus }}</div>
</div>
{% endif %}
{% if doc.review_assignments %}

View file

@ -68,7 +68,7 @@
{% bootstrap_button button_type="submit" content="Save reschedules" title="Save reschedule changes done with the drop-down boxes below" %}
</form>
{% endif %}
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}

View file

@ -4,7 +4,7 @@
{% block morecss %}
.card-header {font-size:150%; }
{% endblock morecss %}
{% endblock %}
{% block title %}Milestones under review{% endblock %}

View file

@ -8,7 +8,7 @@
{% block title %}
{{ title }} {{ person.plain_name }}
{% endblock title %}
{% endblock %}
{% block content %}
{% origin %}
@ -27,4 +27,4 @@
<a class="btn btn-secondary float-end" href="{% url "ietf.ietfauth.views.profile" %}">Back</a>
</form>
{% endblock content %}
{% endblock %}

View file

@ -56,7 +56,7 @@
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -415,4 +415,4 @@
<p class="form-text">Only those sections of the relevant entry form where the submitter provided information are displayed.</p>
</div>
{% endblock content %}
{% endblock %}

View file

@ -46,7 +46,7 @@
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}

View file

@ -37,11 +37,11 @@
{% else %}
{% include "liaisons/liaison_table.html" %}
{% endif %}
{% endblock group_content %}
{% endblock %}
<p>
Total Statements: {{ liaisons|length }}
</p>
{% endblock content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
<script src="{% static 'ietf/js/datepicker.js' %}"></script>

View file

@ -37,4 +37,4 @@
{% endif %}
{% endif %}
{% endblock content %}
{% endblock %}

View file

@ -33,7 +33,7 @@
<script type="text/javascript" src="{% static 'ietf/js/moment.js' %}"></script>
<script type="text/javascript" src="{% static 'ietf/js/moment-timezone-with-data-10-year-range.js' %}"></script>
<script type="text/javascript" src="{% static 'ietf/js/edit-meeting-schedule.js' %}"></script>
{% endblock js %}
{% endblock %}
{% block content %}

View file

@ -9,7 +9,7 @@
{% block js %}
<script type="text/javascript" src="{% static 'ietf/js/edit-meeting-timeslots-and-misc-sessions.js' %}"></script>
{% endblock js %}
{% endblock %}
{% block content %}

View file

@ -8,7 +8,7 @@
{# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #}
{% include "meeting/session_agenda_include.html" with slug=item.slug session=session timeslot=item.timeslot only %}
<!-- agenda pop-up button -->
<a data-bs-toggle="modal" data-bs-target="#modal-{{item.slug}}"><span title="Show meeting materials" class="bi bi-arrows-fullscreen"></span></a>
<a data-bs-toggle="modal" data-bs-target="#modal-{{item.slug}}" title="Show meeting materials"><span class="bi bi-arrows-fullscreen"></span></a>
<!-- materials tar file -->
<a href="/meeting/{{meeting.number}}/agenda/{{acronym}}-drafts.tgz" title="Download meeting materials as .tar archive"><span class="bi bi-file-zip"></span></a>
<!-- materials PDF file -->

View file

@ -58,4 +58,4 @@
{% endblock %}
</form>
{% endblock %}
{% endblock content %}
{% endblock %}

View file

@ -58,4 +58,4 @@
</form>
{% endblock content %}
{% endblock %}

View file

@ -87,4 +87,4 @@
{% endfor %}
</div>
{% endblock content %}
{% endblock %}

View file

@ -16,7 +16,7 @@
{% with acronym=session.historic_group.acronym %}
{% if session.agenda and show_agenda %}
<!-- agenda pop-up button -->
<button class="btn btn-outline-primary" role="button" data-bs-toggle="modal" data-bs-target="#modal-{{slug}}"><span title="Show meeting materials" class="bi bi-arrows-fullscreen"></span></button>
<button class="btn btn-outline-primary" role="button" data-bs-toggle="modal" data-bs-target="#modal-{{slug}}" title="Show meeting materials"><span class="bi bi-arrows-fullscreen"></span></button>
<!-- materials tar file -->
<a class="btn btn-outline-primary" role="button" href="/meeting/{{meeting.number}}/agenda/{{acronym}}-drafts.tgz" title="Download meeting materials as .tar archive"><span class="bi bi-file-zip"></span></a>
<!-- materials PDF file -->

View file

@ -45,4 +45,4 @@
</form>
{% endblock nomcom_content %}
{% endblock %}

View file

@ -29,7 +29,7 @@
</tr>
{% endfor %}
</table>
{% endblock nomcom_content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -29,4 +29,4 @@
</div>
</div>
{% endblock nomcom_content %}
{% endblock %}

View file

@ -53,4 +53,4 @@
{% else %}
<p>There are no positions defined.</p>
{% endif %}
{% endblock nomcom_content %}
{% endblock %}

View file

@ -39,4 +39,4 @@
{% empty %}
<p>There are no topics defined.</p>
{% endfor %}
{% endblock nomcom_content %}
{% endblock %}

View file

@ -38,4 +38,4 @@
{% else %}
<p>There are no topics defined.</p>
{% endif %}
{% endblock nomcom_content %}
{% endblock %}

View file

@ -39,4 +39,4 @@
</form>
{% endblock nomcom_content %}
{% endblock %}

View file

@ -34,4 +34,4 @@
</form>
{% endblock nomcom_content %}
{% endblock %}

View file

@ -40,4 +40,4 @@
<a class="btn btn-secondary float-end" href="{% if return_url %}{{ return_url }}{% else %}../{% endif %}">Back</a>
{% endblock nomcom_content %}
{% endblock %}

View file

@ -44,7 +44,7 @@
</div>
</div>
{% endfor %}
{% endblock nomcom_content %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>

View file

@ -4,7 +4,7 @@
{% load origin %}
{% block title %}Profile update successful{% endblock title%}
{% block title %}Profile update successful{% endblock%}
{% block content %}
{% origin %}
@ -18,4 +18,4 @@
{% endfor %}
<a class="btn btn-primary" href="{% url "ietf.ietfauth.views.profile" %}">Edit profile</a>
{% endblock content %}
{% endblock %}

View file

@ -6,7 +6,7 @@
{% load django_bootstrap5 %}
{% block title %}Account creation{% endblock title %}
{% block title %}Account creation{% endblock %}
{% block content %}
{% origin %}
@ -49,4 +49,4 @@
{% bootstrap_button button_type="submit" content="Create account" %}
</form>
{% endif %}
{% endblock content %}
{% endblock %}

View file

@ -8,7 +8,7 @@
{% load person_filters %}
{% block title %}Profile for {{ user }}{% endblock title %}
{% block title %}Profile for {{ user }}{% endblock %}
{% block content %}
{% origin %}
@ -193,7 +193,7 @@
that requires Consent.
</p>
</div>
{% endblock content %}
{% endblock %}
{% block js %}
<script>
@ -240,4 +240,4 @@
});
</script>
{% endblock js %}
{% endblock %}

View file

@ -6,7 +6,7 @@
{% load django_bootstrap5 %}
{% block title %}Sign in{% endblock title %}
{% block title %}Sign in{% endblock %}
{% block content %}
{% origin %}
@ -23,4 +23,4 @@
<a href="{% url 'ietf.ietfauth.views.password_reset' %}">Request a reset</a>.
</div>
</form>
{% endblock content %}
{% endblock %}

View file

@ -4,7 +4,7 @@
{% load origin %}
{% block title %}Complete account creation{% endblock title %}
{% block title %}Complete account creation{% endblock %}
{% block content %}
{% origin %}
@ -16,4 +16,4 @@
Please send an email to the <a href="mailto:{{ settings.SECRETARIAT_SUPPORT_EMAIL }}">IETF secretariat</a> and we'll get you set up promptly.
</p>
{% endblock content %}
{% endblock %}

View file

@ -6,7 +6,7 @@
{% load django_bootstrap5 %}
{% block title %}Password reset{% endblock title %}
{% block title %}Password reset{% endblock %}
{% block content %}
{% origin %}
@ -27,4 +27,4 @@
{% bootstrap_button button_type="submit" content="Reset password" %}
</form>
{% endif %}
{% endblock content %}
{% endblock %}

View file

@ -3,7 +3,7 @@
{% extends "base.html" %}
{% load origin %}
{% block title %}About the Datatracker{% endblock title %}
{% block title %}About the Datatracker{% endblock %}
{% block content %}
{% origin %}
@ -146,4 +146,4 @@
public presentation</a> of it and its capabilities was made 2002-11-20
in Atlanta by Thomas Narten.
</p>
{% endblock content %}
{% endblock %}

View file

@ -4,7 +4,7 @@
{% load origin %}
{% load cache %}
{% block title %}Release information{% endblock title %}
{% block title %}Release information{% endblock %}
{% block content %}
{% origin %}
@ -70,11 +70,11 @@
</table>
{% endcache %}
{% endblock content %}
{% endblock %}
{% block footer %}
<p class="text-center">
<a href="https://trac.ietf.org/trac/ietfdb/wiki/ContractorInstructions">Contractor instructions</a>
</p>
{{ block.super }}
{% endblock footer %}
{% endblock %}