INIT: initial commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-9">
|
||||
|
||||
@php $profileVisitorArea = old('useProfilerInVisitorArea', isset($settings->useProfilerInVisitorArea) ? $settings->useProfilerInVisitorArea['val'] : null); @endphp
|
||||
|
||||
<span class="control-label">@lang('profiler::module.settings.useProfilerInVisitorArea')</span>
|
||||
<label>
|
||||
<input class="radio" type="radio" name="useProfilerInVisitorArea"
|
||||
value="1"
|
||||
@if($profileVisitorArea === "1") checked @endif />
|
||||
<span>@lang('common.yes')</span>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input class="radio" type="radio" name="useProfilerInVisitorArea"
|
||||
value="0"
|
||||
@if($profileVisitorArea === "0") checked @endif />
|
||||
<span>@lang('common.no')</span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
@include('admin.settings.snippets.commonSettings', ['field' => 'useProfilerInVisitorArea'])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-9">
|
||||
@php $profileAdmin = old('useProfilerInAdmin', isset($settings->useProfilerInAdmin) ? $settings->useProfilerInAdmin['val'] : false); @endphp
|
||||
<span class="control-label">@lang('profiler::module.settings.useProfilerInAdmin')</span>
|
||||
<label>
|
||||
<input class="radio" type="radio" name="useProfilerInAdmin"
|
||||
value="1"
|
||||
@if($profileAdmin) checked @endif />
|
||||
<span>@lang('common.yes')</span>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<input class="radio" type="radio" name="useProfilerInAdmin"
|
||||
value="0"
|
||||
@if(!$profileAdmin) checked @endif />
|
||||
<span>@lang('common.no')</span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
@include('admin.settings.snippets.commonSettings', ['field' => 'useProfilerInAdmin'])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row text-center">
|
||||
<a href="{{route('profiler.deleteAll')}}" class="btn btn-danger remove confirm">
|
||||
<i class="fa fa-trash-o"></i> @lang('profiler::module.deleteAllData')
|
||||
</a>
|
||||
|
||||
<a href="{{route('profiler.deleteAll', ['olderThan' => 30])}}" class="btn btn-danger remove confirm">
|
||||
<i class="fa fa-trash-o"></i> @lang('profiler::module.deleteOld')
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user