#3 Alternative add bookmark button on smaller screens

This commit is contained in:
Sascha Ißbrücker 2020-01-12 15:49:46 +01:00
parent 615dcfeb55
commit 18d4831a5d

View File

@ -34,15 +34,15 @@
</div> </div>
{# Menu drop-down for smaller devices #} {# Menu drop-down for smaller devices #}
<div class="show-md"> <div class="show-md">
<a href="{% url 'bookmarks:new' %}" class="btn btn-primary mr-2">
<i class="icon icon-plus"></i>
</a>
<div class="dropdown dropdown-right"> <div class="dropdown dropdown-right">
<a href="#" class="btn btn-link dropdown-toggle" tabindex="0"> <a href="#" class="btn btn-link dropdown-toggle" tabindex="0">
<i class="icon icon-menu icon-2x"></i> <i class="icon icon-menu icon-2x"></i>
</a> </a>
<!-- menu component --> <!-- menu component -->
<ul class="menu"> <ul class="menu">
<li>
<a href="{% url 'bookmarks:new' %}" class="btn btn-primary mr-2">Add bookmark</a>
</li>
<li> <li>
<a href="{% url 'bookmarks:bookmarklet' %}" class="btn btn-link">Bookmarklet</a> <a href="{% url 'bookmarks:bookmarklet' %}" class="btn btn-link">Bookmarklet</a>
</li> </li>