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

@section('title', $title )

5
6
7
8
@section('navbarFocus.search', 'class="active"')

@section('navbarFocus.donate', 'class="dropdown"')

Dominik Hebeler's avatar
Dominik Hebeler committed
9
10
11
12
13
14
15
16
17
18
@section('content')
	<div class="modal fade" id="plugin-modal" tab-index="-1" role="dialog">
      <div class="modal-dialog ">
        <div class="content modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;
              </span>
            </button>
            <h4>
19
20
21
22
23
24
25
26
27
28
29
30
31
              @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') }}
              @else
                $(".seperator").addClass("hidden");
              @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
32
33
34
            </h4>
          </div>
          <div class="modal-body">
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
            @if ($browser === 'Firefox' || $browser === 'Mozilla')
              <ol>
                <li>{{ trans('index.plugin.firefox.1') }}<a href="javascript:window.external.AddSearchProvider($('link[rel=search]').attr('href'))">{{ trans('index.plugin.firefox.2') }}</a>{{ trans('index.plugin.firefox.3') }}</li>
                <li>{{ trans('index.plugin.firefox.4') }}</li>
                <li>{{ trans('index.plugin.firefox.5') }}</li>
              </ol>
            @elseif ($browser === 'Chrome')
              <ol>
                <li>{{ trans('index.plugin.chrome.1') }}<a href="javascript:window.external.AddSearchProvider($('link[rel=search]').attr('href'))" onclick="$('#more').removeClass('hidden');">{{ trans('index.plugin.chrome.2') }}</a>{{ trans('index.plugin.chrome.3') }}
                <ul id=\"more\" class=\"hidden list-unstyled\">
                  <li>{{ trans('index.plugin.chrome.4') }}</li>
                  <li><small>{{ trans('index.plugin.chrome.5') }}</small></li>
                </ul></li>
                <li>{{ trans('index.plugin.chrome.6') }}<span class=\"glyphicon glyphicon-menu-hamburger\"></span></li>
                <li>{{ trans('index.plugin.chrome.7') }}</li>
                <li>{{ trans('index.plugin.chrome.8') }}</li>
                <li>{{ trans('index.plugin.chrome.9') }}</li>
              </ol>
            @elseif ($browser === 'Opera')
              <ol>
                <li>{{ trans('index.plugin.opera.1') }}<a href=\"/\" target=\"_blank\">{{ trans('index.plugin.opera.2') }}</a>{{ trans('index.plugin.opera.3') }}</li>
                <li>{{ trans('index.plugin.opera.4') }}</li>
                <li>{{ trans('index.plugin.opera.5') }}</li>
                <li>{{ trans('index.plugin.opera.6') }}</li>
                <li><small>{{ trans('index.plugin.opera.7') }}<a href=\"https://www.mozilla.org/de/firefox/new/\" target=\"_blank\">{{ trans('index.plugin.opera.8') }}</a>{{ trans('index.plugin.opera.9') }}</small>
              </ol>
            @elseif ($browser === 'IE')
              <ol>
                <li>{{ trans('index.plugin.IE.1') }}<a href=\"javascript:window.external.addSearchProvider($('link[rel=search]').attr('href'));\">{{ trans('index.plugin.IE.2') }}</a>{{ trans('index.plugin.IE.3') }}
                <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>
              </ol>
            @elseif ($browser === 'Edge')
              <ol>
                <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>
              </ol>
            @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
77
78
79
80
81
          </div>
        </div>
      </div>
    </div>
	 <h1 id="mglogo">
82
            <a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer
Dominik Hebeler's avatar
Dominik Hebeler committed
83
84
85
86
            </a>
          </h1>
          <figure>
            <fieldset id="foki">
karl's avatar
karl committed
87
              <input id="web" type="radio" name="focus" value="web" form="searchForm" @if ($focus === 'web') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
88
89
90
91
92
93
              <label id="web-label" for="web">
                <span class="glyphicon glyphicon-globe">
                </span>
                <span class="content">Web
                </span>
              </label>
karl's avatar
karl committed
94
              <input id="bilder" type="radio" name="focus" value="bilder" form="searchForm" @if ($focus === 'bilder') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
95
96
97
              <label id="bilder-label" for="bilder">
                <span class="glyphicon glyphicon-picture">
                </span>
