refactor: 移除 customModal Section
This commit is contained in:
parent
c617cde4c3
commit
64f1ddbf39
|
@ -57,12 +57,10 @@
|
|||
</form>
|
||||
</div>
|
||||
}
|
||||
@section customModal {
|
||||
@await Html.PartialAsync("RoleConfig")
|
||||
@await Html.PartialAsync("UserConfig")
|
||||
}
|
||||
@section cardbody {
|
||||
<div class="alert alert-info" role="alert" asp-condition="@Model.IsDemo">
|
||||
<span>部门与组织结构中的带有层次关系的部门不同,用于资源权限的分配与管理 <a href="https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E6%95%B0%E6%8D%AE%E6%9D%83%E9%99%90?sort_id=1680495" target="_blank">参考文档</a></span>
|
||||
</div>
|
||||
}
|
||||
@await Html.PartialAsync("RoleConfig")
|
||||
@await Html.PartialAsync("UserConfig")
|
||||
|
|
|
@ -180,8 +180,6 @@
|
|||
</form>
|
||||
</div>
|
||||
}
|
||||
@section customModal {
|
||||
@await Html.PartialAsync("RoleConfig")
|
||||
<div id="dialogIcon" class="modal-content icon-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="myIconModalLabel">请选择图标</h5>
|
||||
|
@ -202,5 +200,5 @@
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@await Html.PartialAsync("RoleConfig")
|
||||
@await Html.PartialAsync("NavigatorConfig")
|
||||
}
|
|
@ -81,9 +81,7 @@
|
|||
</form>
|
||||
</div>
|
||||
}
|
||||
@section customModal{
|
||||
@await Html.PartialAsync("UserConfig")
|
||||
@await Html.PartialAsync("GroupConfig")
|
||||
@await Html.PartialAsync("NavigatorConfig")
|
||||
@await Html.PartialAsync("AppConfig")
|
||||
}
|
|
@ -69,7 +69,6 @@
|
|||
</form>
|
||||
</div>
|
||||
}
|
||||
@section customModal {
|
||||
@await Html.PartialAsync("RoleConfig")
|
||||
@await Html.PartialAsync("GroupConfig")
|
||||
<div class="modal fade" id="dialogReset" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myResetModalLabel" aria-hidden="true">
|
||||
|
@ -110,4 +109,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
|
@ -67,7 +67,6 @@
|
|||
@RenderSection("tableButtons", false)
|
||||
</div>
|
||||
</div>
|
||||
@await RenderSectionAsync("body", false)
|
||||
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
|
||||
<div class="modal-content" data-toggle="LgbValidate" data-valid-button="#btnSubmit" data-valid-modal="#dialogNew">
|
||||
|
@ -102,4 +101,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@RenderSection("customModal", false)
|
||||
@RenderBody()
|
||||
|
|
Loading…
Reference in New Issue