重构代码:设置默认Layout为_Admin布局
This commit is contained in:
parent
72e04f62e7
commit
a6ed1bc7a2
|
@ -1,5 +1,6 @@
|
|||
@{
|
||||
ViewBag.Title = "未授权请求";
|
||||
Layout = "_Layout";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/error.css" rel="stylesheet" asp-append-version="true" />
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@model ModelBase
|
||||
@{
|
||||
ViewBag.Title = Model.Title;
|
||||
Layout = "_Layout";
|
||||
}
|
||||
@section css {
|
||||
<environment include="Development">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "Api 文档";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section javascript {
|
||||
<script src="~/js/apidoc.js" asp-append-version="true"></script>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "程序异常";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "图标集";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/fa.css" rel="stylesheet" asp-append-version="true" />
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model ModelBase
|
||||
@{
|
||||
ViewBag.Title = "后台管理";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<style>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "系统日志";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<environment include="Development">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "站内消息";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section javascript {
|
||||
<script src="~/js/message.js" asp-append-version="true"></script>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model ModelBase
|
||||
@{
|
||||
ViewBag.Title = "客户端测试";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section javascript {
|
||||
<script>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "通知管理";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<environment include="Development">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model ProfilesModel
|
||||
@{
|
||||
ViewBag.Title = "个人中心";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<environment include="Development">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model ThemeModel
|
||||
@{
|
||||
ViewBag.Title = "网站设置";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section javascript {
|
||||
<environment include="Development">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@model NavigatorBarModel
|
||||
@{
|
||||
ViewBag.Title = "任务管理";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/tasks.css" rel="stylesheet" asp-append-version="true" />
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@{
|
||||
ViewBag.Title = "服务器内部错误";
|
||||
Layout = "_Layout";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/error.css" rel="stylesheet" />
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@{
|
||||
ViewBag.Title = "资源未找到";
|
||||
Layout = "_Layout";
|
||||
}
|
||||
@section css {
|
||||
<link href="~/css/error.css" rel="stylesheet" />
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
@{
|
||||
Layout = "_Layout";
|
||||
Layout = "_Admin";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue