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

53 lines
2.2 KiB
Plaintext
Raw Normal View History

2016-10-20 17:55:29 +08:00
@{
Layout = "~/Views/Shared/_Admin.cshtml";
}
@section css {
<link href="~/Content/bootstrap-table.css" rel="stylesheet" />
2016-10-20 17:55:29 +08:00
@RenderSection("css", false)
}
@section javascript {
<script src="~/Scripts/longbow.dataentity.js"></script>
<script src="~/Scripts/bootstrap-table.js"></script>
<script src="~/Scripts/bootstrap-table-zh-CN.js"></script>
<script src="~/Scripts/jquery.validate.js"></script>
<script src="~/Scripts/messages_zh.js"></script>
2016-10-20 17:55:29 +08:00
@RenderSection("Javascript", false)
}
@section modal {
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
2016-10-24 13:43:11 +08:00
<div class="modal-dialog">
<div class="modal-content">
@RenderSection("modal", false)
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
关闭
</button>
<button type="button" class="btn btn-primary" id="btnSubmit">
提交更改
</button>
</div>
</div>
2016-10-20 17:55:29 +08:00
</div>
</div>
@RenderSection("customModal", false)
2016-10-25 18:47:33 +08:00
}
2016-10-20 17:55:29 +08:00
<div class="panel panel-default">
<div class="panel-heading">查询条件</div>
<div class="panel-body">
@RenderSection("query", false)
</div>
</div>
2017-01-01 19:49:31 +08:00
<div id="toolbar" class="btn-group hidden">
<button id="btn_add" type="button" class="btn btn-success"><i class="fa fa-plus" aria-hidden="true"></i><span class="hidden-tb">新增</span></button>
<button id="btn_delete" type="button" class="btn btn-danger"><i class="fa fa-remove" aria-hidden="true"></i><span class="hidden-tb">删除</span></button>
<button id="btn_edit" type="button" class="btn btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i><span class="hidden-tb">编辑</span></button>
2016-10-25 18:47:33 +08:00
@RenderSection("toolbar", false)
2016-10-20 17:55:29 +08:00
</div>
<div id="panelResult" class="panel panel-default">
<div id="panelResultHeader" class="panel-heading">
2016-10-20 17:55:29 +08:00
查询结果
</div>
<div class="panel-body barTable">
2016-10-20 17:55:29 +08:00
<table></table>
</div>
</div>