重构代码:Bootstrap.Admin所有页面的js/css增加asp-append-version=true
This commit is contained in:
parent
747b88e3ba
commit
b468f53e0c
|
@ -2,10 +2,10 @@
|
||||||
ViewBag.Title = "未授权请求";
|
ViewBag.Title = "未授权请求";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/error.css" rel="stylesheet" />
|
<link href="~/css/error.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/error.js"></script>
|
<script src="~/js/error.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<section class="error-wrapper">
|
<section class="error-wrapper">
|
||||||
<img src="~/images/error_icon.png" />
|
<img src="~/images/error_icon.png" />
|
||||||
|
|
|
@ -4,38 +4,38 @@
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/bootstrap.css" rel="stylesheet">
|
<link href="~/css/bootstrap.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/font-awesome.css" rel="stylesheet" />
|
<link href="~/css/font-awesome.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/bootstrap.min.css" rel="stylesheet">
|
<link href="~/css/bootstrap.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/font-awesome.min.css" rel="stylesheet" />
|
<link href="~/css/font-awesome.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<link href="~/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/css/sweetalert.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/theme.css" rel="stylesheet" />
|
<link href="~/css/theme.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/login.css" rel="stylesheet" />
|
<link href="~/css/login.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/login-responsive.css" rel="stylesheet" />
|
<link href="~/css/login-responsive.css" rel="stylesheet" asp-append-version="true" />
|
||||||
@if (!string.IsNullOrEmpty(Model.Theme))
|
@if (!string.IsNullOrEmpty(Model.Theme))
|
||||||
{
|
{
|
||||||
<link href="~/css/@Model.Theme" rel="stylesheet" />
|
<link href="~/css/@Model.Theme" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/bootstrap.bundle.js"></script>
|
<script src="~/js/bootstrap.bundle.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.validate.js"></script>
|
<script src="~/js/jquery.validate.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.js"></script>
|
<script src="~/js/messages_zh.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/sweetalert.js"></script>
|
<script src="~/js/sweetalert.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/bootstrap.bundle.min.js"></script>
|
<script src="~/js/bootstrap.bundle.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.validate.min.js"></script>
|
<script src="~/js/jquery.validate.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.min.js"></script>
|
<script src="~/js/messages_zh.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/sweetalert.min.js"></script>
|
<script src="~/js/sweetalert.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/longbow.common.js"></script>
|
<script src="~/js/longbow.common.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/longbow.validate.js"></script>
|
<script src="~/js/longbow.validate.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/login.js"></script>
|
<script src="~/js/login.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<form id="login" method="post" class="form-signin">
|
<form id="login" method="post" class="form-signin">
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "Api 文档";
|
ViewBag.Title = "Api 文档";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/js/apidoc.js"></script>
|
<script src="~/js/apidoc.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/api.css" rel="stylesheet" />
|
<link href="~/css/api.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
<section>
|
<section>
|
||||||
<div><h3>接口返回值定义</h3></div>
|
<div><h3>接口返回值定义</h3></div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "字典表维护";
|
ViewBag.Title = "字典表维护";
|
||||||
Layout = "~/Views/Shared/_Default.cshtml";
|
Layout = "_Default";
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/bootstrap3-typeahead.js"></script>
|
<script src="~/js/bootstrap3-typeahead.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/dicts.js"></script>
|
<script src="~/js/dicts.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "程序异常";
|
ViewBag.Title = "程序异常";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/bootstrap-table.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/fa.css" rel="stylesheet" />
|
<link href="~/css/fa.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/bootstrap-table.js"></script>
|
<script src="~/js/bootstrap-table.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-datetimepicker.js"></script>
|
<script src="~/js/bootstrap-datetimepicker.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
<script src="~/js/bootstrap-datetimepicker.zh-CN.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/exceptions.js"></script>
|
<script src="~/js/exceptions.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">查询条件</div>
|
<div class="card-header">查询条件</div>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "图标集";
|
ViewBag.Title = "图标集";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/fa.css" rel="stylesheet" />
|
<link href="~/css/fa.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script src="~/js/icon.js"></script>
|
<script src="~/js/icon.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="text-center"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i></div>
|
<div class="text-center"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i></div>
|
|
@ -1,10 +1,10 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "部门管理";
|
ViewBag.Title = "部门管理";
|
||||||
Layout = "~/Views/Shared/_Default.cshtml";
|
Layout = "_Default";
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/groups.js"></script>
|
<script src="~/js/groups.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@model ModelBase
|
@model ModelBase
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "后台管理";
|
ViewBag.Title = "后台管理";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "系统日志";
|
ViewBag.Title = "系统日志";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/bootstrap-table.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-datetimepicker.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/bootstrap-table.js"></script>
|
<script src="~/js/bootstrap-table.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-datetimepicker.js"></script>
|
<script src="~/js/bootstrap-datetimepicker.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/bootstrap-table.min.js"></script>
|
<script src="~/js/bootstrap-table.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.min.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-datetimepicker.min.js"></script>
|
<script src="~/js/bootstrap-datetimepicker.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/bootstrap-datetimepicker.zh-CN.js"></script>
|
<script src="~/js/bootstrap-datetimepicker.zh-CN.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/logs.js"></script>
|
<script src="~/js/logs.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">查询条件</div>
|
<div class="card-header">查询条件</div>
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "菜单管理";
|
ViewBag.Title = "菜单管理";
|
||||||
Layout = "~/Views/Shared/_Default.cshtml";
|
Layout = "_Default";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/fa.css" rel="stylesheet" />
|
<link href="~/css/fa.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/jquery.nestable.css" rel="stylesheet" />
|
<link href="~/css/jquery.nestable.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/jquery.nestable.js"></script>
|
<script src="~/js/jquery.nestable.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/menus.js"></script>
|
<script src="~/js/menus.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "站内消息";
|
ViewBag.Title = "站内消息";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/message.js"></script>
|
<script src="~/js/message.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="mail-box">
|
<div class="mail-box">
|
||||||
<div class="sm-side">
|
<div class="sm-side">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@model ModelBase
|
@model ModelBase
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "客户端测试";
|
ViewBag.Title = "客户端测试";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "通知管理";
|
ViewBag.Title = "通知管理";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/bootstrap-table.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/bootstrap-table.js"></script>
|
<script src="~/js/bootstrap-table.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/bootstrap-table.min.js"></script>
|
<script src="~/js/bootstrap-table.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.min.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/noti.js"></script>
|
<script src="~/js/noti.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">用户注册<span class="pull-right"><a id="refreshUsers" href="javascript:;" class="fa fa-refresh" title="点击刷新" data-toggle="tooltip" data-placement="left"></a></span></div>
|
<div class="card-header">用户注册<span class="pull-right"><a id="refreshUsers" href="javascript:;" class="fa fa-refresh" title="点击刷新" data-toggle="tooltip" data-placement="left"></a></span></div>
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
@model ProfilesModel
|
@model ProfilesModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "个人中心";
|
ViewBag.Title = "个人中心";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
|
||||||
@section Javascript {
|
|
||||||
<environment include="Development">
|
|
||||||
<script src="~/js/fileinput.js"></script>
|
|
||||||
<script src="~/js/jquery.validate.js"></script>
|
|
||||||
<script src="~/js/messages_zh.js"></script>
|
|
||||||
</environment>
|
|
||||||
<environment exclude="Development">
|
|
||||||
<script src="~/js/fileinput.min.js"></script>
|
|
||||||
<script src="~/js/jquery.validate.min.js"></script>
|
|
||||||
<script src="~/js/messages_zh.min.js"></script>
|
|
||||||
</environment>
|
|
||||||
<script src="~/js/fileinput.zh.js"></script>
|
|
||||||
<script src="~/js/longbow.dataentity.js"></script>
|
|
||||||
<script src="~/js/longbow.validate.js"></script>
|
|
||||||
<script src="~/js/profiles.js"></script>
|
|
||||||
<script src="~/js/theme.js"></script>
|
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/fileinput.css" rel="stylesheet" />
|
<link href="~/css/fileinput.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/fileinput.min.css" rel="stylesheet" />
|
<link href="~/css/fileinput.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<link href="~/css/tasks.css" rel="stylesheet" />
|
<link href="~/css/tasks.css" rel="stylesheet" asp-append-version="true" />
|
||||||
|
}
|
||||||
|
@section javascript {
|
||||||
|
<environment include="Development">
|
||||||
|
<script src="~/js/fileinput.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/jquery.validate.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/messages_zh.js" asp-append-version="true"></script>
|
||||||
|
</environment>
|
||||||
|
<environment exclude="Development">
|
||||||
|
<script src="~/js/fileinput.min.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/jquery.validate.min.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/messages_zh.min.js" asp-append-version="true"></script>
|
||||||
|
</environment>
|
||||||
|
<script src="~/js/fileinput.zh.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/longbow.dataentity.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/longbow.validate.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/profiles.js" asp-append-version="true"></script>
|
||||||
|
<script src="~/js/theme.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">基本资料</div>
|
<div class="card-header">基本资料</div>
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "角色管理";
|
ViewBag.Title = "角色管理";
|
||||||
Layout = "~/Views/Shared/_Default.cshtml";
|
Layout = "_Default";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/fa.css" rel="stylesheet" />
|
<link href="~/css/fa.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/jquery.nestable.css" rel="stylesheet" />
|
<link href="~/css/jquery.nestable.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/jquery.nestable.js"></script>
|
<script src="~/js/jquery.nestable.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/roles.js"></script>
|
<script src="~/js/roles.js" asp-append-version="true"></script>
|
||||||
|
|
||||||
}
|
}
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
@model ThemeModel
|
@model ThemeModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "网站设置";
|
ViewBag.Title = "网站设置";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/jquery.validate.js"></script>
|
<script src="~/js/jquery.validate.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.js"></script>
|
<script src="~/js/messages_zh.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/jquery.validate.min.js"></script>
|
<script src="~/js/jquery.validate.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.min.js"></script>
|
<script src="~/js/messages_zh.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/longbow.dataentity.js"></script>
|
<script src="~/js/longbow.dataentity.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/longbow.validate.js"></script>
|
<script src="~/js/longbow.validate.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/settings.js"></script>
|
<script src="~/js/settings.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">系统名称设置</div>
|
<div class="card-header">系统名称设置</div>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "任务管理";
|
ViewBag.Title = "任务管理";
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
|
||||||
@section Javascript {
|
|
||||||
<script src="~/js/tasks.js"></script>
|
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/tasks.css" rel="stylesheet" />
|
<link href="~/css/tasks.css" rel="stylesheet" asp-append-version="true" />
|
||||||
|
}
|
||||||
|
@section javascript {
|
||||||
|
<script src="~/js/tasks.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">任务消息<span class="pull-right"><a id="refreshTask" href="javascript:;" class="fa fa-refresh"></a></span></div>
|
<div class="card-header">任务消息<span class="pull-right"><a id="refreshTask" href="javascript:;" class="fa fa-refresh"></a></span></div>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
@model NavigatorBarModel
|
@model NavigatorBarModel
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "用户管理";
|
ViewBag.Title = "用户管理";
|
||||||
Layout = "~/Views/Shared/_Default.cshtml";
|
Layout = "_Default";
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/users.js"></script>
|
<script src="~/js/users.js" asp-append-version="true"></script>
|
||||||
}
|
}
|
||||||
@section query {
|
@section query {
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/error.css" rel="stylesheet" />
|
<link href="~/css/error.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/error.js"></script>
|
<script src="~/js/error.js"></script>
|
||||||
}
|
}
|
||||||
<section class="error-wrapper">
|
<section class="error-wrapper">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "首页";
|
ViewBag.Title = "首页";
|
||||||
Layout = "~/Views/Shared/_Bootstrap.cshtml";
|
Layout = "_Bootstrap";
|
||||||
}
|
}
|
||||||
<div class="content-body welcome-bg">
|
<div class="content-body welcome-bg">
|
||||||
</div>
|
</div>
|
|
@ -4,7 +4,7 @@
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/error.css" rel="stylesheet" />
|
<link href="~/css/error.css" rel="stylesheet" />
|
||||||
}
|
}
|
||||||
@section Javascript {
|
@section javascript {
|
||||||
<script src="~/js/error.js"></script>
|
<script src="~/js/error.js"></script>
|
||||||
}
|
}
|
||||||
<section class="error-wrapper">
|
<section class="error-wrapper">
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown userinfo">
|
<div class="dropdown userinfo">
|
||||||
<a data-toggle="dropdown" class="dropdown-toggle shadow-default" href="#">
|
<a data-toggle="dropdown" class="dropdown-toggle shadow-default" href="#">
|
||||||
<img id="headerIcon" alt="" src="@Url.Content(Model.Icon)">
|
<img id="headerIcon" alt="" src="@Url.Content(Model.Icon)" asp-append-version="true">
|
||||||
<span id="userDisplayName" data-userName="@Model.UserName" class="username text-truncate d-inline-block">@Model.DisplayName</span>
|
<span id="userDisplayName" data-userName="@Model.UserName" class="username text-truncate d-inline-block">@Model.DisplayName</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right">
|
<div class="dropdown-menu dropdown-menu-right">
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
@{
|
@{
|
||||||
Layout = "~/Views/Shared/_Bootstrap.cshtml";
|
Layout = "_Bootstrap";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<link href="~/css/nprogress.css" rel="stylesheet" />
|
<link href="~/css/nprogress.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/sweetalert.css" rel="stylesheet" />
|
<link href="~/css/sweetalert.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/toastr.css" rel="stylesheet" />
|
<link href="~/css/toastr.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/toastr.min.css" rel="stylesheet" />
|
<link href="~/css/toastr.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
@RenderSection("css", false)
|
@RenderSection("css", false)
|
||||||
<link href="~/css/admin.css" rel="stylesheet" />
|
<link href="~/css/admin.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/admin-responsive.css" rel="stylesheet" />
|
<link href="~/css/admin-responsive.css" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/sweetalert.js"></script>
|
<script src="~/js/sweetalert.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.scrollTo.js"></script>
|
<script src="~/js/jquery.scrollTo.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.nicescroll.js"></script>
|
<script src="~/js/jquery.nicescroll.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/sweetalert.min.js"></script>
|
<script src="~/js/sweetalert.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.scrollTo.min.js"></script>
|
<script src="~/js/jquery.scrollTo.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.nicescroll.min.js"></script>
|
<script src="~/js/jquery.nicescroll.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/jquery.dcjqaccordion.2.7.js"></script>
|
<script src="~/js/jquery.dcjqaccordion.2.7.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/common-scripts.js"></script>
|
<script src="~/js/common-scripts.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/log.js"></script>
|
<script src="~/js/log.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/toastr.min.js"></script>
|
<script src="~/js/toastr.min.js" asp-append-version="true"></script>
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("javascript", false)
|
||||||
}
|
}
|
||||||
@await Html.PartialAsync("navigator")
|
@await Html.PartialAsync("navigator")
|
||||||
<section id="main-content" class="main-content">
|
<section id="main-content" class="main-content">
|
||||||
|
|
|
@ -1,36 +1,36 @@
|
||||||
@model ModelBase
|
@model ModelBase
|
||||||
@{
|
@{
|
||||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
Layout = "_Layout";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/bootstrap.css" rel="stylesheet">
|
<link href="~/css/bootstrap.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/font-awesome.css" rel="stylesheet" />
|
<link href="~/css/font-awesome.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/bootstrap.min.css" rel="stylesheet">
|
<link href="~/css/bootstrap.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/font-awesome.min.css" rel="stylesheet" />
|
<link href="~/css/font-awesome.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
@RenderSection("css", false)
|
@RenderSection("css", false)
|
||||||
<link href="~/css/theme.css" rel="stylesheet" />
|
<link href="~/css/theme.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/theme-responsive.css" rel="stylesheet" />
|
<link href="~/css/theme-responsive.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/site.css" rel="stylesheet" />
|
<link href="~/css/site.css" rel="stylesheet" asp-append-version="true" />
|
||||||
<link href="~/css/site-responsive.css" rel="stylesheet" />
|
<link href="~/css/site-responsive.css" rel="stylesheet" asp-append-version="true" />
|
||||||
@if (!string.IsNullOrEmpty(Model.Theme))
|
@if (!string.IsNullOrEmpty(Model.Theme))
|
||||||
{
|
{
|
||||||
<link href="~/css/@Model.Theme" rel="stylesheet" />
|
<link href="~/css/@Model.Theme" rel="stylesheet" asp-append-version="true" />
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/bootstrap.bundle.js"></script>
|
<script src="~/js/bootstrap.bundle.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/bootstrap.bundle.min.js"></script>
|
<script src="~/js/bootstrap.bundle.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/nprogress.js"></script>
|
<script src="~/js/nprogress.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/longbow.common.js"></script>
|
<script src="~/js/longbow.common.js" asp-append-version="true"></script>
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("javascript", false)
|
||||||
}
|
}
|
||||||
@await Html.PartialAsync("Header")
|
@await Html.PartialAsync("Header")
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
@{
|
@{
|
||||||
Layout = "~/Views/Shared/_Admin.cshtml";
|
Layout = "_Admin";
|
||||||
}
|
}
|
||||||
@section css {
|
@section css {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<link href="~/css/bootstrap-table.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" />
|
<link href="~/css/bootstrap-table.min.css" rel="stylesheet" asp-append-version="true" />
|
||||||
</environment>
|
</environment>
|
||||||
@RenderSection("css", false)
|
@RenderSection("css", false)
|
||||||
}
|
}
|
||||||
@section javascript {
|
@section javascript {
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/bootstrap-table.js"></script>
|
<script src="~/js/bootstrap-table.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.validate.js"></script>
|
<script src="~/js/jquery.validate.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.js"></script>
|
<script src="~/js/messages_zh.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/bootstrap-table.min.js"></script>
|
<script src="~/js/bootstrap-table.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/bootstrap-table-zh-CN.min.js"></script>
|
<script src="~/js/bootstrap-table-zh-CN.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/jquery.validate.min.js"></script>
|
<script src="~/js/jquery.validate.min.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/messages_zh.min.js"></script>
|
<script src="~/js/messages_zh.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<script src="~/js/longbow.dataentity.js"></script>
|
<script src="~/js/longbow.dataentity.js" asp-append-version="true"></script>
|
||||||
<script src="~/js/longbow.validate.js"></script>
|
<script src="~/js/longbow.validate.js" asp-append-version="true"></script>
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("javascript", false)
|
||||||
}
|
}
|
||||||
@section modal {
|
@section modal {
|
||||||
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
<a id="pathBase" href="~/" hidden></a>
|
<a id="pathBase" href="~/" hidden></a>
|
||||||
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
|
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
<script src="~/js/jquery-3.3.1.js"></script>
|
<script src="~/js/jquery-3.3.1.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
<script src="~/js/jquery-3.3.1.min.js"></script>
|
<script src="~/js/jquery-3.3.1.min.js" asp-append-version="true"></script>
|
||||||
</environment>
|
</environment>
|
||||||
@RenderSection("Javascript", false)
|
@RenderSection("javascript", false)
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue