diff options
author | Marvin Borner | 2018-07-01 21:46:59 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-01 21:46:59 +0200 |
commit | f7abf66d963770e60e2ed2a67fbeaa14e14568a6 (patch) | |
tree | c3b2a36f38e3e9d9e97ada0a723573da20720af7 /resources/views | |
parent | 6c557a4be1a88de5dd681837bd77c50a98352168 (diff) |
Added avatar preview and optimized avatar saving
Diffstat (limited to 'resources/views')
-rw-r--r-- | resources/views/layouts/app.blade.php | 2 | ||||
-rw-r--r-- | resources/views/profile.blade.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index d64fe27..3204af3 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -9,7 +9,7 @@ <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> - <title>{{ config('app.name', 'Laravel') }}</title> + <title>{{ config('app.name', 'BEAM-Messenger') }}</title> <!-- Scripts --> <script src="{{ asset('js/app.js') }}" defer></script> diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php index adbae95..3d1eee2 100644 --- a/resources/views/profile.blade.php +++ b/resources/views/profile.blade.php @@ -28,7 +28,7 @@ <div class="profile-header-container"> <div class="profile-header-img"> - <img height="100px" width="100px" class="rounded-circle" src="/avatar/{{ $user->id }}" /> + <img id="image-preview" height="100px" width="100px" class="rounded-circle" src="/avatar/{{ $user->id }}" /> <!-- badge --> <div class="rank-label-container"> <span class="label label-default rank-label">{{$user->name}}</span> |