2016-02-02 15:30:46 +08:00
|
|
|
|
@{
|
2016-02-18 17:33:40 +08:00
|
|
|
|
Layout = null;
|
2016-02-02 15:30:46 +08:00
|
|
|
|
}
|
2015-12-05 16:07:53 +08:00
|
|
|
|
|
|
|
|
|
|
2016-04-11 23:46:33 +08:00
|
|
|
|
<div id="moduleElementManager" class="bjui-dialog">
|
|
|
|
|
<div class="bjui-pageHeader">
|
|
|
|
|
<button type="button" class="btn-green" data-icon="plus" id="btnAddElement">
|
|
|
|
|
添加
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn-primary" data-icon="edit" id="btnEditElement">
|
|
|
|
|
编辑
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn-danger" data-icon="del" id="btnDelElement">
|
|
|
|
|
删除
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bjui-pageContent">
|
|
|
|
|
<input id="selectedModuleId" value="@ViewBag.ModuleId" style="display: none" />
|
|
|
|
|
<table id="maingrid" class="table table-bordered"></table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bjui-pageFooter">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2015-12-05 16:07:53 +08:00
|
|
|
|
</div>
|
2016-04-11 23:46:33 +08:00
|
|
|
|
|
|
|
|
|
<!--编辑对话框-->
|
|
|
|
|
<div class="bjui-dialog hidden bjui-dialog-container" id="editDlg" data-noinit="true">
|
|
|
|
|
<div class="bjui-pageContent">
|
|
|
|
|
|
|
|
|
|
<form class="pageForm" data-toggle="validate" id="editElementForm"
|
|
|
|
|
action="/ModuleElementManager/AddOrEditButton">
|
|
|
|
|
<input type="text" id="Id" value="" class="hidden" />
|
|
|
|
|
<input id="ModuleId" name="ModuleId" class="hidden" />
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="DomId" class="control-label x120">DOM ID:</label>
|
|
|
|
|
<input type="text" id="DomId" name="DomId" data-rule="required" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Name" class="control-label x120">名称:</label>
|
|
|
|
|
<input type="text" id="Name" name="Name" value="" data-rule="required" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Type" class="control-label x120">类型:</label>
|
|
|
|
|
<select id="Type" name="Type" data-toggle="selectpicker">
|
|
|
|
|
<option value="button" selected>按钮</option>
|
|
|
|
|
<option value="link">超链接</option>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Attr" class="control-label x120">元素附加属性:</label>
|
|
|
|
|
<input type="text" id="Attr" name="Attr" value="" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Script" class="control-label x120">元素调用脚本:</label>
|
|
|
|
|
<input type="text" id="Script" name="Script" value="" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Class" class="control-label x120">元素样式:</label>
|
|
|
|
|
<select id="Class" name="Class" data-toggle="selectpicker">
|
|
|
|
|
<option value="btn-green" selected>绿色</option>
|
|
|
|
|
<option value="btn-red">红色</option>
|
|
|
|
|
<option value="btn-primary">默认</option>
|
|
|
|
|
<option value="btn-danger">警告</option>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Remark" class="control-label x120">备注:</label>
|
|
|
|
|
<input type="text" id="Remark" name="Remark" value="" data-rule="required" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Sort" class="control-label x120">排序号:</label>
|
|
|
|
|
<input type="text" id="Sort" name="Sort" value="" data-rule="required" size="20"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Icon" class="control-label x120">图标:</label>
|
|
|
|
|
<select id="Icon" name="Icon" data-toggle="selectpicker">
|
|
|
|
|
<option value="pencil" selected>pencil</option>
|
|
|
|
|
<option value="plus">plus</option>
|
|
|
|
|
<option value="del">del</option>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bjui-pageFooter">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><button type="button" class="btn-close">关闭</button></li>
|
|
|
|
|
<li><button type="submit" class="btn-primary">保存</button></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2015-12-05 16:07:53 +08:00
|
|
|
|
</div>
|
2016-04-11 23:46:33 +08:00
|
|
|
|
|
|
|
|
|
<script src="~/BllScripts/moduleElementMan.js"></script>
|