blob: 16156e3cdd3bc3a84b353d7227e6387576fe1eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
@extends('layouts.base')
@section('header')
Cocktailsuche
@endsection
@section('css')
<style>
/*
html,
body {
height: 100%;
}
body {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
.form-search {
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
}
.form-search .checkbox {
font-weight: 400;
}
.form-search .form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-search .form-control:focus {
z-index: 2;
}
.form-search input {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
*/
</style>
@endsection
@section('content')
@include('snippets.breadcrumbs')
@if ( "cocktail_index" == Request::route()->getName() )
<div class="container">
<header class="page-header">
<div class="alert alert-error">
<h1 class>Cocktailsuche!</h1>
<p style="font-size: 17px;">
Suche nach deinen Zutaten in über {{ $cocktail_count }} Cocktails.
</p>
<form class="form-search" id="form-search" action="{{ route('cocktail_search') }}">
<div class="form-group">
<label for=""></label>
<div id="cocktail_search_form_field">
<input type="text" class="form-control" id=i name="i[]" id="front_search_form" aria-describedby="suchform-help" placeholder="Hier nach der gewünschten Zutat suchen...">
</div>
<p id="front_search_help" class="form-text">Wie wäre es zum Beispiel mit einem Cocktail aus Gin und Wermut?</p>
</div>
<button class="btn btn-primary" type="button" onclick="addField()">Zutat hinzufügen</button>
<button type="submit" class="btn btn-secondary">Suchen</button>
</form>
<!--div class="text-center mb-4"-->
<!--
<form class="form-search" id="form-search" action="{{ route('cocktail_search') }}">
<h1 class="h3 mb-3 font-weight-normal" id="">
Cocktail!
</h1>
<p> nach deinen Zutaten in über {{ $cocktail_count }} Cocktails.
</p>
<div id="search-form-group">
<input type="" id="i" class="form-control" placeholder="Zutat..." name="i[]" required autofocus>
</div>
<button class="btn btn-lg btn-secondary btn-block" type="button" onclick="addField()">Zutat hinzufügen</button>
<button class="btn btn-lg btn-primary btn-block" type="submit"></button>
</p>
</form>
-->
</div>
</header>
</div>
@endif
@endsection
|