Added search function to main pages
This commit is contained in:
@@ -60,6 +60,8 @@ require_once "../assets/php/cuttext.php";
|
||||
<script type="text/javascript" src="../assets/fuse-html/fuse-html.min.js"></script>
|
||||
<!-- Main JS -->
|
||||
<script type="text/javascript" src="../assets/js/main.js"></script>
|
||||
<!-- Search -->
|
||||
<script type="text/javascript" src="../assets/js/search-bar.js"></script>
|
||||
<!-- / JAVASCRIPT -->
|
||||
</head>
|
||||
|
||||
@@ -145,12 +147,14 @@ require_once "../assets/php/cuttext.php";
|
||||
<div class="content custom-scrollbar">
|
||||
<div class="page-layout simple full-width">
|
||||
<div class="page-content-wrapper">
|
||||
|
||||
|
||||
<!-- CONTENT -->
|
||||
<div class="clearfix" style="padding:20px;">
|
||||
<a href="create-system.php" class="btn btn-secondary btn-fab pull-left"><i class="icon-plus"></i></a>
|
||||
<h2 class="pull-right">Systems</h2>
|
||||
<div class="toolbar crud pull-left">
|
||||
<a href="create-system.php" class="btn btn-secondary btn-fab"><i class="icon-plus"></i></a>
|
||||
<button type="button" class="btn btn-secondary btn-fab" id="SearchButton"><i class="icon-magnify"></i></button>
|
||||
<input type="search" id="SearchInput" style="display:none;" placeholder="Search">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<body>
|
||||
@@ -176,7 +180,7 @@ require_once "../assets/php/cuttext.php";
|
||||
echo "<th>ServiceTag</th>";
|
||||
echo "</tr>";
|
||||
echo "</thead>";
|
||||
echo "<tbody>";
|
||||
echo "<tbody id='Search_table'>";
|
||||
while($row = mysqli_fetch_array($result)){
|
||||
echo "<tr>";
|
||||
echo "<td>" . $row['id'] . "</td>";
|
||||
|
||||
Reference in New Issue
Block a user