From 44f5243c212389ab417a09c9867d4a4fcdbfcc17 Mon Sep 17 00:00:00 2001
From: Russ Long <rl@tfmm.co>
Date: Fri, 30 Mar 2018 09:16:28 -0400
Subject: [PATCH] Groundwork

---
 app/Http/Controllers/PagesController.php |  4 ++++
 resources/views/createzone.blade.php     | 20 ++++++++++++++++++++
 routes/web.php                           |  2 ++
 3 files changed, 26 insertions(+)
 create mode 100644 resources/views/createzone.blade.php

diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php
index 849b278..410a4da 100644
--- a/app/Http/Controllers/PagesController.php
+++ b/app/Http/Controllers/PagesController.php
@@ -14,6 +14,10 @@ class PagesController extends Controller
   {
     return view('home');
   }
+  public function createzone(Request $createzone_req)
+  {
+    return view('createzone');
+  }
   public function domains(Request $domain_req)
   {
 
diff --git a/resources/views/createzone.blade.php b/resources/views/createzone.blade.php
new file mode 100644
index 0000000..42b8f44
--- /dev/null
+++ b/resources/views/createzone.blade.php
@@ -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
diff --git a/routes/web.php b/routes/web.php
index 7fd3ab9..83bbf33 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -20,6 +20,8 @@ Route::get('/welcome', function () {
 Auth::routes();
 Route::get('/', [ 'uses' => 'PagesController@home']);
 Route::group(['middleware' => 'auth'], function() {
+  Route::get('createzone', [ 'uses' => 'PagesController@createzone']);
+  Route::post('createzone', [ 'uses' => 'PagesController@createzone']);
   Route::get('domains', [ 'uses' => 'PagesController@domains']);
   Route::post('domains', [ 'uses' => 'PagesController@domains']);
   Route::get('newrecord', [ 'uses' => 'PagesController@newrecord']);