create-focus-modal.blade.php 2.58 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<div id="create-focus-modal" class="modal fade" tab-index="-1" role="dialog">
	<div class="modal-dialog modal-lg">
		<div class="content modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4>
					@lang("index.focus-creator.head")
				</h4>
				<p class="text-muted">@lang("index.focus-creator.description")</p>
			</div>
			<div class="modal-body">
				<div class="clearfix">
					<div class="pull-left">
						<label for="focus-name">@lang('index.focus-creator.focusname')</label>
						<input id="focus-name" type="text" name="focus-name" placeholder="@lang('index.focus-creator.name-placeholder')">
						<input id="original-id" type="hidden" name="original-id" value="">
					</div>
					<div class="settings-modal-buttons pull-right">
						<button class="delete-focus-btn btn btn-danger">
							@lang('index.focus-creator.delete')
						</button>
						<button class="save-focus-btn btn btn-primary">
							@lang('index.focus-creator.save')
						</button>
					</div>
				</div>
				{{--
				<h2>{!! trans('settings.suchmaschinen.1') !!}
					<small>
						<button type="button" class="btn btn-link allUnchecker hide">{!! trans('settings.suchmaschinen.2') !!}</button>
					</small>
				</h2>
				--}} @foreach( $foki as $fokus => $sumas )
				<div class="headingGroup {{ $fokus }}">
					<h3 class="focus-category">
						@lang("settings.foki." . $fokus) {{--
						<small>
							<button type="button" class="checker btn btn-link hide" data-type="{{ $fokus }}">{!! trans('settings.suchmaschinen.3') !!}</button>
						</small>
						--}}
					</h3>
					<div class="row">
						@foreach( $sumas as $name => $data )
						<div class="col-sm-6 col-md-4 col-lg-3">
							<div class="checkbox settings-checkbox">
								<label>
									<input type="checkbox" name="engine_{{ $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-link" aria-hidden="true"></i>
									</a>
								</label>
							</div>
						</div>
						@endforeach
					</div>
				</div>
				@endforeach
				<div class="clearfix">
					<div class="settings-modal-buttons pull-right">
						<button class="delete-focus-btn btn btn-danger">
							@lang('index.focus-creator.delete')
						</button>
						<button class="save-focus-btn btn btn-primary">
							@lang('index.focus-creator.save')
						</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>