mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 08:08:04 +01:00
Display navbar on smaller screens
This commit is contained in:
parent
36c35abbe8
commit
729abaefdd
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-sm navbar-light bg-light">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<a class="navbar-brand" href="{% url "purchase:list" %}">Checkout</a>
|
<a class="navbar-brand" href="{% url "purchase:list" %}">Checkout</a>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav me-auto mb-2 mb-sm-0">
|
||||||
{% if perms.purchase.add_basket %}
|
{% if perms.purchase.add_basket %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{% url "purchase:new" %}" class="nav-link">{% translate "New basket" %}</a>
|
<a href="{% url "purchase:new" %}" class="nav-link">{% translate "New basket" %}</a>
|
||||||
|
|
Loading…
Reference in a new issue