diff --git a/public/images/report.png b/public/images/report.png new file mode 100644 index 00000000..bede23cc Binary files /dev/null and b/public/images/report.png differ diff --git a/public/images/report60.png b/public/images/report60.png new file mode 100644 index 00000000..4d6a3406 Binary files /dev/null and b/public/images/report60.png differ diff --git a/views/default.handlebars b/views/default.handlebars index 3f9323ad..9383a721 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -353,6 +353,9 @@ +
+ + Show '); + x += addHtmlValue("Time Span", ''); + x += '
' + addHtmlValue("Report Day", '') + '
'; + x += addHtmlValue("Group By", ''); + x += ''; + setDialogMode(2, "Download Report", 3, null, x); + p3showReportValidation(); + Q('d2reportType').focus(); + } + + function p3showReportValidation() { + var reportType = Q('d2reportType').value; + var reportSpan = Q('d2reportSpan').value; + var reportDay = Q('d2reportDay').value; + var reportGroupBy = Q('d2reportGroupBy').value; + var reportFormat = Q('d2reportFormat').value; + QV('d2daySelector', reportSpan == 2); + //console.log(reportType, reportSpan, reportDay, reportGroupBy, reportFormat); + + var ok = true; + if ((reportSpan == 2) && (reportDay == '')) ok = false; + QE('idx_dlgOkButton', ok); + } + function p3showDownloadEventsDialog(mode) { if (xxdialogMode) return; var x = "Download the list of events with one of the file formats below." + '

'; @@ -10729,7 +10760,7 @@ } if ((features & 0x200000) == 0) { x += addHtmlValue('' + "Username" + '', ''); } - x += addHtmlValue('' + "Email" + '', ''); + x += addHtmlValue('' + "Email" + '', ''); x += addHtmlValue('' + "Password" + '', ''); x += addHtmlValue('' + "Password" + '', ''); x += '
';