diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-30 16:08:02 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-30 16:08:02 +0100 |
commit | 6787afbe0d80f93c0686061b5eb5d75ddef8434d (patch) | |
tree | c36f77f76dfe6b4766adb20c72c60dd05d52a806 /src/Wallabag | |
parent | 9abac9651fd0af4586245364657dc9455ba5c73c (diff) | |
download | wallabag-6787afbe0d80f93c0686061b5eb5d75ddef8434d.tar.gz wallabag-6787afbe0d80f93c0686061b5eb5d75ddef8434d.tar.zst wallabag-6787afbe0d80f93c0686061b5eb5d75ddef8434d.zip |
Added floating button on entry view for mobile
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index bed0fdec..0cbf1999 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | |||
@@ -257,6 +257,17 @@ | |||
257 | <article> | 257 | <article> |
258 | {{ entry.content | raw }} | 258 | {{ entry.content | raw }} |
259 | </article> | 259 | </article> |
260 | |||
261 | <div class="fixed-action-btn horizontal click-to-toggle hide-on-large-only"> | ||
262 | <a class="btn-floating btn-large"> | ||
263 | <i class="material-icons">menu</i> | ||
264 | </a> | ||
265 | <ul> | ||
266 | <li><a class="btn-floating" href="{{ path('archive_entry', { 'id': entry.id }) }}"><i class="material-icons">done</i></a></li> | ||
267 | <li><a class="btn-floating" href="{{ path('star_entry', { 'id': entry.id }) }}"><i class="material-icons">star_outline</i></a></li> | ||
268 | <li><a class="btn-floating" href="{{ path('delete_entry', { 'id': entry.id }) }}"><i class="material-icons">delete</i></a></li> | ||
269 | </ul> | ||
270 | </div> | ||
260 | </div> | 271 | </div> |
261 | 272 | ||
262 | <script id="annotationroutes" type="application/json"> | 273 | <script id="annotationroutes" type="application/json"> |