From e7307d3241fb1f31a10ef92565c17b224d5983f0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 1 Jul 2018 12:13:36 +0200 Subject: Added user avatars --- resources/views/layouts/app.blade.php | 52 ++++++++++++++++++++--------------- resources/views/profile.blade.php | 51 ++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 22 deletions(-) create mode 100644 resources/views/profile.blade.php (limited to 'resources') diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index f6e81e3..d64fe27 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -1,5 +1,6 @@ + @@ -20,6 +21,7 @@ +
+ @endguest @@ -76,4 +83,5 @@ - + + \ No newline at end of file diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php new file mode 100644 index 0000000..e986cb7 --- /dev/null +++ b/resources/views/profile.blade.php @@ -0,0 +1,51 @@ +@extends('layouts.app') @section('content') +
+
+ @if ($message = Session::get('success')) + +
+ + + + {{ $message }} + +
+ + @endif @if (count($errors) > 0) +
+ Whoops! There were some problems with your input. +
+
+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif +
+
+ +
+
+ + +
+ {{$user->name}} +
+
+
+ +
+
+
+ @csrf +
+ + Please upload a valid image file. Size of image should not be more than 2MB. +
+ +
+
+
+@endsection \ No newline at end of file -- cgit v1.2.3