Browse Source

first iteration of search functionality - likely to fail hard

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

5
public/css/jk.css

@ -30,7 +30,8 @@
} }
#search-form input[type="radio"]{ #search-form input[type="radio"]{
max-width: 15px;
max-width: 20px;
padding: 5px;
} }
#search-form #radios{ #search-form #radios{
border: 1px solid #ced4da; border: 1px solid #ced4da;
@ -40,7 +41,7 @@
padding: 5px; padding: 5px;
} }
#search-form .form-group{ #search-form .form-group{
margin: auto 0;
margin: 0 auto;
} }
@media only screen and (orientation: portrait){ @media only screen and (orientation: portrait){

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

@ -10,7 +10,7 @@
<label for="">Hops</label> <label for="">Hops</label>
<input type="radio" id="yeasts" value="yeast" name="table" > <input type="radio" id="yeasts" value="yeast" name="table" >
<label for="">Yeasts</label></span> <label for="">Yeasts</label></span>
<input type="text" class="form-control" name="search" /><button type="submit" class="btn btn-primary">Search</button>
<input type="text" class="form-control" name="search" /> <button type="submit" class="btn btn-primary">Search</button>
</div> </div>
</form> </form>
Loading…
Cancel
Save