diff --git a/backend/reviews/templates/grants-recap.html b/backend/reviews/templates/grants-recap.html index 4dd7b33449..bf44072143 100644 --- a/backend/reviews/templates/grants-recap.html +++ b/backend/reviews/templates/grants-recap.html @@ -202,16 +202,44 @@ list-style: square; } - .opt-filter { - display: grid; - gap: 10px; - grid-template-columns: max-content auto; - align-items: center; + .filters-grid { + display: flex; + flex-wrap: wrap; + gap: 16px; margin-top: 10px; } - .opt-filter label + label { - margin-left: 10px; + .filter-group { + display: flex; + flex-direction: column; + gap: 6px; + min-width: 180px; + } + + .filter-group-label { + font-size: 12px; + font-weight: 600; + color: var(--body-quiet-color, #666); + text-transform: uppercase; + letter-spacing: 0.3px; + margin: 0; + white-space: nowrap; + } + + .filter-group-options { + display: flex; + flex-wrap: wrap; + gap: 4px 12px; + align-items: center; + } + + .filter-group-options label { + display: inline-flex; + align-items: center; + gap: 4px; + font-size: 13px; + cursor: pointer; + white-space: nowrap; } tr:nth-of-type(odd) { @@ -634,23 +662,22 @@

Filters

-
-

- Show grants with - current status: -

-
- {% for status in all_statuses %} - - {% endfor %} +
+
+ Current status +
+ {% for status in all_statuses %} + + {% endfor %} +
diff --git a/backend/reviews/templates/proposals-recap.html b/backend/reviews/templates/proposals-recap.html index 943daf2dbe..6dbd8d08eb 100644 --- a/backend/reviews/templates/proposals-recap.html +++ b/backend/reviews/templates/proposals-recap.html @@ -233,16 +233,60 @@ } - .opt-filter { - display: grid; - gap: 10px; - grid-template-columns: max-content auto; - align-items: center; + .filters-grid { + display: flex; + flex-wrap: wrap; + gap: 16px; margin-top: 10px; } - .opt-filter label + label { - margin-left: 10px; + .filter-group { + display: flex; + flex-direction: column; + gap: 6px; + min-width: 180px; + } + + .filter-group-label { + font-size: 12px; + font-weight: 600; + color: var(--body-quiet-color, #666); + text-transform: uppercase; + letter-spacing: 0.3px; + margin: 0; + white-space: nowrap; + } + + .filter-group-options { + display: flex; + flex-wrap: wrap; + gap: 4px 12px; + align-items: center; + } + + .filter-group-options label { + display: inline-flex; + align-items: center; + gap: 4px; + font-size: 13px; + cursor: pointer; + white-space: nowrap; + } + + .filter-group-options select { + padding: 4px 8px; + font-size: 13px; + border: 1px solid var(--border-color, #ccc); + border-radius: 4px; + background: var(--body-bg, #fff); + } + + .filter-group-options input[type="text"] { + padding: 4px 8px; + font-size: 13px; + border: 1px solid var(--border-color, #ccc); + border-radius: 4px; + min-width: 200px; } .speaker-name-link { @@ -548,42 +592,46 @@

Filters

-
-

Show proposals with N reviews:

- -
-
-

Show proposals with pending status:

-
- {% for status in all_statuses %} - - {% endfor %} +
+
+ Reviews count +
+ +
-
-
-

Filter by speaker name:

-
- - +
+ Status +
+ {% for status in all_statuses %} + + {% endfor %} +
-
-
-

Show proposals of type:

-
- {% for submission_type in submission_types %} - - {% endfor %} +
+ Type +
+ {% for submission_type in submission_types %} + + {% endfor %} +
+
+
+ Speaker +
+ + +