2018-06-07 00:45:47 +08:00
|
|
|
|
@model Bootstrap.Admin.Models.NavigatorBarModel
|
2016-10-20 17:55:29 +08:00
|
|
|
|
@{
|
|
|
|
|
ViewBag.Title = "用户管理";
|
|
|
|
|
Layout = "~/Views/Shared/_Default.cshtml";
|
|
|
|
|
}
|
|
|
|
|
@section Javascript {
|
2018-06-07 00:45:47 +08:00
|
|
|
|
<script src="~/js/Users.js"></script>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
}
|
|
|
|
|
@section query {
|
2016-10-24 13:43:11 +08:00
|
|
|
|
<form class="form-inline" role="form">
|
2016-11-09 16:00:15 +08:00
|
|
|
|
<div class="row">
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-5">
|
2016-11-09 16:00:15 +08:00
|
|
|
|
<label class="control-label" for="txt_search_name">登陆名称</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_search_name" />
|
|
|
|
|
</div>
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-5">
|
2016-11-09 16:00:15 +08:00
|
|
|
|
<label class="control-label" for="txt_display_name">显示名称</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_display_name" />
|
|
|
|
|
</div>
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-2">
|
2017-01-01 19:49:31 +08:00
|
|
|
|
<button type="button" id="btn_query" class="btn btn-primary form-control"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
|
2016-11-09 16:00:15 +08:00
|
|
|
|
</div>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
</div>
|
2016-11-09 18:36:49 +08:00
|
|
|
|
</form>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
}
|
2016-10-25 18:47:33 +08:00
|
|
|
|
@section toolbar {
|
|
|
|
|
<button id="btn_assignRole" type="button" class="btn btn-info">
|
2016-11-17 16:02:11 +08:00
|
|
|
|
<span class="fa fa-sitemap" aria-hidden="true"></span><span class="hidden-tb">指派角色</span>
|
2016-10-25 18:47:33 +08:00
|
|
|
|
</button>
|
|
|
|
|
<button id="btn_assignGroup" type="button" class="btn btn-info">
|
2016-11-17 16:02:11 +08:00
|
|
|
|
<span class="fa fa-bank" aria-hidden="true"></span><span class="hidden-tb">指派部门</span>
|
2016-10-25 18:47:33 +08:00
|
|
|
|
</button>
|
2017-01-02 12:45:55 +08:00
|
|
|
|
<div class="toolbar btn-group dropdown">
|
|
|
|
|
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
|
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
|
@Html.Partial("_ButtonBarGroup")
|
|
|
|
|
<a id="tb_assignRole" href="#" title="指派角色"><i class="fa fa-sitemap"></i></a>
|
|
|
|
|
<a id="tb_assignGroup" href="#" title="指派部门"><i class="fa fa-bank"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-10-25 18:47:33 +08:00
|
|
|
|
}
|
2016-10-20 17:55:29 +08:00
|
|
|
|
@section modal {
|
2016-10-24 22:16:30 +08:00
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h4 class="modal-title" id="myModalLabel">用户编辑窗口</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2018-06-07 14:39:45 +08:00
|
|
|
|
<form class="form-inline" role="form">
|
2016-11-09 21:56:33 +08:00
|
|
|
|
<div class="row">
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 21:56:33 +08:00
|
|
|
|
<label class="control-label" for="userName">登陆名称</label>
|
2018-06-07 14:39:45 +08:00
|
|
|
|
<input type="text" class="form-control" id="userName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2016-11-09 21:56:33 +08:00
|
|
|
|
</div>
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 21:56:33 +08:00
|
|
|
|
<input type="text" class="form-control hidden" id="userID" name="userID" />
|
|
|
|
|
<label class="control-label" for="userName">显示名称</label>
|
2018-06-07 14:39:45 +08:00
|
|
|
|
<input type="text" class="form-control" id="displayName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2016-11-09 21:56:33 +08:00
|
|
|
|
</div>
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 21:56:33 +08:00
|
|
|
|
<label class="control-label" for="password">登录密码</label>
|
2018-06-07 14:39:45 +08:00
|
|
|
|
<input type="password" class="form-control" id="password" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2016-11-09 21:56:33 +08:00
|
|
|
|
</div>
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 21:56:33 +08:00
|
|
|
|
<label class="control-label" for="confirm">确认密码</label>
|
2018-06-07 14:39:45 +08:00
|
|
|
|
<input type="password" class="form-control" id="confirm" placeholder="与登陆密码一致,50字以内" maxlength="50" equalTo="#password" data-valid="true" />
|
2016-11-09 21:56:33 +08:00
|
|
|
|
</div>
|
2016-10-24 22:16:30 +08:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
</div>
|
2016-10-25 18:47:33 +08:00
|
|
|
|
}
|
2016-10-27 14:33:34 +08:00
|
|
|
|
@section customModal {
|
2016-10-25 18:47:33 +08:00
|
|
|
|
@Html.Partial("RoleConfig")
|
2016-10-28 21:46:48 +08:00
|
|
|
|
@Html.Partial("GroupConfig")
|
2016-10-25 18:47:33 +08:00
|
|
|
|
}
|