-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (119 loc) · 5.21 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
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
<!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>AscentAcademy_AddressBook</title>
<link rel="stylesheet" href="style.css">
<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>
<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="The first name" class="form-control" name="first_name">
</div>
<div class="modal-col">
<label for="">Last Name</label>
<input type="text" placeholder="The last name" 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="The email" class="form-control" name="email">
</div>
<div class="modal-col">
<label for="">Phone</label>
<input type="text" placeholder="The phone number" 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 number, etc."
class="form-control" name="street_addr">
</div>
<div class="modal-col">
<label for="">Postal Code</label>
<input type="text" placeholder="60323" 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="City name" class="form-control" name="city">
</div>
<div class="modal-col">
<label for="">Country</label>
<select id="country-list" name="country">
</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>
<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="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>
</tbody>
</table>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>