resultPage.blade.php 11 KB
Newer Older
1
2
3
4
5
6
7
<!DOCTYPE html>
<html>

<head>
    <title>test - MetaGer</title>
    <link href="/css/bootstrap.css" rel="stylesheet" />
    <link href="/css/styleResultPage.css" rel="stylesheet" />
8
9
10
    @if( isset($mobile) )
    <link href="/css/styleResultPageMobile.css" rel="stylesheet" />
    @endif
11
12
13
14
    <link href="/css/theme.css.php" rel="stylesheet" />
    <link href="/favicon.ico" rel="icon" type="image/x-icon" />
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport" />
15
16
    <meta content="{{ getmypid() }}" name="p" />
    <meta content="{{ $eingabe }}" name="q" />
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body id="resultBody">
    <div class="content-wrapper">
        <header id="research">
            <nav>
                <ul class="list-inline">
                    <li class="hidden-xs hidden-sm pull-left">
                        <div class="logo"><a href="/"><h1>MetaGer</h1></a>
                        </div>
                    </li>
                    <li class="visible-xs visible-sm pull-left">
                        <div class="logo"><a href="/"><h1>MG</h1></a>
                        </div>
                    </li>
                    <li class="pull-right">
34
                        <form method="get" accept-charset="UTF-8" class="form" id="submitForm">
35
                            <div class="input-group">
36
                                <input autocomplete="off" class="form-control" form="submitForm" id="eingabeTop" name="eingabe" placeholder="Suchbegriffe erweitern/verändern, oder völlig neue Suche:" tabindex="1" type="text" value="{{ $eingabe }}" />
37
38
39
40
41
                                <div class="input-group-addon">
                                    <button type='submit' form="submitForm" id='search'><span class="glyphicon glyphicon-search"></span>
                                    </button>
                                </div>
                            </div>
42
43
44
45
46
47
48

                            @foreach( $metager->request->all() as $key => $value)
                                @if($key !== "eingabe")
                                <input type='hidden' name='{{ $key }}' value='{{ $value }}' form='submitForm' />
                                @endif
                            @endforeach

49
50
51
52
53
54
                        </form>
                    </li>
                </ul>
            </nav>
        </header>
        <ul class="nav nav-tabs" id="foki" role="tablist">
55
56
57
58
59
60
61
62
63
64
65
66
67
        @if( $metager->getFokus() === "web" )
        <li id="webTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="web" data-href="#web" href="#web">
                <span class='glyphicon glyphicon-globe'></span> 
                <span class="hidden-xs">Web</span>
            </a>
        </li>
        @else
            <li data-loaded="0" id="webTabSelector" role="presentation">
                <a aria-controls="web" data-href="{{ $metager->generateSearchLink('web') }}" href="{{ $metager->generateSearchLink('web') }}">
                    <span class='glyphicon glyphicon-globe'></span> 
                    <span class="hidden-xs">Web</span>
                </a>
68
            </li>
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
        @endif

        @if( $metager->getFokus() === "bilder" )
        <li id="bilderTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="bilder" data-href="#bilder" href="#bilder">
                <span class='glyphicon glyphicon-picture'></span> 
                <span class="hidden-xs">Bilder</span>
            </a>
        </li>
        @else
        <li data-loaded="0" id="bilderTabSelector" role="presentation">
            <a aria-controls="bilder" data-href="{{ $metager->generateSearchLink('bilder') }}" href="{{ $metager->generateSearchLink('bilder') }}">
                <span class='glyphicon glyphicon-picture'></span> 
                <span class="hidden-xs">Bilder</span>
            </a>
        </li>
        @endif

        @if( $metager->getFokus() === "nachrichten" )
        <li id="nachrichtenTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="nachrichten" data-href="#nachrichten" href="#nachrichten">
                <span class='glyphicon glyphicon-bullhorn'></span> 
                <span class="hidden-xs">Nachrichten</span>
            </a>
        </li>
        @else
        <li data-loaded="0" id="nachrichtenTabSelector" role="presentation" >
            <a aria-controls="nachrichten" data-href="{{ $metager->generateSearchLink('nachrichten') }}" href="{{ $metager->generateSearchLink('nachrichten') }}">
                <span class='glyphicon glyphicon-bullhorn'></span> 
                <span class="hidden-xs">Nachrichten</span>
            </a>
        </li>
        @endif

        @if( $metager->getFokus() === "wissenschaft" )
        <li id="wissenschaftTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="wissenschaft" data-href="#wissenschaft" href="#wissenschaft">
                <span class='glyphicon glyphicon-file'></span> 
                <span class="hidden-xs">Wissenschaft</span>
            </a>
        </li>
        @else
        <li data-loaded="0" id="wissenschaftTabSelector" role="presentation">
            <a aria-controls="wissenschaft" data-href="{{ $metager->generateSearchLink('wissenschaft') }}" href="{{ $metager->generateSearchLink('wissenschaft') }}">
                <span class='glyphicon glyphicon-file'></span> 
                <span class="hidden-xs">Wissenschaft</span>
            </a>
        </li>
        @endif

        @if( $metager->getFokus() === "produktsuche" )
        <li id="produktsucheTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="produktsuche" data-href="#produktsuche" href="#produktsuche">
                <span class='glyphicon glyphicon-shopping-cart'></span> 
                <span class="hidden-xs">Produktsuche</span>
            </a>
        </li>
        @else
        <li data-loaded="0" id="produktsucheTabSelector" role="presentation" >
            <a aria-controls="produktsuche" data-href="{{ $metager->generateSearchLink('produktsuche') }}" href="{{ $metager->generateSearchLink('produktsuche') }}">
                <span class='glyphicon glyphicon-shopping-cart'></span> 
                <span class="hidden-xs">Produktsuche</span>
            </a>
        </li>
        @endif

        @if( $metager->getFokus() === "angepasst" )
        <li id="angepasstTabSelector" role="presentation" data-loaded="1" class="active">
            <a aria-controls="angepasst" data-href="#angepasst" href="#angepasst">
                <span class='glyphicon glyphicon-cog'></span> 
                <span class="hidden-xs">angepasst</span>
            </a>
        </li>
        @endif
