fix: replace deprecated bootstrap things (#5858)

* text-muted -> text-body-secondary

* navbar-dark is deprecated

* Remove FIXME block, not an issue anymore

* Remove `navbar-light`
This commit is contained in:
Lars Eggert 2023-07-18 20:22:28 +03:00 committed by GitHub
parent 3f228c788d
commit 9d5d9d5172
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
204 changed files with 339 additions and 345 deletions

View file

@ -9,7 +9,7 @@
span.meeting-warning(v-if='agendaStore.meeting.warningNote') {{agendaStore.meeting.warningNote}}
h4
span {{agendaStore.meeting.city}}, {{ meetingDate }}
h6.float-end.d-none.d-lg-inline(v-if='meetingUpdated') #[span.text-muted Updated:] {{ meetingUpdated }}
h6.float-end.d-none.d-lg-inline(v-if='meetingUpdated') #[span.text-body-secondary Updated:] {{ meetingUpdated }}
.agenda-topnav.my-3
meeting-navigation
@ -49,7 +49,7 @@
n-popover(v-if='!agendaStore.infoNoteShown')
template(#trigger)
n-button.ms-2(text, @click='toggleInfoNote')
i.bi.bi-info-circle.text-muted
i.bi.bi-info-circle.text-body-secondary
span Show Info Note
.col-12.col-sm-auto.d-flex.align-items-center
i.bi.bi-globe.me-2

View file

@ -58,7 +58,7 @@
)
i.bi.bi-x-square.me-2
span Discard
n-divider: small.text-muted Calendar
n-divider: small.text-body-secondary Calendar
n-button.mt-2(
id='agenda-quickaccess-calview-btn'
block
@ -86,7 +86,7 @@
i.bi.bi-calendar-check.me-2
span {{ shortMode ? '.ics' : 'Add to your calendar...' }}
template(v-if='agendaStore.meetingDays.length > 0')
n-divider: small.text-muted Jump to...
n-divider: small.text-body-secondary Jump to...
ul.nav.nav-pills.flex-column.small.agenda-quickaccess-jumpto
li.nav-item(v-if='agendaStore.isMeetingLive')
a.nav-link(

View file

@ -20,7 +20,7 @@ n-modal(v-model:show='modalShown')
i.bi.bi-share
span Share this view
.agenda-share-content
.text-muted.pb-2 Use the following URL for sharing the current view #[em (including any active filters)] with other users:
.text-body-secondary.pb-2 Use the following URL for sharing the current view #[em (including any active filters)] with other users:
n-input-group
n-input(
ref='filteredUrlIpt'

View file

@ -15,7 +15,7 @@
)
template(#default)
div(v-html='item.text')
span.text-muted(v-else)
span.text-body-secondary(v-else)
em No chat log available.
</template>

View file

@ -6,7 +6,7 @@
:columns='columns'
striped
)
span.text-muted(v-else)
span.text-body-secondary(v-else)
em No polls available.
</template>

View file

@ -41,7 +41,7 @@ class PasswordStrengthInput(PasswordInput):
<div class="progress" style="margin-bottom: 10px;">
<div class="progress-bar progress-bar-warning password_strength_bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="5" style="width: 0%%"></div>
</div>
<p class="text-muted password_strength_info hidden">
<p class="text-body-secondary password_strength_info hidden">
<span class="label label-danger">
%s
</span>
@ -89,7 +89,7 @@ class PasswordConfirmationInput(PasswordInput):
confirmation_markup = """
<div style="margin-top: 10px;" class="hidden password_strength_info">
<p class="text-muted">
<p class="text-body-secondary">
<span class="label label-danger">
%s
</span>

View file

@ -1,11 +1,5 @@
@use "sass:map";
// FIXME: It's not clear why these three variables remain unset by bs5, but just
// set them to placeholder values so the CSS embedded in the HTML validates.
$btn-font-family: inherit !default;
$nav-link-font-weight: inherit !default;
$tooltip-margin: inherit !default;
$font-family-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$font-family-monospace: "Noto Sans Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

View file

@ -487,13 +487,13 @@ $(function () {
// Disable a particular swap modal radio input
let updateSwapRadios = function (labels, radios, disableValue, datePrecision) {
labels.removeClass('text-muted');
labels.removeClass('text-body-secondary');
radios.prop('disabled', false);
radios.prop('checked', false);
// disable the input requested by value
let disableInput = radios.filter('[value="' + disableValue + '"]');
if (disableInput) {
disableInput.parent().addClass('text-muted');
disableInput.parent().addClass('text-body-secondary');
disableInput.prop('disabled', true);
}
if (officialSchedule) {
@ -502,7 +502,7 @@ $(function () {
const past_radios = radios.filter(
(_, radio) => parseISOTimestamp(radio.closest('*[data-start]').dataset.start).isSameOrBefore(now, datePrecision)
);
past_radios.parent().addClass('text-muted');
past_radios.parent().addClass('text-body-secondary');
past_radios.prop('disabled', true);
}
return disableInput; // return the input that was specifically disabled, if any
@ -859,10 +859,10 @@ $(function () {
.not('.hidden')
.length === 0) {
purpose_input.setAttribute('disabled', 'disabled');
purpose_input.closest('.session-purpose-toggle').classList.add('text-muted');
purpose_input.closest('.session-purpose-toggle').classList.add('text-body-secondary');
} else {
purpose_input.removeAttribute('disabled');
purpose_input.closest('.session-purpose-toggle').classList.remove('text-muted');
purpose_input.closest('.session-purpose-toggle').classList.remove('text-body-secondary');
}
});
}

View file

@ -184,7 +184,7 @@ $(function () {
.after($(`
<div class="col-xl-2 ps-0 small">
<div id="righthand-panel" class="position-fixed col-xl-2 bg-light d-flex flex-column justify-content-between align-items-start">
<nav id="righthand-nav" class="navbar navbar-light w-100 overflow-auto align-items-start flex-fill"></nav>
<nav id="righthand-nav" class="navbar w-100 overflow-auto align-items-start flex-fill"></nav>
</div>
</div>
`));

View file

@ -34,9 +34,9 @@
.removeClass("label-danger");
widget
.find(".text-muted")
.find(".text-body-secondary")
.addClass("form-text")
.removeClass("text-muted");
.removeClass("text-body-secondary");
self.initListeners();
},

View file

@ -33,7 +33,7 @@
data-group-menu-data-url="{% url 'ietf.group.views.group_menu_data' %}">
{% analytical_body_top %}
<a class="visually-hidden visually-hidden-focusable" href="#content">Skip to main content</a>
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} navbar-light bg-warning {% else %} navbar-dark bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} bg-warning {% else %} bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img alt="IETF Logo" class="me-2"
@ -126,7 +126,7 @@
<a href="https://www.rfc-editor.org/" class="p-3 text-nowrap">RFC Editor</a>
<a href="https://www.iana.org/" class="p-3">IANA</a>
<a href="https://www.ietf.org/privacy-statement/" class="p-3 text-nowrap">Privacy Statement</a>
<div class="small text-muted py-3">
<div class="small text-body-secondary py-3">
{% if version_num %}
<a class="mx-2" href="/release/about">About IETF Datatracker</a>
<span class="mx-2">

View file

@ -32,7 +32,7 @@
</p>
{% endif %}
<h2>Add new subscription</h2>
<p class="text-muted">
<p class="text-body-secondary">
The email addresses you can choose between are those registered in
<a href="{% url "ietf.ietfauth.views.profile" %}">your profile</a>.
</p>

View file

@ -103,7 +103,7 @@
</div>
</div>
{% else %}
<small class="text-center text-muted">
<small class="text-center text-body-secondary">
Add <code>ietf.context_processors.sql_debug</code> to <code>settings.DEV_TEMPLATE_CONTEXT_PROCESSORS</code> to turn on the SQL statement table.
</small>
{% endif %}

View file

@ -2,7 +2,7 @@
{% load ietf_filters %}
{% if prev or count %}
<span{% if count == 0 %} class="text-muted"{% endif %}>{{ count }}</span>
<span{% if count == 0 %} class="text-body-secondary"{% endif %}>{{ count }}</span>
{% if user|has_role:"Area Director,Secretariat" %}
<i data-bs-toggle="popover"
{% if count != prev %}
@ -21,11 +21,11 @@
{% endif %}
{% with label.2 as up_is_good %}
{% if prev < count %}
class="bi bi-arrow-up-right-circle{% if count %}-fill{% endif %} {{ up_is_good|yesno:'text-success,text-danger,text-muted' }}"
class="bi bi-arrow-up-right-circle{% if count %}-fill{% endif %} {{ up_is_good|yesno:'text-success,text-danger,text-body-secondary' }}"
{% elif prev > count %}
class="bi bi-arrow-down-right-circle{% if count %}-fill{% endif %} {{ up_is_good|yesno:'text-danger,text-success,text-muted' }}"
class="bi bi-arrow-down-right-circle{% if count %}-fill{% endif %} {{ up_is_good|yesno:'text-danger,text-success,text-body-secondary' }}"
{% else %}
class="bi bi-arrow-right-circle text-muted"
class="bi bi-arrow-right-circle text-body-secondary"
{% endif %}
></i>
{% endwith %}

View file

@ -8,7 +8,7 @@
<h1>
Add comment
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Add document to session
<br>
<small class="text-muted">{{ doc.name }}
<small class="text-body-secondary">{{ doc.name }}
<br>
{{ doc.title }}</small>
</h1>

View file

@ -9,7 +9,7 @@
<h1>
Approval announcement writeup
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Approve ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Approve downward references
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
The ballot for

View file

@ -7,7 +7,7 @@
<h1>
Ballot issued
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
Ballot for

View file

@ -8,7 +8,7 @@
<h1>
Clear ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Defer ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change position for {{ balloter.plain_name }}
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
{% if ballot.ballot_type.question %}
<div class="alert alert-warning my-3">

View file

@ -12,7 +12,7 @@
<h1>
Issue ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p class="mt-3">
{{ question }}

View file

@ -8,7 +8,7 @@
<h1>
Close ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
{{ question }}

View file

@ -9,7 +9,7 @@
<h1 class="mb-3">
Last call text
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1 class="mb-3">
RFC Editor Note
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
{% bootstrap_messages %}
<form method="post">

View file

@ -9,7 +9,7 @@
<h1>
Issue ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p class="mt-3">
{{ question }}

View file

@ -8,7 +8,7 @@
<h1>
Close ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
{{ question }}

View file

@ -9,7 +9,7 @@
<h1>
Send ballot position for {{ balloter }}
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Undefer ballot
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="undefer mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Ballot writeup and notes
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -9,7 +9,7 @@
<h1>
Change editors
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -9,7 +9,7 @@
<h1>
Change Responsible Leadership
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -7,7 +7,7 @@
<h1>
Upload New Revision
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
<form class="upload-content form-horizontal mt-3"
method="post"

View file

@ -8,7 +8,7 @@
<h1>
Change responsible AD
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form class="mt-3" enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -10,7 +10,7 @@
<h1>
Change document shepherd
<br>
<small class="text-muted">{{ doc.name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
<p>
The shepherd needs to have a Datatracker account. A new account can be

View file

@ -8,7 +8,7 @@
<h1>
Change document shepherd email
<br>
<small class="text-muted">{{ doc.name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change state
<br>
<small class="text-muted">{{ doc.title }}</small>
<small class="text-body-secondary">{{ doc.title }}</small>
</h1>
<p>
<a class="my-2 btn btn-info" href="{{ help_url }}">Help on states</a>

View file

@ -8,7 +8,7 @@
<h1>
Change title
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -11,7 +11,7 @@
<h1>
{{ charter.chartered_group.type.name }} action announcement writeup
<br>
<small class="text-muted">{{ charter.chartered_group.acronym }}</small>
<small class="text-body-secondary">{{ charter.chartered_group.acronym }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -7,7 +7,7 @@
<h1>
Ballot issued
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
<p>
Ballot has been sent out.

View file

@ -8,7 +8,7 @@
<h1>
Ballot writeup and notes
<br>
<small class="text-muted">{{ charter.chartered_group }}</small>
<small class="text-body-secondary">{{ charter.chartered_group }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change responsible AD
<br>
<small class="text-muted">{{ charter.canonical_name }}-{{ charter.rev }}</small>
<small class="text-body-secondary">{{ charter.canonical_name }}-{{ charter.rev }}</small>
</h1>
<form class="mt-3" enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -9,7 +9,7 @@
<h1>
WG Review announcement writeup
<br>
<small class="text-muted">{{ charter.chartered_group.acronym }}</small>
<small class="text-body-secondary">{{ charter.chartered_group.acronym }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -9,7 +9,7 @@
<h1>
Begin IETF conflict review
<br>
<small class="text-muted">{{ doc_to_review.canonical_name }}-{{ doc_to_review.rev }}</small>
<small class="text-body-secondary">{{ doc_to_review.canonical_name }}-{{ doc_to_review.rev }}</small>
</h1>
{% if user|has_role:"Secretariat" %}
<p class="my-3">

View file

@ -8,7 +8,7 @@
<h1>
Edit conflict review
<br>
<small class="text-muted">{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}</small>
<small class="text-body-secondary">{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}</small>
</h1>
<p class="my-3 alert alert-info">
The text will be submitted as <strong>{{ review.canonical_name }}-{{ next_rev }}</strong>

View file

@ -11,10 +11,10 @@
</p>
{% for p in positions %}
<div class="balloter-name mb-2">
{% if p.is_old_pos %}<span class="text-muted">({% endif %}{% if p.comment or p.discuss %}<a href="#{{ doc.name|slugify }}_{{ p.balloter.plain_name|slugify }}">{% endif %}{{ p.balloter.plain_name }}{% if p.comment or p.discuss %}</a>{% endif %}{% if p.is_old_pos %})</span>{% endif %}
{% if p.is_old_pos %}<span class="text-body-secondary">({% endif %}{% if p.comment or p.discuss %}<a href="#{{ doc.name|slugify }}_{{ p.balloter.plain_name|slugify }}">{% endif %}{{ p.balloter.plain_name }}{% if p.comment or p.discuss %}</a>{% endif %}{% if p.is_old_pos %})</span>{% endif %}
</div>
{% empty %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endfor %}
<br>
{% endfor %}
@ -91,7 +91,7 @@
{{ p.balloter.plain_name }}
</div>
<div class="flex-fill text-end">
{% if p.old_positions %}<span class="text-muted small">(was {{ p.old_positions|join:", " }})</span>{% endif %}
{% if p.old_positions %}<span class="text-body-secondary small">(was {{ p.old_positions|join:", " }})</span>{% endif %}
<span class="badge rounded-pill {{ p.pos|pos_to_label_format }}">{{ p.pos }}</span>
{% if user|has_role:"Secretariat" %}
<a href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}?balloter={{ p.balloter.pk }}"
@ -179,11 +179,11 @@
{% if p.is_old_pos %}
<div class="h5 d-flex mt-4"
id="{{ doc.name|slugify }}_{{ p.balloter.plain_name|slugify }}">
<div class="flex-fill text-muted">
<div class="flex-fill text-body-secondary">
{{ p.balloter.plain_name }} <span class="badge rounded-pill bg-secondary">Former IESG member</span>
</div>
<div class="flex-fill text-end">
{% if p.old_positions %}<span class="text-muted small">(was {{ p.old_positions|join:", " }})</span>{% endif %}
{% if p.old_positions %}<span class="text-body-secondary small">(was {{ p.old_positions|join:", " }})</span>{% endif %}
<span class="badge rounded-pill {{ p.pos|pos_to_label_format }}">{{ p.pos }}</span>
{% if user|has_role:"Secretariat" %}
<a href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}?balloter={{ p.balloter.pk }}"

View file

@ -135,7 +135,7 @@
{% endif %}
</td>
<td>
{{ doc.notify|default:'<span class="text-muted">(None)</span>' }}
{{ doc.notify|default:'<span class="text-body-secondary">(None)</span>' }}
</td>
</tr>
</tbody>

View file

@ -152,7 +152,7 @@
</td>
<td>
{% if not telechat %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% endif %}
@ -175,7 +175,7 @@
{% endif %}
</td>
<td>
{{ doc.notify|default:'<span class="text-muted">(None)</span>' }}
{{ doc.notify|default:'<span class="text-body-secondary">(None)</span>' }}
</td>
</tr>
</tbody>

View file

@ -32,7 +32,7 @@
<tr>
<th scope="row">Title</th>
<td class="edit"></td>
<th scope="row">{{ doc.title|default:'<span class="text-muted">(None)</span>' }}</th>
<th scope="row">{{ doc.title|default:'<span class="text-body-secondary">(None)</span>' }}</th>
</tr>
<tr>
<th scope="row">Session</th>

View file

@ -90,7 +90,7 @@
</td>
<td>
{% if not telechat %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %}(returning item){% endif %}

View file

@ -73,7 +73,7 @@
{{ stream_state }}
</span>
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -85,7 +85,7 @@
</div>
{% endif %}
{% if due_date %}
<span class="text-muted">(Due date {{ due_date }})</span>
<span class="text-body-secondary">(Due date {{ due_date }})</span>
{% endif %}
</td>
{% else %}
@ -95,7 +95,7 @@
<td class="edit">
</td>
<td>
<span class="text-muted">(No stream defined)</span>
<span class="text-body-secondary">(No stream defined)</span>
</td>
{% endif %}
</tr>
@ -166,7 +166,7 @@
{% if pres.rev and pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %},{% endif %}
{% endfor %}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -196,7 +196,7 @@
{% if doc.shepherd %}
{% person_link doc.shepherd.person %}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -226,7 +226,7 @@
</a>
<span class="badge rounded-pill bg-secondary">Last changed {{ shepherd_writeup.time|date:"Y-m-d" }}</span>
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -251,7 +251,7 @@
{% if doc.has_rfc_editor_note %}
(last changed {{ doc.has_rfc_editor_note|date:"Y-m-d" }})
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -327,7 +327,7 @@
</a>
{% endif %}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -375,7 +375,7 @@
On agenda of {{ telechat.telechat_date }} IESG telechat
{% if telechat.returning_item %}(returning item){% endif %}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -402,7 +402,7 @@
{% if doc.ad %}
{% person_link doc.ad %}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -427,7 +427,7 @@
{% if doc.note %}
{{ doc.note|linebreaksbr }}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -452,7 +452,7 @@
{% if doc.notify %}
{{ doc.notify|linkify }}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}
@ -482,7 +482,7 @@
</td>
<td class="{% if iana_review_state|slugify|slice:7 != "iana-ok" %}text-danger{% else %}text-success{% endif %}">
{% if not iana_review_state %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% else %}
@ -511,7 +511,7 @@
</td>
<td>
{% if not iana_action_state %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% else %}
@ -540,7 +540,7 @@
</td>
<td class="{% if iana_experts_state|slugify|slice:"-2:" != "ok" %}text-danger{% else %}text-success{% endif %}">
{% if not iana_experts_state %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% else %}
@ -569,7 +569,7 @@
</td>
<td>
{% if not iana_experts_comment %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% else %}
@ -808,7 +808,7 @@
{% if not forloop.last %}<br>{% endif %}
{% endfor %}
</p>
<p class="text-muted card-text">
<p class="text-body-secondary card-text">
(Note: The e-mail addresses provided for the authors of this Internet-Draft may no longer be valid.)
</p>
</div>

View file

@ -31,5 +31,5 @@
{% endfor %}
</div>
{% else %}
<span class="text-muted">(not online)</span>
<span class="text-body-secondary">(not online)</span>
{% endif %}

View file

@ -61,7 +61,7 @@
title="Show metadata sidebar">
<i class="bi bi-layout-sidebar-reverse"></i>
</button>
<nav class="navbar navbar-light bg-light px-1 fixed-top d-print-none d-md-none">
<nav class="navbar bg-light px-1 fixed-top d-print-none d-md-none">
<a class="nav-link ps-1"
href="{% url 'ietf.doc.views_doc.document_main' name=doc.canonical_name %}">
{% if not snapshot and doc.get_state_slug == "rfc" %}

View file

@ -22,7 +22,7 @@
{% if published %}
{% if document_html %}<br>{% else %}({% endif %}{{ doc.pub_date|date:"F Y" }}{% if not document_html %}){% endif %}
{% else %}
<span class="text-muted">(Publication date unknown)</span>
<span class="text-body-secondary">(Publication date unknown)</span>
{% endif %}
{% if document_html %}<br>{% endif %}
{% if has_verified_errata or has_errata %}
@ -127,7 +127,7 @@
<td>
{{ doc.time|date:"Y-m-d" }}
{% if latest_revision and latest_revision.time|date:"Y-m-d" != doc.time|date:"Y-m-d" %}
<span class="text-muted">(Latest revision {{ latest_revision.time|date:"Y-m-d" }})</span>
<span class="text-body-secondary">(Latest revision {{ latest_revision.time|date:"Y-m-d" }})</span>
{% endif %}
</td>
</tr>
@ -150,7 +150,7 @@
{{ replaces|urlize_related_target_list:document_html|join:", " }}
{% endif %}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
</tr>
@ -231,7 +231,7 @@ href="{% url 'ietf.doc.views_draft.review_possibly_replaces' name=doc.name %}">E
</a>
{% endif %}
</td>
<td {% if stream_desc == "(None)" %}class="text-muted"{%endif%}>
<td {% if stream_desc == "(None)" %}class="text-body-secondary"{%endif%}>
{% if stream_desc != "(None)" %}
{% if doc.stream.name|lower in 'iab,irtf,ise,editorial' %}
<a href="{% url 'ietf.group.views.stream_documents' acronym=doc.stream.name|lower %}">
@ -281,7 +281,7 @@ href="{% url 'ietf.doc.views_draft.review_possibly_replaces' name=doc.name %}">E
{% if doc.intended_std_level %}
{{ doc.intended_std_level }}
{% else %}
<span class="text-muted">
<span class="text-body-secondary">
(None)
</span>
{% endif %}

View file

@ -36,7 +36,7 @@
{% doc_edit_button 'ietf.doc.views_material.edit_material' name=doc.name action="title" %}
{% endif %}
</td>
<th scope="row">{{ doc.title|default:'<span class="text-muted">(None)</span>' }}</th>
<th scope="row">{{ doc.title|default:'<span class="text-body-secondary">(None)</span>' }}</th>
</tr>
{% if doc.abstract or doc.type_id == 'slides' and can_manage_material and not snapshot %}
<tr>
@ -60,7 +60,7 @@
{% if doc.get_state.name %}
{{ doc.get_state.name }}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
</tr>
@ -100,7 +100,7 @@
{% if pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %},{% endif %}
{% endfor %}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
</tr>

View file

@ -32,7 +32,7 @@
<tr>
<th scope="row">Title</th>
<td class="edit"></td>
<th scope="row">{{ doc.title|default:'<span class="text-muted">(None)</span>' }}</th>
<th scope="row">{{ doc.title|default:'<span class="text-body-secondary">(None)</span>' }}</th>
</tr>
<tr>
<th scope="row">Session</th>

View file

@ -29,7 +29,7 @@
{% if doc.get_state.name %}
{{ doc.get_state.name }}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
</tr>

View file

@ -89,7 +89,7 @@
</td>
<td>
{% if not telechat %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %}(returning item){% endif %}

View file

@ -5,7 +5,7 @@
<h1>
{{ doc.title|default:"(Untitled)" }}
<br>
<small class="text-muted">{{ name }}</small>
<small class="text-body-secondary">{{ name }}</small>
</h1>
<ul class="nav nav-tabs my-3">
{% for name, t, url, active, tooltip in tabs %}

View file

@ -12,7 +12,7 @@
{{ title|capfirst_allcaps }}
{% if subtitle %}
<br>
<small class="text-muted">{{ subtitle|safe }}</small>
<small class="text-body-secondary">{{ subtitle|safe }}</small>
{% endif %}
</h2>
{% for name, text, url in writeups %}

View file

@ -8,7 +8,7 @@
<h1>
Add IANA Experts Review State comment
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Manage Document Adoption
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p class="my-3 alert alert-info">
You can begin managing the group state of this Internet-Draft.

View file

@ -9,7 +9,7 @@
<h1>
Change responsible AD
<br>
<small class="text-muted">{{ doc.name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
{% with approved=doc|state:"draft-rfceditor" %}
{% if approved %}

View file

@ -8,7 +8,7 @@
<h1>
Change consensus
<br>
<small class="text-muted">{{ doc.name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change IANA state
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change intended status
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -10,7 +10,7 @@
<h1>
Change documents replaced by
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<h2>Instructions</h2>
<form method="post">

View file

@ -8,7 +8,7 @@
<h1>
Edit shepherd writeup
<br>
<small class="text-muted">{{ doc.canonical_name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.canonical_name }}-{{ doc.rev }}</small>
</h1>
<form class="mt-3" enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change state
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<a class="btn btn-info my-3"
href="{% url 'ietf.doc.views_help.state_help' type="draft-iesg" %}">Help on states</a>

View file

@ -8,7 +8,7 @@
<h1>
Change stream
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change {{ state_type.label }}
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
{% if next_states %}
<a class="my-3 btn btn-info"

View file

@ -8,7 +8,7 @@
<h1>
Edit IESG note
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -9,7 +9,7 @@
<h1>
Edit info
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form class="mt-3" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Make last call
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
<p class="my-3 alert alert-info">
<b>Last call for:</b>

View file

@ -6,7 +6,7 @@
<h1>
Release Internet-Draft
<br>
<small class="text-muted">{{ doc.name }}-{{ doc.rev }}</small>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
<div class="my-3 alert alert-warning">
<b>Warning:</b>

View file

@ -8,7 +8,7 @@
<h1>
Request publication
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p class="my-3 alert alert-info">
Send a publication request to the RFC Editor for {{ doc }} and move it to the <i>{{ next_state.name }}</i> stream state.

View file

@ -8,7 +8,7 @@
<h1>
Request resurrection
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
Request resurrection of the Internet-Draft <b>{{ doc }}</b>?

View file

@ -8,7 +8,7 @@
<h1>
Resurrect
<br>
<small class="text-muted">{{ doc }}</small>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<p>
Resurrect <b>{{ doc }}</b>?

View file

@ -31,12 +31,12 @@
{% if doc.ad %}
{% person_link doc.ad %}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
<td>
{% for p in doc.blocking_positions %}
<span {% if p.is_old_pos %}class="text-muted"{% endif %}>
<span {% if p.is_old_pos %}class="text-body-secondary"{% endif %}>
{% if p.is_old_pos %}
{% person_link p.balloter class="text-reset" %}
{% else %}

View file

@ -67,7 +67,7 @@
{% if doc.intended_std_level %}
{{ doc.intended_std_level.name }}
{% else %}
<span class="text-muted">(None)</span>
<span class="text-body-secondary">(None)</span>
{% endif %}
</td>
<td>{% person_link doc.ad %}</td>

View file

@ -11,7 +11,7 @@
Internet-Drafts in IETF Last Call
{% if pages %}
<br>
<small class="text-muted">{{ pages }} pages</small>
<small class="text-body-secondary">{{ pages }} pages</small>
{% endif %}
</h1>
{% include "doc/search/search_results.html" with start_table=True end_table=True %}

View file

@ -10,7 +10,7 @@
<h1>
Edit action holders
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -12,7 +12,7 @@
<h1>
Edit authors
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form enctype="multipart/form-data" method="post" id="authors-form">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
{{ title }}
<br>
<small class="text-muted">{{ doc.canonical_name }}</small>
<small class="text-body-secondary">{{ doc.canonical_name }}</small>
</h1>
<p class="alert alert-info my-3">
{{ info|safe }}

View file

@ -8,7 +8,7 @@
<h1>
Edit notification addresses
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form class="mt-3" enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Change document revision for session
<br>
<small class="text-muted">{{ sp.document.name }}</small>
<small class="text-body-secondary">{{ sp.document.name }}</small>
</h1>
<h2 class="mt-3">{{ sp.document.title }} at {{ sp.session }}</h2>
{% if sp.session.is_material_submission_cutoff %}

View file

@ -8,7 +8,7 @@
<h1>
Set telechat date
<br>
<small class="text-muted">{{ doc.name }} ({{ doc.pages }} page{{ doc.pages|pluralize }})</small>
<small class="text-body-secondary">{{ doc.name }} ({{ doc.pages }} page{{ doc.pages|pluralize }})</small>
</h1>
{% for warning in warnings %}<div class="alert alert-warning my-3">{{ warning }}</div>{% endfor %}
<form method="post">

View file

@ -10,7 +10,7 @@
<h1>
Sessions linked to
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
{% if user|has_role:"Secretariat,Area Director,WG Chair,WG Secretary,RG Chair,RG Secretary,IRTF Chair,Team Chair" %}
<div class="buttonlist">

View file

@ -8,7 +8,7 @@
<h1>
Upload Material
<br>
<small class="text-muted">{{ group.name }} ({{ group.acronym }})</small>
<small class="text-body-secondary">{{ group.name }} ({{ group.acronym }})</small>
</h1>
<p class="mt-3">
Select what kind of material you wish to upload:

View file

@ -25,7 +25,7 @@
{% endif %}
{{ material_type|lower }}
<br>
<small class="text-muted">
<small class="text-body-secondary">
{% if group is not None %}
{{ group.name }} ({{ group.acronym }})
{% elif doc.meeting_related %}

View file

@ -13,7 +13,7 @@
Internet-Drafts submitted during the last {{ days|default:7 }} days
{% if pages %}
<br>
<small class="text-muted">{{ pages }} pages</small>
<small class="text-body-secondary">{{ pages }} pages</small>
{% endif %}
</h1>
{% include "doc/search/search_results.html" with start_table=True end_table=True %}

View file

@ -10,7 +10,7 @@
<h1>
Send reminder to action holder{{ doc.action_holders.all|pluralize }}
<br>
<small class="text-muted">{{ titletext }}</small>
<small class="text-body-secondary">{{ titletext }}</small>
</h1>
<form enctype="multipart/form-data" method="post">
{% csrf_token %}

View file

@ -8,7 +8,7 @@
<h1>
Confirm removing from session
<br>
<small class="text-muted">{{ sp.document.name }}</small>
<small class="text-body-secondary">{{ sp.document.name }}</small>
</h1>
{% if sp.session.is_material_submission_cutoff %}
<p class="alert alert-warning my-3">

View file

@ -7,7 +7,7 @@
<h1>
Assign reviewer
<br>
<small class="text-muted">{{ review_req.doc.name }}</small>
<small class="text-body-secondary">{{ review_req.doc.name }}</small>
</h1>
{% include "doc/review/request_info.html" %}
<form method="post">

View file

@ -7,7 +7,7 @@
<h1>
Close review request
<br>
<small class="text-muted">{{ review_req.doc.name }}</small>
<small class="text-body-secondary">{{ review_req.doc.name }}</small>
</h1>
{% include "doc/review/request_info.html" %}
<p class="alert alert-info my-3">

View file

@ -26,7 +26,7 @@
{% endif %}
review
<br>
<small class="text-muted">{{ doc.name }}</small>
<small class="text-body-secondary">{{ doc.name }}</small>
</h1>
{% if assignment %}
<table class="my-3 table table-sm table-borderless">
@ -129,7 +129,7 @@
</div>
{% else %}
<div class="mail-archive-search">
<small class="text-muted">Mailing list does not have a recognized ietf.org archive. Auto-searching disabled.</small>
<small class="text-body-secondary">Mailing list does not have a recognized ietf.org archive. Auto-searching disabled.</small>
</div>
{% endif %}
</div>

View file

@ -7,7 +7,7 @@
<h1>
Edit review request comment
<br>
<small class="text-muted">{{ review_req.doc.name }}</small>
<small class="text-body-secondary">{{ review_req.doc.name }}</small>
</h1>
<form method="post">
{% csrf_token %}

View file

@ -10,7 +10,7 @@
<h1>
Edit review request deadline
<br>
<small class="text-muted">{{ review_req.doc.name }}</small>
<small class="text-body-secondary">{{ review_req.doc.name }}</small>
</h1>
<form method="post">
{% csrf_token %}

Some files were not shown because too many files have changed in this diff Show more