index.blade.php 13.6 KB
Newer Older
1
@extends('layouts.indexPage')
Dominik Hebeler's avatar
Dominik Hebeler committed
2
3
4
5

@section('title', $title )

@section('content')
6
  <div class="modal fade" id="plugin-modal" tab-index="-1" role="dialog">
Dominik Hebeler's avatar
Dominik Hebeler committed
7
8
9
10
      <div class="modal-dialog ">
        <div class="content modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
11
              <span aria-hidden="true">&times;</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
12
13
            </button>
            <h4>
14
15
16
17
18
19
20
21
22
23
              @if ($browser === 'Firefox' || $browser === 'Mozilla')
                {{ trans('index.plugin.head.1') }}
              @elseif ($browser === 'Chrome')
                {{ trans('index.plugin.head.2') }}
              @elseif ($browser === 'Opera')
                {{ trans('index.plugin.head.3') }}
              @elseif ($browser === 'IE')
                {{ trans('index.plugin.head.4') }}
              @elseif ($browser === 'Edge')
                {{ trans('index.plugin.head.5') }}
24
25
              @elseif ($browser === 'Safari')
                {{ trans('index.plugin.head.6') }}
26
27
28
              @else
                $(".seperator").addClass("hidden");
              @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
29
            </h4>
30
            <p class="text-muted">{{ trans('index.plugin.head.info') }}</p>
Dominik Hebeler's avatar
Dominik Hebeler committed
31
32
          </div>
          <div class="modal-body">
33
34
            @if ($browser === 'Firefox' || $browser === 'Mozilla')
              <ol>
35
36
                <li>{{ trans('index.plugin.firefox.1') }}<img src="/img/Firefox.png" width="100%" /></li>
                <li>{{ trans('index.plugin.firefox.2') }}<img src="/img/Firefox_Standard.png" width="100%" /></li>
37
              </ol>
38
              <hr />
39
              <h4>{!! trans('index.plugin.firefox.3', ['browser' => $browser]) !!}</h4>
40
              <ol>
41
42
                <li>{!! trans('index.plugin.firefox.4') !!}</li>
                <li>{!! trans('index.plugin.firefox.5') !!}</li>
43
              </ol>
44
45
            @elseif ($browser === 'Chrome')
              <ol>
46
47
48
                <li>{!! trans('index.plugin.chrome.1') !!}</li>
                <li>{!! trans('index.plugin.chrome.2') !!}</li>
                <li>{{ trans('index.plugin.chrome.3') }}</li>
49
              </ol>
50
              <hr />
51
              <h4>{!! trans('index.plugin.chrome.4', ['browser' => $browser]) !!}</h4>
52
              <ol>
53
54
55
56
                <li>{!! trans('index.plugin.chrome.5') !!}</li>
                <li>{!! trans('index.plugin.chrome.6') !!}</li>
                <li>{!! trans('index.plugin.chrome.7') !!}</li>
                <li>{!! trans('index.plugin.chrome.8') !!}</li>
57
              </ol>
58
59
            @elseif ($browser === 'Opera')
              <ol>
60
61
62
63
64
                <li>{!! trans('index.plugin.opera.1') !!}</li>
                <li>{!! trans('index.plugin.opera.2') !!}</li>
                <li>{!! trans('index.plugin.opera.3') !!}</li>
                <li>{!! trans('index.plugin.opera.4') !!}</li>
                <li><small>{!! trans('index.plugin.opera.5') !!}</small>
65
66
              </ol>
              <hr />
67
              <h4>{!! trans('index.plugin.opera.6', ['browser' => $browser]) !!}</h4>
68
              <ol>
69
70
71
72
                <li>{!! trans('index.plugin.opera.7') !!}</li>
                <li>{!! trans('index.plugin.opera.8') !!}</li>
                <li>{!! trans('index.plugin.opera.9') !!}</li>
                <li>{!! trans('index.plugin.opera.10') !!}</li>
73
74
75
              </ol>
            @elseif ($browser === 'IE')
              <ol>
76
77
78
79
80
                <li>{!! trans('index.plugin.IE.1') !!}
                <li>{!! trans('index.plugin.IE.4') !!} (<span class="glyphicon glyphicon-cog"></span>)</li>
                <li>{!! trans('index.plugin.IE.5') !!}</li>
                <li>{!! trans('index.plugin.IE.6') !!}</li>
                <li>{!! trans('index.plugin.IE.7') !!}</li>
81
              </ol>
82
              <hr />
83
              <h4>{!! trans('index.plugin.IE.8', ['browser' => $browser]) !!}</h4>
84
              <ol>
85
86
87
                <li>{!! trans('index.plugin.IE.9') !!}</li>
                <li>{!! trans('index.plugin.IE.10') !!}</li>
                <li>{!! trans('index.plugin.IE.11') !!}</li>
88
              </ol>
89
90
            @elseif ($browser === 'Edge')
              <ol>
