-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (61 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- <link rel='stylesheet' type='text/css' media='screen' href='main.css'> -->
</head>
<body>
<header id="main-header" class="bg-success text-white p-4 mb-3">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1 id="header-title">Item Lister</h1>
</div>
<div class="col-md-6 align-self-center">
<input
type="text"
class="form-control"
id="filter"
placeholder="Search Items..."
/>
</div>
</div>
</div>
</header>
<div class="container">
<div id="main" class="card card-body">
<h2 class="title">Add Items</h2>
<form id="addForm" class="form-inline mb-3">
<input type="text" class="form-control mr-2" id="item" />
<input type="submit" class="btn btn-dark" value="Submit" />
</form>
<h2 class="title">Items</h2>
<ul id="items" class="list-group">
<li class="list-group-item">
Item 1
<button class="btn btn-danger btn-sm float-right delete">X</button>
</li>
<li class="list-group-item">
Item 2
<button class="btn btn-danger btn-sm float-right delete">X</button>
</li>
<li class="list-group-item">
Item 3
<button class="btn btn-danger btn-sm float-right delete">X</button>
</li>
<li class="list-group-item">
Item 4
<button class="btn btn-danger btn-sm float-right delete">X</button>
</li>
</ul>
</div>
</div>
<script src="main.js"></script>
</body>
</html>