-
Notifications
You must be signed in to change notification settings - Fork 1
/
Index.html
54 lines (54 loc) · 1.86 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>KnockoutJS.UnobtrusiveBindingsProvider</title>
<link href="Styles/Index.min.css" rel="stylesheet" />
</head>
<body>
<div id="content"></div>
<div id="reservations">
<h2>Your seat reservations (<span id="count">0</span>)</h2>
<input type="checkbox" name="editable"/> Edit Meals
<ul id="meals">
<li>
<input class="name" placeholder="Name" />
<input class="price" placeholder="Price" />
</li>
</ul>
<ul>
<!-- additions: -->
<li class="item"></li>
<!-- /additions -->
<li>Other</li>
</ul>
<table id="seats-table">
<thead>
<tr>
<th>Passenger name</th>
<th>Meal</th>
<th>Surcharge</th>
<th>Additions</th>
<th></th>
</tr>
</thead>
<tbody id="seats">
<tr>
<td><input class="name" /></td>
<td><select class="meal test selected"></select></td>
<td class="meal-formattedPrice"></td>
<td><select class="additions"></select></td>
<td class="list-additions"></td>
<td><a href="#" class="removeSeat">Remove</a></td>
</tr>
</tbody>
</table>
<button id="addSeat">Reserve another seat</button>
<h3 class="test showSurcharge">
Total surcharge: $<span id="totalSurcharge">0.00</span>
</h3>
</div>
<script src="Scripts/knockout-3.3.0.js"></script>
<script src="Scripts/knockout.unobtrusiveBindingsProvider.min.js"></script>
<script src="Scripts/index.js"></script>
</body>
</html>