/
index.html
120 lines (106 loc) · 4.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Your contacts</title>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link href="css/jquery-editable.css" rel="stylesheet"/>
<!-- Custom Stylesheet -->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header>
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper cyan lighten-2">
<form id="searchBox" class="hide">
<div class="input-field">
<input id="search" type="search" required>
<label for="search"><i class="material-icons">search</i></label>
<i class="material-icons" id="closeSearch">close</i>
</div>
</form>
<div class="nav-content">
<a href="/phonebook-project/" class="brand-logo center">Contacts</a>
</div>
</div>
</nav>
</div>
</header>
<main>
<div id="addContactModal" class="modal">
<div class="modal-content">
<h4>Add New Contact</h4>
<div class="row">
<form class="col s12" id="addContactForm">
<div class="row">
<div class="input-field col m6 s12">
<i class="material-icons prefix">account_circle</i>
<input id="name" type="text" name="name">
<label for="name">Full Name</label>
</div>
<div class="input-field col m6 s12">
<i class="material-icons prefix">phone</i>
<input id="phone" type="tel" name="phone">
<label for="phone">Phone Number</label>
</div>
</div>
</form>
<div class="right">
<button class="waves-effect waves-teal btn-flat" id="saveContactBtn">
Save
</button>
<button class="modal-action modal-close waves-effect waves-green btn-flat">Cancel</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col l12 m12 s12">
<ul class="collection" id="contactsList"></ul>
<br>
<a href="export-phonebook.php" class="waves-effect waves-light btn hide-on-large-only">
<i class="material-icons left">file_download</i>
Export Contacts
</a>
</div>
</div>
</div>
<div class="fixed-action-btn" style="bottom: 45px; right: 24px;">
<a href="#addContactModal" class="btn-floating btn-large cyan darken-2 tooltipped waves-effect waves-light btn modal-trigger"
data-position="left" data-delay="20" data-tooltip="Add Contact">
<i class="large material-icons">add</i>
</a>
<ul class="hide-on-med-and-down">
<li>
<a href="export-phonebook.php" class="btn-floating blue tooltipped waves-effect waves-light"
data-position="left" data-delay="20" data-tooltip="Export Contacts">
<i class="material-icons">file_download</i>
</a>
</li>
</ul>
</div>
</main>
<footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/materialize.min.js"></script>
<script src="js/jquery-editable-poshytip.js"></script>
<script src="js/custom.js"></script>
</footer>
</body>
</html>