143
        </ul>
144

145
        <div class="tab-content container-fluid">
146
147
148
            @if( sizeof($errors) > 0 )
                <div class="alert alert-danger">
                    <ul>
149
                        @foreach($errors as $error)
150
                        <li>{{ $error }}</li>
151
                        @endforeach
152
153
154
155
156
157
                    </ul>
                </div>
            @endif
            @if( sizeof($warnings) > 0)
                <div class="alert alert-warning">
                    <ul>
158
                        @foreach($warnings as $warning)
159
                        <li>{{ $warning }}</li>
160
                        @endforeach
161
162
                    </ul>
                </div>
163
                @endif
164
165
166
            
            @if( $metager->getFokus() === "web" )
            <div role="tabpanel" class="tab-pane active" id="web">
167
                <div class="row">
Dominik Hebeler's avatar
Dominik Hebeler committed
168
                    @yield('results')
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
                </div>
            </div>
            @else
            <div role="tabpanel" class="tab-pane" id="web">
                <div class="loader">
                    <img src="/img/ajax-loader.gif" alt="" />
                </div>
            </div>
            @endif
            

            
            @if( $metager->getFokus() === "bilder" )
            <div role="tabpanel" class="tab-pane active" id="bilder">
                <div class="row">
Dominik Hebeler's avatar
Dominik Hebeler committed
184
                    @yield('results')
185
186
                </div>
            </div>
187
188
189
190
191
192
193
194
195
196
197
198
199
            @else
            <div role="tabpanel" class="tab-pane" id="bilder">
                <div class="loader">
                    <img src="/img/ajax-loader.gif" alt="" />
                </div>
            </div>
            @endif
            

            
            @if( $metager->getFokus() === "nachrichten" )
            <div role="tabpanel" class="tab-pane active" id="nachrichten">
                <div class="row">
Dominik Hebeler's avatar
Dominik Hebeler committed
200
                    @yield('results')
201
202
                </div>
            </div>
203
204
205
206
            @else
            <div role="tabpanel" class="tab-pane" id="nachrichten">
                <div class="loader">
                    <img src="/img/ajax-loader.gif" alt="" />
207
208
                </div>
            </div>
209
210
            @endif
            
Dominik Hebeler's avatar
Dominik Hebeler committed
211
212
213
214
215
216
217
218
219
220
221
222
223
            @if( $metager->getFokus() === "wissenschaft" )
            <div role="tabpanel" class="tab-pane active" id="wissenschaft">
                <div class="row">
                    @yield('results')
                </div>
             </div>
            @else
            <div role="tabpanel" class="tab-pane" id="wissenschaft">
                <div class="loader">
                    <img src="/img/ajax-loader.gif" alt="" />
                </div>
            </div>
            @endif
224
225
226
227
228
229
230
231
232
233
234
            
            @if( $metager->getFokus() === "produktsuche" )
            <div role="tabpanel" class="tab-pane active" id="produktsuche">
                <div class="row">
                        @yield('results')
                </div>
             </div>
            @else
            <div role="tabpanel" class="tab-pane" id="produktsuche">
                <div class="loader">
                    <img src="/img/ajax-loader.gif" alt="" />
235
236
                </div>
            </div>
237
238
239
240
241
242
243
244
            @endif
           

            
            @if( $metager->getFokus() === "angepasst" )
            <div role="tabpanel" class="tab-pane active" id="angepasst">
                <div class="row">
                        @yield('results')
245
246
                </div>
            </div>
247
            @endif
248
249
        </div>
    </div>
250
251

        
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
    <footer>
        <ul class="list-unstyled list-inline footer">
            <li class="left"><a class="btn btn-default" href="/">MetaGer-Startseite</a>
            </li>
            <li class="right"><a class="btn btn-default" href="/impressum/">Impressum</a>
            </li>
        </ul>
    </footer>
    <script src="/js/jquery.js" type="text/javascript"></script>
    <script src="/js/bootstrap.js" type="text/javascript"></script>
    <script src="/js/masonry.js" type="text/javascript"></script>
    <script src="/js/imagesloaded.js" type="text/javascript"></script>
    <script src="/js/scriptResultPage.js" type="text/javascript"></script>
    <!--[if lte IE 8]><script type="text/javascript" src="/js/html5shiv.min.js"></script><![endif]-->
</body>

</html>