91
92
93
94
                <li>{!! trans('index.plugin.edge.1') !!}<span class="glyphicon glyphicon-option-horizontal"></span>{!! trans('index.plugin.edge.2') !!}</li>
                <li>{!! trans('index.plugin.edge.3') !!}</li>
                <li>{!! trans('index.plugin.edge.4') !!}</li>
                <li>{!! trans('index.plugin.edge.5') !!}</li>
95
              </ol>
96
              <hr />
97
              <h4>{!! trans('index.plugin.edge.6', ['browser' => $browser]) !!}</h4>
98
              <ol>
99
100
101
102
103
                <li>{!! trans('index.plugin.edge.7') !!}</li>
                <li>{!! trans('index.plugin.edge.8') !!}</li>
                <li>{!! trans('index.plugin.edge.9') !!}</li>
                <li>{!! trans('index.plugin.edge.10') !!}</li>
                <li>{!! trans('index.plugin.edge.11') !!}</li>
104
              </ol>
105
            @elseif ($browser === 'Safari')
106
107
108
109
110
111
                <ol>
                  <li>{!! trans('index.plugin.safari.1') !!}</li>
                  <li>{!! trans('index.plugin.safari.2') !!}</li>
                  <li>{!! trans('index.plugin.safari.3') !!}</li>
                  <li>{!! trans('index.plugin.safari.4') !!}</li>
                </ol>
112
            @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
113
114
115
116
          </div>
        </div>
      </div>
    </div>
117
   <h1 id="mglogo">
118
            <a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer
Dominik Hebeler's avatar
Dominik Hebeler committed
119
120
121
122
            </a>
          </h1>
          <figure>
            <fieldset id="foki">
karl's avatar
karl committed
123
              <input id="web" type="radio" name="focus" value="web" form="searchForm" @if ($focus === 'web') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
124
              <label id="web-label" for="web">
125
126
                <span class="glyphicon glyphicon-globe"></span>
                <span class="content">{{ trans('index.foki.web') }}</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
127
              </label>
karl's avatar
karl committed
128
              <input id="bilder" type="radio" name="focus" value="bilder" form="searchForm" @if ($focus === 'bilder') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
129
              <label id="bilder-label" for="bilder">
130
131
                <span class="glyphicon glyphicon-picture"></span>
                <span class="content">{{ trans('index.foki.bilder') }}</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
132
              </label>
karl's avatar
karl committed
133
              <input id="nachrichten" type="radio" name="focus" value="nachrichten" form="searchForm" @if ($focus === 'nachrichten') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
134
              <label id="nachrichten-label" for="nachrichten">
135
136
                <span class="glyphicon glyphicon-bullhorn"></span>
                <span class="content">{{ trans('index.foki.nachrichten') }}</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
137
              </label>
karl's avatar
karl committed
138
              <input id="wissenschaft" type="radio" name="focus" value="wissenschaft" form="searchForm" @if ($focus === 'wissenschaft') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
139
              <label id="wissenschaft-label" for="wissenschaft">
140
141
                <span class="glyphicon glyphicon-file"></span>
                <span class="content">{{ trans('index.foki.wissenschaft') }}</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
142
              </label>
karl's avatar
karl committed
143
              <input id="produkte" type="radio" name="focus" value="produktsuche" form="searchForm" @if ($focus === 'produkte') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
144
              <label id="produkte-label" for="produkte">
145
146
                <span class="glyphicon glyphicon-shopping-cart"></span>
                <span class="content">{{ trans('index.foki.produkte') }}</span>
Dominik Hebeler's avatar
Dominik Hebeler committed
147
              </label>
karl's avatar
karl committed
148
              <input id="angepasst" type="radio" name="focus" value="angepasst" form="searchForm" @if ($focus === 'angepasst') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
149
              <label id="anpassen-label" for="angepasst">
150
                <span class="glyphicon glyphicon-cog"></span>
Dominik Hebeler's avatar
Dominik Hebeler committed
151
                <span class="content">
Dominik Hebeler's avatar
Dominik Hebeler committed
152
                  <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "settings") }}">
153
                  @if ($focus === 'angepasst')
154
                    {{ trans('index.foki.angepasst') }}
155
                  @else
156
                    {{ trans('index.foki.anpassen') }}
157
                  @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
158
159
160
161
162
                  </a>
                </span>
              </label>
            </fieldset>
            <fieldset>
163
              <form id="searchForm" @if(Request::has('request') && Request::input('request') === "POST") method="POST" @elseif(Request::has('request') && Request::input('request') === "GET") method="GET" @else method="GET" @endif action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3") }}" accept-charset="UTF-8">
Dominik Hebeler's avatar
Dominik Hebeler committed
164
165
                <div class="input-group">
                  <div class="input-group-addon">
166
                    <button type="button" data-toggle="popover" data-html="true" data-container="body" title="{{ trans('index.design') }}" data-content='&lt;ul id="color-chooser" class="list-inline list-unstyled"&gt;
