BootstrapAdmin11/Bootstrap.Admin/Views/Admin/Users.cshtml

81 lines
3.8 KiB
Plaintext
Raw Normal View History

@model NavigatorBarModel
2016-10-20 17:55:29 +08:00
@{
ViewBag.Title = "用户管理";
Layout = "~/Views/Shared/_Default.cshtml";
}
@section Javascript {
<script src="~/scripts/Users.js"></script>
}
@section header {
2016-10-21 16:35:26 +08:00
@Html.Partial("Header", Model)
2016-10-20 17:55:29 +08:00
}
@section navigator {
2016-10-21 16:35:26 +08:00
@Html.Partial("Navigator", Model)
2016-10-20 17:55:29 +08:00
}
@section query {
2016-10-24 13:43:11 +08:00
<form class="form-inline" role="form">
<div class="row">
<div class="form-group col-lg-5">
<label class="control-label" for="txt_search_name">登陆名称</label>
<input type="text" class="form-control" id="txt_search_name" />
</div>
<div class="form-group col-lg-5">
<label class="control-label" for="txt_display_name">显示名称</label>
<input type="text" class="form-control" id="txt_display_name" />
</div>
<div class="form-group col-lg-2">
<button type="button" id="btn_query" class="btn btn-primary form-control"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询</button>
</div>
<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">
<a id="tb_add" href="#" title="新增"><i class="glyphicon glyphicon-plus"></i></a>
<a id="tb_delete" href="#" title="删除"><i class="glyphicon glyphicon-remove"></i></a>
<a id="tb_edit" href="#" title="编辑"><i class="glyphicon glyphicon-pencil"></i></a>
<a id="tb_assignRole" href="#" title="指派角色"><i class="fa fa-sitemap"></i></a>
<a id="tb_assignGroup" href="#" title="指派部门"><i class="fa fa-home"></i></a>
</div>
</div>
2016-10-20 17:55:29 +08:00
</div>
</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">
<span class="fa fa-sitemap" aria-hidden="true"></span>指派角色
</button>
<button id="btn_assignGroup" type="button" class="btn btn-info">
<span class="fa fa-home" aria-hidden="true"></span>指派部门
</button>
}
2016-10-20 17:55:29 +08:00
@section modal {
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">用户编辑窗口</h4>
</div>
<div class="modal-body">
<form class="form-inline" id="dataForm" name="dataForm" role="form">
<div class="form-group col-lg-6">
<label class="control-label" for="userName">登陆名称</label>
<input type="text" class="form-control" id="userName" name="userName" maxlength="50" />
</div>
<div class="form-group col-lg-6">
<input type="text" class="form-control hidden" id="userID" name="userID" />
<label class="control-label" for="userName">显示名称</label>
<input type="text" class="form-control" id="displayName" name="displayName" maxlength="50" />
</div>
<div class="form-group col-lg-6">
<label class="control-label" for="password">登录密码</label>
<input type="password" class="form-control" id="password" name="password" maxlength="15" />
</div>
<div class="form-group col-lg-6">
<label class="control-label" for="confirm">确认密码</label>
<input type="password" class="form-control" id="confirm" name="confirm" maxlength="15" />
</div>
</form>
2016-10-20 17:55:29 +08:00
</div>
2016-10-25 18:47:33 +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
}