client-update
changes changes1 page-changes lock color changes-2 footer page toggle-remove display-dropdown changes card-changes card changes-button chnages-article pages page-404-fix breadcrumbs-fix remove drop-down Apply fixes from StyleCI buttons fixes existing-fix changes-3 Apply fixes from StyleCI changes-4
This commit is contained in:
		| @@ -3,7 +3,14 @@ | ||||
| @section('profile') | ||||
| class="nav-item active" | ||||
| @stop | ||||
| @section('breadcrumb') | ||||
|     {{--<div class="site-hero clearfix">--}} | ||||
|     <ol class="breadcrumb float-sm-right "> | ||||
|         <li class="breadcrumb-item"> <i class="fas fa-home"> </i> {!! Lang::get('lang.you_are_here') !!} :  </li> | ||||
|         <li><a href="{!! URL::route('client.profile') !!}">{!! Lang::get('lang.my_profile') !!}</a></li> | ||||
|     </ol> | ||||
|  | ||||
| @stop | ||||
| @section('content') | ||||
|  | ||||
| <div id="content" class="site-content col-md-12"> | ||||
| @@ -11,12 +18,12 @@ class="nav-item active" | ||||
|     <article class="henry"> | ||||
|  | ||||
|         <header class="entry-header"> | ||||
|              | ||||
|  | ||||
|             <h2 class="entry-title">{!! Lang::get('lang.profile_settings') !!}</h2> | ||||
|         </header> | ||||
|  | ||||
|         <div class="entry-content clearfix"> | ||||
|              | ||||
|  | ||||
|             @if(Session::has('success1')) | ||||
|             <div class="alert alert-success alert-dismissable"> | ||||
|                 <i class="fa fa-check-circle"></i> | ||||
| @@ -62,32 +69,32 @@ class="nav-item active" | ||||
|             @endif | ||||
|  | ||||
|             <div class="row"> | ||||
|                  | ||||
|  | ||||
|                 <div class="col-md-6"> | ||||
|                      | ||||
|  | ||||
|                      {!! Form::model($user,['url'=>'client-profile-edit', 'id' => 'client-profile', 'method' => 'PATCH','files'=>true]) !!} | ||||
|  | ||||
|                     <div id="form-border" class="comment-respond form-border" style="background : #fff"> | ||||
|  | ||||
|                         <section id="section-categories" class="section"> | ||||
|                      | ||||
|  | ||||
|                             <h2 class="section-title h4 clearfix"> | ||||
|  | ||||
|                                 <i class="line"></i>{!! Lang::get('lang.profile') !!} | ||||
|                                 <i class="line" style="border-color: rgb(0, 154, 186);"></i>{!! Lang::get('lang.profile') !!} | ||||
|                             </h2> | ||||
|  | ||||
|                             <div> | ||||
|                                  | ||||
|  | ||||
|                                 <div class="form-group {{ $errors->has('first_name') ? 'has-error' : '' }}"> | ||||
|                                     <!-- first name --> | ||||
|                                     {!! Form::label('first_name',Lang::get('lang.first_name')) !!}<span class="text-red"> *</span> | ||||
|                                      | ||||
|  | ||||
|                                     {!! Form::text('first_name',null,['class' => 'form-control']) !!} | ||||
|                                 </div> | ||||
|                                 <div class="form-group {{ $errors->has('last_name') ? 'has-error' : '' }}"> | ||||
|                                     <!-- last name --> | ||||
|                                     {!! Form::label('last_name',Lang::get('lang.last_name')) !!} | ||||
|                                     | ||||
|  | ||||
|                                     {!! Form::text('last_name',null,['class' => 'form-control']) !!} | ||||
|                                 </div> | ||||
|                                 <div class="form-group"> | ||||
| @@ -112,7 +119,7 @@ class="nav-item active" | ||||
|                                 <div class="form-group {{ $errors->has('company') ? 'has-error' : '' }}"> | ||||
|                                     <!-- company --> | ||||
|                                     {!! Form::label('company',Lang::get('lang.company')) !!} | ||||
|                                      | ||||
|  | ||||
|                                     {!! Form::text('company',null,['class' => 'form-control']) !!} | ||||
|                                 </div> | ||||
|                                 <div class="row"> | ||||
| @@ -121,30 +128,30 @@ class="nav-item active" | ||||
|                                         {!! Form::label('country_code',Lang::get('lang.country-code')) !!} | ||||
|                                         {!! Form::text('country_code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code'), 'id' => 'code']) !!} | ||||
|  | ||||
|                                     </div>   | ||||
|                                     </div> | ||||
|                                     <div class="col-sm-2 form-group {{ $errors->has('ext') ? 'has-error' : '' }}"> | ||||
|                                         <!-- phone extensionn --> | ||||
|                                         {!! Form::label('ext',Lang::get('lang.ext')) !!} | ||||
|                                         | ||||
|  | ||||
|                                         {!! Form::text('ext',null,['class' => 'form-control']) !!} | ||||
|                                     </div> | ||||
|                                     <div class="col-sm-8 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}"> | ||||
|                                         <!-- phone number --> | ||||
|                                         {!! Form::label('phone_number',Lang::get('lang.phone')) !!} | ||||
|                                         | ||||
|  | ||||
|                                         {!! Form::text('phone_number',null,['class' => 'form-control']) !!} | ||||
|                                     </div> | ||||
|                                 </div> | ||||
|                                 <div class="form-group {{ $errors->has('mobile') ? 'has-error' : '' }}"> | ||||
|                                     <!-- mobile --> | ||||
|                                     {!! Form::label('mobile',Lang::get('lang.mobile_number')) !!} | ||||
|                                      | ||||
|  | ||||
|                                     {!! Form::input('number', 'mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!} | ||||
|                                 </div> | ||||
|                                 <div class="form-group {{ $errors->has('profile_pic') ? 'has-error' : '' }}"> | ||||
|                                     <!-- profile pic --> | ||||
|                                     {!! Form::label('profile_pic',Lang::get('lang.profile_pic')) !!} | ||||
|                                      | ||||
|  | ||||
|                                     {!! Form::file('profile_pic') !!} | ||||
|                                 </div> | ||||
|  | ||||
| @@ -152,22 +159,24 @@ class="nav-item active" | ||||
|                                 {!! Form::close() !!} | ||||
|  | ||||
|                                 <div class="form-group" style="padding-bottom: 10px;"> | ||||
|                                      | ||||
|                                     {!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary float-right'])!!} | ||||
|                                 </div> | ||||
|  | ||||
|  | ||||
|                                     <button type="submit" class="btn btn-primary float-right" style="background-color: #337ab7 !important; border-color: #337ab7 !important; color: white;"> | ||||
|                                         <i class="fas fa-sync"></i> {{ Lang::get('lang.update') }} | ||||
|                                     </button>                                </div> | ||||
|                             </div> | ||||
|                         </section> | ||||
|                     </div> | ||||
|                 </div> | ||||
|  | ||||
|                 <div class="col-md-6"> | ||||
|                      | ||||
|  | ||||
|                     {!! Form::model($user,['url'=>'client-profile-password' , 'method' => 'PATCH']) !!} | ||||
|  | ||||
|                     <div id="form-border" class="comment-respond form-border" style="background : #fff"> | ||||
|                          | ||||
|  | ||||
|                         <section id="section-categories" class="section"> | ||||
|                      | ||||
|  | ||||
|                             <h2 class="section-title h4 clearfix"> | ||||
|  | ||||
|                                 <i class="line"></i>{!! Lang::get('lang.change_password') !!} | ||||
| @@ -177,26 +186,28 @@ class="nav-item active" | ||||
|                                  {!! Form::label('old_password',Lang::get('lang.old_password')) !!}<span class="text-red"> *</span> | ||||
|                                 <div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}" style="display: -webkit-box;"> | ||||
|                                     {!! Form::password('old_password',['class' => 'form-control']) !!} | ||||
|                                     <span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span> | ||||
|                                     <span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span> <!--change the "glyphicon glyphicon-lock form-control-feedback" to "fa fa-lock form-control-feedback" bcoz bs5 has removed the Glyphicons icon font that was included in earlier versions of Bootstrap--> | ||||
|                                 </div> | ||||
|                                 <!-- new password --> | ||||
|                                   {!! Form::label('new_password',Lang::get('lang.new_password')) !!}<span class="text-red"> *</span> | ||||
|                                 <div class="form-group has-feedback {{ $errors->has('new_password') ? 'has-error' : '' }}" style="display: -webkit-box;"> | ||||
|                                     {!! Form::password('new_password',['class' => 'form-control']) !!} | ||||
|                                     <span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span> | ||||
|                                     <span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span> | ||||
|                                 </div> | ||||
|                                 <!-- cofirm password --> | ||||
|                                  {!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!}<span class="text-red"> *</span> | ||||
|                                 <div class="form-group has-feedback {{ $errors->has('confirm_password') ? 'has-error' : '' }}" style="display: -webkit-box;"> | ||||
|                                     {!! Form::password('confirm_password',['class' => 'form-control']) !!} | ||||
|                                     <span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span> | ||||
|                                     <span class="fa fa-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d !important;"></span> | ||||
|                                 </div> | ||||
|  | ||||
|                                 {!! Form::close() !!} | ||||
|  | ||||
|                                 <div class="form-group" style="padding-bottom: 10px;"> | ||||
|                                      | ||||
|                                     {!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary float-right'])!!} | ||||
|  | ||||
|                                     <button type="submit" class="btn btn-primary float-right" style="background-color: #337ab7 !important; border-color: #337ab7 !important; color: white;"> | ||||
|                                         <i class="fas fa-sync"></i> {{ Lang::get('lang.update') }} | ||||
|                                     </button> | ||||
|                                 </div> | ||||
|                             </div> | ||||
|                         </section> | ||||
| @@ -212,7 +223,7 @@ class="nav-item active" | ||||
|         <div class="col-md-12" style="height:40%"> | ||||
|             <div class="modal-content"> | ||||
|                 <div class="modal-header"> | ||||
|                     <span style="font-size:1.2em">{{Lang::get('lang.verify-number')}}</span>  | ||||
|                     <span style="font-size:1.2em">{{Lang::get('lang.verify-number')}}</span> | ||||
|                     <button type="button" class="close closemodal" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | ||||
|                 </div> | ||||
|                 <div class="modal-body"> | ||||
| @@ -270,8 +281,8 @@ class="nav-item active" | ||||
|         if (mobile !== old_mobile) { | ||||
|             e.preventDefault(); | ||||
|             $('#last-modal').css('display', 'block'); | ||||
|             $.ajax({                     | ||||
|                 url: '{{URL::route("client-verify-number")}}',      | ||||
|             $.ajax({ | ||||
|                 url: '{{URL::route("client-verify-number")}}', | ||||
|                 type: 'POST', // performing a POST request | ||||
|                 data : { | ||||
|                     mobile : mobile, | ||||
| @@ -279,7 +290,7 @@ class="nav-item active" | ||||
|                     email: email, | ||||
|                     code: code// will be accessible in $_POST['data1'] | ||||
|                 }, | ||||
|                 dataType: 'json',  | ||||
|                 dataType: 'json', | ||||
|                 beforeSend: function() { | ||||
|                     $('#loader2').css('display', 'block'); | ||||
|                     $('#verify-number-form').css('display', 'none'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 noor
					noor