update v1.0.7.7
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| <?php | ||||
|  | ||||
| return [ | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| <?php | ||||
|  | ||||
| return [ | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| <?php | ||||
|  | ||||
| return [ | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| <?php | ||||
|  | ||||
| return [ | ||||
|   | ||||
| @@ -47,12 +47,17 @@ | ||||
|         $replacetop = \Event::fire('service.desk.admin.topbar.replace', array()); | ||||
|         if (count($replacetop) == 0) { | ||||
|             $replacetop = 0; | ||||
|         } else { | ||||
|             $replacetop = $replacetop[0]; | ||||
|         } | ||||
|         $replaceside = 0; | ||||
|         $replaceside = \Event::fire('service.desk.admin.sidebar.replace', array()); | ||||
|         if (count($replaceside) == 0) { | ||||
|             $replaceside = 0; | ||||
|         } else { | ||||
|             $replaceside = $replaceside[0]; | ||||
|         } | ||||
|         //dd($replacetop); | ||||
|         ?> | ||||
|         <div class="wrapper"> | ||||
|             <header class="main-header"> | ||||
| @@ -73,8 +78,9 @@ | ||||
|                         <ul class="nav navbar-nav navbar-left"> | ||||
|                             @if($replacetop==0) | ||||
|                             <li @yield('settings')><a href="{!! url('dashboard') !!}">{!! Lang::get('lang.agent_panel') !!}</a></li> | ||||
|                             @endif | ||||
|                             @else  | ||||
|                             <?php \Event::fire('service.desk.admin.topbar', array()); ?> | ||||
|                             @endif | ||||
|                         </ul> | ||||
|  | ||||
|  | ||||
| @@ -325,15 +331,15 @@ | ||||
|  | ||||
|                                     <small class="label pull-right bg-green"></small> | ||||
|                                 </a> | ||||
| <?php } elseif ($update->current_version < $update->new_version) { ?> | ||||
|                             <?php } elseif ($update->current_version < $update->new_version) { ?> | ||||
|                                 <a> | ||||
|                                     <i class="fa fa-inbox"></i> <span>Version {!! $update->new_version !!}  is Available</span> | ||||
|                                     <small class="label pull-right bg-green"></small> | ||||
|                                 </a> | ||||
| <?php } ?> | ||||
|                             <?php } ?> | ||||
|                         </li> | ||||
|                         @endif | ||||
| <?php \Event::fire('service.desk.admin.sidebar', array()); ?> | ||||
|                         <?php \Event::fire('service.desk.admin.sidebar', array()); ?> | ||||
|                     </ul> | ||||
|                 </section> | ||||
|                 <!-- /.sidebar --> | ||||
| @@ -390,7 +396,7 @@ | ||||
|     <script src="{{asset("lb-faveo/js/jquery.dataTables1.10.10.min.js")}}"  type="text/javascript"></script> | ||||
|     <script src="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.js")}}"  type="text/javascript"></script> | ||||
|     <script> | ||||
| $(function() { | ||||
| $(function () { | ||||
| //Add text editor | ||||
|     $("textarea").wysihtml5(); | ||||
| }); | ||||
| @@ -410,7 +416,7 @@ $(function() { | ||||
| //         return false; | ||||
| //     }); | ||||
| // }); | ||||
| $(function() { | ||||
| $(function () { | ||||
| //Enable iCheck plugin for checkboxes | ||||
| //iCheck for checkbox and radio inputs | ||||
|     $('input[type="checkbox"]').iCheck({ | ||||
| @@ -418,7 +424,7 @@ $(function() { | ||||
|         radioClass: 'iradio_flat-blue' | ||||
|     }); | ||||
| //Enable check and uncheck all functionality | ||||
|     $(".checkbox-toggle").click(function() { | ||||
|     $(".checkbox-toggle").click(function () { | ||||
|         var clicks = $(this).data('clicks'); | ||||
|         if (clicks) { | ||||
| //Uncheck all checkboxes | ||||
| @@ -430,7 +436,7 @@ $(function() { | ||||
|         $(this).data("clicks", !clicks); | ||||
|     }); | ||||
| //Handle starring for glyphicon and font awesome | ||||
|     $(".mailbox-star").click(function(e) { | ||||
|     $(".mailbox-star").click(function (e) { | ||||
|         e.preventDefault(); | ||||
| //detect type | ||||
|         var $this = $(this).find("a > i"); | ||||
| @@ -449,7 +455,7 @@ $(function() { | ||||
| }); | ||||
|     </script> | ||||
|     <script> | ||||
|         $('#read-all').click(function() { | ||||
|         $('#read-all').click(function () { | ||||
|  | ||||
|             var id2 = <?php echo \Auth::user()->id ?>; | ||||
|             var dataString = 'id=' + id2; | ||||
| @@ -459,14 +465,14 @@ $(function() { | ||||
|                         url: "{{url('mark-all-read')}}" + "/" + id2, | ||||
|                         data: dataString, | ||||
|                         cache: false, | ||||
|                         beforeSend: function() { | ||||
|                             $('#myDropdown').on('hide.bs.dropdown', function() { | ||||
|                         beforeSend: function () { | ||||
|                             $('#myDropdown').on('hide.bs.dropdown', function () { | ||||
|                                 return false; | ||||
|                             }); | ||||
|                             $("#refreshNote").hide(); | ||||
|                             $("#notification-loader").show(); | ||||
|                         }, | ||||
|                         success: function(response) { | ||||
|                         success: function (response) { | ||||
|                             $("#refreshNote").load("<?php echo $_SERVER['REQUEST_URI']; ?>  #refreshNote"); | ||||
|                             $("#notification-loader").hide(); | ||||
|                             $('#myDropdown').removeClass('open'); | ||||
|   | ||||
| @@ -59,12 +59,16 @@ | ||||
|  | ||||
|                 if (count($replacetop) == 0) { | ||||
|                     $replacetop = 0; | ||||
|                 } else { | ||||
|                     $replacetop = $replacetop[0]; | ||||
|                 } | ||||
|                 $replaceside = 0; | ||||
|                 $replaceside = \Event::fire('service.desk.agent.sidebar.replace', array()); | ||||
|  | ||||
|                 if (count($replaceside) == 0) { | ||||
|                     $replaceside = 0; | ||||
|                 } else { | ||||
|                     $replaceside = $replaceside[0]; | ||||
|                 } | ||||
|                 ?> | ||||
|  | ||||
| @@ -86,11 +90,12 @@ | ||||
|                             <li @yield('Users')><a data-target="#tabB" href="#">{!! Lang::get('lang.users') !!}</a></li> | ||||
|                             <li @yield('Tickets')><a data-target="#tabC" href="#">{!! Lang::get('lang.tickets') !!}</a></li> | ||||
|                             <li @yield('Tools')><a data-target="#tabD" href="#">{!! Lang::get('lang.tools') !!}</a></li> | ||||
|                             @endif | ||||
|                             @else  | ||||
|                             <?php \Event::fire('service.desk.agent.topbar', array()); ?> | ||||
|                             @endif | ||||
|                         </ul> | ||||
|  | ||||
| <?php $noti = \App\Model\helpdesk\Notification\UserNotification::where('user_id', '=', Auth::user()->id)->where('is_read', '0')->get(); ?> | ||||
|                         <?php $noti = \App\Model\helpdesk\Notification\UserNotification::where('user_id', '=', Auth::user()->id)->where('is_read', '0')->get(); ?> | ||||
|  | ||||
|                         <ul class="nav navbar-nav navbar-right"> | ||||
|                             @if(Auth::user()->role == 'admin') | ||||
| @@ -116,7 +121,7 @@ | ||||
|  | ||||
|                                     <ul class="menu"> | ||||
|                                         @foreach($notifications as $notification) | ||||
| <?php $user = App\User::whereId($notification->user_id)->first(); ?> | ||||
|                                         <?php $user = App\User::whereId($notification->user_id)->first(); ?> | ||||
|                                         @if($notification->type == 'registration') | ||||
|                                         @if($notification->is_read == 1) | ||||
|                                         <li class="task" style="list-style: none; margin-left: -30px;"><span> <img src="{{$user -> profile_pic}}" class="user-image"  style="width:6%;height: 5%" alt="User Image" /> | ||||
| @@ -133,7 +138,7 @@ | ||||
|                                         @endif | ||||
|                                         @else | ||||
|  | ||||
| <?php $ticket_number = App\Model\helpdesk\Ticket\Tickets::whereId($notification->model_id)->first(); ?> | ||||
|                                         <?php $ticket_number = App\Model\helpdesk\Ticket\Tickets::whereId($notification->model_id)->first(); ?> | ||||
|                                         @if($notification->is_read == 1) | ||||
|                                         <li  class="task" style="list-style: none;margin-left: -30px"><span> <img src="{{$user -> profile_pic}}" class="img-circle"  style="width:6%;height: 5%" alt="User Image" /> | ||||
|                                                 <a href="{!! route('ticket.thread', $notification->model_id) !!}" id='{{ $notification -> notification_id}}' class='noti_User'> | ||||
| @@ -164,30 +169,30 @@ | ||||
|                         <li class="dropdown user user-menu"> | ||||
|                             <a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||||
|                                 @if(Auth::user()) | ||||
|                                         <img src="{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/> | ||||
|                                     <span class="hidden-xs">{{Auth::user()->first_name." ".Auth::user()->last_name}}</span> | ||||
|                                 <img src="{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/> | ||||
|                                 <span class="hidden-xs">{{Auth::user()->first_name." ".Auth::user()->last_name}}</span> | ||||
|                                 @endif           | ||||
|                                 </a> | ||||
|                                 <ul class="dropdown-menu"> | ||||
|                                     <!-- User image --> | ||||
|                                     <li class="user-header"  style="background-color:#343F44;">      | ||||
|                                         <img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />                                         | ||||
|                                         <p> | ||||
|                                             {{Auth::user()->first_name." ".Auth::user()->last_name}} - {{Auth::user()->role}} | ||||
|                                             <small></small> | ||||
|                                         </p> | ||||
|                                     </li> | ||||
|                                     <!-- Menu Footer--> | ||||
|                                     <li class="user-footer" style="background-color:#1a2226;"> | ||||
|                                         <div class="pull-left"> | ||||
|                                             <a href="{{URL::route('profile')}}" class="btn btn-info btn-sm"><b>{!! Lang::get('lang.profile') !!}</b></a> | ||||
|                                         </div> | ||||
|                                         <div class="pull-right"> | ||||
|                                             <a href="{{url('auth/logout')}}" class="btn btn-danger btn-sm"><b>{!! Lang::get('lang.sign_out') !!}</b></a> | ||||
|                                         </div> | ||||
|                                     </li> | ||||
|                                 </ul> | ||||
|                             </li> | ||||
|                             </a> | ||||
|                             <ul class="dropdown-menu"> | ||||
|                                 <!-- User image --> | ||||
|                                 <li class="user-header"  style="background-color:#343F44;">      | ||||
|                                     <img src="{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />                                         | ||||
|                                     <p> | ||||
|                                         {{Auth::user()->first_name." ".Auth::user()->last_name}} - {{Auth::user()->role}} | ||||
|                                         <small></small> | ||||
|                                     </p> | ||||
|                                 </li> | ||||
|                                 <!-- Menu Footer--> | ||||
|                                 <li class="user-footer" style="background-color:#1a2226;"> | ||||
|                                     <div class="pull-left"> | ||||
|                                         <a href="{{URL::route('profile')}}" class="btn btn-info btn-sm"><b>{!! Lang::get('lang.profile') !!}</b></a> | ||||
|                                     </div> | ||||
|                                     <div class="pull-right"> | ||||
|                                         <a href="{{url('auth/logout')}}" class="btn btn-danger btn-sm"><b>{!! Lang::get('lang.sign_out') !!}</b></a> | ||||
|                                     </div> | ||||
|                                 </li> | ||||
|                             </ul> | ||||
|                         </li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                 </nav> | ||||
| @@ -338,7 +343,7 @@ | ||||
|                                         <li><a href="{!! url::route('dept.closed.ticket',$dept->name) !!}"><i class="fa fa-circle-o"></i>{!! Lang::get('lang.closed') !!}<small class="label pull-right bg-green">{!! $closed !!}</small></a></li> | ||||
|                                     </ul> | ||||
|                                 </li> | ||||
|     <?php } if (Auth::user()->role == 'agent' && Auth::user()->primary_dpt == $dept->id) { ?> | ||||
|                             <?php } if (Auth::user()->role == 'agent' && Auth::user()->primary_dpt == $dept->id) { ?> | ||||
|                                 <li class="treeview"> | ||||
|                                     <a href="#"> | ||||
|                                         <i class="fa fa-folder-open"></i> <span>{!! $dept->name !!}</span> <i class="fa fa-angle-left pull-right"></i> | ||||
| @@ -350,7 +355,8 @@ | ||||
|                                     </ul> | ||||
|                                 </li> | ||||
|                             <?php } | ||||
|                         } ?> | ||||
|                         } | ||||
|                         ?> | ||||
|  | ||||
|                         @endif | ||||
| <?php \Event::fire('service.desk.agent.sidebar', array()); ?> | ||||
| @@ -358,11 +364,11 @@ | ||||
|                 </section> | ||||
|                 <!-- /.sidebar --> | ||||
|             </aside> | ||||
| <?php | ||||
| $agent_group = Auth::user()->assign_group; | ||||
| $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where('group_status', '=', '1')->first(); | ||||
|             <?php | ||||
|             $agent_group = Auth::user()->assign_group; | ||||
|             $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where('group_status', '=', '1')->first(); | ||||
| // dd($group);  | ||||
| ?> | ||||
|             ?> | ||||
|             <!-- Right side column. Contains the navbar and content of the page --> | ||||
|             <div class="content-wrapper"> | ||||
|                 <!-- Content Header (Page header) --> | ||||
| @@ -391,7 +397,7 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where( | ||||
|                                     {{-- < li id = "bar" @yield('overdue') > < a href = "{{ url('/ticket/overdue') }}" >Overdue</a></li> --}} | ||||
|                                     <li id="bar" @yield('assigned')><a href="{{ url('/ticket/assigned')}}" id="load-assigned" >{!! Lang::get('lang.assigned') !!}</a></li> | ||||
|                                     <li id="bar" @yield('closed')><a href="{{ url('/ticket/closed')}}" >{!! Lang::get('lang.closed') !!}</a></li> | ||||
| <?php if ($group->can_create_ticket == 1) { ?> | ||||
|                                     <?php if ($group->can_create_ticket == 1) { ?> | ||||
|                                         <li id="bar" @yield('newticket')><a href="{{ url('/newticket')}}" >{!! Lang::get('lang.create_ticket') !!}</a></li> | ||||
| <?php } ?> | ||||
|                                 </ul> | ||||
| @@ -502,7 +508,7 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where( | ||||
|                         beforeSend: function () { | ||||
|                         $('#myDropdown').on('hide.bs.dropdown', function () { | ||||
|                         return false; | ||||
|                                 }); | ||||
|                         }); | ||||
|                                 $("#refreshNote").hide(); | ||||
|                                 $("#notification-loader").show(); | ||||
|                         }, | ||||
| @@ -512,7 +518,7 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where( | ||||
|                                 $('#myDropdown').removeClass('open'); | ||||
|                         } | ||||
|                 }); | ||||
|         });    </script> | ||||
|         });</script> | ||||
|     <script> | ||||
|                 $(function() { | ||||
|                 // Enable iCheck plugin for checkboxes | ||||
| @@ -550,7 +556,7 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where( | ||||
|                         $this.toggleClass("fa-star-o"); | ||||
|                 } | ||||
|                 }); | ||||
|                 });    </script> | ||||
|                 });</script> | ||||
|     <script type="text/javascript"> | ||||
|                 //     $(document).ready(function() { | ||||
|                 //         $("#content").Editor(); | ||||
|   | ||||
| @@ -91,21 +91,21 @@ function php_config_value_to_bytes($val) { | ||||
|  * | ||||
|  */ | ||||
| function checkFilePermission(&$results) { | ||||
|     $path1 = base_path().DIRECTORY_SEPARATOR.'.env'; | ||||
|     $path2 = base_path().DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'database.php'; | ||||
|     $path3 = base_path().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Http'.DIRECTORY_SEPARATOR.'routes.php'; | ||||
|     $path4 = base_path().DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'lfm.php'; | ||||
|     $f1 = substr(sprintf("%o",fileperms($path1)),-3); | ||||
|     $f2 = substr(sprintf("%o",fileperms($path2)),-3); | ||||
|     $f3 = substr(sprintf("%o",fileperms($path3)),-3); | ||||
|     $f4 = substr(sprintf("%o",fileperms($path4)),-3); | ||||
|     if( $f1 >= '644' && $f2 >= '644' && $f3 >= '644' && $f4 >= '644') { | ||||
|         $results[] = new TestResult('File permission looks fine', STATUS_OK); | ||||
| //    $path1 = base_path().DIRECTORY_SEPARATOR.'.env'; | ||||
| //    // $path2 = base_path().DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'database.php'; | ||||
| //    // $path3 = base_path().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Http'.DIRECTORY_SEPARATOR.'routes.php'; | ||||
| //    // $path4 = base_path().DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'lfm.php'; | ||||
| //    $f1 = substr(sprintf("%o",fileperms($path1)),-3); | ||||
| //    // $f2 = substr(sprintf("%o",fileperms($path2)),-3); | ||||
| //    // $f3 = substr(sprintf("%o",fileperms($path3)),-3); | ||||
| //    // $f4 = substr(sprintf("%o",fileperms($path4)),-3); | ||||
| //    if( $f1 >= '644') { | ||||
| //        $results[] = new TestResult('File permission looks fine', STATUS_OK); | ||||
|         return true; | ||||
|     } else { | ||||
|         $results[] = new TestResult('File permissions needed.<ul><b>Change file permission to "777" for following files</b><li>'.$path1.'</li><li>'.$path2.'</li><li>'.$path3.'</li><li>'.$path4.'</li></ul></br>Change the permission manually on your server or <a href="change-file-permission">click here.</a>', STATUS_ERROR); | ||||
|         return false; | ||||
|     } | ||||
| //    } else { | ||||
| //        $results[] = new TestResult('File permissions needed.<ul><b>Change file permission to "644" for following files</b><li>'.$path1.'</li></ul></br>Change the permission manually on your server or <a href="change-file-permission">click here.</a>', STATUS_ERROR); | ||||
| //        return false; | ||||
| //    } | ||||
| } | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -14,130 +14,130 @@ active | ||||
|  | ||||
| @section('content') | ||||
| <div ng-app="myApp"> | ||||
|         <h1 style="text-align: center;">Database Setup</h1> | ||||
|         <p class="wc-setup-content">Below you should enter your database connection details. If you’re not sure about these, contact your host.</p> | ||||
|     <h1 style="text-align: center;">Database Setup</h1> | ||||
|     <p class="wc-setup-content">Below you should enter your database connection details. If you’re not sure about these, contact your host.</p> | ||||
|  | ||||
|                             @if(Session::has('fails')) | ||||
|                         <div class="wc-setup-content"> | ||||
|                             <div class="woocommerce-message woocommerce-tracker"> | ||||
|                                 <div class="fail"> | ||||
|                                     <span id="fail">{!! Lang::get('lang.fails') !!}! {{Session::get('fails')}}</span><br/><br/> | ||||
|                                 </div> | ||||
|                             </div>         | ||||
|                         </div>   | ||||
|                     @endif | ||||
|     @if(Session::has('fails')) | ||||
|     <div class="wc-setup-content"> | ||||
|         <div class="woocommerce-message woocommerce-tracker"> | ||||
|             <div class="fail"> | ||||
|                 <span id="fail">{!! Lang::get('lang.fails') !!}! {{Session::get('fails')}}</span><br/><br/> | ||||
|             </div> | ||||
|         </div>         | ||||
|     </div>   | ||||
|     @endif | ||||
|  | ||||
|                     @if($errors->has('default') || $errors->has('host') || $errors->has('port') || $errors->has('databasename') || $errors->has('username') || $errors->has('password')) | ||||
|                         <div class="wc-setup-content"> | ||||
|                             <div class="woocommerce-message woocommerce-tracker"> | ||||
|                                 <div class="fail"> | ||||
|                                     {!! $errors->first('default', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     {!! $errors->first('host', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     {!! $errors->first('port', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     {!! $errors->first('databasename', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     {!! $errors->first('username', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     {!! $errors->first('password', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                                     <br/> | ||||
|                                 </div> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                     @endif | ||||
|  | ||||
|  | ||||
|         {!! Form::open(['url'=> '/step4post']) !!} | ||||
|             <table ng-controller="MainController"> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="selectbox1">Database <span style="color | ||||
|                                 : red;font-size:12px;">*</span></label> | ||||
|                     </td> | ||||
|                    <td> | ||||
|                         <div class="side-by-side clearfix moveleftthre"> | ||||
|                             <div> | ||||
|                                 <select name="default" data-placeholder="Choose a SQL format..." class="chosen-select" style="width:290px;" tabindex="2"> | ||||
|                                     <option value="mysql">MySQL</option> | ||||
|                                 </select> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasetitle}}" data-content="@{{Databasecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="box1">Host<span style="color | ||||
|                             : red;font-size:12px;">*</span></label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input type="text" name="host"> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Hosttitle}}" data-content="@{{Hostcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="box2">Port</label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input type="number" name="port">  | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Porttitle}}" data-content="@{{Portcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="box3">Database Name<span style="color | ||||
|                             : red;font-size:12px;">*</span></label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input type="text" name="databasename">  | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasenametitle}}" data-content="@{{Databasenamecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="box4">User Name<span style="color | ||||
|                             : red; font-size: 12px;">*</span></label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input type="text" name="username">  | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Usertitle}}" data-content="@{{Usercontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <label for="box5">Password</label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input type="text" name="password">  | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Passwordtitle}}" data-content="@{{Passwordcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                         </button> | ||||
|                     </td> | ||||
|                 </tr> | ||||
|             </table> | ||||
|             <br> | ||||
|             <p class="wc-setup-actions step"> | ||||
|                 <input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue"> | ||||
|                 <a href="{!! route('prerequisites') !!}" class="button button-large button-next" style="float: left">Previous</a> | ||||
|             </p> | ||||
|         </form> | ||||
|     @if($errors->has('default') || $errors->has('host') || $errors->has('port') || $errors->has('databasename') || $errors->has('username') || $errors->has('password')) | ||||
|     <div class="wc-setup-content"> | ||||
|         <div class="woocommerce-message woocommerce-tracker"> | ||||
|             <div class="fail"> | ||||
|                 {!! $errors->first('default', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 {!! $errors->first('host', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 {!! $errors->first('port', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 {!! $errors->first('databasename', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 {!! $errors->first('username', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 {!! $errors->first('password', '<spam id="fail">:message</spam><br/>') !!} | ||||
|                 <br/> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <script src="//code.jquery.com/jquery-1.10.2.js"></script> | ||||
|     <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script> | ||||
|     <script src="{{asset("lb-faveo/js/angular2.js")}}" type="text/javascript"></script> | ||||
|     @endif | ||||
|  | ||||
|  | ||||
|     {!! Form::open(['url'=> '/step4post']) !!} | ||||
|     <table ng-controller="MainController"> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="selectbox1">Database <span style="color | ||||
|                                                        : red;font-size:12px;">*</span></label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <div class="side-by-side clearfix moveleftthre"> | ||||
|                     <div> | ||||
|                         <select name="default" data-placeholder="Choose a SQL format..." class="chosen-select" style="width:290px;" tabindex="2"> | ||||
|                             <option value="mysql">MySQL</option> | ||||
|                         </select> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasetitle}}" data-content="@{{Databasecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="box1">Host<span style="color | ||||
|                                             : red;font-size:12px;">*</span></label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <input type="text" name="host"> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Hosttitle}}" data-content="@{{Hostcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="box2">Port</label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <input type="number" name="port">  | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Porttitle}}" data-content="@{{Portcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="box3">Database Name<span style="color | ||||
|                                                      : red;font-size:12px;">*</span></label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <input type="text" name="databasename">  | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasenametitle}}" data-content="@{{Databasenamecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="box4">User Name<span style="color | ||||
|                                                  : red; font-size: 12px;">*</span></label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <input type="text" name="username">  | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Usertitle}}" data-content="@{{Usercontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <label for="box5">Password</label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <input type="text" name="password">  | ||||
|             </td> | ||||
|             <td> | ||||
|                 <button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Passwordtitle}}" data-content="@{{Passwordcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i> | ||||
|                 </button> | ||||
|             </td> | ||||
|         </tr> | ||||
|     </table> | ||||
|     <br> | ||||
|     <p class="wc-setup-actions step"> | ||||
|         <input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue"> | ||||
|         <a href="{!! route('prerequisites') !!}" class="button button-large button-next" style="float: left">Previous</a> | ||||
|     </p> | ||||
| </form> | ||||
| </div> | ||||
| <script src="//code.jquery.com/jquery-1.10.2.js"></script> | ||||
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script> | ||||
| <script src="{{asset("lb-faveo/js/angular2.js")}}" type="text/javascript"></script> | ||||
| </div> | ||||
| @stop | ||||
		Reference in New Issue
	
	Block a user
	 Sujit Prasad
					Sujit Prasad