updatePwd.vm 2.43 KB
 #set($page_title="编辑") #set($crumbs="首页:/home,编辑")
 #set($url_updatepwd ="/user/updatePwd.do")

<div class="page-content">
	<div class="page-header">
		<span class="pull-right"> <a href="javascript:history.back()"
			class="btn btn-white btn-default">返回</a>
		</span>
		<h1>
			<small> <i class="icon-double-angle-right"></i> 修改密码
			</small>
		</h1>
	</div>
	<!-- /.page-header -->
<link href="$!{webUtils.getAssetsPath("/css/i-layout.css")}" rel="stylesheet" type="text/css" />
<style type="text/css">
    .width-100{width:344px !important}
</style>

	<div class="row">
		<div class="col-xs-12">
			<!-- PAGE CONTENT BEGINS -->

			<form id="userAdd" class="form-horizontal" role="form" method="post"
				action="$url_updatepwd">
				#if($model.id) <input type="hidden" value="$model.id" name="id">
				#end
				#if($returnUrl)
					<input type="hidden" name="returnUrl" value="${returnUrl}">
				#end

                <div class="alert alert-success" role="alert">
                    <strong>密码规则:</strong>
					<ul>
						<li>大写字母,小写字母,数字,特殊字符任意3种或以上组合</li>
						<li>长度8-20位</li>
					</ul>
                </div>
				<div class="form-group">
					<label class="col-sm-3 control-label no-padding-right"
						for="form-field-1"> 原密码: </label>

					<div class="col-xs-12 col-sm-4">
						<input type="password" required="true" id="form-field-1"
							placeholder="原密码" autocomplete="off" name="pwd"
							value="" class="width-100">
					</div>
				</div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right"
                           for="form-field-1"> 新密码: </label>

                    <div class="col-xs-12 col-sm-4">
                        <input type="password" required="true" id="form-field-1"
                               placeholder="新密码" autocomplete="off" name="newPwd"
                               value="" class="width-100">
                    </div>
                </div>

				<div class="clearfix form-actions">
					<div class="col-md-offset-3 col-md-9">
						<button class="btn btn-info" type="submit">
							<i class="icon-ok bigger-110"></i> 提交
						</button>

						&nbsp; &nbsp; &nbsp; <a class="btn btn-info"
							href="javascript:history.back()"> <i
							class="icon-undo bigger-110"></i> 返回
						</a>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>