74 lines
2.6 KiB
Plaintext
74 lines
2.6 KiB
Plaintext
<#def designatedPath="/zhiqimMediaEditor/materialCatList.htm"/>
|
|
<script language="javascript">
|
|
<!--
|
|
${Scripts.doSelectBox()}
|
|
${Scripts.doClearForm()}
|
|
|
|
function doAddSysMaterial()
|
|
{//打标签
|
|
var svgId = Z.FM.getChecked("svgId");
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "添加系统素材";
|
|
dialog.url = "/addSysMaterial.htm?svgId=" + svgId;
|
|
dialog.width = 800;
|
|
dialog.height = 400;
|
|
dialog.fixed = true;
|
|
dialog.execute();
|
|
}
|
|
|
|
//-->
|
|
</script>
|
|
|
|
${zhiqim_manager_breadcrumb("用户素材列表")}
|
|
|
|
<div class="content">
|
|
<#-- 导航栏 -->
|
|
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 z-blue">
|
|
<nav>
|
|
<ul>
|
|
<li onclick="Z.Location.href('/zhiqimMediaEditor/materialCatList.htm');">素材分类管理</li>
|
|
<li onclick="Z.Location.href('/zhiqimMediaEditor/materialSvgList.htm');">素材资源管理</li>
|
|
<li class="z-active">用户素材管理</li>
|
|
</ul>
|
|
<div class="z-float-left z-mg10">
|
|
<form name="theForm" method="post" action="/userMaterialList.htm">
|
|
<input name="designer" class="z-float-left ${zmr_color_class} z-input z-w150 z-mg-l4" value="${designer}" maxlength="16" placeholder="设计师">
|
|
<button class="z-float-left z-button z-w80 zi-bd-rd0 z-blue"><i class="z-font z-query"></i>查询</button>
|
|
</form>
|
|
</div>
|
|
<div class="z-text-right z-mg-t10 z-mg-r5">
|
|
<button class="z-button z-h30 ${zmr_color_class}" onclick="doAddSysMaterial();"><i class="z-font z-add"></i> 选为系统素材</button>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<table class="z-table z-bordered z-bg-white z-pd6">
|
|
<tr class="z-text-center z-h40 z-bg-gray">
|
|
<td width=8%>选择</td>
|
|
<td width="10%">类型</td>
|
|
<td width="10%">分类</td>
|
|
<td width="10%">设计师</td>
|
|
<td width="10%">序号</td>
|
|
<td width="15%">关键字</td>
|
|
<td width="15%">预览图</td>
|
|
<td width="*">代码</td>
|
|
</tr>
|
|
|
|
<#if pageResult.size() == 0>
|
|
${zhiqim_manager_no_record (10, "暂时没有素材资源信息")}
|
|
</#if>
|
|
<#for item : pageResult.list()>
|
|
<tr valign="middle" bgcolor=<#if item_index % 2 == 0>${zmr_tr_odd_bgcolor}<#else>${zmr_tr_even_bgcolor}</#if> class="z-text-center z-h60">
|
|
<td><input name="svgId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getSvgId()}"></td>
|
|
<td>${MaterialConstants.getMaterialTypeName(item.getTypeCode())}</td>
|
|
<td>${Global.get(MaterialCatCache.class).getName(item.getCatCode())}</td>
|
|
<td>${item.getDesigner()}</td>
|
|
<td>${item.getSvgSeq()}</td>
|
|
<td>${item.getKeywords()}</td>
|
|
<td></td>
|
|
<td><textarea class="z-w100p z-h100">#{item.getSvgCode()}</textarea></td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_paging (pageResult, "userMaterialList.htm")}
|
|
</div> |