Add accesskeys to navbar
This commit is contained in:
parent
984dadf7e6
commit
78907323a6
1 changed files with 12 additions and 6 deletions
|
@ -19,27 +19,33 @@
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{% url 'index' %}"
|
<a href="{% url 'index' %}"
|
||||||
class="home{% if request.resolver_match.url_name == 'index' %} cur{% endif %}">
|
class="home{% if request.resolver_match.url_name == 'index' %} cur{% endif %}"
|
||||||
|
accesskey="h">
|
||||||
<img src="{% static 'main/svg/logo-white.svg' %}" alt="" />Nummi
|
<img src="{% static 'main/svg/logo-white.svg' %}" alt="" />Nummi
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'transactions' %}"
|
<a href="{% url 'transactions' %}"
|
||||||
class="{% if request.resolver_match.url_name == 'transactions' %}cur{% endif %}">
|
class="{% if request.resolver_match.url_name == 'transactions' %}cur{% endif %}"
|
||||||
|
accesskey="t">
|
||||||
Transactions
|
Transactions
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'transaction' %}"
|
<a href="{% url 'transaction' %}"
|
||||||
class="{% if request.resolver_match.url_name == 'transaction' %}cur{% endif %}">
|
class="{% if request.resolver_match.url_name == 'transaction' %}cur{% endif %}"
|
||||||
|
accesskey="n">
|
||||||
Add transaction
|
Add transaction
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'category' %}"
|
<a href="{% url 'category' %}"
|
||||||
class="{% if request.resolver_match.url_name == 'category' %}cur{% endif %}">
|
class="{% if request.resolver_match.url_name == 'category' %}cur{% endif %}"
|
||||||
|
accesskey="c">
|
||||||
Add category
|
Add category
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'snapshot' %}"
|
<a href="{% url 'snapshot' %}"
|
||||||
class="{% if request.resolver_match.url_name == 'snapshot' %}cur{% endif %}">
|
class="{% if request.resolver_match.url_name == 'snapshot' %}cur{% endif %}"
|
||||||
|
accesskey="s">
|
||||||
Add snapshot
|
Add snapshot
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'logout' %}"
|
<a href="{% url 'logout' %}"
|
||||||
class="logout">
|
class="logout"
|
||||||
|
accesskey="l">
|
||||||
Log Out
|
Log Out
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue