1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/resources/views/portal/default/profile/index.blade.php

88 lines
3.2 KiB
PHP
Raw Normal View History

@extends('portal.default.layouts.master')
@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>
@endpush
@section('body')
2019-08-13 01:56:46 +02:00
<main class="main">
<div class="container-fluid">
2019-08-14 00:41:19 +02:00
<div class="row" style="padding-top: 30px;">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
<strong> {{ ctrans('texts.user_details') }}</strong>
2019-08-13 01:56:46 +02:00
</div>
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::framework('TwitterBootstrap4'); !!}
{!! Former::vertical_open_for_files()
->id('update_contact')
->route('client.profile.update', auth()->user()->hashed_id)
->method('PUT'); !!}
@csrf
<div class="card-body">
<div class="row">
<div class="col-sm-3">
<div class="card">
<div class="card-body align-items-center">
@if(auth()->user()->avatar)
<img src="{{ auth()->user()->avatar }}" class="img-fluid">
@else
<i class="fa fa-user fa-5x"></i>
@endif
{!! Former::file('avatar')
->max(2, 'MB')
->accept('image')
->label('')
->inlineHelp(trans('texts.logo_help')) !!}
</div>
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
<div class="col-sm-6">
<div class="card">
<div class="card-body">
{!! Former::text('first_name')->placeholder( ctrans('texts.first_name'))->label('')->value(auth()->user()->first_name)!!}
2019-08-12 14:45:13 +02:00
2019-08-14 00:41:19 +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-14 00:41:19 +02:00
{!! Former::text('email')->placeholder( ctrans('texts.email'))->label('')->value(auth()->user()->email) !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::text('phone')->placeholder( ctrans('texts.phone'))->label('')->value(auth()->user()->phone) !!}
2019-08-12 14:45:13 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::password('password')->placeholder( ctrans('texts.password'))->label('') !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::password('password_confirmation')->placeholder( ctrans('texts.confirm_password'))->label('') !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
<div>
<button class="btn btn-primary pull-right">{{ ctrans('texts.save') }}</button>
</div>
</div>
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-13 01:56:46 +02:00
</div>
2019-08-14 00:41:19 +02:00
</div>
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
{!! Former::close() !!}
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
@include('portal.default.profile.client_information')
2019-08-12 00:33:17 +02:00
2019-08-14 00:41:19 +02:00
</div>
2019-08-13 01:56:46 +02:00
</main>
2019-08-12 14:45:13 +02:00
</body>
2019-08-07 02:44:38 +02:00
@endsection