2020-05-25 09:49:36 +00:00
|
|
|
{% extends "base.html" %}
|
2020-05-27 19:39:14 +00:00
|
|
|
{% load static %}
|
2020-05-25 09:49:36 +00:00
|
|
|
{% block css %}
|
2020-05-27 19:39:14 +00:00
|
|
|
<link rel="stylesheet" href="{% static 'css/navbar_style.css' %}">
|
2020-06-03 14:57:09 +00:00
|
|
|
<link rel="stylesheet" href="{% static 'css/cocktail.css' %}">
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Faster+One&display=swap" rel="stylesheet">
|
2020-06-03 17:02:32 +00:00
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap" rel="stylesheet">
|
2020-05-25 09:49:36 +00:00
|
|
|
{% endblock css %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
COCKTAIL | {{ cocktail.nome_cocktail }}
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-06-04 14:20:28 +00:00
|
|
|
<div class="card my-3">
|
2020-06-03 14:57:09 +00:00
|
|
|
<div class="card-header">
|
2020-06-03 17:02:32 +00:00
|
|
|
<h3 class="card-title text-center text-on-header">{{ cocktail.nome_cocktail }}</h3>
|
2020-06-03 14:57:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="row no-gutters">
|
2020-06-04 14:20:28 +00:00
|
|
|
<div class="col-md-12">
|
|
|
|
<img src="{{ cocktail.immagine_cocktail.url }}" class="card-img img-fluid" alt="{{ cocktail.nome_cocktail }}">
|
|
|
|
<div class="text_on_image">{{ cocktail.nome_cocktail }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
2020-06-03 14:57:09 +00:00
|
|
|
<div class="card-body">
|
2020-06-03 17:02:32 +00:00
|
|
|
<h5 class="card-text text-center text-on-header">INGREDIENTI : </h5>
|
2020-06-03 14:57:09 +00:00
|
|
|
<hr>
|
|
|
|
<ul>
|
|
|
|
{% for ingredienti in cocktail.ingredienti.all %}
|
2020-06-14 12:43:31 +00:00
|
|
|
<li class="text-on-body">{{ ingredienti.quantitá_ingrediente }} {{ ingredienti.ingrediente }}</li>
|
2020-06-03 14:57:09 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
|
2020-06-03 17:02:32 +00:00
|
|
|
<h5 class="card-text text-center text-on-header">PREPARAZIONE : </h5>
|
2020-06-03 14:57:09 +00:00
|
|
|
<p class="card-text text-center text-on-body">{{ cocktail.preparazione }}</p>
|
|
|
|
<hr>
|
2020-06-03 17:02:32 +00:00
|
|
|
<h5 class="card-text text-center text-on-header">STORIA : </h5>
|
2020-06-03 14:57:09 +00:00
|
|
|
<p class="card-text text-center text-on-body">{{ cocktail.storia }}</p>
|
|
|
|
<hr>
|
2020-06-03 17:02:32 +00:00
|
|
|
<h5 class="card-text text-center text-on-header">CURIOSITÁ : </h5>
|
2020-06-03 14:57:09 +00:00
|
|
|
<p class="card-text text-center text-on-body">{{ cocktail.curiositá }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-footer"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- <div class="widgetcocktail">
|
2020-05-25 09:49:36 +00:00
|
|
|
<div class="text-center"><h3>{{ cocktail.nome_cocktail }}</h3></div>
|
|
|
|
<div class="row"><img src="{{ cocktail.immagine_cocktail.url }}" class="img-fluid mx-auto" alt="{{ cocktail.nome_cocktail }}"></div>
|
|
|
|
<p class="text-center">{{ cocktail.ingredienti.all|join:"," }}</p>
|
2020-06-03 14:57:09 +00:00
|
|
|
</div> -->
|
2020-05-25 09:49:36 +00:00
|
|
|
{% endblock content %}
|