mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/IZYIM-mobile-client.git
synced 2026-08-19 04:14:06 +00:00
134 lines
5.6 KiB
HTML
134 lines
5.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>AzureUI - SEARCH CONTACT</title>
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700,900" rel="stylesheet">
|
|
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/global.style.css">
|
|
<style>
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<!-- Wrapper Content Start Here -->
|
|
<div class="wrapper">
|
|
|
|
<!-- Wrapper Inline Start Here -->
|
|
<div class="wrapper-inline">
|
|
|
|
<div class="search-result-header fix-searchbar">
|
|
<!-- or without .fix-searchbar -->
|
|
<form class="fix-searchbar">
|
|
<input type="text" id="searchInput" class="form-element" placeholder="search by company name" onkeyup="CSearch()">
|
|
<button id="btnback" type="button" class="search-result-btn"><i class="fa fa-arrow-left"></i></button>
|
|
</form>
|
|
</div>
|
|
|
|
<!-- Page Content Start Here -->
|
|
<main class="fix-top-menu">
|
|
<section class="container">
|
|
|
|
<!-- Navigation Body Start Here -->
|
|
<div class="cont-menu">
|
|
|
|
<!-- Navigation Menu Start Here -->
|
|
<cont class="menu">
|
|
|
|
<!-- Menu navigation start -->
|
|
<div class="cont-container">
|
|
<ul id="AddCompany" class="main-menu" style="display: none; background-color: #FFF">
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Fedrick</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Darel</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Daryl</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Daxter</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Daymian</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Daniel</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Danny</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Auditore</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Alexander</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Arthur</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Alicia</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Bryan</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"><i class="fa fa-user"></i> Bowel</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- Menu navigation end -->
|
|
|
|
</cont>
|
|
<!-- Navigation Menu End Here-->
|
|
|
|
</div>
|
|
<!-- Navigation Body Start Here -->
|
|
|
|
</section>
|
|
</main>
|
|
<!-- Page Content End Here -->
|
|
|
|
</div>
|
|
<!-- Wrapper Inline End Here -->
|
|
|
|
</div>
|
|
<!-- Wrapper Content End Here -->
|
|
<!-- Required For All Pages, Otherwise Ugly Others Function Won't Work -->
|
|
<script src="js/jquery-3.2.1.min.js"></script>
|
|
<script src="js/global.script.js"></script>
|
|
<!-- Required For All Pages, Otherwise Ugly Others Function Won't Work -->
|
|
|
|
<script type="text/javascript">
|
|
function CSearch() {
|
|
// Declare variables
|
|
var input, filter, ul, li, a, i;
|
|
input = document.getElementById('searchInput');
|
|
filter = input.value.toUpperCase();
|
|
ul = document.getElementById("AddCompany");
|
|
li = ul.getElementsByTagName('li');
|
|
if (input.value.length == 0) {
|
|
ul.style.display = "none";
|
|
} else {
|
|
ul.style.display = "block";
|
|
}
|
|
// Loop through all list items, and hide those who don't match the search query
|
|
for (i = 0; i < li.length; i++) {
|
|
a = li[i].getElementsByTagName("a")[0];
|
|
if (a.innerHTML.toUpperCase().indexOf(filter) > -1) {
|
|
li[i].style.display = "block";
|
|
} else {
|
|
li[i].style.display = "none";
|
|
}
|
|
}
|
|
}
|
|
document.getElementById("btnback").onclick = function () {
|
|
javascript: history.back();
|
|
};
|
|
</script>
|
|
</body>
|
|
</html> |