48 lines
2.3 KiB
PHP
48 lines
2.3 KiB
PHP
|
@extends('themes.base.layout')
|
||
|
@section('title', trans('admin.settings_title'))
|
||
|
|
||
|
@section('content')
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-xs-12">
|
||
|
<h1>@yield('title')</h1>
|
||
|
<hr/>
|
||
|
|
||
|
{!! Form::model($config, ['route' => 'admin.saveSettings', 'method' => 'POST']) !!}
|
||
|
|
||
|
<div>
|
||
|
{{-- Nav tabs --}}
|
||
|
<ul class="nav nav-tabs" role="tablist">
|
||
|
<li role="presentation" class="active"><a href="#upload-tab" aria-controls="upload-tab" role="tab" data-toggle="tab"><i class="fa fa-fw fa-info-circle"></i> General</a></li>
|
||
|
</ul>
|
||
|
|
||
|
{{-- Tab panes --}}
|
||
|
<div class="tab-content">
|
||
|
<div role="tabpanel" class="tab-pane active" id="upload-tab">
|
||
|
<div class="form-group">
|
||
|
{!! Form::label('app_name', 'Gallery name:', ['class' => 'control-label']) !!}
|
||
|
{!! Form::text('app_name', old('app_name'), ['class' => 'form-control']) !!}
|
||
|
</div>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-xs-12 col-sm-4">
|
||
|
<div class="form-group">
|
||
|
{!! Form::label('date_format', 'Date format:', ['class' => 'control-label']) !!}
|
||
|
{!! Form::select('date_format', $date_formats, old('date_format'), ['class' => 'form-control']) !!}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="text-right" style="margin-top: 15px;">
|
||
|
<a href="{{ route('admin') }}" class="btn btn-default">@lang('forms.cancel_action')</a>
|
||
|
{!! Form::submit(trans('admin.settings_save_action'), ['class' => 'btn btn-success']) !!}
|
||
|
</div>
|
||
|
|
||
|
{!! Form::close() !!}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endsection
|