-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (73 loc) · 2.22 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
<!DOCTYPE html>
<html>
<head>
<title>To do</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
</head>
<style type="text/css">
.container{
margin-left: 500px
}
@media screen and (max-width: 360px){
.container{
margin-left: 0px;
width: 300px
}
form{
width: 300px
}
}
</style>
<body >
<div class="container" >
<br>
<br>
<br>
<br>
<form>
<div class="form-group">
<input name="name" class="form-control" placeholder="TITLE" required="" style=" width: 400px">
</div>
<div class="form-group">
<input name="description" class="form-control" placeholder="DESCRIPTION" required="" style="height: 100px; width: 400px;">
</div>
<button type="submit" class="btn btn-success save-btn" style=" width: 400px">SUBMIT</button><br><br>
<!-- <div class="form-group">
<input type="text" placeholder="Search.." id="myInput" name="search" style=" width: 350px">
<button onclick="showResultSearch()"><i class="fa fa-search"></i></button>
</div> -->
</form>
<br/>
<table class="table data-table" style="width: 400px">
<!-- <thead>
<th></th>
<th></th>
<th width="200px"></th>
</thead> -->
<tbody id="myUL">
</tbody>
</table>
</div>
<!-- <script>
function myFunction() {
var input, filter, ul, li, a, i, txtValue;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
ul = document.getElementById("myUL");
li = ul.getElementsByTagName("li");
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("a")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
}
</script> -->
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>