forked from jylcheng/lab5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.87 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Company Address Book</title>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css"/>
<link rel="shortcut icon" href="img/logo.png">
</head>
<body>
<div class="container">
<h1>30 Rock Employee Address Book</h1>
<!-- sorting UI -->
<div class="sort-ui">
<span class="sort-label">Sort By: </span>
<div class="btn-group">
<button type="button" class="btn btn-default active" data-sortby="last">Name</button>
<button type="button" class="btn btn-default" data-sortby="title">Title</button>
<button type="button" class="btn btn-default" data-sortby="dept">Department</button>
</div>
</div>
<!-- container for the generated address book entries -->
<div class="address-book"></div>
<!-- template card for each entry
this will not be displayed, only used by code -->
<div class="template person">
<img class="pic" src="" alt=""/>
<div class="details">
<h2 class="name"><span class="first"></span> <span class="last"></span></h2>
<p class="lead title"></p>
<p>Department: <span class="dept"></span></p>
</div>
</div>
</div> <!-- .container -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="js/employees.js"></script>
<script src="js/address-book.js"></script>
</body>
</html>