From b1c501e2f239ef6dcbf5e55e403834d793c6a0f6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 30 Jun 2018 23:44:50 +0200 Subject: Finished websocket integration --- resources/views/auth/login.blade.php | 69 ++++++++++++++++++++++ resources/views/auth/passwords/email.blade.php | 47 +++++++++++++++ resources/views/auth/passwords/reset.blade.php | 65 +++++++++++++++++++++ resources/views/auth/register.blade.php | 77 +++++++++++++++++++++++++ resources/views/layouts/app.blade.php | 79 ++++++++++++++++++++++++++ resources/views/welcome.blade.php | 27 --------- resources/views/writeMessage.blade.php | 33 +++++++++++ 7 files changed, 370 insertions(+), 27 deletions(-) create mode 100644 resources/views/auth/login.blade.php create mode 100644 resources/views/auth/passwords/email.blade.php create mode 100644 resources/views/auth/passwords/reset.blade.php create mode 100644 resources/views/auth/register.blade.php create mode 100644 resources/views/layouts/app.blade.php delete mode 100644 resources/views/welcome.blade.php create mode 100644 resources/views/writeMessage.blade.php (limited to 'resources/views') diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php new file mode 100644 index 0000000..9fd12a7 --- /dev/null +++ b/resources/views/auth/login.blade.php @@ -0,0 +1,69 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Login') }}
+ +
+
+ @csrf + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + {{ __('Forgot Your Password?') }} + +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php new file mode 100644 index 0000000..12e8083 --- /dev/null +++ b/resources/views/auth/passwords/email.blade.php @@ -0,0 +1,47 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Reset Password') }}
+ +
+ @if (session('status')) + + @endif + +
+ @csrf + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php new file mode 100644 index 0000000..3557662 --- /dev/null +++ b/resources/views/auth/passwords/reset.blade.php @@ -0,0 +1,65 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Reset Password') }}
+ +
+
+ @csrf + + + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ + +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php new file mode 100644 index 0000000..f9dd662 --- /dev/null +++ b/resources/views/auth/register.blade.php @@ -0,0 +1,77 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Register') }}
+ +
+
+ @csrf + +
+ + +
+ + + @if ($errors->has('name')) + + {{ $errors->first('name') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ + +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..f6e81e3 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,79 @@ + + + + + + + + + + + {{ config('app.name', 'Laravel') }} + + + + + + + + + + + + +
+ + +
+ @yield('content') +
+
+ + diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php deleted file mode 100644 index 0d11569..0000000 --- a/resources/views/welcome.blade.php +++ /dev/null @@ -1,27 +0,0 @@ - - - Pusher Test - - - - -

Pusher Test

-

- Try publishing an event to channel my-channel - with event name my-event. -

- diff --git a/resources/views/writeMessage.blade.php b/resources/views/writeMessage.blade.php new file mode 100644 index 0000000..0136ba9 --- /dev/null +++ b/resources/views/writeMessage.blade.php @@ -0,0 +1,33 @@ +@extends('layouts.app') @section('content') + + + +
+
+
+
+
Messages Received
+
+ @foreach ($messages as $key => $message) +

{{$message->name}}: {{$message->message}}

+ @endforeach + +
+
+
+
+
+
+
+
Send message
+
+ {{ csrf_field() }} + + +
+
+
+
+
+ +@endsection -- cgit v1.2.3