Skip to content

Commit 65d201f

Browse files
committed
Fix formatting
1 parent 025c83f commit 65d201f

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

media/commitfest/css/commitfest.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
body {
66
--bs-body-font-size: 14px;
7-
--bs-body-font-family: -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";
8-
--bs-font-sans-serif: -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";
7+
--bs-body-font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
8+
"Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
9+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
10+
--bs-font-sans-serif: -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
11+
"Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
12+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
913
}
1014

1115
/* Bootstrap 5 inline delete/close buttons */

media/commitfest/js/commitfest.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function addAnnotation(threadid) {
180180
$("#annotateThreadList").find("option").remove();
181181
$("#annotateMessage").val("");
182182
$("#annotateMsgId").val("");
183-
const modal = new bootstrap.Modal(document.getElementById('annotateModal'));
183+
const modal = new bootstrap.Modal(document.getElementById("annotateModal"));
184184
modal.show();
185185
$("#annotateThreadList").focus();
186186
updateAnnotationMessages(threadid);
@@ -248,7 +248,7 @@ function deleteAnnotation(annid) {
248248
}
249249

250250
function flagCommitted(committer) {
251-
const modal = new bootstrap.Modal(document.getElementById('commitModal'));
251+
const modal = new bootstrap.Modal(document.getElementById("commitModal"));
252252
modal.show();
253253
$("#committerSelect")[0].selectize.setValue(committer);
254254
$("#doCommitButton").unbind("click");
@@ -307,7 +307,9 @@ function togglePatchFilterButton(buttonId, collapseId) {
307307
* Upstream user search dialog
308308
*/
309309
function search_and_store_user() {
310-
const modal = new bootstrap.Modal(document.getElementById('searchUserModal'));
310+
const modal = new bootstrap.Modal(
311+
document.getElementById("searchUserModal"),
312+
);
311313
$("#doSelectUserButton").unbind("click");
312314
$("#doSelectUserButton").click(() => {
313315
if (!$("#searchUserList").val()) {

pgcommitfest/commitfest/templates/base.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
<li class="nav-item">
2626
<a class="nav-link{% if request.resolver_match.url_name == 'home' or request.path == '/' %} active{% endif %}" href="/">Home</a>
2727
</li>
28-
<li class="nav-item">
29-
<a class="nav-link{% if '/new/' in request.path %} active{% endif %}" href="/{{open_cf.id}}/new/">New Patch</a>
30-
</li>
31-
<li class="nav-item">
32-
<a class="nav-link{% if cf and cf.is_in_progress %} active{% endif %}" href="/current/">Current CF</a>
33-
</li>
28+
<li class="nav-item">
29+
<a class="nav-link{% if '/new/' in request.path %} active{% endif %}" href="/{{open_cf.id}}/new/">New Patch</a>
30+
</li>
31+
<li class="nav-item">
32+
<a class="nav-link{% if cf and cf.is_in_progress %} active{% endif %}" href="/current/">Current CF</a>
33+
</li>
3434
<li class="nav-item">
3535
<a class="nav-link{% if cf and cf.is_open_regular %} active{% endif %}" href="/open/">Open CF</a>
3636
</li>

0 commit comments

Comments
 (0)