mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Add date filter for platform admin page.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
{% from "components/checkbox.html" import checkbox %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/big-number.html" import big_number, big_number_with_status %}
|
||||
{% from "components/message-count-label.html" import message_count_label %}
|
||||
@@ -89,14 +90,16 @@
|
||||
Platform admin
|
||||
</h1>
|
||||
|
||||
<p class="bottom-gutter-2">
|
||||
Showing stats for today 
|
||||
{% if include_from_test_key %}
|
||||
Including test keys (<a href="{{ url_for('.platform_admin', include_from_test_key=False) }}">change</a>)
|
||||
{% else %}
|
||||
Excluding test keys (<a href="{{ url_for('.platform_admin') }}">change</a>)
|
||||
{% endif %}
|
||||
</p>
|
||||
<details>
|
||||
<summary>Apply filters</summary>
|
||||
<form autocomplete="off" method="get">
|
||||
{{ textbox(form.start_date, hint="Enter start date in format YYYY-MM-DD") }}
|
||||
{{ textbox(form.end_date, hint="Enter end date in format YYYY-MM-DD") }}
|
||||
{{ checkbox(form.include_from_test_key) }}
|
||||
</br>
|
||||
<input type="submit" class="button">
|
||||
</form>
|
||||
</details>
|
||||
|
||||
<div class="grid-row bottom-gutter">
|
||||
<div class="column-half">
|
||||
|
||||
Reference in New Issue
Block a user