<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd') }}">
<html xmlns="http://www.w3.org/1999/xhtml') }}">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
	<title>CBB Dashboard</title>
	
	<link rel="icon" href="{{ url('assets/favicon-2.png') }}" type="image/gif">
	<link href="{{ url('css/styles.css') }}" rel="stylesheet" type="text/css" />
	<link href="{{ url('css/login.css') }}" rel="stylesheet" type="text/css" />
	<!--[if IE]> <link href="css/ie.css" rel="stylesheet" type="text/css') }}"> <![endif]-->

	<!--<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') }}"></script>-->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>

	<script type="text/javascript" src="{{ url('js/plugins/charts/excanvas.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/charts/jquery.flot.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/charts/jquery.flot.orderBars.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/charts/jquery.flot.pie.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/charts/jquery.flot.resize.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/charts/jquery.sparkline.min.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/tables/jquery.dataTables.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/tables/jquery.sortable.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/tables/jquery.resizable.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.autosize.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.uniform.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.inputlimiter.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.tagsinput.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.maskedinput.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.autotab.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.select2.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.dualListBox.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.cleditor.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.ibutton.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.validationEngine-en.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.validationEngine.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/uploader/plupload.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/uploader/plupload.html4.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/uploader/plupload.html5.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/uploader/jquery.plupload.queue.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/wizards/jquery.form.wizard.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/wizards/jquery.validate.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/wizards/jquery.form.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.collapsible.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.breadcrumbs.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.tipsy.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.progress.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.timeentry.min.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.colorpicker.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.jgrowl.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.fancybox.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.fileTree.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.sourcerer.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/others/jquery.fullcalendar.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/others/jquery.elfinder.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/plugins/forms/jquery.mousewheel.js') }}"></script>
	<script type="text/javascript" src="{{ url('js/plugins/ui/jquery.easytabs.min.js') }}"></script>

	<script type="text/javascript" src="{{ url('js/files/bootstrap.js') }}"></script>
</head>

<style type="text/css">
	.loginWrapper input[type=email], .loginWrapper input[type=password] {
	    font-size: 12px !important;
	}
</style>

<body>
	<!-- Top line begins -->
	<div id="top">
		<div class="wrapper">
			<a title="" class="logo isDisabled"><img src="{{ url('assets/logo/logo-cbb3.png') }}" alt="" /></a>
			
			<!-- Right top nav -->
			<div class="topNav">
				<ul class="userNav') }}">
					<li><a title="" class="screen isDisabled"></a></li>
					<li><a title="" class="settings isDisabled"></a></li>
				</ul>
			</div>
		</div>
	</div>
	<!-- Top line ends -->
	
	<!-- Login wrapper begins -->
	<div class="loginWrapper">
	<div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">Reset Password</div>

                <div class="panel-body">
                    @if (session('status'))
                        <div class="alert alert-success">
                            {{ session('status') }}
                        </div>
                        <a href="/">Return to homepage</a>
                    @else
                    <div class="alert alert-info">
                        Your password has expired, please change it.
					</div>
					
                    <form class="form-horizontal" method="POST" action="{{ route('password.post_expired') }}">
                        {{ csrf_field() }}
						<input id="_id" type="hidden" class="form-control" name="_id" value="{{$user['_id']}}">
                        <div class="form-group{{ $errors->has('current_password') ? ' has-error' : '' }}">
                            <label for="current_password" class="col-md-4 control-label">Current Password</label>

                            <div class="col-md-6">
                                <input id="current_password" type="password" class="form-control" name="current_password" required="">

                                @if ($errors->has('current_password'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('current_password') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>

                        <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
                            <label for="password" class="col-md-4 control-label">New Password</label>

                            <div class="col-md-6">
                                <input id="password" type="password" class="form-control" name="password" required="">

                                @if ($errors->has('password'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('password') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>

                        <div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
                            <label for="password-confirm" class="col-md-4 control-label">Confirm New Password</label>
                            <div class="col-md-6">
                                <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required="">

                                @if ($errors->has('password_confirmation'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('password_confirmation') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-6 col-md-offset-4">
                                <button type="submit" class="btn btn-primary">
                                    Reset Password
                                </button>
                            </div>
                        </div>
                    </form>
                    @endif
                </div>
            </div>
        </div>
    </div>
	</div>
	<!-- Login wrapper ends -->
</body>
</html>