71 lines
2.8 KiB
Plaintext
71 lines
2.8 KiB
Plaintext
@model NavigatorBarModel
|
|
@{
|
|
ViewBag.Title = "角色管理";
|
|
Layout = "~/Views/Shared/_Default.cshtml";
|
|
}
|
|
@section css {
|
|
<link href="~/Content/css/fa.css" rel="stylesheet" />
|
|
<link href="~/Content/css/jquery.nestable.css" rel="stylesheet" />
|
|
}
|
|
@section Javascript {
|
|
<script src="~/Content/js/jquery.nestable.js"></script>
|
|
<script src="~/scripts/Roles.js"></script>
|
|
|
|
}
|
|
@section header {
|
|
@Html.Partial("Header", Model)
|
|
}
|
|
@section navigator {
|
|
@Html.Partial("Navigator", Model)
|
|
}
|
|
@section query {
|
|
<form class="form-inline" role="form">
|
|
<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_role_desc">角色描述</label>
|
|
<input type="text" class="form-control" id="txt_role_desc" />
|
|
</div>
|
|
<div class="form-group col-lg-2">
|
|
<button type="button" id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询</button>
|
|
</div>
|
|
</form>
|
|
}
|
|
@section toolbar{
|
|
<button id="btn_assignUser" 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>
|
|
<button id="btn_assignMenu" type="button" class="btn btn-info">
|
|
<span class="fa fa-home" aria-hidden="true"></span>指派菜单
|
|
</button>
|
|
}
|
|
@section modal {
|
|
<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">
|
|
<form class="form-inline" id="dataForm" name="dataForm" role="form">
|
|
<div class="form-group col-lg-6">
|
|
<label class="control-label" for="roleName">角色名称</label>
|
|
<input type="text" class="form-control" id="roleName" name="roleName" maxlength="50" />
|
|
</div>
|
|
<div class="form-group col-lg-6">
|
|
<label class="control-label" for="roleDesc">角色描述</label>
|
|
<input type="text" class="form-control" id="roleDesc" name="roleDesc" maxlength="50" />
|
|
<input type="text" class="form-control hide" id="roleID" name="roleID" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
}
|
|
@section customModal{
|
|
@Html.Partial("UserConfig")
|
|
@Html.Partial("GroupConfig")
|
|
@Html.Partial("NavigatorConfig", Model.Navigations)
|
|
}
|