diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-24 09:49:35 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-28 10:11:49 +0200 |
commit | f9987d4a213627c6e09eee80743d42c344482e69 (patch) | |
tree | 6db164cfd6ed184d313ecec9619070b7751045f4 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |
parent | 8d2527ec528d1631be21967137f63d2fc0cf218f (diff) | |
download | wallabag-f9987d4a213627c6e09eee80743d42c344482e69.tar.gz wallabag-f9987d4a213627c6e09eee80743d42c344482e69.tar.zst wallabag-f9987d4a213627c6e09eee80743d42c344482e69.zip |
Started an UI for sort form
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 36 |
1 files changed, 36 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 526e3cbb..7e48619e 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 | |||
@@ -209,4 +209,40 @@ | |||
209 | </div> | 209 | </div> |
210 | {% endif %} | 210 | {% endif %} |
211 | 211 | ||
212 | <!-- Sort --> | ||
213 | <div id="sort" class="side-nav fixed right-aligned"> | ||
214 | |||
215 | <h4 class="center">{{ 'entry.sort.title'|trans }}</h4> | ||
216 | |||
217 | <div class="row"> | ||
218 | <div class="col s12"> | ||
219 | <label>{{ 'entry.sort_by.status_label'|trans }}</label> | ||
220 | </div> | ||
221 | |||
222 | <div class="input-field col s12 with-checkbox"> | ||
223 | <select> | ||
224 | <option value="" disabled selected>Creation date</option> | ||
225 | <option value="1">Sort by creation date</option> | ||
226 | <option value="2">Sort by title</option> | ||
227 | <option value="3">Sort by last updated</option> | ||
228 | </select> | ||
229 | {{ form_label(form.isArchived) }} | ||
230 | </div> | ||
231 | |||
232 | <div class="col s12"> | ||
233 | <div class="switch"> | ||
234 | <label> | ||
235 | Ascendant | ||
236 | <input type="checkbox"> | ||
237 | <span class="lever"></span> | ||
238 | Descendant | ||
239 | </label> | ||
240 | </div> | ||
241 | </div> | ||
242 | </div> | ||
243 | |||
244 | </div> | ||
245 | |||
246 | {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} | ||
247 | |||
212 | {% endblock %} | 248 | {% endblock %} |