diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-18 15:26:45 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-18 15:26:45 +0200 |
commit | 72ea6dd1a78d9fd0d7531916819489fd31eb17d7 (patch) | |
tree | 44b9c407acf2a4dc33247c9f2fc96cfe8fa747a7 | |
parent | 54f2b4a254345a58cd03b872bd772863855c7f1f (diff) | |
download | wallabag-72ea6dd1a78d9fd0d7531916819489fd31eb17d7.tar.gz wallabag-72ea6dd1a78d9fd0d7531916819489fd31eb17d7.tar.zst wallabag-72ea6dd1a78d9fd0d7531916819489fd31eb17d7.zip |
add creation date filter view
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index d6dd7c37..813e80cb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -81,6 +81,15 @@ | |||
81 | <label>{% trans %}Create at{% endtrans %}</label> | 81 | <label>{% trans %}Create at{% endtrans %}</label> |
82 | </div> | 82 | </div> |
83 | 83 | ||
84 | <div class="input-field col s6"> | ||
85 | {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value} }) }} | ||
86 | <label for="entry_filter_createdAt_left_date" class="active">{% trans %}from{% endtrans %}</label> | ||
87 | </div> | ||
88 | <div class="input-field col s6"> | ||
89 | {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value} }) }} | ||
90 | <label for="entry_filter_createdAt_right_date" class="active">{% trans %}to{% endtrans %}</label> | ||
91 | </div> | ||
92 | |||
84 | <div class="col s6"> | 93 | <div class="col s6"> |
85 | <a href="#!" class="center waves-effect waves-green btn-flat" id="clear_form_filters">{% trans %}Clear{% endtrans %}</a> | 94 | <a href="#!" class="center waves-effect waves-green btn-flat" id="clear_form_filters">{% trans %}Clear{% endtrans %}</a> |
86 | </div> | 95 | </div> |