-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (62 loc) · 2.12 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!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>Guest List</title>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link rel="stylesheet" href="app.css">
</head>
<body>
<div id="app">
<div class="container">
<div class="row">
<div class="col-sm-12 text-center">
<h1>Guest List</h1>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
{{ event.eventDate }}
</div>
<div class="card-block">
<h4 class="card-title">{{ event.eventTitle }}</h4><hr>
<p class="card-text">{{ event.eventDescription }}</p>
<p class="card-text">Add your name to the guest list for exclusive offers:</p>
<form class="form-inline" v-on:submit.prevent="formSubmitted">
<input type="text" id="nameInput" class="form-control mb-2 mr-sm-2 mb-sm-0" placeholder="Jane Doe" v-model="newNameText">
<input type="submit" class="btn btn-primary"></input>
</form>
{{newNameText}}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
Attending ()
</div>
<div class="card-block">
<div>
<div class="card-success rounded name-box">
</div>
</div>
<div>
<h4>No names added yet...</h4>
{{guestName}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>