-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
165 lines (112 loc) · 5.98 KB
/
home.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<head>
<title>The People Wallet</title>
<script type="text/javascript" src="/js/code.js"></script>
<script type="text/javascript" src="/js/md5.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<link href="/css/styles.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Trirong">
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function()
{
readCookie()
}, false);
</script>
</head>
<div class = "container-fluid vh-100 g-0 p-0 bg-light" id = "mainContainer">
<!-- Add Modal -->
<div class="modal fade in" id="add" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Add Person</h5>
<button type="button" class="close" onclick = 'closeAdd()' aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class='input-group mb-1'>
<input type='text' class='form-control' placeholder = "First Name" id = 'contactFirstName' aria-describedby='inputGroup-sizing-default'>
</div>
<div class='input-group mb-1'>
<input type='text' class='form-control' placeholder = "Last Name" id = 'contactLastName' aria-describedby='inputGroup-sizing-default'>
</div>
<div class='input-group mb-1'>
<input type='text' class='form-control' placeholder = "Phone Number" id = 'phoneNumber' aria-describedby='inputGroup-sizing-default' maxlength="10">
</div>
<div class='input-group mb-1'>
<input type='text' class='form-control' placeholder = "Email" id = 'email' aria-describedby='inputGroup-sizing-default'>
</div>
<div class='input-group mb-1'>
<input type='text' class='form-control' placeholder = "Address" id = 'address' aria-describedby='inputGroup-sizing-default'>
</div>
<div class = 'errorBar'>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick = addContact()>Add</button>
</div>
</div>
</div>
</div>
<!-- Settings Modal -->
<div class="modal fade in" id="settings" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Settings</h5>
<button type="button" class="close" onclick = 'closeSettings()' aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class= modal-body id = settingsModal >
</div>
</div>
</div>
</div>
<!-- Home page HTML -->
<div class = "row h-100 w-100 g-0">
<div class = "col-sm-5 h-100 g-0 border border-2 border-muted " id = "contactSearch" >
<div class = "row h-100 w-100 g-0 bg-light overflow-auto" id = "contactBox">
<div class="input-group mb-0 p-2 align-self-start">
<div class="input-group-prepend">
<button class="btn btn-outline-muted" type="button" onclick = "searchAll()">View All</button>
</div>
<input type="text" class="form-control form-control-md" id = "searchbar" placeholder = "Search for your people" onchange = "search()" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-md">
</div>
<div class = "col align-self-start" id ="contacts">
</div>
</div>
</div>
<div class = "col-sm-7 h-100 g-0 ">
<div class = "homebackgroundImage">
<div class = "row min-vh-100 p-4 g-0 d-flex" id = "viewContacts">
<div class = "py-3"></div>
<div class="col h-100 d-flex justify-content-center align-items-center g-0" id= "contactView">
</div>
<div class="col-12 d-flex align-self-end h-auto w-100 p-4 g-0 bg-transparent ">
<div class = "col-6 d-flex g-0 justify-content-start align-items-end">
<div class = "d-flex justify-content-inline">
<i class="bi-box-arrow-in-left" style = "color:rgb(236, 236, 236); font-size:50px;" onclick = "window.location.href = 'index.html'"></i>
<div class = "px-2"></div>
<i class="bi-gear rotate_01" style = "color:rgb(236, 236, 236); font-size:50px;" onclick = "showSettings()"></i>
</div>
</div>
<div class = "col-6 d-flex g-0 justify-content-end align-items-end">
<i class="bi-plus-square" style = "color:rgb(236, 236, 236);font-size:50px" onclick = 'showAdd()'></i>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>