v0.10.11a - Made hide filter, filter washing machine search semi done, and texts fixs
This commit is contained in:
@@ -15,9 +15,12 @@
|
||||
|
||||
<form method="post" action="{{ route("users.store") }}">
|
||||
@csrf
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg på navn,titel,email,tf"></input>
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg på navn,titel,email,tf">
|
||||
</form>
|
||||
<button id="filterButton" type="button" class="btn btn-sde-blue mb-0">Filter</button>
|
||||
</div>
|
||||
|
||||
<div id="showHideCheckbox" class="mt-1 ">
|
||||
<input class="checkbox-inline" type="checkbox" name="checkbox" id="navn" value="navn">
|
||||
<label for="navn">Navn</label>
|
||||
<input class="checkbox-inline" type="checkbox" name="checkbox" id="titel" value="titel">
|
||||
@@ -26,9 +29,8 @@
|
||||
<label for="efternavn">Email</label>
|
||||
<input class="checkbox-inline" type="checkbox" name="checkbox" id="tf" value="tf">
|
||||
<label for="efternavn">Telefon</label>
|
||||
|
||||
<p></p>
|
||||
|
||||
</div>
|
||||
<div id="showHideCheckboxs" style="margin-bottom: -38px">
|
||||
</div>
|
||||
<table class="tbl mt-2">
|
||||
<tr>
|
||||
@@ -90,6 +92,18 @@
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
//Show hide search filter
|
||||
$('#showHideCheckbox').hide();
|
||||
$('#showHideCheckboxs').hide();
|
||||
$("#filterButton").click(function(){
|
||||
$('#showHideCheckbox').toggle();
|
||||
$('#showHideCheckboxs').toggle();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user