Added search function to main pages
This commit is contained in:
@@ -57,6 +57,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>
|
||||
<body class="layout layout-vertical layout-left-navigation layout-below-toolbar layout-below-footer">
|
||||
@@ -145,8 +147,15 @@ require_once "../assets/php/cuttext.php";
|
||||
|
||||
<!-- CONTENT -->
|
||||
<div class="clearfix" style="padding:20px;">
|
||||
<button class="headbnt btn btn-secondary btn-fab icon icon-arrow-left" onclick="window.history.back();"></button>
|
||||
|
||||
|
||||
|
||||
<h2 class="pull-right">Ticket archive</h2>
|
||||
<div class="toolbar crud pull-left">
|
||||
<button class="headbnt btn btn-secondary btn-fab icon icon-arrow-left" onclick="window.history.back();"></button>
|
||||
<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>
|
||||
<div class="wrapper">
|
||||
@@ -173,7 +182,7 @@ require_once "../assets/php/cuttext.php";
|
||||
echo "<th>Date/Time</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