-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvitepeople.html
118 lines (93 loc) · 3.49 KB
/
invitepeople.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<title>Collaborative Meeting Finder</title>
<link rel="stylesheet" href="style.css">
<script src="jquery-2.1.3.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="responsive-checkout-progress-bar/css/style.css">
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top">
<div class="navbar-header">
<a class="navbar-brand" href="#">Junction</a>
</div>
</nav>
<div class = "row">
<div class = "col-xs-2"></div>
<div class ="col-xs-8">
<div class="checkout-wrap">
<ul class="checkout-bar">
<li class="first visited">
<a href="#">Event Details</a>
</li>
<li class="previously visited">Vote on Location</li>
<li class="previously visited">Add Availability</li>
<li class="active">Invite Participants</li>
<li class="next">View Best Time!</li>
</ul>
</div>
</div>
<div class = "col-xs-2"></div>
</div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<div class="row"> </div>
<h1 class="text-center">Who do you want to attend?</h1>
<div class="row">
<div class="col-xs-4"></div>
<div class="col-xs-4" id="locationlist"></div>
</div>
<div class="row">
<div class="col-xs-3"></div>
<div class="col-xs-3">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1"><a onclick="updateList()"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></a></span>
<input type="text" class="form-control" placeholder="add another email address" id ="Location0" aria-describedby="basic-addon1">
</div>
</div>
<div class="col-xs-3">
<div class="btn-group-vertical" role="group" aria-label="...">
<button type="button" class="btn btn-default" onclick="alertImport()">Import From Facebook</button>
<button type="button" class="btn btn-default" onclick="alertImport()">Import From LinkedIn</button>
<button type="button" class="btn btn-default" onclick="alertImport()">Import From Twitter</button>
</div></div>
</div>
<div class="row"> </div>
<div class="row"> </div>
<div class ="row">
<div class="col-xs-6"><p class="text-center"><a class="btn btn-primary btn-lg" href="selecttimes.html" role="button">Back</a></p></div>
<div class="col-xs-6"><p class="text-center"><a class="btn btn-primary btn-lg" href="besttime.html" role="button">Next</a></p></div>
</div>
</body>
<script>
var i = 1;
function updateList(){
if($("#Location0").val()!="") {
console.log($("#Location0").val());
$("#locationlist").append("<div class=\"row\"> <label>" +
"<input type=\"checkbox\" name=\"optionsRadios\" id= \"optionsRadios"+i+" value=\"option"+i+" checked>"+
" "+$("#Location0").val()+
"</label></div>");
i = i + 1;
}
}
$(document).ready(function(){
$(document).keypress(function(e) {
if(e.which == 13 && $("#Location0").val()!= "") {
updateList();
}
});
});
</script>
</html>