v9.7.2018.0421   支持运行时修改DAL连接字符串
大石头 authored at 2018-04-21 14:00:47
14.77 KiB
X
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Text;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Mvc;
    using System.Web.Mvc.Ajax;
    using System.Web.Mvc.Html;
    using System.Web.Routing;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using NewLife;
    using NewLife.Cube;
    using NewLife.Reflection;
    using NewLife.Web;
    using XCode;
    using XCode.Membership;
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
    [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Admin/Views/Index/Index.cshtml")]
    public partial class _Areas_Admin_Views_Index_Index_cshtml : System.Web.Mvc.WebViewPage<dynamic>
    {
        public _Areas_Admin_Views_Index_Index_cshtml()
        {
        }
        public override void Execute()
        {
            
            #line 1 "..\..\Areas\Admin\Views\Index\Index.cshtml"
  
    Layout = null;

    var User = ViewBag.User;
    var Config = ViewBag.Config;

            
            #line default
            #line hidden
WriteLiteral("\r\n<!DOCTYPE html>\r\n<html");

WriteLiteral(" lang=\"zh-CN\"");

WriteLiteral(">\r\n<head>\r\n    <meta");

WriteLiteral(" charset=\"utf-8\"");

WriteLiteral(" />\r\n    <meta");

WriteLiteral(" http-equiv=\"X-UA-Compatible\"");

WriteLiteral(" content=\"IE=edge\"");

WriteLiteral(">\r\n    <meta");

WriteLiteral(" name=\"viewport\"");

WriteLiteral(" content=\"width=device-width, initial-scale=1\"");

WriteLiteral(" />\r\n    <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->\r\n\r\n    <title>");

            
            #line 15 "..\..\Areas\Admin\Views\Index\Index.cshtml"
      Write(ViewBag.Title);

            
            #line default
            #line hidden
WriteLiteral(" - ");

            
            #line 15 "..\..\Areas\Admin\Views\Index\Index.cshtml"
                       Write(Config.DisplayName);

            
            #line default
            #line hidden
WriteLiteral("</title>\r\n    <link");

WriteAttribute("href", Tuple.Create(" href=\"", 423), Tuple.Create("\"", 443)
, Tuple.Create(Tuple.Create("", 430), Tuple.Create<System.Object, System.Int32>(Href("~/favicon.ico")
, 430), false)
);

WriteLiteral(" rel=\"shortcut icon\"");

WriteLiteral(" type=\"image/x-icon\"");

WriteLiteral(" />\r\n\r\n    <!-- bootstrap & fontawesome -->\r\n    <link");

WriteLiteral(" rel=\"stylesheet\"");

WriteAttribute("href", Tuple.Create(" href=\"", 555), Tuple.Create("\"", 603)
, Tuple.Create(Tuple.Create("", 562), Tuple.Create<System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap.min.css")
, 562), false)
);

WriteLiteral(" />\r\n    <link");

WriteLiteral(" rel=\"stylesheet\"");

WriteAttribute("href", Tuple.Create(" href=\"", 635), Tuple.Create("\"", 686)
, Tuple.Create(Tuple.Create("", 642), Tuple.Create<System.Object, System.Int32>(Href("~/Content/bootstrap/css/font-awesome.min.css")
, 642), false)
);

WriteLiteral(" />\r\n\r\n    <!-- page specific plugin styles -->\r\n    <!-- text fonts -->\r\n    <li" +
"nk");

WriteLiteral(" rel=\"stylesheet\"");

WriteAttribute("href", Tuple.Create(" href=\"", 787), Tuple.Create("\"", 829)
, Tuple.Create(Tuple.Create("", 794), Tuple.Create<System.Object, System.Int32>(Href("~/Content/ace/css/ace-fonts.min.css")
, 794), false)
);

WriteLiteral(" />\r\n\r\n    <!-- ace styles -->\r\n    <link");

WriteLiteral(" rel=\"stylesheet\"");

WriteAttribute("href", Tuple.Create(" href=\"", 888), Tuple.Create("\"", 924)
, Tuple.Create(Tuple.Create("", 895), Tuple.Create<System.Object, System.Int32>(Href("~/Content/ace/css/ace.min.css")
, 895), false)
);

WriteLiteral(" class=\"ace-main-stylesheet\"");

WriteLiteral(" id=\"main-ace-style\"");

WriteLiteral(" />\r\n    ");

WriteLiteral("\r\n    <link");

WriteAttribute("href", Tuple.Create(" href=\"", 1012), Tuple.Create("\"", 1056)
, Tuple.Create(Tuple.Create("", 1019), Tuple.Create<System.Object, System.Int32>(Href("~/Content/artDialog/css/ui-dialog.css")
, 1019), false)
);

WriteLiteral(" rel=\"stylesheet\"");

WriteLiteral(@" />

    <!--[if lte IE 9]>
        <link rel=""stylesheet"" href=""~/Content/ace/css/ace-part2.min.css"" class=""ace-main-stylesheet"" />
    <![endif]-->
    <!--[if lte IE 9]>
        <link rel=""stylesheet"" href=""~/Content/ace/css/ace-ie.min.css"" />
    <![endif]-->
    <!-- inline styles related to this page -->
    <!-- 自定义样式 -->
    <link");

WriteLiteral(" rel=\"stylesheet\"");

WriteAttribute("href", Tuple.Create(" href=\"", 1441), Tuple.Create("\"", 1466)
, Tuple.Create(Tuple.Create("", 1448), Tuple.Create<System.Object, System.Int32>(Href("~/Content/Cube.css")
, 1448), false)
);

WriteLiteral(" type=\"text/css\"");

WriteLiteral(" />\r\n    <!-- ace settings handler -->\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 1534), Tuple.Create("\"", 1573)
, Tuple.Create(Tuple.Create("", 1540), Tuple.Create<System.Object, System.Int32>(Href("~/Content/ace/js/ace-extra.min.js")
, 1540), false)
);

WriteLiteral(@"></script>

    <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
    <!--[if lte IE 8]>
    <script src=""~/Content/js/html5shiv.min.js""></script>
    <script src=""~/Content/js/respond.min.js""></script>
    <![endif]-->
    <!-- JQuery作为一等公民,页面内部随时可能使用 -->
    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 1886), Tuple.Create("\"", 1924)
, Tuple.Create(Tuple.Create("", 1892), Tuple.Create<System.Object, System.Int32>(Href("~/Content/js/jquery-2.1.3.min.js")
, 1892), false)
);

WriteLiteral("></script>\r\n</head>\r\n<body");

WriteLiteral(" class=\"skin-3 no-skin\"");

WriteLiteral(" style=\"overflow: hidden;\"");

WriteLiteral(">\r\n");

WriteLiteral("    ");

            
            #line 52 "..\..\Areas\Admin\Views\Index\Index.cshtml"
Write(Html.Partial("_Navbar"));

            
            #line default
            #line hidden
WriteLiteral("\r\n    <div");

WriteLiteral(" class=\"main-container\"");

WriteLiteral(" id=\"main-container\"");

WriteLiteral(">\r\n        <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n            $(function () {\r\n                try { ace.settings.check(\'main-co" +
"ntainer\', \'fixed\') } catch (e) { }\r\n            });\r\n        </script>\r\n\r\n      " +
"  <!-- #section:basics/sidebar -->\r\n        <div");

WriteLiteral(" id=\"sidebar\"");

WriteLiteral(" class=\"sidebar responsive\"");

WriteLiteral(">\r\n            <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n                $(function () {\r\n                    try { ace.settings.check(" +
"\'sidebar\', \'fixed\') } catch (e) { }\r\n                });\r\n            </script>\r" +
"\n\r\n");

WriteLiteral("            ");

            
            #line 68 "..\..\Areas\Admin\Views\Index\Index.cshtml"
       Write(Html.Partial("_Left"));

            
            #line default
            #line hidden
WriteLiteral("\r\n            <!-- #section:basics/sidebar.layout.minimize -->\r\n            <div");

WriteLiteral(" class=\"sidebar-toggle sidebar-collapse\"");

WriteLiteral(" id=\"sidebar-collapse\"");

WriteLiteral(">\r\n                <i");

WriteLiteral(" class=\"ace-icon fa fa-angle-double-left\"");

WriteLiteral(" data-icon1=\"ace-icon fa fa-angle-double-left\"");

WriteLiteral(" data-icon2=\"ace-icon fa fa-angle-double-right\"");

WriteLiteral("></i>\r\n            </div>\r\n\r\n            <!-- /section:basics/sidebar.layout.mini" +
"mize -->\r\n            <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n                $(function () {\r\n                    try { ace.settings.check(" +
"\'sidebar\', \'collapsed\') } catch (e) { }\r\n                })\r\n            </scrip" +
"t>\r\n        </div>\r\n\r\n        <!-- /section:basics/sidebar -->\r\n        <div");

WriteLiteral(" class=\"main-content\"");

WriteLiteral(">\r\n            <div");

WriteLiteral(" class=\"main-content-inner\"");

WriteLiteral(">\r\n                <!-- /section:basics/content.breadcrumbs -->\r\n                " +
"<div");

WriteLiteral(" class=\"page-content\"");

WriteLiteral(" style=\"padding: 0px;\"");

WriteLiteral(">\r\n                    <iframe");

WriteLiteral(" style=\"width: 100%; height: 100%; margin: 0; padding: 0; border: none;\"");

WriteLiteral(" id=\"main\"");

WriteLiteral(" name=\"main\"");

WriteAttribute("src", Tuple.Create(" src=\"", 3603), Tuple.Create("\"", 3622)
            
            #line 87 "..\..\Areas\Admin\Views\Index\Index.cshtml"
                                               , Tuple.Create(Tuple.Create("", 3609), Tuple.Create<System.Object, System.Int32>(ViewBag.Main
            
            #line default
            #line hidden
, 3609), false)
);

WriteLiteral("></iframe>\r\n                </div>\r\n                <!-- /.page-content -->\r\n    " +
"        </div>\r\n        </div>\r\n        <!-- /.main-content -->\r\n        <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" id=\"btn-scroll-up\"");

WriteLiteral(" class=\"btn-scroll-up btn btn-sm btn-inverse\"");

WriteLiteral(">\r\n            <i");

WriteLiteral(" class=\"ace-icon fa fa-angle-double-up icon-only bigger-110\"");

WriteLiteral("></i>\r\n        </a>\r\n    </div>\r\n    <!-- /.main-container -->\r\n    <!-- basic sc" +
"ripts -->\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4032), Tuple.Create("\"", 4077)
, Tuple.Create(Tuple.Create("", 4038), Tuple.Create<System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap.min.js")
, 4038), false)
);

