resultPage.blade.php 2.59 KB
Newer Older
1
<!DOCTYPE html>
2
<html lang="{!! trans('staticPages.meta.language') !!}">
3
	<head>
4
		<meta charset="utf-8">
5
		<title>{{ $eingabe }} - MetaGer</title>
6
7
8
		<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" />
9
10
11
		<meta name="p" content="{{ getmypid() }}" />
		<meta name="q" content="{{ $eingabe }}" />
		<meta name="l" content="{{ LaravelLocalization::getCurrentLocale() }}" />
12
13
		<meta name="mm" content="{{ $metager->getVerificationId() }}" />
		<meta name="mn" content="{{ $metager->getVerificationCount() }}" />
14
		<link rel="search" type="application/opensearchdescription+xml" title="{!! trans('resultPage.opensearch') !!}" href="{{  LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
15
		<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/default.css') }}" />
16
		<link type="text/css" rel="stylesheet" href="/fonts/liberation-fonts/liberation-fonts.css" />
Karl Hasselbring's avatar
   
Karl Hasselbring committed
17
		<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
Phil Höfer's avatar
Phil Höfer committed
18
		<meta name="referrer" content="origin">
Karl Hasselbring's avatar
Karl Hasselbring committed
19
		<meta name="age-meta-label" content="age=18"/>
20
		@include('parts.utility')
21
	</head>
22
	<body id="resultpage-body">
23
24
25
26
27
28
		@if(Request::getHttpHost() === "metager3.de")
		<div class="alert alert-info" style="text-align: center; position: fixed; bottom: 0;">
		Sie befinden sich auf einer MetaGer Testversion. Hier werden Features vor der Veröffentlichung getestet. Unter Umständen funktioniert hier nicht alles wie gewohnt.
		Unsere stabile Version finden Sie <a href="https://metager.de" target="_self">hier</a>.
		</div>
		@endif
29
		@include('parts.sidebar', ['id' => 'resultPageSideBar'])
30
		@if( !isset($suspendheader) )
31
			@include('modals.create-focus-modal')
32
33
			@include('layouts.researchandtabs')
		@else
34
35
36
37
38
39
			<div id="resultpage-container-noheader">
				<div id="results-container">
					@include('parts.errors')
					@include('parts.warnings')
					@yield('results')
				</div>
40
			</div>
41
		@endif
42
		@include('parts.footer', ['type' => 'resultpage', 'id' => 'resultPageFooter'])
43
		<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" alt=""/>
44
		<script src="{{ mix('js/lib.js') }}"></script>
45
46
47
		<script src="{{ mix('js/scriptResultPage.js') }}" defer></script>
		<script src="{{ mix('js/focus-creator.js') }}" defer></script>
		<script src="{{ mix('js/searchbar.js') }}" defer></script>
48
	</body>
49
</html>