-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (75 loc) · 3.78 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
<html>
<head>
<meta charset="utf-8">
<title>brunoofgod Vanilla UI</title>
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bg-light">
<nav class="navbar navbar-dark bg-dark">
<span class="navbar-brand mb-0 h1">Simple page Vanilla JS</span>
</nav>
<main class="container">
<div class="container my-3 p-3 ">
<div class="row text-center">
<div class="col-md-3"></div>
<div class="col-md-6">
<h2>Search for employees</h2>
<div id="custom-search-input">
<div class="input-group">
<input type="text" class="form-control input-lg" id="search" placeholder="Search">
<span class="input-group-btn">
<button class="btn btn-info btn-lg btn-search" onclick="_employeeController.Search()" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="my-3 p-3 bg-white rounded box-shadow">
<div class="media text-muted pt-3">
<table class="table">
<thead>
<tr>
<th scope="col">Picture</th>
<th scope="col">Name</th>
<th scope="col">Age</th>
<th scope="col">Active</th>
<th scope="col">Email</th>
<th scope="col">Phone</th>
<th scope="col">Company</th>
<th scope="col">Balance</th>
</tr>
</thead>
<tbody id="tbody-employee">
<tr class="hidden" scope="row" id="tr-clone">
<td><img src="{{picture}}" alt="Picture" class="mr-2 rounded"></td>
<td><a href="/details.html?id={{id}}">{{name}}</a></td>
<td>{{age}}</td>
<td>{{active}}</td>
<td>{{email}}</td>
<td>{{phone}}</td>
<td>{{company}}</td>
<td>{{balance}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row text-center my-3 p-3 ">
<div class="col-md-3"></div>
<div class="col-md-6">
<button class="btn btn-default" onclick="_employeeController.ListMoreTen()">Show more</button>
</div>
<div class="col-md-3"></div>
</div>
</main>
</body>
<script src="./assets/js/models/EmployeeModel.js" ></script>
<script src="./assets/js/services/EmployeeServices.js" ></script>
<script src="./assets/js/controllers/EmployeeController.js" ></script>
<script> var _employeeController = new EmployeeController(); </script>
</html>