移除所有页面对Header、Footer、Navigator的引用
This commit is contained in:
parent
4708531f21
commit
d4696fe822
|
@ -355,5 +355,4 @@ $(function () {
|
||||||
$('head').append($.format('<link href="../Content/css/{0}" rel="stylesheet" type="text/css" />', result[0].Code));
|
$('head').append($.format('<link href="../Content/css/{0}" rel="stylesheet" type="text/css" />', result[0].Code));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#websiteFooter').text($('#footer').val());
|
|
||||||
});
|
});
|
|
@ -3,12 +3,6 @@
|
||||||
ViewBag.Title = "Api 文档";
|
ViewBag.Title = "Api 文档";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "~/Views/Shared/_Admin.cshtml";
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/Scripts/apidoc.js"></script>
|
<script src="~/Scripts/apidoc.js"></script>
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,12 +7,6 @@
|
||||||
<script src="~/Content/js/bootstrap3-typeahead.js"></script>
|
<script src="~/Content/js/bootstrap3-typeahead.js"></script>
|
||||||
<script src="~/scripts/Dicts.js"></script>
|
<script src="~/scripts/Dicts.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -16,12 +16,6 @@
|
||||||
<script src="~/Content/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
<script src="~/Content/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
||||||
<script src="~/scripts/Exceptions.js"></script>
|
<script src="~/scripts/Exceptions.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">查询条件</div>
|
<div class="panel-heading">查询条件</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -10,12 +10,6 @@
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/Scripts/icon.js"></script>
|
<script src="~/Scripts/icon.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="faicon">
|
<div class="faicon">
|
||||||
@Html.Partial("IconView")
|
@Html.Partial("IconView")
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,12 +6,6 @@
|
||||||
@section Javascript {
|
@section Javascript {
|
||||||
<script src="~/scripts/Groups.js"></script>
|
<script src="~/scripts/Groups.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -3,12 +3,6 @@
|
||||||
ViewBag.Title = "后台管理";
|
ViewBag.Title = "后台管理";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "~/Views/Shared/_Admin.cshtml";
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section Javascript {
|
@section Javascript {
|
||||||
<script src="~/scripts/well.js"></script>
|
<script src="~/scripts/well.js"></script>
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,12 +17,6 @@
|
||||||
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
||||||
<link href="~/Content/css/fileinput.css" rel="stylesheet" />
|
<link href="~/Content/css/fileinput.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">基本资料</div>
|
<div class="panel-heading">基本资料</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -15,12 +15,6 @@
|
||||||
<script src="~/Content/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
<script src="~/Content/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
||||||
<script src="~/scripts/Logs.js"></script>
|
<script src="~/scripts/Logs.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">查询条件</div>
|
<div class="panel-heading">查询条件</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
<script src="~/Content/js/jquery.nestable.js"></script>
|
<script src="~/Content/js/jquery.nestable.js"></script>
|
||||||
<script src="~/scripts/Menus.js"></script>
|
<script src="~/scripts/Menus.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -6,12 +6,6 @@
|
||||||
@section Javascript {
|
@section Javascript {
|
||||||
<script src="~/Scripts/message.js"></script>
|
<script src="~/Scripts/message.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="mail-box">
|
<div class="mail-box">
|
||||||
<aside class="sm-side">
|
<aside class="sm-side">
|
||||||
<div class="user-head">
|
<div class="user-head">
|
||||||
|
|
|
@ -14,10 +14,4 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@Html.Partial("_Mobile")
|
@Html.Partial("_Mobile")
|
|
@ -11,12 +11,6 @@
|
||||||
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
||||||
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">用户注册<span class="pull-right"><a id="refreshUsers" href="javascript:;" class="fa fa-refresh tipso_style" title="点击刷新"></a></span></div>
|
<div class="panel-heading">用户注册<span class="pull-right"><a id="refreshUsers" href="javascript:;" class="fa fa-refresh tipso_style" title="点击刷新"></a></span></div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -14,12 +14,6 @@
|
||||||
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
||||||
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">系统名称设置</div>
|
<div class="panel-heading">系统名称设置</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
<script src="~/scripts/Roles.js"></script>
|
<script src="~/scripts/Roles.js"></script>
|
||||||
|
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -11,12 +11,6 @@
|
||||||
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
||||||
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">任务消息<span class="pull-right"><a id="refreshTask" href="javascript:;" class="fa fa-refresh"></a></span></div>
|
<div class="panel-heading">任务消息<span class="pull-right"><a id="refreshTask" href="javascript:;" class="fa fa-refresh"></a></span></div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
@ -6,12 +6,6 @@
|
||||||
@section Javascript {
|
@section Javascript {
|
||||||
<script src="~/scripts/Users.js"></script>
|
<script src="~/scripts/Users.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@Html.Partial("Navigator", Model)
|
|
||||||
}
|
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -6,8 +6,5 @@
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/Scripts/Content.js"></script>
|
<script src="~/Scripts/Content.js"></script>
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@Html.Partial("Header", Model)
|
|
||||||
}
|
|
||||||
<div id="content" class="content-body welcome-bg">
|
<div id="content" class="content-body welcome-bg">
|
||||||
</div>
|
</div>
|
|
@ -1,10 +1,9 @@
|
||||||
<!--footer start-->
|
@model HeaderBarModel
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<span id="websiteFooter"></span>
|
<span id="websiteFooter">@Model.Footer</span>
|
||||||
<a id="gotoTop" href="#" class="go-top" title="返回顶部">
|
<a id="gotoTop" href="#" class="go-top" title="返回顶部">
|
||||||
<i class="fa fa-angle-up"></i>
|
<i class="fa fa-angle-up"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<!--footer end-->
|
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
@model HeaderBarModel
|
@model HeaderBarModel
|
||||||
<!--header start-->
|
|
||||||
<header class="header white-bg">
|
<header class="header white-bg">
|
||||||
<a id="navbar" href="#" class="sidebar-toggle-box">
|
<a id="navbar" href="#" class="sidebar-toggle-box">
|
||||||
<i class="fa fa-bars"></i>
|
<i class="fa fa-bars"></i>
|
||||||
<!--logo start-->
|
|
||||||
<span id="websiteTitle">@Model.Title</span>
|
<span id="websiteTitle">@Model.Title</span>
|
||||||
</a>
|
</a>
|
||||||
<!--logo end-->
|
|
||||||
@if (LgbPrincipal.IsAdmin(User.Identity.Name) || User.IsInRole("Administrators"))
|
@if (LgbPrincipal.IsAdmin(User.Identity.Name) || User.IsInRole("Administrators"))
|
||||||
{
|
{
|
||||||
<!-- notification start -->
|
|
||||||
<ul class="notify-row">
|
<ul class="notify-row">
|
||||||
<!-- tasks start -->
|
<!-- tasks start -->
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
|
@ -97,11 +93,8 @@
|
||||||
</li>
|
</li>
|
||||||
<!-- db dropdown end -->
|
<!-- db dropdown end -->
|
||||||
</ul>
|
</ul>
|
||||||
<!-- notification end -->
|
|
||||||
}
|
}
|
||||||
<!--search & user info start-->
|
|
||||||
<ul class="pull-right top-menu">
|
<ul class="pull-right top-menu">
|
||||||
<!-- user login dropdown start-->
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
||||||
<img id="headerIcon" alt="" src="@Url.Content(Model.Icon)">
|
<img id="headerIcon" alt="" src="@Url.Content(Model.Icon)">
|
||||||
|
@ -116,15 +109,17 @@
|
||||||
<li><a href="~/Home/Logout"><i class="fa fa-key"></i>注销</a></li>
|
<li><a href="~/Home/Logout"><i class="fa fa-key"></i>注销</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<!-- user login dropdown end -->
|
|
||||||
</ul>
|
</ul>
|
||||||
<!--search & user info end-->
|
|
||||||
<!--breadcrumbs start -->
|
|
||||||
<ul class="breadcrumb">
|
<ul class="breadcrumb">
|
||||||
<li><a href="@Url.Content(Model.HomeUrl)"><i class="fa fa-home"></i>首页</a></li>
|
<li><a href="@Url.Content(Model.HomeUrl)"><i class="fa fa-home"></i>首页</a></li>
|
||||||
<li id="breadNav"></li>
|
<li id="breadNav"></li>
|
||||||
</ul>
|
</ul>
|
||||||
<!--breadcrumbs end -->
|
|
||||||
<input id="footer" type="text" class="hidden" value="@Model.Footer" />
|
|
||||||
</header>
|
</header>
|
||||||
<!--header end-->
|
<footer class="site-footer">
|
||||||
|
<div class="text-center">
|
||||||
|
<span id="websiteFooter">@Model.Footer</span>
|
||||||
|
<a id="gotoTop" href="#" class="go-top" title="返回顶部">
|
||||||
|
<i class="fa fa-angle-up"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
<script src="~/Content/js/framework.js"></script>
|
<script src="~/Content/js/framework.js"></script>
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("Javascript", false)
|
||||||
}
|
}
|
||||||
@RenderSection("header", false)
|
@Html.Partial("Header")
|
||||||
@RenderSection("navigator", false)
|
@Html.Partial("navigator")
|
||||||
<section id="main-content" class="main-content">
|
<section id="main-content" class="main-content">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -6,12 +6,6 @@
|
||||||
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
||||||
@RenderSection("css", false)
|
@RenderSection("css", false)
|
||||||
}
|
}
|
||||||
@section header {
|
|
||||||
@RenderSection("header", false)
|
|
||||||
}
|
|
||||||
@section navigator {
|
|
||||||
@RenderSection("navigator", false)
|
|
||||||
}
|
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/content/js/longbow.dataentity.js"></script>
|
<script src="~/content/js/longbow.dataentity.js"></script>
|
||||||
<script src="~/content/js/sweetalert.js"></script>
|
<script src="~/content/js/sweetalert.js"></script>
|
||||||
|
|
|
@ -12,11 +12,9 @@
|
||||||
@section javascript {
|
@section javascript {
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("Javascript", false)
|
||||||
}
|
}
|
||||||
<section>
|
@Html.Partial("Header")
|
||||||
@RenderSection("header", false)
|
|
||||||
<section id="main-content">
|
<section id="main-content">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</section>
|
</section>
|
||||||
@Html.Partial("Footer")
|
@Html.Partial("Footer")
|
||||||
</section>
|
|
||||||
@RenderSection("modal", false)
|
@RenderSection("modal", false)
|
Loading…
Reference in New Issue