Bootstrap4 :: Client panel completed
This commit is contained in:
@@ -19,35 +19,93 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
<p class="login-box-msg">{!! Lang::get('lang.reset_password') !!}</p>
|
||||
<div class="panel-body">
|
||||
<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' : '' }}">
|
||||
<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"></span>
|
||||
|
||||
<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>
|
||||
<!-- password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
<input type="password" class="form-control" name="password" placeholder="{!! Lang::get('lang.password') !!}">
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- confirm password -->
|
||||
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="{!! Lang::get('lang.confirm_password') !!}">
|
||||
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
|
||||
</div>
|
||||
<!-- Confirm password -->
|
||||
<div class="form-group">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<button type="submit" class="btn btn-primary btn-flat">
|
||||
{!! Lang::get('lang.reset_password') !!}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
Reference in New Issue
Block a user