Groundwork

This commit is contained in:
Russ Long 2018-03-30 09:16:28 -04:00
parent 43d4fb811d
commit 44f5243c21
3 changed files with 26 additions and 0 deletions

View File

@ -14,6 +14,10 @@ class PagesController extends Controller
{ {
return view('home'); return view('home');
} }
public function createzone(Request $createzone_req)
{
return view('createzone');
}
public function domains(Request $domain_req) public function domains(Request $domain_req)
{ {

View File

@ -0,0 +1,20 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Create Zone
</h3>
</div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -20,6 +20,8 @@ Route::get('/welcome', function () {
Auth::routes(); Auth::routes();
Route::get('/', [ 'uses' => 'PagesController@home']); Route::get('/', [ 'uses' => 'PagesController@home']);
Route::group(['middleware' => 'auth'], function() { Route::group(['middleware' => 'auth'], function() {
Route::get('createzone', [ 'uses' => 'PagesController@createzone']);
Route::post('createzone', [ 'uses' => 'PagesController@createzone']);
Route::get('domains', [ 'uses' => 'PagesController@domains']); Route::get('domains', [ 'uses' => 'PagesController@domains']);
Route::post('domains', [ 'uses' => 'PagesController@domains']); Route::post('domains', [ 'uses' => 'PagesController@domains']);
Route::get('newrecord', [ 'uses' => 'PagesController@newrecord']); Route::get('newrecord', [ 'uses' => 'PagesController@newrecord']);