mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Working on profile avatar upload - with dropzone
This commit is contained in:
parent
b96b03440d
commit
68f43671a8
@ -37,7 +37,7 @@ class ProfileController extends Controller
|
||||
*/
|
||||
public function edit(ClientContact $client_contact)
|
||||
{
|
||||
dd($client_contact);
|
||||
return view('portal.default.profile.index');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -15,6 +15,7 @@
|
||||
"@coreui/icons": "^0.3.0",
|
||||
"bootstrap": "^4.3.1",
|
||||
"cross-env": "^5.2.0",
|
||||
"dropzone": "^5.5.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"jquery": "^3.4.1",
|
||||
"laravel-mix": "^4.1.2",
|
||||
|
@ -18,7 +18,7 @@
|
||||
{!! Former::dark_button(ctrans('texts.download'))->addClass('download_invoices') !!}
|
||||
{!! Former::success_button(ctrans('texts.pay_now'))->addClass('pay_invoices') !!}
|
||||
|
||||
<select class="form-control" style="width: 220px;" id="statuses" name="client_status[]" multiple="multiple">
|
||||
<select class="form-control" style="width: 220px;" id="statuses" name="client_status[]" multiple="multiple">
|
||||
<option value="paid">{{ ctrans('texts.status_paid') }}</option>
|
||||
<option value="unpaid">{{ ctrans('texts.status_unpaid') }}</option>
|
||||
</select>
|
||||
|
64
resources/views/portal/default/profile/index.blade.php
Normal file
64
resources/views/portal/default/profile/index.blade.php
Normal file
@ -0,0 +1,64 @@
|
||||
@extends('portal.default.layouts.master')
|
||||
@section('body')
|
||||
<main class="main">
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row" style="padding-top: 30px;">
|
||||
|
||||
<div class="col-sm-6" style="padding-bottom: 10px;">
|
||||
|
||||
<div class="card">
|
||||
|
||||
<div class="card-header">
|
||||
|
||||
<strong>{{ ctrans('texts.avatar') }}</strong>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<i class="fa fa-user fa-5x"></i>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6" style="padding-bottom: 10px;">
|
||||
|
||||
<div class="card">
|
||||
|
||||
<div class="card-header">
|
||||
|
||||
<strong> {{ ctrans('texts.profile') }}</strong>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
@endsection
|
||||
@section('footer')
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
@endsection
|
||||
|
Loading…
Reference in New Issue
Block a user