WriteLiteral("></script>\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4101), Tuple.Create("\"", 4143)
, Tuple.Create(Tuple.Create("", 4107), Tuple.Create<System.Object, System.Int32>(Href("~/Content/js/jquery-ui.custom.min.js")
, 4107), false)
);

WriteLiteral("></script>\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4167), Tuple.Create("\"", 4214)
, Tuple.Create(Tuple.Create("", 4173), Tuple.Create<System.Object, System.Int32>(Href("~/Content/js/jquery.ui.touch-punch.min.js")
, 4173), false)
);

WriteLiteral("></script>\r\n\r\n    <!-- ace scripts -->\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4266), Tuple.Create("\"", 4308)
, Tuple.Create(Tuple.Create("", 4272), Tuple.Create<System.Object, System.Int32>(Href("~/Content/ace/js/ace-elements.min.js")
, 4272), false)
);

WriteLiteral("></script>\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4332), Tuple.Create("\"", 4365)
, Tuple.Create(Tuple.Create("", 4338), Tuple.Create<System.Object, System.Int32>(Href("~/Content/ace/js/ace.min.js")
, 4338), false)
);

WriteLiteral("></script>\r\n    ");

WriteLiteral("\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4408), Tuple.Create("\"", 4457)
, Tuple.Create(Tuple.Create("", 4414), Tuple.Create<System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog-plus-min.js")
, 4414), false)
);

