Groundwork
This commit is contained in:
parent
43d4fb811d
commit
44f5243c21
@ -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)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
20
resources/views/createzone.blade.php
Normal file
20
resources/views/createzone.blade.php
Normal 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
|
@ -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']);
|
||||||
|
Loading…
Reference in New Issue
Block a user