create-focus-modal.blade.php 2.58 KB
Newer Older
1
<input type="checkbox" id="show-create-focus" class="hidden">
2
<div class="metager-modal" id="create-focus-modal" role="dialog">
3
4
5
	<div class="metager-modal-dialog">
		<div class="metager-modal-content">
			<div class="metager-modal-header">
6
				<label class="close-metager-modal" for="show-create-focus"></label>
7
8
9
10
				<h4>
					@lang("index.focus-creator.head")
				</h4>
				<p class="text-muted">@lang("index.focus-creator.description")</p>
11
12
13
14
15
16
17
				<div class="clearfix">
					<div class="settings-modal-buttons pull-right">
						<button type="submit" form="customSearchForm" class="save-focus-btn btn btn-primary">
							@lang('index.focus-creator.save')
						</button>
					</div>
				</div>
18
19
			</div>
			<div class="modal-body">
20
21
				<input type="checkbox" class="hidden" id="toggle-dropdowns" checked>
				<label id="toggle-dropdowns-label" for="toggle-dropdowns" class="js-only"></label>
22
				<form id="customSearchForm" method="GET" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3 ") }}" accept-charset="UTF-8">
23
24
25
					<input type="hidden" name="eingabe" value="@if(isset($eingabe)){{$eingabe}}@endif">
					<input type="hidden" name="encoding" value="utf8">
					<input type="hidden" name="focus" value="focus_custom">																			
26
27
					@foreach( App\Http\Controllers\FokiLoader::loadFoki() as $fokus => $sumas )
						<div class="headingGroup {{ $fokus }}">
28
							<input type="checkbox" id="toggle-{{ $fokus }}-dropdown" class="focus-dropdown-toggle" checked>
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
							<label for="toggle-{{ $fokus }}-dropdown" class="focus-category focus-dropdown-label h3">
								@lang("settings.foki." . $fokus)
							</label>
							<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_{{ strtolower($name) }}" class="focusCheckbox" @if(isset($focusPages) && in_array(strtolower($name), $focusPages)) 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>
44
								</div>
45
								@endforeach
46
							</div>
47
48
49
50
51
52
53
						</div>
					@endforeach
					<div class="clearfix">
						<div class="settings-modal-buttons pull-right">
							<button type="submit" class="save-focus-btn btn btn-primary">
								@lang('index.focus-creator.save')
							</button>
54
						</div>
55
					</div>
56
				</form>
57
58
59
60
			</div>
		</div>
	</div>
</div>