From 1e55674122a3382b3aff4a2fbe5f344906334f2d Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Wed, 14 Dec 2016 14:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0IE8=E5=8F=8A=E4=BB=A5?= =?UTF-8?q?=E4=B8=8B=E6=B5=8F=E8=A7=88=E5=99=A8=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=BC=95=E5=AF=BC=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=8D=87=E7=BA=A7IE=E6=B5=8F=E8=A7=88=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Bootstrap.Admin.csproj | 1 + Bootstrap.Admin/Content/css/IE8.css | 11 +++++++++++ Bootstrap.Admin/Content/js/Longbow.Common.js | 2 +- Bootstrap.Admin/Views/Shared/_Layout.cshtml | 9 +++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Bootstrap.Admin/Content/css/IE8.css diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj index 147f9dc4..a777a468 100644 --- a/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -107,6 +107,7 @@ + diff --git a/Bootstrap.Admin/Content/css/IE8.css b/Bootstrap.Admin/Content/css/IE8.css new file mode 100644 index 00000000..fcce5ea3 --- /dev/null +++ b/Bootstrap.Admin/Content/css/IE8.css @@ -0,0 +1,11 @@ +.alert { + position: absolute; + top: 15px; + left: 15px; + right: 15px; + z-index: 10; +} + + .alert div { + display: inline-block; + } diff --git a/Bootstrap.Admin/Content/js/Longbow.Common.js b/Bootstrap.Admin/Content/js/Longbow.Common.js index e20051f4..76b4197d 100644 --- a/Bootstrap.Admin/Content/js/Longbow.Common.js +++ b/Bootstrap.Admin/Content/js/Longbow.Common.js @@ -306,7 +306,7 @@ showToggle: true, //是否显示详细视图和列表视图的切换按钮 cardView: false, //是否显示详细视图 detailView: false, //是否显示父子表 - clickToSelect: false, + clickToSelect: false }, options); $(this).bootstrapTable(settings); $('div.toolbar').insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars')); diff --git a/Bootstrap.Admin/Views/Shared/_Layout.cshtml b/Bootstrap.Admin/Views/Shared/_Layout.cshtml index 08de2ff8..3848dc88 100644 --- a/Bootstrap.Admin/Views/Shared/_Layout.cshtml +++ b/Bootstrap.Admin/Views/Shared/_Layout.cshtml @@ -9,9 +9,18 @@ + @RenderSection("css", false) + @RenderBody()