Index: openacs-4/packages/proctoring-support/lib/proctoring-display.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/Attic/proctoring-display.adp,v diff -u -r1.1.2.20 -r1.1.2.21 --- openacs-4/packages/proctoring-support/lib/proctoring-display.adp 22 Feb 2022 14:30:06 -0000 1.1.2.20 +++ openacs-4/packages/proctoring-support/lib/proctoring-display.adp 23 Feb 2022 15:07:53 -0000 1.1.2.21 @@ -283,7 +283,7 @@

#proctoring-support.recordings#

-
+
#proctoring-support.reviewed_label# #proctoring-support.not_reviewed_label# @@ -302,6 +302,25 @@
#acs-admin.End_time#
+
+
#proctoring-support.time_filter_presets_label#
+
+ #acs-subsite.none# +
+ +
+ @timeframes.name@: @timeframes.start_date@ @timeframes.start_time@ - @timeframes.end_date@ @timeframes.end_time@ +
+
+
@total@/@total@ @@ -367,6 +386,23 @@ document.querySelector("#total").textContent = total; document.querySelector("#total-shown").textContent = totalShown; } + for (f of document.querySelectorAll("input[name=timeframe]")) { + f.addEventListener('change', function(e) { + document.querySelector("[name=start_date]").value = + this.getAttribute("data-start-date"); + document.querySelector("[name=end_date]").value = + this.getAttribute("data-end-date"); + document.querySelector("[name=start_time]").value = + this.getAttribute("data-start-time"); + document.querySelector("[name=end_time]").value = + this.getAttribute("data-end-time"); + }); + } + for (f of dateFilters) { + f.addEventListener('change', function(e) { + document.querySelector("input[name=timeframe][value=none]").checked = false; + }); + } for (f of document.querySelectorAll("[name=filters] input")) { f.addEventListener('change', function(e) { hideFiltered();