diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-30 16:55:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 16:55:44 +0100 |
commit | f3a1b896b370adb8c82d0446a20972074c4d9a61 (patch) | |
tree | c36f77f76dfe6b4766adb20c72c60dd05d52a806 /src | |
parent | 9abac9651fd0af4586245364657dc9455ba5c73c (diff) | |
parent | 6787afbe0d80f93c0686061b5eb5d75ddef8434d (diff) | |
download | wallabag-f3a1b896b370adb8c82d0446a20972074c4d9a61.tar.gz wallabag-f3a1b896b370adb8c82d0446a20972074c4d9a61.tar.zst wallabag-f3a1b896b370adb8c82d0446a20972074c4d9a61.zip |
Merge pull request #2670 from wallabag/add-floating-button
Added floating button on entry view for mobile
Diffstat (limited to 'src')
-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"> |