Enable returning to form frames by the existance of a frame input
This commit is contained in:
parent
b92157a987
commit
0f9bb07d21
@ -181,10 +181,17 @@ class HomeController extends Controller
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (old('dn'))
|
if (old('dn'))
|
||||||
return view('dn')
|
return view('frame')
|
||||||
|
->with('subframe','dn')
|
||||||
->with('bases',$bases)
|
->with('bases',$bases)
|
||||||
->with('o',config('server')->fetch($dn=Crypt::decryptString(old('dn'))))
|
->with('o',config('server')->fetch($dn=Crypt::decryptString(old('dn'))))
|
||||||
->with('dn',$dn);
|
->with('dn',$dn);
|
||||||
|
|
||||||
|
elseif (old('frame'))
|
||||||
|
return view('frame')
|
||||||
|
->with('subframe',old('frame'))
|
||||||
|
->with('bases',$bases);
|
||||||
|
|
||||||
else
|
else
|
||||||
return view('home')
|
return view('home')
|
||||||
->with('bases',$bases)
|
->with('bases',$bases)
|
||||||
|
@ -1,18 +1,7 @@
|
|||||||
@extends('architect::layouts.app')
|
@extends('architect::layouts.app')
|
||||||
|
|
||||||
{{--
|
|
||||||
@section('htmlheader_title')
|
|
||||||
@lang('Home')
|
|
||||||
@endsection
|
|
||||||
|
|
||||||
@section('page_title')
|
|
||||||
@endsection
|
|
||||||
@section('page_icon')
|
|
||||||
@endsection
|
|
||||||
--}}
|
|
||||||
|
|
||||||
@section('main-content')
|
@section('main-content')
|
||||||
@include('frames.dn')
|
@include('frames.'.$subframe)
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page-scripts')
|
@section('page-scripts')
|
Loading…
Reference in New Issue
Block a user