staticPages.blade.php 2.9 KB
Newer Older
1
<!DOCTYPE html>
Phil Höfer's avatar
Phil Höfer committed
2
<html lang="{!! trans('staticPages.meta.language') !!}">
3
4
	<head>
		<meta charset="utf-8" />
5
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Phil Höfer's avatar
Phil Höfer committed
6
		<title>@yield('title')</title>
7
8
		<meta name="description" content="{!! trans('staticPages.meta.Description') !!}" />
		<meta name="keywords" content="{!! trans('staticPages.meta.Keywords') !!}" />
9
10
11
12
13
14
15
		<meta name="page-topic" content="Dienstleistung" />
		<meta name="robots" content="index,follow" />
		<meta name="revisit-after" content="7 days" />
		<meta name="audience" content="all" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<meta rel="icon" type="image/x-icon" href="/favicon.ico" />
		<meta rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
16
		<link rel="search" type="application/opensearchdescription+xml" title="{{ trans('staticPages.opensearch') }}" href="{{  LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
17
		<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" />
18
		<link type="text/css" rel="stylesheet" href="/fonts/liberation-fonts/liberation-fonts.css" />
19
		<link type="text/css" rel="stylesheet" href="{{ elixir('css/themes/default.css') }}" />
20
		<link type="text/css" rel="stylesheet" href="{{ elixir('css/utility.css') }}" />
Dominik Hebeler's avatar
Dominik Hebeler committed
21
		<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
22
		<script src="{{ elixir('js/scriptSubPages.js') }}"></script>
23
		<script src="{{ elixir('js/lib.js') }}"></script>
24
		<script src="{{ elixir('js/utility.js') }}"></script>
25
		@if (isset($css))
26
27
28
29
30
31
32
			@if(is_array($css))
				@foreach($css as $el)
					<link href="/css/{{ $el }}" rel="stylesheet" />
				@endforeach
			@else
				<link href="/css/{{ $css }}" rel="stylesheet" />
			@endif
33
		@endif
34
35
36
	</head>
	<body>
		<header>
37
			@yield('homeIcon')
38
		</header>
39
		@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
40
41
42
43
44
		<div class="wrapper">
			<main class="mg-panel container">
				@if (isset($success))
					<div class="alert alert-success" role="alert">{{ $success }}</div>
				@endif
45
46
47
48
49
50
				@if (isset($info))
					<div class="alert alert-info" role="alert">{{ $info }}</div>
				@endif
				@if (isset($warning))
					<div class="alert alert-warning" role="alert">{{ $warning }}</div>
				@endif
51
52
53
54
55
56
				@if (isset($error))
					<div class="alert alert-danger" role="alert">{{ $error }}</div>
				@endif
				@yield('content')
			</main>
			@yield('optionalContent')
Dominik Hebeler's avatar
Dominik Hebeler committed
57
			<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
58
		</div>
59
		@if (isset($page) && $page === 'startpage')
60
			@include('parts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
61
		@else
62
			@include('parts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
63
		@endif
64
	</body>
65
</html>