-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (56 loc) · 3.76 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Обеды в Офис</title>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="assets/css/menu.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.12.0/ui-bootstrap-tpls.min.js"></script>
<script src="assets/js/app.js"></script>
</head>
<body ng-app="OldCityMenu">
<div class="container-fluid" ng-controller="WeekMenuCtrl">
<div class="row">
<accordion class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12"
close-others="true">
<accordion-group class="menu" is-open="dayItems.isOpen" ng-repeat="dayItems in weekItems">
<accordion-heading>
{{dayItems.day}} <small>{{dayItems.date}}</small>
</accordion-heading>
<div class="col-12 price-list" ng-repeat="price in menuPrices">
<h2 class="bg-warning">
<button type="button" class="btn btn-success btn-sm" aria-label="Plus"><span class="glyphicon glyphicon-plus"></span></button>
</button> {{price}} <small>₴</small>
<button type="button" class="btn btn-danger btn-sm" aria-label="Minus"><span class="glyphicon glyphicon-minus"></span></button>
</h2>
<!-- <input type="number" min="0" max="100" ng-model="dayItems.menu[$index].ordered" maxlength="2" style="width:50px;" required> -->
<ol class="text-info">
<li ng-repeat="itemId in dayItems.menu[$index].items track by $index">
{{menuItems[$index][itemId]}}
<div class="btn-group pull-right" dropdown is-open="status.isopen">
<button type="button" class="btn btn-primary btn-xs dropdown-toggle" dropdown-toggle ng-disabled="disabled">
Button dropdown <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</li>
</ol>
</div>
<p class="pull-left bg-info bg-success">2 x 28 + 1 x 30 = 86 ₴</p>
<p class="pull-left bg-success">Ваш заказ принят</p>
<button type="button" class="btn btn-primary pull-right">Заказать</button>
</accordion-group>
</accordion>
</div>
</div>
</body>
</html>