FEATURE: few mostly minor UI tweaks in admin
This commit is contained in:
@@ -6,27 +6,32 @@
|
||||
<form action="{{route('settings.save')}}" method="POST">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<ul class="nav nav-tabs nav-tabs-bordered" role="tablist">
|
||||
@foreach($formSections as $id => $section)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if($section->getId() == reset($formSections)->getId()) active @endif"
|
||||
data-toggle="tab"
|
||||
href="#{{$section->getId()}}" role="tab"
|
||||
aria-controls="{{$section->getId()}}">{{trans($section->getName())}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<ul class="nav nav-pills nav-pills-bordered" role="tablist">
|
||||
@foreach($formSections as $id => $section)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if($section->getId() == reset($formSections)->getId()) active @endif"
|
||||
data-toggle="tab"
|
||||
href="#{{$section->getId()}}" role="tab"
|
||||
aria-controls="{{$section->getId()}}">{{trans($section->getName())}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<div class="tab-content tabs-bordered card">
|
||||
|
||||
@foreach($formSections as $section => $view)
|
||||
<div class="tab-pane @if($view == reset($formSections)) active @endif" id="{{$section}}"
|
||||
role="tabpanel">
|
||||
@include($view->getView())
|
||||
<div class="tab-content">
|
||||
@foreach($formSections as $section => $view)
|
||||
<div class="tab-pane fade @if($view == reset($formSections)) in active @endif" id="{{$section}}"
|
||||
role="tabpanel">
|
||||
@include($view->getView())
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<button type="submit" class="btn btn-primary">@lang('admin/settings.save')</button>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">@lang('admin/settings.save')</button>
|
||||
|
||||
|
||||
</form>
|
||||
@stop
|
||||
Reference in New Issue
Block a user