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