code/Athena0.0.1/Web/Areas/SystemManage/Views/ACETemplate/resource/Index.cshtml
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_ACEIndex.cshtml";
}
@this.Partial("Index-js")
<script>
var resourceList=@this.Raw(this.ViewBag.MenusListString)
</script>
<div class="topPanel">
<div class="toolbar">
<div class="btn-group">
<a class="btn btn-primary" onclick="$ace.reload()"><span class="glyphicon glyphicon-refresh"></span></a>
</div>
<div class="btn-group">
<button class="btn btn-primary" data-bind="click:Edit ,attr:{disabled:!DataTable.SelectedModel()}" ><i class="fa fa-pencil-square-o"></i>修改</button>
<button class="btn btn-primary" data-bind="click:Delete ,attr:{disabled:!DataTable.SelectedModel()}"><i class="fa fa-trash-o"></i>删除</button>
<button class="btn btn-primary" data-bind="click:Add"><i class="fa fa-plus"></i>添加</button>
<button class="btn btn-primary" data-bind="click:Detail ,attr:{disabled:!DataTable.SelectedModel()}"><i class="fa fa-pencil-square-o"></i>详情</button>
</div>
</div>
<div class="search">
<table>
<tr>
<td>
<div class="input-group">
<input id="txt_keyword" type="text" class="form-control" placeholder="名称" style="width: 200px;" data-bind="value:SearchModel().keyword">
<span class="input-group-btn">
<button id="btn_search" type="button" class="btn btn-primary" data-bind="click:Search"><i class="fa fa-search"></i></button>
</span>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover" data-bind="with:DataTable">
<thead>
<tr>
<th style="width: 20px;"></th>
<th>名称</th>
<th>类型</th>
<th>路径</th>
<th>排序</th>
<th>上级</th>
<th>级别</th>
@*<th>左图标</th>
<th>右图标</th>
<th>样式</th>
<th>提示数</th>*@
<th>脚本</th>
<th>备注</th>
</tr>
</thead>
<tbody data-bind="foreach:Models">
<tr data-bind="click:$parent.SelectRow, attr: { id: $data.Data.id, 'parent-id': $data.Data.resourceowner }">
后面还有 189 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
