caisse-bliss/app/Resources/views/product/index.html.twig

80 lines
2.9 KiB
Twig
Raw Normal View History

2018-03-15 16:04:00 +01:00
{% extends 'base.html.twig' %}
2018-03-15 16:31:12 +01:00
{% block title %}Hello !{% endblock %}
2018-03-15 16:04:00 +01:00
{% block body %}
2018-03-15 16:57:30 +01:00
<div class="container">
<div class="example-wrapper">
<h1>Caisse de convention Qzine</h1>
<fieldset>
2018-03-15 16:04:00 +01:00
2018-03-15 16:57:30 +01:00
<div class="row">
<div class="col-xs-6">
<h2>
Catégories
</h2>
{% for c in categories %}
<h3>{{ c.name }}</h3>
2018-03-15 17:14:57 +01:00
<div class="row-fluid">
{% for p in c.products %}
<div class="col-xs-6">
2018-03-16 14:10:15 +01:00
<button class="btn btn-default btn-block">
{{ p.name }}
<input type="number" value="{{ p.price }}">
€ x
2018-03-15 17:14:57 +01:00
2018-03-16 14:10:15 +01:00
<span class="badge badge-info">0</span>
</button>
2018-03-15 17:14:57 +01:00
</div>
{% endfor %}
</div>
2018-03-15 16:57:30 +01:00
{% endfor %}
</div>
<div class="col-xs-6">
<fieldset class="sell">
<div class="event-name">
<strong>évènement:</strong>
<input type="text" value="le salon du livre">
</div>
<div class="well">
<h2>Commentaire</h2>
<input type="text" value="le comm">
2018-03-15 16:04:00 +01:00
2018-03-15 16:57:30 +01:00
</div>
<h2>Prix</h2>
<strong>
<span class="price"></span>
€</strong>
<button class="btn btn-primary">
Enregistrer
</button>
</fieldset>
<fieldset>
<h2>Historique</h2>
<ul>
<li class="one-sell">
12€ - commentaire
<button>
<i class="fa fa-pencil"></i>
</button>
</li>
</ul>
</fieldset>
</div>
</div>
2018-03-15 16:31:12 +01:00
2018-03-15 16:57:30 +01:00
</fieldset>
<footer>
made by Tykayn -
<a href="www.cipherbliss.com">
Cipher Bliss
</a>
</footer>
</div>
2018-03-15 16:31:12 +01:00
</div>
2018-03-15 16:04:00 +01:00
{% endblock %}