aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-30 16:55:44 +0100
committerGitHub <noreply@github.com>2016-11-30 16:55:44 +0100
commitf3a1b896b370adb8c82d0446a20972074c4d9a61 (patch)
treec36f77f76dfe6b4766adb20c72c60dd05d52a806 /src/Wallabag
parent9abac9651fd0af4586245364657dc9455ba5c73c (diff)
parent6787afbe0d80f93c0686061b5eb5d75ddef8434d (diff)
downloadwallabag-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/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig11
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">