167
168
169
170
171
172
173
174
175
176
177
178
&lt;li &gt;&lt;a id="standard" data-rgba="255,194,107,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="standardHard" data-rgba="255,128,0,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blue" data-rgba="164,192,230,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blueHard" data-rgba="2,93,140,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="green" data-rgba="177,226,163,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="greenHard" data-rgba="127,175,27,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="red" data-rgba="255,92,92,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="redHard" data-rgba="255,0,0,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="pink" data-rgba="255,196,246,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="pinkHard" data-rgba="254,67,101,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="black" data-rgba="238,238,238,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blackHard" data-rgba="50,50,50,1" href="#"&gt;&lt;/a&gt;&lt;/li&gt;
Dominik Hebeler's avatar
Dominik Hebeler committed
179
180
181
182
183
&lt;/ul&gt;'>
                      <span class="glyphicon glyphicon-tint">
                      </span>
                    </button>
                  </div>
184
                  <input type="text" name="eingabe" required="" autofocus="" autocomplete="{{$autocomplete}}" class="form-control" placeholder="{{ trans('index.placeholder') }}">
Dominik Hebeler's avatar
Dominik Hebeler committed
185
                  <input type="hidden" name="encoding" value="utf8">
karl's avatar
karl committed
186
187
188
189
190
                  @if ($focus === 'angepasst') <input type="hidden" name="lang" value={{ $lang }} >
                  <input type="hidden" name="resultCount" value={{ $resultCount }} >
                  <input type="hidden" name="time" value={{ $time }} >
                  <input type="hidden" name="sprueche" value={{ $sprueche }} >
                  <input type="hidden" name="tab" value={{ $tab }} >
191
                  <input type="hidden" name="maps" value={{ $maps }} >
karl's avatar
karl committed
192
193
194
                    @foreach ($focusPages as $fp)
                      <input type="hidden" name={{ $fp }} value="on">
                    @endforeach
195
                  <input type="hidden" name="theme" value={{ $theme }}>
196
197
198
199
                  @elseif( !App::isLocale('de') )
                  <input type="hidden" name="lang" value="{{ App::getLocale() }}">
                  @else
                  <input type="hidden" name="lang" value="all">
karl's avatar
karl committed
200
                  @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
201
202
203
204
205
206
207
208
209
                  <div class="input-group-addon">
                    <button type="submit">
                      <span class="glyphicon glyphicon-search">
                      </span>
                    </button>
                  </div>
                </div>
              </form>
            </fieldset>
210
            <ul class="list-inline searchform-bonus">
Dominik Hebeler's avatar
Dominik Hebeler committed
211
              <li>
212
                <a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" target="_blank" rel="noopener" id="foerdershops" class="btn btn-default mutelink" title="{{ trans('index.partnertitle') }}">{{ trans('index.conveyor') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
213
214
215
216
                </a>
              </li>
              <li class="hidden-xs seperator">|
              </li>
217
              <li id="plug" @unless ($browser === 'Firefox' || $browser === 'Mozilla' || $browser === 'Chrome' || $browser === 'Opera' || $browser === 'IE' || $browser === 'Edge' || $browser === 'Safari')
218
                class="hidden" @endunless >
219
                <a href="#" data-toggle="modal" data-target="#plugin-modal" class="btn btn-default mutelink" title="{{ trans('index.plugintitle') }}">{{ trans('index.plugin') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
220
221
222
              </li>
            </ul>
          </figure>
223

224
225
226
227
@endsection

@section('optionalContent')
<section id="moreInformation" class="hidden-xs">
228
          <h1 class="hidden">{{ trans('index.sponsors.head.1') }}</h1>
Dominik Hebeler's avatar
Dominik Hebeler committed
229
          <div class="row">
230
            <div id="sponsors" class="col-sm-6">
231
              <h2>{{ trans('index.sponsors.head.2') }}</h2>
Phil Höfer's avatar
Phil Höfer committed
232
              <ul class="startpage">
Dominik Hebeler's avatar
Dominik Hebeler committed
233
                <li>
Dominik Hebeler's avatar
Dominik Hebeler committed
234
                  {!! trans('index.sponsors.woxikon') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
235
236
                </li>
                <li>
237
                  {!! trans('index.sponsors.gutscheine') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
238
239
                </li>
                <li>
240
                  {!! trans('index.sponsors.kredite') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
241
242
243
                </li>
              </ul>
            </div>
244
            <div id="about-us" class="col-sm-6">
Dominik Hebeler's avatar
Dominik Hebeler committed
245
              <h2>
246
                <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "about") }}">{{ trans('index.about.title') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
247
              </h2>
Phil Höfer's avatar
Phil Höfer committed
248
              <ul class="startpage">
Dominik Hebeler's avatar
Dominik Hebeler committed
249
                <li>
250
                  {!! trans('index.about.1.1') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
251
                </li>
252
253
254
255
256
                <li>
                  {!! trans('index.about.2.1') !!}
                </li>
                <li>
                  @lang('index.about.3.1')
Dominik Hebeler's avatar
Dominik Hebeler committed
257
258
259
260
                </li>
              </ul>
            </div>
          </div>
261
        </section>
262
@endsection