researchandtabs.blade.php 2.59 KB
Newer Older
1
@if( strpos(rtrim(Request::header('REFERER'), '/'), LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") )  === 0 && ( $browser === 'Firefox' || $browser === 'Mozilla' || $browser === 'Chrome' || $browser === 'IE' || $browser === 'Edge') )
2
	<div id="searchplugin" class="alert alert-warning alert-dismissible hide" role="alert" style="">
3
4
5
6
7
8
9
10
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		{!! trans('researchandtabs.plugin.1', ['browser' => $browser]) !!}
		<br />
		<div style="">
			<a href="{{ action('StartpageController@loadStartPage', Request::all()) }}#plugin-modal" target="_blank" rel="noopener" type="button" class="btn btn-info" style="">{!! trans('researchandtabs.plugin.2') !!}</a>
		</div>
	</div>
@endif
11
12
13
14
15
16
17
18
19
<header>
	<div id="research-bar">
		<div id="header-logo">
			<a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}"><h1 class="mg-logo">MetaGer</h1></a>
			<a class="visible-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}"><h1 class="mg-logo">M</h1></a>
		</div>
		<div id="header-searchbar">
			@include('parts.searchbar', ['class' => 'resultpage-searchbar', 'request' => Request::method()])
		</div>
20
	</div>
21
22
</header>
<div id="research-bar-placeholder"></div>
Dominik Hebeler's avatar
Dominik Hebeler committed
23
<div id="foki">
24
25
26
27
28
29
	<div class="scrollbox">
		<div class="foki-scrollfade-left"></div>
		<div id="foki-box">
			@include('parts.foki')
		</div>
		<div class="foki-scrollfade-right"></div>
Karl Hasselbring's avatar
Karl Hasselbring committed
30
	</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
31
</div>
32
33
<div id="resultpage-container">
	<div id="results-container">
34
		@yield('results')
35
36
	</div>
	<div id="additions-container">
Phil Höfer's avatar
Phil Höfer committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
		<div id="search-settings" style="display:none">
			<h1>Eigene Suche</h1>
			@foreach( App\Http\Controllers\FokiLoader::loadFoki() as $fokus => $sumas )
					<h2 class="focus-category">
						@lang("settings.foki." . $fokus)
					</h2>
					<div class="fokus-engines">
						@foreach( $sumas as $name => $data )
							<div class="checkbox settings-checkbox">
								<label>
									<input type="checkbox" name="engine_{{ strtolower($name) }}" class="focusCheckbox" @if ($fokus=='web' ) checked @endif>{{ $data['displayName'] }}
									<a class="settings-icon" target="_blank" rel="noopener" href="{{ $data['url'] }}">
										<i class="fa fa-info-circle" aria-hidden="true"></i>
									</a>
								</label>
						</div>
						@endforeach
				</div>
			@endforeach
		</div>
57
		@if( $metager->showQuicktips() )
58
59
60
			<div id="quicktips">
				@include('quicktips', ['quicktips', $quicktips])
			</div>
61
62
		@endif
	</div>
Phil Höfer's avatar
Phil Höfer committed
63
</div>