Merge pull request #2670 from wallabag/add-floating-button

Added floating button on entry view for mobile
This commit is contained in:
Nicolas Lœuillet 2016-11-30 16:55:44 +01:00 committed by GitHub
commit f3a1b896b3

View file

@ -257,6 +257,17 @@
<article> <article>
{{ entry.content | raw }} {{ entry.content | raw }}
</article> </article>
<div class="fixed-action-btn horizontal click-to-toggle hide-on-large-only">
<a class="btn-floating btn-large">
<i class="material-icons">menu</i>
</a>
<ul>
<li><a class="btn-floating" href="{{ path('archive_entry', { 'id': entry.id }) }}"><i class="material-icons">done</i></a></li>
<li><a class="btn-floating" href="{{ path('star_entry', { 'id': entry.id }) }}"><i class="material-icons">star_outline</i></a></li>
<li><a class="btn-floating" href="{{ path('delete_entry', { 'id': entry.id }) }}"><i class="material-icons">delete</i></a></li>
</ul>
</div>
</div> </div>
<script id="annotationroutes" type="application/json"> <script id="annotationroutes" type="application/json">