Dominik Hebeler's avatar
Dominik Hebeler committed
98
                <span class="content">{{ trans('index.foki.bilder') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
99
100
                </span>
              </label>
karl's avatar
karl committed
101
              <input id="nachrichten" type="radio" name="focus" value="nachrichten" form="searchForm" @if ($focus === 'nachrichten') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
102
103
104
              <label id="nachrichten-label" for="nachrichten">
                <span class="glyphicon glyphicon-bullhorn">
                </span>
Dominik Hebeler's avatar
Dominik Hebeler committed
105
                <span class="content">{{ trans('index.foki.nachrichten') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
106
107
                </span>
              </label>
karl's avatar
karl committed
108
              <input id="wissenschaft" type="radio" name="focus" value="wissenschaft" form="searchForm" @if ($focus === 'wissenschaft') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
109
110
111
              <label id="wissenschaft-label" for="wissenschaft">
                <span class="glyphicon glyphicon-file">
                </span>
Dominik Hebeler's avatar
Dominik Hebeler committed
112
                <span class="content">{{ trans('index.foki.wissenschaft') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
113
114
                </span>
              </label>
karl's avatar
karl committed
115
              <input id="produkte" type="radio" name="focus" value="produktsuche" form="searchForm" @if ($focus === 'produkte') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
116
117
118
              <label id="produkte-label" for="produkte">
                <span class="glyphicon glyphicon-shopping-cart">
                </span>
Dominik Hebeler's avatar
Dominik Hebeler committed
119
                <span class="content">{{ trans('index.foki.produkte') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
120
121
                </span>
              </label>
karl's avatar
karl committed
122
              <input id="angepasst" type="radio" name="focus" value="angepasst" form="searchForm" @if ($focus === 'angepasst') checked @endif required="">
Dominik Hebeler's avatar
Dominik Hebeler committed
123
124
125
126
              <label id="anpassen-label" for="angepasst">
                <span class="glyphicon glyphicon-cog">
                </span>
                <span class="content">
127
128
129
130
131
132
                  <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/settings") }}">
                  @if ($focus === 'angepasst')
                  {{ trans('index.foki.angepasst') }}
                  @else
                  {{ trans('index.foki.anpassen') }}
                  @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
133
134
135
136
137
                  </a>
                </span>
              </label>
            </fieldset>
            <fieldset>
138
              <form id="searchForm" method="GET" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3") }}" accept-charset="UTF-8">
Dominik Hebeler's avatar
Dominik Hebeler committed
139
140
                <div class="input-group">
                  <div class="input-group-addon">
141
                    <button type="button" data-toggle="popover" data-html="true" data-container="body" title="Pers&ouml;nliches Design ausw&auml;hlen" data-content='&lt;ul id="color-chooser" class="list-inline list-unstyled"&gt;
Dominik Hebeler's avatar
Dominik Hebeler committed
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
&lt;li &gt;&lt;a id="standard" data-rgba="255,194,107,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="standardHard" data-rgba="255,128,0,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blue" data-rgba="164,192,230,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blueHard" data-rgba="2,93,140,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="green" data-rgba="177,226,163,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="greenHard" data-rgba="127,175,27,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="red" data-rgba="255,92,92,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="redHard" data-rgba="255,0,0,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="pink" data-rgba="255,196,246,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="pinkHard" data-rgba="254,67,101,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="black" data-rgba="238,238,238,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li &gt;&lt;a id="blackHard" data-rgba="50,50,50,1" href="javascript:void(0)"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;'>
                      <span class="glyphicon glyphicon-tint">
                      </span>
                    </button>
                  </div>
159
                  <input type="text" name="eingabe" required="" autofocus="" class="form-control" placeholder="{{ trans('index.placeholder') }}">
Dominik Hebeler's avatar
Dominik Hebeler committed
160
                  <input type="hidden" name="encoding" value="utf8">
karl's avatar
karl committed
161
162
163
164
165
166
167
168
                  @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 }} >
                    @foreach ($focusPages as $fp)
                      <input type="hidden" name={{ $fp }} value="on">
                    @endforeach
169
170
171
172
                  @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
173
                  @endif
Dominik Hebeler's avatar
Dominik Hebeler committed
174
175
176
177
178
179
180
181
182
183
184
                  <div class="input-group-addon">
                    <button type="submit">
                      <span class="glyphicon glyphicon-search">
                      </span>
                    </button>
                  </div>
                </div>
              </form>
            </fieldset>
            <ul class="list-inline">
              <li>
185
                <a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" target="_blank" id="foerdershops" class="btn btn-default" title="{{ trans('index.partnertitle') }}">{{ trans('index.conveyor') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
186
187
188
189
                </a>
              </li>
              <li class="hidden-xs seperator">|
              </li>
190
191
              <li id="plug" @unless ($browser === 'Firefox' || $browser === 'Mozilla' || $browser === 'Chrome' || $browser === 'Opera' || $browser === 'IE' || $browser === 'Edge')
                class="hidden" @endunless >
192
                <a href="#" id="plugin" data-toggle="modal" data-target="#plugin-modal" class="btn btn-default" title="{{ trans('index.plugintitle') }}">{{ trans('index.plugin') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
193
194
195
              </li>
            </ul>
          </figure>
196
197
198
199
200
        
@endsection

@section('optionalContent')
<section id="moreInformation" class="hidden-xs">
201
          <h1 class="hidden">{{ trans('index.sponsors.head.1') }}</h1>
Dominik Hebeler's avatar
Dominik Hebeler committed
202
203
          <div class="row">
            <div id="sponsors" class="col-md-6 col-sm12">
204
              <h2>{{ trans('index.sponsors.head.2') }}</h2>
Dominik Hebeler's avatar
Dominik Hebeler committed
205
206
              <ul>
                <li>
207
                  <a href="http://www.woxikon.de/" class="mutelink" target="_blank">{{ trans('index.sponsors.woxikon') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
208
209
                </li>
                <li>
210
                  <a href="http://www.gutschein-magazin.de/" class="mutelink" target="_blank">{{ trans('index.sponsors.gutscheine') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
211
212
                </li>
                <li>
213
                  <a href="https://www.finanzcheck.de/" class="mutelink" target="_blank">{{ trans('index.sponsors.kredite') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
214
215
216
217
218
                </li>
              </ul>
            </div>
            <div class="col-md-6 col-sm-12">
              <h2>
219
                <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "about") }}">{{ trans('index.about.title') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
220
221
222
              </h2>
              <ul>
                <li>
223
                  <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "datenschutz") }}">{{ trans('index.about.1.1') }}</a>{{ trans('index.about.1.2') }}
Dominik Hebeler's avatar
Dominik Hebeler committed
224
                </li>
225
                <li>{{ trans('index.about.2.1') }}<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "spende") }}">{{ trans('index.about.2.2') }}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
226
227
228
229
                </li>
              </ul>
            </div>
          </div>
230
        </section>
231
@endsection