WriteLiteral("></script>\r\n    <script");

WriteAttribute("src", Tuple.Create(" src=\"", 4481), Tuple.Create("\"", 4530)
, Tuple.Create(Tuple.Create("", 4487), Tuple.Create<System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog.new.life.js")
, 4487), false)
);

WriteLiteral("></script>\r\n\r\n    <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n                $(function () {\r\n                    var $frmContent = $(\'#mai" +
"n\');\r\n                    function fixFrmContentSize() {\r\n                      " +
"  var offset = $frmContent.offset();\r\n                        var top = offset.t" +
"op;\r\n                        var height = document.documentElement.clientHeight;" +
"\r\n                        $frmContent.height(height - top);\r\n                   " +
" }\r\n                    fixFrmContentSize();\r\n                    $(window).resi" +
"ze(fixFrmContentSize);\r\n\r\n                    //增加iframe被嵌套的检测2015-6-4 景裔增加\r\n   " +
"                 if (window != top) {\r\n                        top.location.href" +
" = location.href;\r\n                    }\r\n\r\n                    //菜单active样式\r\n  " +
"                  $(\".nav-list\").children(\"li\").click(function () {\r\n           " +
"             var $this = $(this);\r\n                        $this.siblings(\"li\")." +
"each(function () {\r\n                            var $item = $(this);\r\n          " +
"                  if ($item.attr(\"class\") == \"open\") {\r\n                        " +
"        $item.removeClass(\"open\");\r\n                                $item.childr" +
"en(\".submenu\").hide();\r\n                            }\r\n                        }" +
");\r\n                        $this.addClass(\'open\');\r\n                    });\r\n\r\n" +
"                    $(\".submenu li\").click(function () {\r\n                      " +
"  var $this = $(this);\r\n                        //兄弟节点去焦\r\n                      " +
"  $this.siblings(\"li\").removeClass(\"active\");\r\n                        $this.add" +
"Class(\'active\');\r\n                        //父节点获取焦点\r\n                        var" +
" $parent = $this.parent().parent();\r\n                        $parent.addClass(\"a" +
"ctive\");\r\n                        $parent.siblings(\"li\").each(function () {\r\n   " +
"                         var $item = $(this);\r\n                            $item" +
".removeClass(\"open\").removeClass(\"active\");\r\n                            $item.c" +
"hildren(\".submenu\").hide();\r\n                            if ($item.children(\".su" +
"bmenu\").length != 0) {\r\n                                $item.children(\".submenu" +
"\").children(\"li\").removeClass(\"active\");\r\n                            }\r\n       " +
"                 });\r\n                    });\r\n                });\r\n\r\n    </scri" +
"pt>\r\n</body>\r\n</html>");

        }
    }
}
#pragma warning restore 1591