<ion-view hide-nav-bar="false" hide-back-button="false" cache-view="false" view-title="修改密码">
<ion-content id="page-changepass" class="padding">
	<div id="changepass-changing" ng-if="!pass.changedOk">
		<div class="row">
			<div class="col col-25" style="width:30%;color:#666;">当前密码:</div>
			<div class="col">
				<label for="" style="height:2rem;" class="item item-input">
					<input ng-model="pass.oldPass" type="text" placeholder="输入当前密码">
				</label>
			</div>
		</div>
		<div class="row">
			<div class="col col-25" style="width:30%;color:#666;">新&nbsp; 密&nbsp; 码:</div>
			<div class="col">
				<label for="" style="height:2rem;" class="item item-input large">
					<input ng-model="pass.newPass" type="text" placeholder="输入新密码">
				</label>
			</div>
		</div>
		<div class="row">
			<div class="col col-25" style="width:30%;color:#666;">确认密码:</div>
			<div class="col">
				<label style="height:2rem;" class="item item-input large">
					<input ng-model="pass.newPass2" type="text" placeholder="确认新密码">
				</label>
			</div>
		</div>
		<div class="row" style="margin-top:1rem;">
			<div class="col">
				<div ng-disabled="!couldConfirmChangePass();" class="button" style="width:100%;" ng-click="confirmChangePass();">
					确认修改
				</div>
			</div>
		</div>
	</div>
	<div id="changepass-changed-ok" ng-if="pass.changedOk">
		<div class="row">
			<div class="col" style="text-align:center;text-size:1.5rem;line-height:2rem;color:green;">
				恭喜您，密码修改成功！<br/>请重新登录！
			</div>
		</div>
		<div class="row" >
			<div class="col">
				<div class="button" ng-click="loginAgin();">
					重新登录
				</div>
			</div>
			<div class="col" >
				<div class="button" ng-click="changePassAgin();">
					继续修改密码
				</div>
			</div>
		</div>
	</div>
</ion-content>
</ion-view>