Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
9e03acf46a
  1. 7
      public/css/jk.css
  2. 4
      resources/views/search/index.blade.php

7
public/css/jk.css

@ -31,6 +31,13 @@
#search-form input[type="radio"]{
max-width: 15px;
}
#search-form #radios{
border: 1px solid #454d55;
padding: 5px;
}
#search-form .form-group{
float:right;
}
@media only screen and (orientation: portrait){

4
resources/views/search/index.blade.php

@ -1,7 +1,7 @@
<form method="post" action="{{ route('search.results') }}" id="search-form">
@csrf
<div class="form-group">
<legend>Select table: </legend>
<span id="radios">
<input type="radio" id="summarie" value="summarie" name="table" checked>
<label for="summarie">Beers</label>
<input type="radio" id="brewerie" value="brewerie" name="table" >
@ -9,7 +9,7 @@
<input type="radio" id="hops" value="hops" name="table" >
<label for="">Hops</label>
<input type="radio" id="yeasts" value="yeast" name="table" >
<label for="">Yeasts</label>
<label for="">Yeasts</label></span>
<input type="text" class="form-control" name="search" /><button type="submit" class="btn btn-primary">Search</button>
</div>

Loading…
Cancel
Save