-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathADBA.html
152 lines (137 loc) · 6.15 KB
/
ADBA.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MailBook</title>
<link rel="stylesheet" href="ADBA.css">
<!--Font Awesome Icons-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<!--Form Modal-->
<div id="fullscreen-div"></div>
<form class="modal" id="modal">
<div class="modal-content">
<div class="modal-head">
<h3 id="modal-title">Add Address</h3>
<button type="button" id="close-btn">
<i class="fas fa-times"></i>
</button>
</div>
<div class="modal-main">
<div class="modal-row">
<div class="modal-col">
<label for="">How should your mail be addressed?</label>
<input type="text" placeholder="e.g. The Smith Family" class="form-control"
name="addr_ing_name">
</div>
</div>
<div class="modal-row grid-row">
<div class="modal-col">
<label for="">First Name</label>
<input type="text" placeholder="e.g. John" class="form-control" name="first_name">
</div>
<div class="modal-col">
<label for="">Last Name</label>
<input type="text" placeholder="e.g. Smith" class="form-control" name="last_name">
</div>
</div>
<div class="modal-row grid-row">
<div class="modal-col">
<label for="">Email</label>
<input type="email" placeholder="e.g. john123@xyz.com" class="form-control" name="email">
</div>
<div class="modal-col">
<label for="">Phone</label>
<input type="phone" placeholder="(111)-234-5678" class="form-control" name="phone">
</div>
</div>
<div class="modal-row grid-row">
<div class="modal-col">
<label for="">Street Address</label>
<input type="text" placeholder="Street address, apartment, house no, etc." class="form-control"
name="street_addr">
</div>
<div class="modal-col">
<label for="">Postal Code</label>
<input type="text" placeholder="e.g. 32714" class="form-control" name="postal_code">
</div>
</div>
<div class="modal-row grid-row">
<div class="modal-col">
<label for="">City</label>
<input type="text" placeholder="e.g. St.Petersburg" class="form-control" name="city">
</div>
<div class="modal-col">
<label for="">Country</label>
<select id="country-list" name="country">
<!--<option>China</option>
<option>Russia</option>
<option>USA</option>-->
</select>
</div>
</div>
<div class="modal-row">
<div class="modal-col">
<label for="">Labels</label>
<select name="labels">
<option value="Family">Family</option>
<option value="Friends">Friends</option>
<option value="Colleagues">Colleagues</option>
</select>
</div>
</div>
<div class="modal-row" id="modal-btns">
<button type="submit" id="save-btn">Save</button>
</div>
</div>
</div>
</form>
<!--End of form modal-->
<!--Address Book Home-->
<div class="addr-book" id="addr-book">
<div class="addr-book-content">
<div class="addr-book-head">
<i class="fa-solid fa-address-book fa-2x"></i>
<h2>Address <span>Book</span></h2>
</div>
<div class="addr-book-top">
<button type="button" class="btn" id="add-btn">
<span><i class="class fas fa-plus"></i>Add Address</span>
</button>
</div>
<div class="addr-book-list" id="addr-book-list">
<table class="addr-table">
<thead>
<tr>
<th>ID</th>
<th>Address</th>
<th>Labels</th>
<th>By Name</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
<!-- <tr>
<td>1</td>
<td>
<span class="addressing-name">Smith Family</span><br><span class="address">Johnson
Street - 5668, Lake side</span>
</td>
<td><span>Colleagues</span></td>
<td>Mark Smith</td>
<td>123-456-7890</td>
</tr>-->
</tbody>
</table>
</div>
</div>
</div>
<!--End of Address Book Home-->
<script src="ADBA.js"></script>
</body>
</html>