aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
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.twig42
1 files changed, 19 insertions, 23 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 e6497893..7706896f 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,36 +209,32 @@
209 {% endif %} 209 {% endif %}
210 210
211 <!-- Sort --> 211 <!-- Sort -->
212 {% if sortForm is not null %}
212 <div id="sort" class="side-nav right-aligned"> 213 <div id="sort" class="side-nav right-aligned">
214 <form action="{{ path('all') }}">
213 <h4 class="center">{{ 'entry.sort.title'|trans }}</h4> 215 <h4 class="center">{{ 'entry.sort.title'|trans }}</h4>
214 216
215 <div class="row"> 217 <div class="row">
216 <div class="col s12"> 218 <div class="input-field col s6 with-checkbox">
217 <label>{{ 'entry.sort.status_label'|trans }}</label> 219 {{ form_widget(sortForm.sortType) }}
218 </div> 220 {{ form_label(sortForm.sortType) }}
221 </div>
219 222
220 <div class="input-field col s12 with-checkbox"> 223 <div class="col s12">
221 <select> 224 <div class="switch">
222 <option value="" disabled selected>Creation date</option> 225 <label>Ascendant
223 <option value="createdAt">{{ 'entry.sort.by.creation_date' | trans }}</option> 226 {{ form_widget(sortForm.sortOrder) }} <span class="lever"></span>
224 <option value="title">{{ 'entry.sort.by.title' | trans }}</option> 227 Descendant
225 <option value="updatedAt">{{ 'entry.sort.by.last_updated' | trans }}</option> 228 </label>
226 </select> 229 </div>
227 </div> 230 </div>
228 231
229 <div class="col s12"> 232 <div class="col s12">
230 <div class="switch"> 233 <button class="btn waves-effect waves-light" type="submit" id="submit-filter" value="filter">{{ 'entry.filters.action.filter'|trans }}</button>
231 <label>
232 Ascendant
233 <input type="checkbox">
234 <span class="lever"></span>
235 Descendant
236 </label>
237 </div> 234 </div>
238 </div> 235 </div>
239 </div> 236 </form>
240 </div> 237 </div>
241 238 {% endif %}
242 {# {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} #}
243 239
244{% endblock %} 240{% endblock %}