2019-08-05 07:29:50 +02:00
|
|
|
@extends('portal.default.layouts.master')
|
2019-08-12 04:55:55 +02:00
|
|
|
@push('css')
|
2019-08-13 01:56:46 +02:00
|
|
|
<link href="/vendors/css/select2.min.css" rel="stylesheet">
|
|
|
|
<link href="/vendors/css/select2-bootstrap4.css" rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
select {border: 1px solid !important;}
|
|
|
|
.select2-container--bootstrap4 .select2-selection--single
|
|
|
|
{
|
|
|
|
border: 1px solid #e4e7ea !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
2019-08-12 04:55:55 +02:00
|
|
|
@endpush
|
2019-08-05 07:29:50 +02:00
|
|
|
@section('body')
|
2019-08-13 01:56:46 +02:00
|
|
|
<main class="main">
|
2019-08-12 14:45:13 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="container-fluid">
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="row" style="padding-top: 30px;">
|
|
|
|
|
|
|
|
<div class="col-sm-3" style="padding-bottom: 10px;">
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::framework('TwitterBootstrap4'); !!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::vertical_open_for_files()
|
|
|
|
->id('update_contact')
|
|
|
|
->route('client.profile.update', auth()->user()->hashed_id)
|
|
|
|
->method('PUT'); !!}
|
|
|
|
|
|
|
|
@csrf
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card">
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
<strong>{{ ctrans('texts.avatar') }}</strong>
|
2019-08-06 05:31:55 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-body align-items-center">
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
@if(auth()->user()->avatar)
|
|
|
|
<img src="{{ auth()->user()->avatar }}" class="img-fluid">
|
|
|
|
@else
|
|
|
|
<i class="fa fa-user fa-5x"></i>
|
|
|
|
@endif
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::file('avatar')
|
|
|
|
->max(2, 'MB')
|
|
|
|
->accept('image')
|
|
|
|
->label('')
|
|
|
|
->inlineHelp(trans('texts.logo_help')) !!}
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-footer">
|
|
|
|
</div>
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="col-sm-6" style="padding-bottom: 10px;">
|
|
|
|
|
|
|
|
<div class="card">
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
<strong> {{ ctrans('texts.user_details') }}</strong>
|
2019-08-05 07:29:50 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 14:45:13 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
{!! Former::text('first_name')->placeholder( ctrans('texts.first_name'))->label('')->value(auth()->user()->first_name)!!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::text('last_name')->placeholder( ctrans('texts.last_name'))->label('')->value(auth()->user()->last_name) !!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::text('email')->placeholder( ctrans('texts.email'))->label('')->value(auth()->user()->email) !!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::text('phone')->placeholder( ctrans('texts.phone'))->label('')->value(auth()->user()->phone) !!}
|
2019-08-12 14:45:13 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::password('password')->placeholder( ctrans('texts.password'))->label('') !!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::password('password_confirmed')->placeholder( ctrans('texts.confirm_password'))->label('') !!}
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<div class="card-footer">
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
<button class="btn btn-primary pull-right">{{ ctrans('texts.save') }}</button>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 14:45:13 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
{!! Former::close() !!}
|
2019-08-12 14:45:13 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</div>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-13 01:56:46 +02:00
|
|
|
</main>
|
2019-08-12 00:33:17 +02:00
|
|
|
|
2019-08-12 14:45:13 +02:00
|
|
|
</body>
|
2019-08-07 02:44:38 +02:00
|
|
|
@endsection
|