2020-05-25 09:49:36 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="it">
|
|
|
|
<head>
|
|
|
|
<!-- Required meta tags -->
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
|
|
|
|
<!-- Bootstrap CSS -->
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
|
2020-05-27 19:39:14 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
|
2020-05-25 09:49:36 +00:00
|
|
|
{% block css %}
|
|
|
|
|
|
|
|
{% endblock css %}
|
|
|
|
<title>{% block title %} {% endblock title %}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-05-27 20:19:33 +00:00
|
|
|
<div class="topnav text-center">
|
|
|
|
<a class="active" href="{% url 'Homepage' %}"><i class="fas fa-home mr-2"></i>Home</a>
|
2020-06-03 13:45:22 +00:00
|
|
|
<a href="{% url 'strumenti-list' %}">Strumenti</a>
|
|
|
|
<a href="{% url 'bicchieri-list' %}">Bicchieri</a>
|
2020-05-27 20:19:33 +00:00
|
|
|
<a href="{% url 'random_cocktail' %}"><i class="fas fa-glass-cheers mr-2" style="color: black;"></i>Random Cocktail</a>
|
2020-06-04 19:53:18 +00:00
|
|
|
{% if request.user.is_staff %}
|
|
|
|
<a href="{% url 'crea-cocktail' %}"><i class="fas fa-plus mr-2"></i>Crea Cocktail</a>
|
|
|
|
{% endif %}
|
2020-05-27 19:39:14 +00:00
|
|
|
<div class="search-container">
|
|
|
|
<form action="{% url 'cerca' %}">
|
|
|
|
<input type="text" placeholder="Cerca..." name="q">
|
|
|
|
<button type="submit"><i class="fa fa-search"></i></button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-10 14:55:29 +00:00
|
|
|
{% block beforecontent %}
|
|
|
|
|
|
|
|
{% endblock beforecontent %}
|
|
|
|
|
2020-05-25 09:49:36 +00:00
|
|
|
<div class="container">
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% endblock content %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Optional JavaScript -->
|
|
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
2020-05-27 19:39:14 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script>
|
2020-05-25 09:49:36 +00:00
|
|
|
</body>
|
|
|
|
</html>
|