mirror of https://github.com/snachodog/mybuddy.git
Add hrefs to menu links so they work on mobile.
This commit is contained in:
parent
3d8ea65bf9
commit
f3fc219980
|
@ -19,8 +19,9 @@
|
|||
</li>
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle"
|
||||
id="nav-activity-menu-link"
|
||||
<a id="nav-activity-menu-link"
|
||||
class="nav-link dropdown-toggle"
|
||||
href="#"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"><i class="fa fa-child" aria-hidden="true"></i> Activities</a>
|
||||
|
@ -87,10 +88,14 @@
|
|||
{% if request.user %}
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-user" aria-hidden="true"></i> {{ request.user }}
|
||||
<a id="nav-user-menu-link"
|
||||
class="nav-link dropdown-toggle"
|
||||
href="#"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"><i class="fa fa-user" aria-hidden="true"></i> {{ request.user }}
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-menu" aria-labelledby="nav-user-menu-link">
|
||||
<a href="{% url 'api:api-root' %}"
|
||||
class="dropdown-item"
|
||||
target="_blank">API Browser</a>
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle"
|
||||
id="timer-dropdown-menu-link"
|
||||
<a id="nav-timer-menu-link"
|
||||
class="nav-link dropdown-toggle"
|
||||
href="#"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"><i class="fa fa-clock-o" aria-hidden="true"></i> Timers</a>
|
||||
<div class="dropdown-menu" aria-labelledby="timer-dropdown-menu-link">
|
||||
<div class="dropdown-menu" aria-labelledby="nav-timer-menu-link">
|
||||
{% if perms.core.add_timer %}
|
||||
<a class="dropdown-item" href="{% url 'timer-add-quick' %}">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i> Create Timer
|
||||
|
|
Loading…
Reference in New Issue