forked from lubiana/futtern
bootystrappy
This commit is contained in:
parent
96b246462a
commit
321173dfe6
23 changed files with 9410 additions and 1027 deletions
|
@ -3,30 +3,32 @@
|
|||
{% block title %}New OrderItem{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Create new OrderItem</h1>
|
||||
<h1 class="mb-4">Create new OrderItem</h1>
|
||||
|
||||
{{ include('order_item/_form.html.twig') }}
|
||||
|
||||
<hr />
|
||||
<hr class="my-4" />
|
||||
|
||||
{% if food_order.foodVendor.menuLink != '' %}
|
||||
<a href="{{ food_order.foodVendor.menuLink }}" target="_blank">
|
||||
External link to Menu
|
||||
<a href="{{ food_order.foodVendor.menuLink }}" class="btn btn-info mb-3" target="_blank">
|
||||
<i class="bi bi-link-45deg"></i> External link to Menu
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
<b>click a button to select a given menuitem</b>
|
||||
<div class="mb-3">
|
||||
<b>Click a button to select a given menu item:</b>
|
||||
</div>
|
||||
<div>
|
||||
<div class="mb-4">
|
||||
{% for menuItem in menuItems %}
|
||||
<a href="#" data-menu-item>{{ menuItem.name }}</a>
|
||||
<a href="#" class="btn btn-outline-secondary me-2 mb-2" data-menu-item>{{ menuItem.name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<hr class="my-4" />
|
||||
|
||||
<a class="button" href="{{ path('app_food_order_show', { 'id': food_order.id}) }}">back to list</a>
|
||||
<a class="btn btn-secondary" href="{{ path('app_food_order_show', { 'id': food_order.id}) }}">
|
||||
<i class="bi bi-arrow-left"></i> Back to list
|
||||
</a>
|
||||
|
||||
<script>
|
||||
document.querySelectorAll('[data-menu-item]').forEach(function(element) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue