From 78912cc0054cd7713f60b012d702a26cfc3838f5 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 17 Nov 2019 22:39:46 -0600 Subject: [PATCH] add timer form blade template completed --- .../Controllers/Timer/TimerController.php | 1 + resources/views/timers/addTimer.blade.php | 53 +++++++++++++++++++ .../{dashboard => timers}/dashboard.blade.php | 0 3 files changed, 54 insertions(+) create mode 100644 resources/views/timers/addTimer.blade.php rename resources/views/{dashboard => timers}/dashboard.blade.php (100%) diff --git a/app/Http/Controllers/Timer/TimerController.php b/app/Http/Controllers/Timer/TimerController.php index bd28d86..472a054 100644 --- a/app/Http/Controllers/Timer/TimerController.php +++ b/app/Http/Controllers/Timer/TimerController.php @@ -22,6 +22,7 @@ class TimerController extends Controller */ public function dashboard() { + return view('timers.dashboard'); } /** diff --git a/resources/views/timers/addTimer.blade.php b/resources/views/timers/addTimer.blade.php new file mode 100644 index 0000000..9881d5d --- /dev/null +++ b/resources/views/timers/addTimer.blade.php @@ -0,0 +1,53 @@ +@extends('layouts.b4') +@section('content') +
+
+
+

Add Timer

+
+
+ {!! Form::open(['action' => 'Timer\TimerController@storeTimer', 'method' => 'POST']) !!} +
+ {{ Form::label('type', 'Type') }} + {{ Form::radio('type', 'Offensive', false, ['class' => 'form-control']) }} + {{ Form::radio('type', 'Defensive', false, ['class' => 'form-control']) }} + {{ Form::radio('type', 'Fuel', false, ['class' => 'form-control']) }} +
+
+ {{ Form::label('stage', 'Stage') }} + {{ Form::text('stage', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('region', 'Region') }} + {{ Form::text('region', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('system', 'System') }} + {{ Form::text('system', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('planet', 'Planet') }} + {{ Form::text('planet', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('moon', 'Moon') }} + {{ Form::text('moon', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('owner', 'Owner') }} + {{ Form::text('owner', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('eveTime', 'EVE Date & Time') }} + {{ Form::dateTime('eveTime', '', ['class' => 'form-control']) }} +
+
+ {{ Form::label('notes', 'Notes') }} + {{ Form::text('notes', '', ['class' => 'form-control']) }} +
+ {{ Form::submit('Submit', ['class' => 'btn btn-primary']) }} + {!! Form::close() !!} +
+
+
+@endsection diff --git a/resources/views/dashboard/dashboard.blade.php b/resources/views/timers/dashboard.blade.php similarity index 100% rename from resources/views/dashboard/dashboard.blade.php rename to resources/views/timers/dashboard.blade.php