增加IE8及以下浏览器提示信息,并且引导用户升级IE浏览器
This commit is contained in:
parent
4ccd01392a
commit
1e55674122
|
@ -107,6 +107,7 @@
|
||||||
<Content Include="App_Data\ErrorLog\Readme.txt" />
|
<Content Include="App_Data\ErrorLog\Readme.txt" />
|
||||||
<Content Include="Content\css\bootstrap-datetimepicker.css" />
|
<Content Include="Content\css\bootstrap-datetimepicker.css" />
|
||||||
<Content Include="Content\css\bootstrap-datetimepicker.min.css" />
|
<Content Include="Content\css\bootstrap-datetimepicker.min.css" />
|
||||||
|
<Content Include="Content\css\IE8.css" />
|
||||||
<Content Include="Content\images\error_icon.png" />
|
<Content Include="Content\images\error_icon.png" />
|
||||||
<Content Include="Content\js\bootstrap-datetimepicker.js" />
|
<Content Include="Content\js\bootstrap-datetimepicker.js" />
|
||||||
<Content Include="Content\js\bootstrap-datetimepicker.min.js" />
|
<Content Include="Content\js\bootstrap-datetimepicker.min.js" />
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
.alert {
|
||||||
|
position: absolute;
|
||||||
|
top: 15px;
|
||||||
|
left: 15px;
|
||||||
|
right: 15px;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert div {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
|
@ -306,7 +306,7 @@
|
||||||
showToggle: true, //是否显示详细视图和列表视图的切换按钮
|
showToggle: true, //是否显示详细视图和列表视图的切换按钮
|
||||||
cardView: false, //是否显示详细视图
|
cardView: false, //是否显示详细视图
|
||||||
detailView: false, //是否显示父子表
|
detailView: false, //是否显示父子表
|
||||||
clickToSelect: false,
|
clickToSelect: false
|
||||||
}, options);
|
}, options);
|
||||||
$(this).bootstrapTable(settings);
|
$(this).bootstrapTable(settings);
|
||||||
$('div.toolbar').insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars'));
|
$('div.toolbar').insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars'));
|
||||||
|
|
|
@ -9,9 +9,18 @@
|
||||||
<!-- 新 Bootstrap 核心 CSS 文件 -->
|
<!-- 新 Bootstrap 核心 CSS 文件 -->
|
||||||
<link href="~/Content/css/bootstrap.css" rel="stylesheet">
|
<link href="~/Content/css/bootstrap.css" rel="stylesheet">
|
||||||
<link href="~/Content/css/bootstrap-theme.css" rel="stylesheet">
|
<link href="~/Content/css/bootstrap-theme.css" rel="stylesheet">
|
||||||
|
<!--[if lte IE 9 ]>
|
||||||
|
<link href="../Content/css/IE8.css" rel="stylesheet" />
|
||||||
|
<![endif]-->
|
||||||
@RenderSection("css", false)
|
@RenderSection("css", false)
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!--[if lte IE 9 ]>
|
||||||
|
<div id="ieAlert" class="alert alert-danger alert-dismissible">
|
||||||
|
<div>你的浏览器版本太低,不能完美的支持本系统,请升级到至少IE9 <a href="../IE/IE9.exe" target="_blank">速速点击下载</a> !</div>
|
||||||
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
|
||||||
|
</div>
|
||||||
|
<![endif]-->
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
|
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
|
||||||
<script src="~/content/js/jquery-1.10.2.js"></script>
|
<script src="~/content/js/jquery-1.10.2.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue