111 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			111 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @extends('themes.default1.layouts.login')
 | |
| 
 | |
| @section('body')
 | |
| @if(Session::has('status'))
 | |
| <div class="alert alert-success alert-dismissable">
 | |
|     <i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
 | |
|     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|     {{Session::get('status')}}
 | |
| </div>
 | |
| @endif
 | |
| <!-- failure message -->
 | |
| @if (count($errors) > 0)
 | |
| <div class="alert alert-danger alert-dismissable">
 | |
|     <i class="fa fa-ban"></i>
 | |
|     <b>{!! Lang::get('lang.alert') !!} !</b>
 | |
|     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|     @foreach ($errors->all() as $error)
 | |
|     <li class="error-message-padding">{{ $error }}</li>
 | |
|     @endforeach
 | |
| </div>
 | |
| @endif
 | |
| 
 | |
| <div id="corewidgetbox" class="wid">
 | |
|             
 | |
|     <div id="wbox" class="widgetrow text-center">
 | |
|         
 | |
|         @if(Auth::user())
 | |
|         @else
 | |
|         <span onclick="javascript: window.location.href='{{url('auth/register')}}';">
 | |
|             <a href="{{url('auth/register')}}"  class="widgetrowitem defaultwidget"  style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
 | |
|                 <span class="widgetitemtitle">{!! Lang::get('lang.register') !!}</span>
 | |
|             </a>
 | |
|         </span>
 | |
|         @endif
 | |
|         <?php $system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();            
 | |
|         ?>
 | |
|         @if($system != null) 
 | |
|             @if($system->status) 
 | |
|                 @if($system->status == 1)
 | |
|                     <span onclick="javascript: window.location.href='{!! URL::route('form') !!}';">
 | |
|                         <a href="{!! URL::route('form') !!}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/submitticket.png') }})">
 | |
|                             <span class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</span>
 | |
|                         </a>
 | |
|                     </span>
 | |
|                 @endif
 | |
|             @endif
 | |
|         @endif
 | |
|         <span onclick="javascript: window.location.href='{{url('mytickets')}}';">
 | |
|             <a href="{{url('mytickets')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/news.png') }})">
 | |
|                 <span class="widgetitemtitle">{!! Lang::get('lang.my_tickets') !!}</span>
 | |
|             </a>
 | |
|         </span>
 | |
|         <span onclick="javascript: window.location.href='{{url('/knowledgebase')}}';">
 | |
|             <a href="{{url('/knowledgebase')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/knowledgebase.png') }})">
 | |
|                 <span class="widgetitemtitle">{!! Lang::get('lang.knowledge_base') !!}</span>
 | |
|             </a>
 | |
|         </span>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
|         <script type="text/javascript"> $(function(){ $('.dialogerror, .dialoginfo, .dialogalert').fadeIn('slow');$("form").bind("submit", function(e){$(this).find("input:submit").attr("disabled", "disabled");});});</script>
 | |
|         <script type="text/javascript" >try {if (top.location.hostname != self.location.hostname) { throw 1; }} catch (e) { top.location.href = self.location.href; }</script>
 | |
|         
 | |
| <div class="col-md-6 offset-md-3 form-helper">
 | |
| 
 | |
|     <div valign="center" class="login-box" style="width: auto;">
 | |
| 
 | |
|         <div class="form-border">
 | |
| 
 | |
|             <h3 style="text-align: center;">{!! Lang::get('lang.reset_password') !!}</h3> 
 | |
| 
 | |
|             <form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
 | |
|                 
 | |
|                 <input type="hidden" name="_token" value="{{ csrf_token() }}">
 | |
|                 
 | |
|                 <input type="hidden" name="token" value="{{ $token }}">
 | |
|                 <!-- Email -->
 | |
|                 <div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}" style="display: -webkit-box;">
 | |
|                 
 | |
|                     <input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.e-mail') !!}" value="{{ $email }}" readonly>
 | |
|                 
 | |
|                     <span class="glyphicon glyphicon-envelope form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
 | |
|                 </div>
 | |
|                 
 | |
|                 <!-- password -->
 | |
|                 <div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}" style="display: -webkit-box;">
 | |
|                 
 | |
|                     <input type="password" class="form-control" name="password" placeholder="{!! Lang::get('lang.password') !!}">
 | |
|                 
 | |
|                     <span class="glyphicon glyphicon-lock form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
 | |
|                 </div>
 | |
| 
 | |
|                 <!-- confirm password -->
 | |
|                 <div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}" style="display: -webkit-box;">
 | |
|                     
 | |
|                     <input type="password" class="form-control" name="password_confirmation" placeholder="{!! Lang::get('lang.confirm_password') !!}">
 | |
|                     
 | |
|                     <span class="glyphicon glyphicon-log-in form-control-feedback" style="top: 9px;left: -25px;color: #6c757d;"></span>
 | |
|                 </div>
 | |
|                 <!-- Confirm password -->
 | |
|                 <div class="form-group">
 | |
|                     <button type="submit" class="btn btn-primary btn-block btn-flat">
 | |
|                         <i class="fas fa-sync"> </i> 
 | |
|                         {!! Lang::get('lang.reset_password') !!}
 | |
|                     </button>
 | |
|                 </div>
 | |
|             </form>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| @stop
 | 
