BootstrapAdmin/Bootstrap.Admin/Views/Shared/_Default.cshtml

69 lines
3.2 KiB
Plaintext
Raw Normal View History

2016-10-20 17:55:29 +08:00
@{
Layout = "_Admin";
2016-10-20 17:55:29 +08:00
}
@section css {
<environment include="Development">
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
</environment>
<environment exclude="Development">
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" asp-append-version="true" />
</environment>
2016-10-20 17:55:29 +08:00
@RenderSection("css", false)
}
@section javascript {
<environment include="Development">
<script src="~/js/bootstrap-table.js" asp-append-version="true"></script>
<script src="~/js/bootstrap-table-zh-CN.js" asp-append-version="true"></script>
<script src="~/js/jquery.validate.js" asp-append-version="true"></script>
<script src="~/js/messages_zh.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script src="~/js/bootstrap-table.min.js" asp-append-version="true"></script>
<script src="~/js/bootstrap-table-zh-CN.min.js" asp-append-version="true"></script>
<script src="~/js/jquery.validate.min.js" asp-append-version="true"></script>
<script src="~/js/messages_zh.min.js" asp-append-version="true"></script>
</environment>
<script src="~/js/longbow.dataentity.js" asp-append-version="true"></script>
<script src="~/js/longbow.validate.js" asp-append-version="true"></script>
@RenderSection("javascript", false)
2016-10-20 17:55:29 +08:00
}
@section modal {
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
2018-08-04 15:35:52 +08:00
<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">
@RenderSection("modal", false)
<div class="modal-footer">
2018-08-02 17:59:49 +08:00
<button type="button" class="btn btn-secondary" data-dismiss="modal">
<i class="fa fa-times"></i>
<span>关闭</span>
</button>
<button type="button" class="btn btn-primary" id="btnSubmit">
<i class="fa fa-save"></i>
<span>保存</span>
</button>
</div>
</div>
2016-10-20 17:55:29 +08:00
</div>
</div>
@RenderSection("customModal", false)
2016-10-25 18:47:33 +08:00
}
<div class="card">
<div class="card-header">查询条件</div>
<div class="card-body">
2016-10-20 17:55:29 +08:00
@RenderSection("query", false)
</div>
</div>
<div id="toolbar" class="btn-group d-none">
2018-08-04 19:01:43 +08:00
<button id="btn_add" type="button" class="btn btn-success"><i class="fa fa-plus" aria-hidden="true"></i><span>新增</span></button>
<button id="btn_delete" type="button" class="btn btn-danger"><i class="fa fa-remove" aria-hidden="true"></i><span>删除</span></button>
<button id="btn_edit" type="button" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i><span>编辑</span></button>
2016-10-25 18:47:33 +08:00
@RenderSection("toolbar", false)
2016-10-20 17:55:29 +08:00
</div>
<div class="card">
<div class="card-header">
2016-10-20 17:55:29 +08:00
查询结果
</div>
<div class="card-body">
2016-10-20 17:55:29 +08:00
<table></table>
</div>
</div>