重构代码:移动swal相关文件到Admin共享视图中

This commit is contained in:
Argo-Lenovo 2017-05-08 15:45:51 +08:00
parent f557177065
commit d94f1bdd0b
6 changed files with 2 additions and 10 deletions

View File

@ -4,11 +4,9 @@
Layout = "~/Views/Shared/_Admin.cshtml";
}
@section Javascript {
<script src="~/Scripts/sweetalert.js"></script>
<script src="~/Scripts/noti.js"></script>
}
@section css {
<link href="~/Content/sweetalert.css" rel="stylesheet" />
<link href="~/Content/tasks.css" rel="stylesheet" />
}
<div class="panel panel-default">

View File

@ -5,7 +5,6 @@
}
@section Javascript {
<script src="~/Scripts/longbow.dataentity.js"></script>
<script src="~/Scripts/sweetalert.js"></script>
<script src="~/Scripts/fileinput.js"></script>
<script src="~/Scripts/fileinput.zh.js"></script>
<script src="~/Scripts/jquery.validate.js"></script>
@ -13,7 +12,6 @@
<script src="~/scripts/Profiles.js"></script>
}
@section css {
<link href="~/Content/sweetalert.css" rel="stylesheet" />
<link href="~/Content/tasks.css" rel="stylesheet" />
<link href="~/Content/fileinput.css" rel="stylesheet" />
}

View File

@ -5,13 +5,11 @@
}
@section Javascript {
<script src="~/Scripts/longbow.dataentity.js"></script>
<script src="~/Scripts/sweetalert.js"></script>
<script src="~/Scripts/jquery.validate.js"></script>
<script src="~/Scripts/messages_zh.js"></script>
<script src="~/Scripts/Settings.js"></script>
}
@section css {
<link href="~/Content/sweetalert.css" rel="stylesheet" />
<link href="~/Content/tasks.css" rel="stylesheet" />
}
<div class="panel panel-default">

View File

@ -4,11 +4,9 @@
Layout = "~/Views/Shared/_Admin.cshtml";
}
@section Javascript {
<script src="~/Scripts/sweetalert.js"></script>
<script src="~/Scripts/tasks.js"></script>
}
@section css {
<link href="~/Content/sweetalert.css" rel="stylesheet" />
<link href="~/Content/tasks.css" rel="stylesheet" />
}
<div class="panel panel-default">

View File

@ -2,12 +2,14 @@
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section css {
<link href="~/Content/sweetalert.css" rel="stylesheet" />
<link href="~/Content/toastr.css" rel="stylesheet" />
<link href="~/Content/admin.css" rel="stylesheet" />
<link href="~/Content/admin-responsive.css" rel="stylesheet" />
@RenderSection("css", false)
}
@section javascript {
<script src="~/Scripts/sweetalert.js"></script>
<script src="~/Scripts/jquery.dcjqaccordion.2.7.js"></script>
<script src="~/Scripts/jquery.scrollTo.js"></script>
<script src="~/Scripts/jquery.nicescroll.min.js"></script>

View File

@ -3,12 +3,10 @@
}
@section css {
<link href="~/Content/bootstrap-table.css" rel="stylesheet" />
<link href="~/Content/sweetalert.css" rel="stylesheet" />
@RenderSection("css", false)
}
@section javascript {
<script src="~/Scripts/longbow.dataentity.js"></script>
<script src="~/Scripts/sweetalert.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>