-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (47 loc) · 3.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Invitados</title>
<script src="js/d3.js"></script>
<script src="js/angular.js"></script>
<script src="app/app.js"></script>
<script src="app/service.js"></script>
</head>
<body ng-app="invitadosApp">
<div ng-controller="InvitadosCtrl as $ctrl">
<div id="svg">
</div>
Cantidad de Invitados: {{$ctrl.getTotal()}}<br>
<button ng-click="$ctrl.save()">Salvar</button>
<div>
<label>Mesa</label>
<input id="mesa" type="text" placeholder="Nombre de la Mesa"><br>
</div>
<div id="form">
<label>Asiento 1</label><input type="text" placeholder="asiento 1"><button ng-click="$ctrl.clear(1)">X</button><br>
<label>Asiento 2</label><input type="text" placeholder="asiento 2"><button ng-click="$ctrl.clear(2)">X</button><br>
<label>Asiento 3</label><input type="text" placeholder="asiento 3"><button ng-click="$ctrl.clear(3)">X</button><br>
<label>Asiento 4</label><input type="text" placeholder="asiento 4"><button ng-click="$ctrl.clear(4)">X</button><br>
<label>Asiento 5</label><input type="text" placeholder="asiento 5"><button ng-click="$ctrl.clear(5)">X</button><br>
<label>Asiento 6</label><input type="text" placeholder="asiento 6"><button ng-click="$ctrl.clear(6)">X</button><br>
<label>Asiento 7</label><input type="text" placeholder="asiento 7"><button ng-click="$ctrl.clear(7)">X</button><br>
<label>Asiento 8</label><input type="text" placeholder="asiento 8"><button ng-click="$ctrl.clear(8)">X</button><br>
<label>Asiento 9</label><input type="text" placeholder="asiento 9"><button ng-click="$ctrl.clear(9)">X</button><br>
<label>Asiento 10</label><input type="text" placeholder="asiento 10"><button ng-click="$ctrl.clear(10)">X</button><br>
<label>Asiento 11</label><input type="text" placeholder="asiento 11"><button ng-click="$ctrl.clear(11)">X</button><br>
<label>Asiento 12</label><input type="text" placeholder="asiento 12"><button ng-click="$ctrl.clear(12)">X</button><br>
<label>Asiento 13</label><input type="text" placeholder="asiento 13"><button ng-click="$ctrl.clear(13)">X</button><br>
<label>Asiento 14</label><input type="text" placeholder="asiento 14"><button ng-click="$ctrl.clear(14)">X</button><br>
<label>Asiento 15</label><input type="text" placeholder="asiento 15"><button ng-click="$ctrl.clear(15)">X</button><br>
<label>Asiento 16</label><input type="text" placeholder="asiento 16"><button ng-click="$ctrl.clear(16)">X</button><br>
<label>Asiento 17</label><input type="text" placeholder="asiento 17"><button ng-click="$ctrl.clear(17)">X</button><br>
<label>Asiento 18</label><input type="text" placeholder="asiento 18"><button ng-click="$ctrl.clear(18)">X</button><br>
<label>Asiento 19</label><input type="text" placeholder="asiento 19"><button ng-click="$ctrl.clear(19)">X</button><br>
<label>Asiento 20</label><input type="text" placeholder="asiento 20"><button ng-click="$ctrl.clear(20)">X</button><br>
</div>
</div>
</body>
</html>