quicktip.blade.php 1.26 KB
Newer Older
1
2
<html>
	<head>
3
		<title>{!! trans('quicktip.title') !!}</title>
Phil Höfer's avatar
Phil Höfer committed
4
		<link type="text/css" rel="stylesheet" href="/css/themes/{{ app('request')->input('theme', 'default') }}.css" />
5
	</head>
6
	<body class="quicktips">
7
8
9
10
11
		@if( $spruch !== "" )
			<blockquote id="spruch">{!! $spruch !!}</blockquote>
		@endif
		@foreach( $mqs as $mq)
			<div class="quicktip">
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
				<h2 class="qtheader"><a href="{{ $mq['URL'] }}" target="_blank" rel="noopener">{{ $mq['title'] }}</a></h2>
				<details>
					<summary>
						<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">
								<div>{!! $mq['descr'] !!}</div>
							</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>
					</summary>
					@if( isset($mq['details']) )
						{!! $mq['details'] !!}
					@endif
				</details>
						@if( isset($mq['gefVon']) )
							<div class="pull-right">{!! $mq['gefVon'] !!}</div>
						@endif
38
39
			</div>
		@endforeach
40
	</body>
41
</html>