diff options
Diffstat (limited to 'alphabetlearning/templates/base.html')
-rw-r--r-- | alphabetlearning/templates/base.html | 85 |
1 files changed, 2 insertions, 83 deletions
diff --git a/alphabetlearning/templates/base.html b/alphabetlearning/templates/base.html index 8bc9416..e6531ab 100644 --- a/alphabetlearning/templates/base.html +++ b/alphabetlearning/templates/base.html @@ -93,7 +93,7 @@ </li> <li class="nav-item"> <a class="nav-link text-dark fw-bold" - href="https://www.tes.com/teaching-resources/shop/joannalemon" + href="https://www.tes.com/teaching-resources/shop/alphabetlearning" target="_blank">TES Shop</a> </li> <li class="nav-item"> @@ -101,7 +101,7 @@ target="_blank">Etsy</a> </li> <li class="nav-item"> - <a class="nav-link text-dark fw-bold" href="https://blog.joannalemon.com" + <a class="nav-link text-dark fw-bold" href="https://blog.joannalemon.com/blog" target="_blank">Blog</a> </li> <li> @@ -109,37 +109,6 @@ <a class="nav-link text-gray fw-bold" href="{% url "account_logout" %}">Log out</a> {% endif %} </li> - <li class="nav-item"> - - {% if request.user.shoppingcart %} - - <!- TODO - fix this, the logic should be different button if no cart -> - <! this is a problem because it seems you can have an empty cart -> - <div class="mx-2 gray-icon"> - <a href="{% url "payments:cart_detail" %}" class="full-basket-button"> - <span class="fw-bold px-1"> - Items in cart ( - {{ request.user.shoppingcart.items.count }} - ) - </span> - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-bag" viewBox="0 0 16 16"> - <path d="M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1m3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4zM2 5h12v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z"/> - </svg> - </a> - </div> - - {% else %} - - <div class="mx-2 gray-icon"> - <button class="empty-basket-button" disabled><span class="fw-bold px-1">Empty Basket</span> - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-bag-x" viewBox="0 0 16 16"> - <path fill-rule="evenodd" d="M6.146 8.146a.5.5 0 0 1 .708 0L8 9.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 10l1.147 1.146a.5.5 0 0 1-.708.708L8 10.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 10 6.146 8.854a.5.5 0 0 1 0-.708"/> - <path d="M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1m3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4zM2 5h12v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z"/> - </svg> - </button> - </div> - {% endif %} - </li> </ul> </div> </div> @@ -163,56 +132,6 @@ <div class="container"> {% block content %} {% endblock content %} - <footer class="pt-4 my-md-5 pt-md-5 border-top"> - <div class="row"> - <div class="col-12 col-md"> - <img class="mb-2" src="#" alt="" width="24" height="19"> - <small class="d-block mb-3 text-muted">© 2024</small> - </div> - <div class="col-6 col-md"> - <h5>Features</h5> - <ul class="list-unstyled text-small"> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Cool stuff</a> - </li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Random - feature</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Team - feature</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Stuff for - developers</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Another one</a> - </li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Last time</a> - </li> - </ul> - </div> - <div class="col-6 col-md"> - <h5>Pages on this site</h5> - <ul class="list-unstyled text-small"> - <li class="mb-1"><a class="link-secondary text-decoration-none" - href="{% url "resources:resource_list" %}">Resources</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Resource - name</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Another - resource</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Final - resource</a></li> - </ul> - </div> - <div class="col-6 col-md"> - <h5>About</h5> - <ul class="list-unstyled text-small"> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Team</a></li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Locations</a> - </li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Privacy</a> - </li> - <li class="mb-1"><a class="link-secondary text-decoration-none" href="#">Terms</a></li> - </ul> - </div> - </div> - </footer> - </div> {% endblock main %} {% endblock body %} |