@extends('backend.layouts.user_master')
@section('title', 'Profile')
@section('content')
<div class="app-page-title">
    <div class="page-title-wrapper">
        <div class="page-title-heading">
            <div class="page-title-icon">
                <i class="pe-7s-users icon-gradient bg-mean-fruit"> </i>
            </div>
            <div>User's Profile
                <!--<a href="/user/edit_profile" class="btn btn-success">Edit Profile</a>-->
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-9 col-sm-12">
        <div class="main-card mb-3 card">
            <div class="card-body">
                <table id="manage_all" class="align-middle mb-0 table table-borderless table-striped table-hover">
                    <tbody>
                        <tr>
                            <td class="subject"> Photo</td>
                            <td> :</td>
                            <td><img src="{{ asset($user->file_path) }}" class="img-thumbnail" width="100px" /></td>
                        </tr>
                        <tr>
                            <td class="subject"> Name</td>
                            <td> :</td>
                            <td> {{ $user->name }} </td>
                        </tr>
                        <tr>
                            <td class="subject"> Email</td>
                            <td> :</td>
                            <td> {{ $user->email }} </td>
                        </tr>
                        <tr>
                            <td class="subject"> Phone-Number-ID</td>
                            <td> :</td>
                            <td><span class="label label-success"><input type="text" value={{ $user->Phone_Number_ID }} name="phone_id"></input></span></td>
                        </tr>
                        <tr>
                            <td class="subject">User-Access-Token</td>
                            <td> :</td>
                            <td><span class="label label-success">
                                    <textarea value="" name="access_token">{{ $user->User_Access_Token }}</textarea>
                                </span></td>
                        </tr>

                        <tr>
                            <td class="subject"> Status</td>
                            <td> :</td>
                            <td> @php $status = $user->status ? '<span class="label label-success">Active</span>' : '<span class="label label-danger">Inactive</span>' ; @endphp {!! $status !!} </td>
                        </tr>
                        <tr>
                            <td class="subject"> Status</td>
                            <td> :</td>
                            <td> @php $status = $user->status ? '<span class="label label-success">Active</span>' : '<span class="label label-danger">Inactive</span>' ; @endphp {!! $status !!} </td>
                        </tr>

                    </tbody>
                    <div class="form-group col-md-12">
                        <button type="submit" class="btn btn-success" id="submit"><span class="fa fa-save fa-fw"></span> Save
                        </button>
                    </div>
                </table>
            </div>
        </div>
    </div>
</div>
@endsection