53 lines
2.0 KiB
HTML
53 lines
2.0 KiB
HTML
<include file="Public/header" title="添加用户" />
|
|
<div id="page-wrapper">
|
|
<form action="{:U('member/add')}" method="post">
|
|
<div class="form-group">
|
|
<label>用户名</label>
|
|
<input class="form-control" type="text" name="username" placeholder="username">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>邮箱</label>
|
|
<input class="form-control" type="text" name="email" placeholder="Email">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>密码</label>
|
|
<input class="form-control" type="password" name="password" placeholder="password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>确认密码</label>
|
|
<input class="form-control" type="password" name="repassword" placeholder="repassword">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>用户等级</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="type" id="type" value="1" <if condition="$model.type eq 1">checked="checked"</if>>路人
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="type" id="type" value="2" <if condition="$model.type eq 2">checked="checked"</if>>实习白帽子
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="type" id="type" value="3" <if condition="$model.type eq 3">checked="checked"</if>>普通白帽子
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="type" id="type" value="4" <if condition="$model.type eq 4">checked="checked"</if>>核心白帽子
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>用户状态</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="status" id="status" value="0">禁止登陆
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="status" id="status" value="1" checked="checked">正常
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<button class="btn btn-success" type="submit" >添加</button>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<include file="Public/footer" />
|