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.twig17
1 files changed, 17 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 0cd00cfd..f7912b1c 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
@@ -24,6 +24,7 @@
24 {% if currentRoute == 'homepage' %} 24 {% if currentRoute == 'homepage' %}
25 {% set currentRoute = 'unread' %} 25 {% set currentRoute = 'unread' %}
26 {% endif %} 26 {% endif %}
27 <form name="form_mass_action" action="{{ path('mass_action') }}" method="post">
27 <div class="results"> 28 <div class="results">
28 <div class="nb-results"> 29 <div class="nb-results">
29 {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} 30 {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
@@ -38,6 +39,21 @@
38 </div> 39 </div>
39 40
40 <ul class="{% if listMode == 1 %}collection{% else %}row data{% endif %}"> 41 <ul class="{% if listMode == 1 %}collection{% else %}row data{% endif %}">
42
43 <li class="mass-buttons">
44 {% if entries.count > 0 and listMode == 1 %}
45 <span>
46 <input id="selectAll" type="checkbox" data-toggle="[data-js='entry-checkbox']" data-js="checkboxes-toggle" />&nbsp;
47 </span>
48
49 <span>
50 <button class="btn cyan darken-1" type="submit" name="toggle-read" title="{{ 'entry.list.toogle_as_read'|trans }}"><i class="material-icons">done</i></button>
51 <button class="btn cyan darken-1" type="submit" name="toggle-star" title="{{ 'entry.list.toogle_as_star'|trans }}" ><i class="material-icons">star</i></button>
52 <button class="btn cyan darken-1" type="submit" name="delete" title="{{ 'entry.list.delete'|trans }}"><i class="material-icons">delete</i></button>
53 </span>
54 {% endif %}
55 </li>
56
41 {% for entry in entries %} 57 {% for entry in entries %}
42 <li id="entry-{{ entry.id|e }}" class="entry col {% if listMode == 0 %}l3 m6{% else %}collection-item{% endif %} s12"> 58 <li id="entry-{{ entry.id|e }}" class="entry col {% if listMode == 0 %}l3 m6{% else %}collection-item{% endif %} s12">
43 {% if listMode == 1 %} 59 {% if listMode == 1 %}
@@ -50,6 +66,7 @@
50 </li> 66 </li>
51 {% endfor %} 67 {% endfor %}
52 </ul> 68 </ul>
69</form>
53 70
54 {% if entries.getNbPages > 1 %} 71 {% if entries.getNbPages > 1 %}
55 <div class="results"> 72 <div class="results">