From 9d5d9d5172c867de085610cb0d7f251f8b0c5da7 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 18 Jul 2023 20:22:28 +0300 Subject: [PATCH] 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` --- client/agenda/Agenda.vue | 4 +- client/agenda/AgendaQuickAccess.vue | 4 +- client/agenda/AgendaShareModal.vue | 2 +- client/components/ChatLog.vue | 2 +- client/components/Polls.vue | 2 +- ietf/ietfauth/widgets.py | 4 +- ietf/static/css/document_html.scss | 6 - ietf/static/js/edit-meeting-schedule.js | 10 +- ietf/static/js/ietf.js | 2 +- ietf/static/js/password_strength.js | 4 +- ietf/templates/base.html | 4 +- ietf/templates/community/subscription.html | 2 +- ietf/templates/debug.html | 2 +- ietf/templates/doc/ad_count.html | 8 +- ietf/templates/doc/add_comment.html | 2 +- .../doc/add_sessionpresentation.html | 2 +- ietf/templates/doc/ballot/approvaltext.html | 2 +- ietf/templates/doc/ballot/approve_ballot.html | 2 +- .../doc/ballot/approve_downrefs.html | 2 +- ietf/templates/doc/ballot/ballot_issued.html | 2 +- ietf/templates/doc/ballot/clear_ballot.html | 2 +- ietf/templates/doc/ballot/defer_ballot.html | 2 +- ietf/templates/doc/ballot/edit_position.html | 2 +- .../doc/ballot/irsg_ballot_approve.html | 2 +- .../doc/ballot/irsg_ballot_close.html | 2 +- ietf/templates/doc/ballot/lastcalltext.html | 2 +- ietf/templates/doc/ballot/rfceditornote.html | 2 +- .../doc/ballot/rsab_ballot_approve.html | 2 +- .../doc/ballot/rsab_ballot_close.html | 2 +- .../doc/ballot/send_ballot_comment.html | 2 +- ietf/templates/doc/ballot/undefer_ballot.html | 2 +- ietf/templates/doc/ballot/writeupnotes.html | 2 +- ietf/templates/doc/bofreq/change_editors.html | 2 +- .../doc/bofreq/change_responsible.html | 2 +- ietf/templates/doc/bofreq/upload_content.html | 2 +- ietf/templates/doc/change_ad.html | 2 +- ietf/templates/doc/change_shepherd.html | 2 +- ietf/templates/doc/change_shepherd_email.html | 2 +- ietf/templates/doc/change_state.html | 2 +- ietf/templates/doc/change_title.html | 2 +- .../doc/charter/action_announcement_text.html | 2 +- ietf/templates/doc/charter/ballot_issued.html | 2 +- .../doc/charter/ballot_writeupnotes.html | 2 +- ietf/templates/doc/charter/change_ad.html | 2 +- .../doc/charter/review_announcement_text.html | 2 +- ietf/templates/doc/conflict_review/start.html | 2 +- .../templates/doc/conflict_review/submit.html | 2 +- .../doc/document_ballot_content.html | 10 +- ietf/templates/doc/document_bofreq.html | 2 +- ietf/templates/doc/document_charter.html | 4 +- ietf/templates/doc/document_chatlog.html | 2 +- .../doc/document_conflict_review.html | 2 +- ietf/templates/doc/document_draft.html | 34 ++-- .../doc/document_format_buttons.html | 2 +- ietf/templates/doc/document_html.html | 2 +- ietf/templates/doc/document_info.html | 10 +- ietf/templates/doc/document_material.html | 6 +- ietf/templates/doc/document_polls.html | 2 +- ietf/templates/doc/document_review.html | 2 +- .../templates/doc/document_status_change.html | 2 +- ietf/templates/doc/document_top.html | 2 +- ietf/templates/doc/document_writeup.html | 2 +- .../doc/draft/add_iana_experts_comment.html | 2 +- ietf/templates/doc/draft/adopt_draft.html | 2 +- ietf/templates/doc/draft/change_ad.html | 2 +- .../templates/doc/draft/change_consensus.html | 2 +- .../doc/draft/change_iana_state.html | 2 +- .../doc/draft/change_intended_status.html | 2 +- ietf/templates/doc/draft/change_replaces.html | 2 +- .../doc/draft/change_shepherd_writeup.html | 2 +- ietf/templates/doc/draft/change_state.html | 2 +- ietf/templates/doc/draft/change_stream.html | 2 +- .../doc/draft/change_stream_state.html | 2 +- ietf/templates/doc/draft/edit_iesg_note.html | 2 +- ietf/templates/doc/draft/edit_info.html | 2 +- ietf/templates/doc/draft/make_last_call.html | 2 +- ietf/templates/doc/draft/release_draft.html | 2 +- .../doc/draft/request_publication.html | 2 +- .../doc/draft/request_resurrect.html | 2 +- ietf/templates/doc/draft/resurrect.html | 2 +- ietf/templates/doc/drafts_for_ad.html | 4 +- .../templates/doc/drafts_in_iesg_process.html | 2 +- ietf/templates/doc/drafts_in_last_call.html | 2 +- ietf/templates/doc/edit_action_holders.html | 2 +- ietf/templates/doc/edit_authors.html | 2 +- ietf/templates/doc/edit_field.html | 2 +- ietf/templates/doc/edit_notify.html | 2 +- .../doc/edit_sessionpresentation.html | 2 +- ietf/templates/doc/edit_telechat_date.html | 2 +- .../doc/material/all_presentations.html | 2 +- .../doc/material/choose_material_type.html | 2 +- .../templates/doc/material/edit_material.html | 2 +- ietf/templates/doc/recent_drafts.html | 2 +- ietf/templates/doc/remind_action_holders.html | 2 +- .../doc/remove_sessionpresentation.html | 2 +- .../templates/doc/review/assign_reviewer.html | 2 +- ietf/templates/doc/review/close_request.html | 2 +- .../templates/doc/review/complete_review.html | 4 +- .../doc/review/edit_request_comment.html | 2 +- .../doc/review/edit_request_deadline.html | 2 +- .../mark_reviewer_assignment_no_response.html | 2 +- .../review/reject_reviewer_assignment.html | 2 +- ietf/templates/doc/review/request_info.html | 2 +- ietf/templates/doc/review/request_review.html | 2 +- ietf/templates/doc/review/review_request.html | 2 +- .../templates/doc/review/review_wish_add.html | 2 +- .../doc/review/review_wishes_remove.html | 2 +- .../doc/review/submit_unsolicited_review.html | 2 +- .../review/withdraw_reviewer_assignment.html | 2 +- .../doc/review_assignment_summary.html | 2 +- .../doc/search/search_result_row.html | 6 +- ietf/templates/doc/search/status_columns.html | 4 +- ietf/templates/doc/shepherd_writeup.html | 2 +- ietf/templates/doc/status_change/approve.html | 2 +- .../doc/status_change/edit_relations.html | 2 +- .../doc/status_change/last_call.html | 2 +- .../doc/status_change/make_last_call.html | 2 +- ietf/templates/doc/status_change/submit.html | 2 +- ietf/templates/doc/submit_to_iesg.html | 2 +- ietf/templates/group/active_wgs.html | 2 +- ietf/templates/group/add_comment.html | 2 +- .../group/change_reviewer_settings.html | 2 +- ietf/templates/group/customize_workflow.html | 6 +- ietf/templates/group/edit.html | 2 +- ietf/templates/group/email_aliases.html | 2 +- .../group/email_open_review_assignments.html | 2 +- ietf/templates/group/group_about.html | 6 +- ietf/templates/group/group_about_status.html | 2 +- .../group/group_about_status_edit.html | 2 +- .../group/manage_review_requests.html | 2 +- .../group/reset_charter_milestones.html | 2 +- ietf/templates/group/reset_next_reviewer.html | 2 +- ietf/templates/iesg/agenda.html | 4 +- ietf/templates/iesg/agenda_documents.html | 2 +- ietf/templates/iesg/discusses.html | 2 +- ietf/templates/iesg/ietf_activity_report.html | 2 +- ietf/templates/iesg/past_documents.html | 4 +- .../iesg/telechat_agenda_content_edit.html | 2 +- ietf/templates/ietfauth/apikeys.html | 2 +- ietf/templates/ietfauth/edit_field.html | 2 +- ietf/templates/ietfauth/review_overview.html | 2 +- ietf/templates/ipr/add_comment.html | 2 +- ietf/templates/ipr/add_email.html | 2 +- ietf/templates/ipr/admin_list.html | 2 +- ietf/templates/ipr/details_history.html | 2 +- ietf/templates/ipr/details_view.html | 4 +- ietf/templates/ipr/email.html | 2 +- ietf/templates/ipr/notify.html | 2 +- ietf/templates/ipr/search_doc_list.html | 2 +- ietf/templates/ipr/search_doc_result.html | 2 +- ietf/templates/ipr/state.html | 2 +- ietf/templates/liaisons/add_comment.html | 2 +- ietf/templates/liaisons/detail.html | 2 +- ietf/templates/liaisons/detail_history.html | 2 +- ietf/templates/liaisons/edit.html | 2 +- ietf/templates/liaisons/guide_from_ietf.html | 2 +- ietf/templates/liaisons/guide_to_ietf.html | 2 +- .../templates/meeting/add_session_drafts.html | 2 +- ietf/templates/meeting/agenda.html | 2 +- .../meeting/approve_proposed_slides.html | 2 +- ietf/templates/meeting/cancel_session.html | 2 +- ietf/templates/meeting/delete_schedule.html | 2 +- ietf/templates/meeting/diff_schedules.html | 2 +- .../meeting/edit_meeting_schedule.html | 2 +- ...t_meeting_timeslots_and_misc_sessions.html | 2 +- ietf/templates/meeting/edit_session.html | 2 +- ietf/templates/meeting/edit_timeslot.html | 2 +- .../templates/meeting/edit_timeslot_type.html | 2 +- ietf/templates/meeting/finalize.html | 2 +- ietf/templates/meeting/group_materials.html | 2 +- ietf/templates/meeting/important-dates.html | 2 +- .../meeting/make_schedule_official.html | 2 +- ietf/templates/meeting/proceedings.html | 6 +- .../proceedings/edit_material_base.html | 2 +- .../proceedings/edit_meetinghosts.html | 2 +- .../meeting/proceedings/material_details.html | 4 +- .../meeting/proceedings/materials_table.html | 2 +- .../meeting/proceedings/upload_material.html | 2 +- ietf/templates/meeting/properties_edit.html | 2 +- .../meeting/propose_session_slides.html | 2 +- ietf/templates/meeting/request_minutes.html | 2 +- ietf/templates/meeting/requests.html | 4 +- ietf/templates/meeting/schedule_list.html | 2 +- ietf/templates/meeting/session_details.html | 2 +- ietf/templates/meeting/timeslot_edit.html | 2 +- .../meeting/upload_session_agenda.html | 2 +- .../meeting/upload_session_bluesheets.html | 2 +- .../meeting/upload_session_minutes.html | 2 +- .../meeting/upload_session_slides.html | 2 +- ietf/templates/message/message.html | 2 +- ietf/templates/nomcom/edit_nominee.html | 2 +- ietf/templates/nomcom/edit_template.html | 2 +- .../templates/nomcom/extract_email_lists.html | 2 +- ietf/templates/nomcom/feedback.html | 4 +- ietf/templates/nomcom/history.html | 152 +++++++++--------- .../templates/nomcom/nomcom_private_base.html | 2 +- ietf/templates/nomcom/public_nominate.html | 2 +- ietf/templates/person/person_link.html | 4 +- ietf/templates/person/profile.html | 10 +- ietf/templates/registration/edit_profile.html | 2 +- ietf/templates/stats/review_stats.html | 2 +- ietf/templates/submit/email.html | 2 +- ietf/templates/submit/submission_status.html | 2 +- ietf/templates/sync/discrepancies.html | 2 +- 204 files changed, 339 insertions(+), 345 deletions(-) diff --git a/client/agenda/Agenda.vue b/client/agenda/Agenda.vue index 0504710d42..1cd1042f4f 100644 --- a/client/agenda/Agenda.vue +++ b/client/agenda/Agenda.vue @@ -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 diff --git a/client/agenda/AgendaQuickAccess.vue b/client/agenda/AgendaQuickAccess.vue index d080e5dd48..ae23edcabb 100644 --- a/client/agenda/AgendaQuickAccess.vue +++ b/client/agenda/AgendaQuickAccess.vue @@ -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( diff --git a/client/agenda/AgendaShareModal.vue b/client/agenda/AgendaShareModal.vue index 8cdbb291af..a71938673b 100644 --- a/client/agenda/AgendaShareModal.vue +++ b/client/agenda/AgendaShareModal.vue @@ -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' diff --git a/client/components/ChatLog.vue b/client/components/ChatLog.vue index d393b18664..f9dc382bfe 100644 --- a/client/components/ChatLog.vue +++ b/client/components/ChatLog.vue @@ -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. diff --git a/client/components/Polls.vue b/client/components/Polls.vue index 72c8e1c633..f5023995a3 100644 --- a/client/components/Polls.vue +++ b/client/components/Polls.vue @@ -6,7 +6,7 @@ :columns='columns' striped ) - span.text-muted(v-else) + span.text-body-secondary(v-else) em No polls available. diff --git a/ietf/ietfauth/widgets.py b/ietf/ietfauth/widgets.py index 6b01a67bd6..c9a0523402 100644 --- a/ietf/ietfauth/widgets.py +++ b/ietf/ietfauth/widgets.py @@ -41,7 +41,7 @@ def render(self, name, value, attrs=None, renderer=None):
-