Top Search bar now searches clients, added events and trips to client details, started adding trims to trim whitespace on beginning and end of some inputs

This commit is contained in:
johnny@pittpc.com
2019-11-21 21:23:34 -05:00
parent dfb963da32
commit a66e2c7e33
13 changed files with 628 additions and 23 deletions

View File

@@ -9,9 +9,9 @@
</ul>
<!-- SEARCH FORM -->
<form class="form-inline ml-auto mr-5" action="global_search.php">
<form class="form-inline ml-auto mr-5" action="clients.php">
<div class="input-group input-group-sm">
<input class="form-control form-control-navbar" type="search" placeholder="Search" name="query" value="<?php if(isset($_GET['query'])){ echo $_GET['query']; } ?>">
<input class="form-control form-control-navbar" type="search" placeholder="Search" name="q">
<div class="input-group-append">
<button class="btn btn-navbar" type="submit">
<i class="fas fa-search"></i>