-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (83 loc) · 4.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>tin.et home </title>
<link rel="stylesheet" href="Styles.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script src="http://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
</head>
<body>
<div class="logo-div">
<img src="logo.png" alt="logo" class="logo-img">
</div>
<form method="get" action="" class="form">
<select name="filter" id="search-category" class="filter">
<option value="" selected>Select</option>
<option value="TradeName">Trade Name</option>
<option value="CompanyName">Company Name</option>
<option value="ManagerName">Manager Name</option>
</select>
<input type=" text" class="input" id="search-val" placeholder="Search for Company, Manager or Trade name " value="">
<button class="btn1" id="search-btn" type="button" name=""><i class="fas fa-search " ></i></button>
</form>
<div class="container">
<div class="logo-div1">
<img src="logo.png" alt="logo" class="logo-img1">
</div>
<form method="get" action="" class="form1">
<select name="filter" id="search-category1" class="filter1">
<option value="" selected>Select</option>
<option value="TradeName">Trade Name</option>
<option value="CompanyName">Company Name</option>
<option value="ManagerName">Manager Name</option>
</select>
<input type=" text" class="input1" id="search-val1" placeholder="Search for Company, Manager or Trade name " value="">
<button class="btn13" id="search-btn1" type="button" name=""><i class="fas fa-search " ></i></button>
</form>
<table class="table table-striped" id="myTable">
<tbody id="result-table">
</tbody>
</table>
</div>
<div class="navbar1" id="myNavbar">
<span>Language :</span>
<select name="Filter" id="" class="lang" onchange="javascript:location.href = this.value;">
<option value="index.html" selected >English</option>
<option value="index-amh.html">Amharic</option>
</select>
<a href="About.html">About Us</a>
<a href="Help.html">Help</a>
<a href="Contact.html">Contact Us</a>
<a href="index.html" class="active">Home</a>
</div>
<script type="text/javascript">
window.onload = function() {
location.href = document.getElementById("selectbox").value;
}
</script>
<script>
var input = document.getElementById("search-val");
var input1 = document.getElementById("search-val1");
input.addEventListener("keypress", function(event) {
if (event.keyCode === 13) {
event.preventDefault();
document.getElementById("search-btn").click();
}
})
input1.addEventListener("keypress", function(event1) {
if (event.keyCode === 13) {
event.preventDefault();
document.getElementById("search-btn1").click();
}
})
</script>
<script src="index.js"></script>
</body>
</html>