美化表单的子标题缩进一些及其它细节
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
for (child in table.childList){
|
||||
%>
|
||||
<div class="form-unit">\${text('${child.comments}')}</div>
|
||||
<div class="ml10 mr10 table-form">
|
||||
<div class="form-unit-wrap table-form">
|
||||
<table id="${@StringUtils.uncap(child.className)}DataGrid"></table>
|
||||
<% if(table.tplCategory != 'query'){ %>
|
||||
\<% if (hasPermi('${permissionPrefix}:edit')){ %>
|
||||
|
||||
@@ -145,9 +145,9 @@
|
||||
<% } %>
|
||||
<% if(op == 'add' || op == 'auth') {%>
|
||||
<div class="form-unit">${text('授权功能菜单')}</div>
|
||||
<div id="menuTrees"></div>
|
||||
<div id="menuTrees" class="pl20"></div>
|
||||
<script id="menuTpl" type="text/template">
|
||||
<div id="menuDiv_{{d.key}}" class="pull-left" style="padding:0 15px;min-width:300px;">
|
||||
<div id="menuDiv_{{d.key}}" class="pull-left" style="padding:0 10px;min-width:300px;">
|
||||
<div class="box box-solid box-trees">
|
||||
<div class="box-header">
|
||||
<div class="box-title icheck">
|
||||
|
||||
@@ -59,9 +59,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-unit">${text('授权数据权限')}</div>
|
||||
<div id="dataScopeTrees"></div>
|
||||
<div id="dataScopeTrees" class="pl20"></div>
|
||||
<script id="dataScopeTpl" type="text/template">
|
||||
<div id="dataScope_{{d.key}}" class="pull-left" style="padding:0 15px;min-width:300px;">
|
||||
<div id="dataScope_{{d.key}}" class="pull-left" style="padding:0 10px;min-width:300px;">
|
||||
<div class="box box-solid box-trees">
|
||||
<div class="box-header">
|
||||
<div class="box-title icheck">
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-unit">${text('分配角色')}</div>
|
||||
<div class="pl10 pb20">
|
||||
<div class="form-unit-wrap table-form">
|
||||
<table id="roleGrid"></table>
|
||||
<#form:hidden name="userRoleString"/>
|
||||
</div>
|
||||
@@ -185,9 +185,6 @@ var roleGrid = $("#roleGrid").dataGrid({
|
||||
autoGridHeight: function(){
|
||||
return 'auto';
|
||||
},
|
||||
autoGridWidth: function(){
|
||||
return $('#inputForm .box-body').width()-20;
|
||||
},
|
||||
onSelectRow: function(id, isSelect, event){
|
||||
if (!isSelect && id == '${corpAdminRoleCode}') {
|
||||
js.showMessage('${text("该角色为管理员默认,不能取消。")}');
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
<% } %>
|
||||
<% if(hasPermi('sys:empUser:authRole') && (op == 'add' || op == 'auth')) { %>
|
||||
<div class="form-unit">${text('分配角色')}</div>
|
||||
<div class="pl10 pb20">
|
||||
<div class="form-unit-wrap table-form">
|
||||
<table id="roleGrid"></table>
|
||||
<#form:hidden name="userRoleString"/>
|
||||
</div>
|
||||
@@ -293,9 +293,6 @@ var roleGrid = $("#roleGrid").dataGrid({
|
||||
autoGridHeight: function(){
|
||||
return 'auto';
|
||||
},
|
||||
autoGridWidth: function(){
|
||||
return $('#inputForm .box-body').width()-20;
|
||||
},
|
||||
ajaxSuccess: function(){
|
||||
//# for (role in roleList!){
|
||||
roleGrid.dataGrid('setSelectRow', '${role.roleCode}');
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-unit">${text('数据权限')}</div>
|
||||
<div id="dataScopeTrees"></div>
|
||||
<div id="dataScopeTrees" class="pl20"></div>
|
||||
<script id="dataScopeTpl" type="text/template">
|
||||
<div id="dataScope_{{d.key}}" class="pull-left" style="padding:0 15px;min-width:300px;">
|
||||
<div id="dataScope_{{d.key}}" class="pull-left" style="padding:0 10px;min-width:300px;">
|
||||
<div class="box box-solid box-trees">
|
||||
<div class="box-header">
|
||||
<div class="box-title icheck">
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
</div>
|
||||
<#form:form id="inputForm" model="${user}" action="${ctx}/sys/secAdmin/save" method="post" class="form-horizontal">
|
||||
<#form:hidden path="userCode"/>
|
||||
<div class="box-body"><br/>
|
||||
<div class="box-body">
|
||||
<div class="form-unit">${text('基本信息')}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="form-group">
|
||||
@@ -33,9 +34,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-unit">${text('可管理的数据权限')}</div>
|
||||
<div id="dataScopeTrees"></div>
|
||||
<div id="dataScopeTrees" class="pl20"></div>
|
||||
<script id="dataScopeTpl" type="text/template">
|
||||
<div class="pull-left" style="padding:0 15px;min-width:300px;">
|
||||
<div class="pull-left" style="padding:0 10px;min-width:300px;">
|
||||
<div class="box box-solid box-trees">
|
||||
<div class="box-header">
|
||||
<div class="box-title icheck">
|
||||
|
||||
Reference in New Issue
Block a user