Authored by dongjunjie

资源管理模块页面优化

... ... @@ -2,12 +2,13 @@
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel-heading">
<div style="margin-bottom: 20px">
<a class="btn btn-success " id="add-platform"><i class="fa fa-plus"></i> 添加平台</a>
</div>
<div class="panel panel-default" style="margin-bottom: 10px">
<div id="content-list"></div>
<div class="panel">
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源位</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="inputResourceId" placeholder="请输入ID" class="form-control" />
</div>
<div class="panel-col">
<input type="text" id="inputResourceName" placeholder="请输入资源名" class="form-control" />
</div>
<div class="panel-col" id="category-content">
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源位</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="inputResourceId" placeholder="请输入ID" class="form-control" />
</div>
<div class="panel-col">
<input type="text" id="inputResourceName" placeholder="请输入资源名" class="form-control" />
</div>
<div class="panel-col" id="category-content">
</div>
<div class="panel-col" id="platform-content">
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/resource/index/index" class="btn btn-info">全部</a>
</div>
</div>
<div class="panel-col" id="platform-content">
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/resource/index/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom: 10px">
<div class="panel" style="margin-bottom: 10px">
<input type="hidden" id="url" value="/runManage/subjectManage/subjectList"/>
<div id="content-list"></div>
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...
... ... @@ -2,12 +2,13 @@
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel-heading">
<div style="margin-bottom: 20px">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源分类</a>
</div>
<div class="panel panel-default" style="margin-bottom: 10px">
<div id="content-list"></div>
<div class="panel">
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...
... ... @@ -27,8 +27,8 @@ var g = new common.grid({
{
display: "操作",name: "", render: function (item) {
var arr = [];
arr.push('<a class="btn btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-primary delbtn" data-index="' + item.__index + '">删除</a>');
arr.push('<a class="btn btn-xs btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-xs btn-danger delbtn" data-index="' + item.__index + '">删除</a>');
return arr.join("");
}
}
... ...
... ... @@ -52,9 +52,9 @@ var g = new common.grid({
}},
{display: "操作", name: "",render: function(item) {
var arr = [];
arr.push('<a class="btn btn-primary contentManage" data-index="' + item.__index + '" href="/resource/content/index/' + item.id + '">内容管理</a>');
arr.push('<a class="btn btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-primary delbtn" data-index="' + item.__index + '">删除</a>');
arr.push('<a class="btn btn-xs btn-info contentManage" data-index="' + item.__index + '" href="/resource/content/index/' + item.id + '">内容管理</a>');
arr.push('<a class="btn btn-xs btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-xs btn-danger delbtn" data-index="' + item.__index + '">删除</a>');
return arr.join("");
}}
]
... ...
... ... @@ -32,8 +32,8 @@ var g = new common.grid({
{
display: "操作",name: "", render: function (item) {
var arr = [];
arr.push('<a class="btn btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-primary delbtn" data-index="' + item.__index + '">删除</a>');
arr.push('<a class="btn btn-xs btn-primary add2" data-index="' + item.__index + '">编辑</a>');
arr.push('<a class="btn btn-xs btn-danger delbtn" data-index="' + item.__index + '">删除</a>');
return arr.join("");
}
}
... ...
... ... @@ -2,12 +2,13 @@
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel-heading">
<div style="margin-bottom: 20px">
<a class="btn btn-success " id="add-platform"><i class="fa fa-plus"></i> 添加平台</a>
</div>
<div class="panel panel-default" style="margin-bottom: 10px">
<div id="content-list"></div>
<div class="panel">
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源位</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="inputResourceId" placeholder="请输入ID" class="form-control" />
</div>
<div class="panel-col">
<input type="text" id="inputResourceName" placeholder="请输入资源名" class="form-control" />
</div>
<div class="panel-col" id="category-content">
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源位</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="inputResourceId" placeholder="请输入ID" class="form-control" />
</div>
<div class="panel-col">
<input type="text" id="inputResourceName" placeholder="请输入资源名" class="form-control" />
</div>
<div class="panel-col" id="category-content">
</div>
<div class="panel-col" id="platform-content">
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/resource/index/index" class="btn btn-info">全部</a>
</div>
</div>
<div class="panel-col" id="platform-content">
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/resource/index/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom: 10px">
<div class="panel" style="margin-bottom: 10px">
<input type="hidden" id="url" value="/runManage/subjectManage/subjectList"/>
<div id="content-list"></div>
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...
... ... @@ -2,12 +2,13 @@
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel-heading">
<div style="margin-bottom: 20px">
<a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源分类</a>
</div>
<div class="panel panel-default" style="margin-bottom: 10px">
<div id="content-list"></div>
<div class="panel">
<div class="panel-body nopadding">
<div id="content-list"></div>
</div>
</div>
</div>
... ...