refactor: 重构 Client 模板页

This commit is contained in:
Argo Zhang 2020-03-08 12:50:26 +08:00
parent 5cf09ff1a7
commit 3d255edb0f
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 59 additions and 70 deletions

View File

@ -41,20 +41,11 @@
<script src="~/lib/validate/localization/messages_zh.min.js"></script> <script src="~/lib/validate/localization/messages_zh.min.js"></script>
</environment> </environment>
<script src="~/lib/toastr.js/toastr.min.js"></script> <script src="~/lib/toastr.js/toastr.min.js"></script>
<script src="~/js/common-scripts.js" asp-append-version="true"></script>
<script src="~/lib/longbow-checkbox/longbow-checkbox.js"></script> <script src="~/lib/longbow-checkbox/longbow-checkbox.js"></script>
<script src="~/lib/longbow/longbow.dataentity.js" asp-append-version="true"></script> <script src="~/lib/longbow/longbow.dataentity.js" asp-append-version="true"></script>
<script src="~/lib/longbow/longbow.validate.js" asp-append-version="true"></script> <script src="~/lib/longbow/longbow.validate.js" asp-append-version="true"></script>
@RenderSection("javascript", false) @RenderSection("javascript", false)
} }
@await Html.PartialAsync("Navigator")
<section id="main-content" class="main-content">
<div class="main-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="~/Admin/Index"><i class="fa fa-home"></i>首页</a></li>
<li class="breadcrumb-item d-none"></li>
</ol>
</div>
<div id="toolbar" class="d-none"> <div id="toolbar" class="d-none">
<div class="gear btn-group"> <div class="gear btn-group">
<button class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button> <button class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
@ -123,4 +114,3 @@
</div> </div>
</div> </div>
@RenderBody() @RenderBody()
</section>

View File

@ -42,7 +42,7 @@
@RenderSection("javascript", false) @RenderSection("javascript", false)
} }
@await Html.PartialAsync("Header") @await Html.PartialAsync("Header")
@await Html.PartialAsync("navigator") @await Html.PartialAsync("Navigator")
<section class="container-fluid"> <section class="container-fluid">
<div class="main-header"> <div class="main-header">
<ol class="breadcrumb"> <ol class="breadcrumb">
@ -53,4 +53,3 @@
@RenderBody() @RenderBody()
</section> </section>
@await Html.PartialAsync("Footer") @await Html.PartialAsync("Footer")
@RenderSection("modal", false)