v0.10.10e - Made a hide show filter button, not done but works, css fix tomorrow
This commit is contained in:
parent
ec4fdca414
commit
0516acba78
|
@ -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 efter navn,email,tlf"></input>
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg efter navn,email,tlf"><br>
|
||||
</form>
|
||||
<button id="filterButton" type="button" class="btn btn-sde-blue">Søg filter</button>
|
||||
</div>
|
||||
|
||||
<div id="showHideCheckbox">
|
||||
<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="efternavn" value="efternavn">
|
||||
|
@ -105,6 +108,15 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
//Show hide search filter
|
||||
$("#filterButton").click(function(){
|
||||
$('#showHideCheckbox').toggle();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue