aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig36
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig5
2 files changed, 41 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 %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
index 59705e89..b4c1a628 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -92,6 +92,11 @@
92 <i class="material-icons">casino</i> 92 <i class="material-icons">casino</i>
93 </a> 93 </a>
94 </li> 94 </li>
95 <li id="button_sort">
96 <a title="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="sort" class="nav-panel-menu button-collapse-right">
97 <i class="material-icons">sort_by_alpha</i>
98 </a>
99 </li>
95 <li id="button_filters"> 100 <li id="button_filters">
96 <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters"> 101 <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters">
97 <i class="material-icons">filter_list</i> 102 <i class="material-icons">filter_list</i>