From df28ade1842a35f5800e8dcc21c599afe196f373 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 17 May 2017 17:28:46 -0400 Subject: [PATCH] (add basic concert form) --- .../Backstage/ConcertsController.php | 14 ++ public/img/logo.svg | 1 + .../views/backstage/concerts/create.blade.php | 203 ++++++++++++++++++ routes/web.php | 2 + 4 files changed, 220 insertions(+) create mode 100644 app/Http/Controllers/Backstage/ConcertsController.php create mode 100644 public/img/logo.svg create mode 100644 resources/views/backstage/concerts/create.blade.php diff --git a/app/Http/Controllers/Backstage/ConcertsController.php b/app/Http/Controllers/Backstage/ConcertsController.php new file mode 100644 index 0000000..d49c4c6 --- /dev/null +++ b/app/Http/Controllers/Backstage/ConcertsController.php @@ -0,0 +1,14 @@ + diff --git a/resources/views/backstage/concerts/create.blade.php b/resources/views/backstage/concerts/create.blade.php new file mode 100644 index 0000000..70459db --- /dev/null +++ b/resources/views/backstage/concerts/create.blade.php @@ -0,0 +1,203 @@ +@extends('layouts.master') + +@section('body') +
+ +
+ +
+
+

Add a concert

+
+
+
+ {{ csrf_field() }} + + @if ($errors->any()) +
+
+

+ There {{ $errors->count() == 1 ? 'is' : 'are' }} {{ $errors->count() }} {{ str_plural('error', $errors->count() )}} with this concert: +

+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+
+ @endif + +
+
+
+
+
+

Concert Details

+

Tell us who's playing! (Please be Slayer!)

+

Include the headliner in the concert name, use the subtitle section to list any opening bands, and add any important information to the description.

+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+

Date & Time

+

True metalheads really only care about the obscure openers, so make sure they don't get there late!

+
+
+
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Venue Information

+

Where's the show? Let attendees know the venue name and address so they can bring the mosh.

+
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Tickets & Pricing

+

Set your ticket price and availability, but don't forget, metalheads are cheap so keep it reasonable.

+
+
+
+
+
+
+
+
+ +
+ + $ + + +
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ +
+
+ + + +@endsection diff --git a/routes/web.php b/routes/web.php index 8bc3632..1fa44bb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,3 +17,5 @@ Route::get('/orders/{confirmationNumber}', 'OrdersController@show'); Route::get('/login', 'Auth\LoginController@showLoginForm'); Route::post('/login', 'Auth\LoginController@login'); + +Route::get('/backstage/concerts/new', 'Backstage\ConcertsController@create');