settings.blade.php 3.26 KB
Newer Older
1
2
3
4
5
@extends('layouts.subPages')

@section('title', $title )

@section('content')
6
	<form id="settings-form" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" method="get">
7
8
9
		<h1>{!! trans('settings.head.1') !!}</h1>
		<p id="lead">{!! trans('settings.head.2') !!}</p>
		<h2>{!! trans('settings.allgemein.1') !!}</h2>
10
11
12
13
14
15
16
		<div id="settings-selectors">
			<div>
				<label class="select-label">@lang("settings.quotes.label")</label>
				<select class="form-control settings-form-control" name="param_sprueche">
					<option value="on" selected>@lang("settings.quotes.on")</option>
					<option value="off">@lang("settings.quotes.off")</option>
				</select>
Karl's avatar
Karl committed
17
			</div>
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
			<div>
				<label class="select-label">@lang("settings.maps.label")</label>
				<select class="form-control settings-form-control" name="param_maps">
					<option value="on" selected>@lang("settings.maps.on")</option>
					<option value="off">@lang("settings.maps.off")</option>
				</select>
			</div>
			<div>
				<label class="select-label">@lang("settings.tab.label")</label>
				<select class="form-control settings-form-control" name="param_newtab">
					<option value="on" selected>@lang("settings.tab.new")</option>
					<option value="off">@lang("settings.tab.same")</option>
				</select>
			</div>
			<div>
				<label class="select-label">{!! trans('settings.language.label') !!}</label>
				<select class="form-control settings-form-control" name="param_lang">
					<option value="all" @if(App::isLocale('de')) selected @endif >{!! trans('settings.language.all') !!}</option>
					<option value="de">{!! trans('settings.language.de') !!}</option>
					<option value="en" @if(App::isLocale('en')) selected @endif>{!! trans('settings.language.en') !!}</option>
				</select>
			</div>
			<div>
				<label class="select-label">{{ trans('settings.request') }}:</label>
				<select class="form-control settings-form-control" name="request">
					<option value="GET" selected>GET</option>
					<option value="POST">POST</option>
				</select>
			</div>
			<div>
				<label class="select-label">@lang('settings.autocomplete.label'):</label>
				<select class="form-control settings-form-control" name="param_autocomplete">
					<option value="on" selected>@lang('settings.autocomplete.on')</option>
					<option value="off">@lang('settings.autocomplete.off')</option>
				</select>
			</div>
			<div>
				<label class="select-label">@lang('settings.key.label'):</label>
				<input type="text" class="form-control settings-form-control" name="param_key" placeholder="@lang('settings.key.placeholder')">
			</div>
		<div id="settings-buttons">
59
			<a id="settings-abort-btn" class="btn btn-danger mutelink" href="{{ URL::previous() }}">@lang('settings.abort') <i class="fa fa-times" aria-hidden="true"></i></a>
60
61
62
			<input id="unten" class="btn btn-primary" type="submit" value="{!! trans('settings.speichern.1') !!}">
			<input id="save" class="btn btn-primary hidden" type="button" data-href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" value="{!! trans('settings.speichern.2') !!}">
			<input id="plugin" class="btn btn-primary" type="submit" value="{!! trans('settings.speichern.3') !!}">
63
		</div>
64
	</form>
65
	<script src="{{ elixir('js/settings.js') }}"></script>
66
@endsection