quicktip.blade.php 1.82 KB
Newer Older
1
<!DOCTYPE html>
2
3
<html>
	<head>
4
		<title>{!! trans('quicktip.title') !!}</title>
Phil Höfer's avatar
Phil Höfer committed
5
		<link type="text/css" rel="stylesheet" href="/css/themes/{{ app('request')->input('theme', 'default') }}.css" />
6
	</head>
7
	<body class="quicktips">
Phil Höfer's avatar
Phil Höfer committed
8
9
10
		<div class="quicktip aufruf-winter">
						<div class="media">
							<div class="media-body">
11
								<h2 class="qtheader"><a href="@lang('spendenaufruf.link')" target="_blank">@lang('spendenaufruf.heading')</a></h2>
12
								<div>@lang('spendenaufruf.text')</div>
Karl's avatar
Karl committed
13
								<br>
14
								<a href="@lang('spendenaufruf.link')" class="btn btn-primary btn-block aufruf-action-btn" target="_blank">@lang('spendenaufruf.button')</a>
Phil Höfer's avatar
Phil Höfer committed
15
16
17
							</div>
						</div>
		</div>
18
19
20
21
22
		@if( $spruch !== "" )
			<blockquote id="spruch">{!! $spruch !!}</blockquote>
		@endif
		@foreach( $mqs as $mq)
			<div class="quicktip">
Phil Höfer's avatar
Phil Höfer committed
23
				@if( isset($mq['details']) )
24
25
				<details>
					<summary>
Phil Höfer's avatar
Phil Höfer committed
26
				@endif
27
28
29
30
31
32
33
						<div class="media">
							@if( isset($mq['image']) && isset($mq['image-alt'] ))
								<div class="media-left">
									<img class="qt-icon" src="{!! $mq['image'] !!}" alt="{!! $mq['image-alt'] !!}">
								</div>
							@endif
							<div class="media-body">
Phil Höfer's avatar
Phil Höfer committed
34
								<h2 class="qtheader"><a href="{{ $mq['URL'] }}" target="_blank" rel="noopener">{{ $mq['title'] }}</a></h2>
Phil Höfer's avatar
Phil Höfer committed
35
								<div>{!! $mq['summary'] !!}</div>
36
37
38
39
40
41
42
							</div>
							@if( isset($mq['details']) )
								<div class="media-right">
									<span class="glyphicon glyphicon-info-sign info-details-available" aria-hidden="true"></span>
								</div>
							@endif
						</div>
Phil Höfer's avatar
Phil Höfer committed
43
				@if( isset($mq['details']) )
44
45
46
					</summary>
						{!! $mq['details'] !!}
				</details>
Phil Höfer's avatar
Phil Höfer committed
47
				@endif
48
49
50
						@if( isset($mq['gefVon']) )
							<div class="pull-right">{!! $mq['gefVon'] !!}</div>
						@endif
51
52
			</div>
		@endforeach
53
54
		<script src="/js/quicktips.js">
        </script>
55
	</body>
Phil Höfer's avatar
Phil Höfer committed
56
</html>