public override void Execute() { #line 3 "..\..\Views\Shared\_Ace_Layout.cshtml" var set = NewLife.Cube.Setting.Current; var set2 = ViewBag.PageSetting as PageSetting; var charts = ViewBag.Charts as ECharts[]; var charts2 = ViewBag.Charts2 as ECharts[]; #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 <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode\""); WriteLiteral(" />\r\n "); WriteLiteral("\r\n <title>"); #line 18 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.Title); #line default #line hidden WriteLiteral(" - "); #line 18 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(SysConfig.Current.DisplayName); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 656), Tuple.Create("\"", 676) , Tuple.Create(Tuple.Create("", 663), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 663), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 22 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 24 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 24 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 872), Tuple.Create("\"", 928) , Tuple.Create(Tuple.Create("", 879), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-multiselect.css") , 879), false) ); WriteLiteral(">\r\n"); #line 27 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 967), Tuple.Create("\"", 1031) , Tuple.Create(Tuple.Create("", 974), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.css") , 974), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1063), Tuple.Create("\"", 1121) , Tuple.Create(Tuple.Create("", 1070), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.css") , 1070), false) ); WriteLiteral(">\r\n\r\n <!-- 最后引入基本样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1176), Tuple.Create("\"", 1224) , Tuple.Create(Tuple.Create("", 1183), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap.min.css") , 1183), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1254), Tuple.Create("\"", 1305) , Tuple.Create(Tuple.Create("", 1261), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/font-awesome.min.css") , 1261), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1337), Tuple.Create("\"", 1391) , Tuple.Create(Tuple.Create("", 1344), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-theme.min.css") , 1344), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1421), Tuple.Create("\"", 1480) , Tuple.Create(Tuple.Create("", 1428), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-responsive.min.css") , 1428), false) ); WriteLiteral(">\r\n\r\n <!-- 文本字体 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1531), Tuple.Create("\"", 1573) , Tuple.Create(Tuple.Create("", 1538), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace-fonts.min.css") , 1538), false) ); WriteLiteral(">\r\n <!-- ace 样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1624), Tuple.Create("\"", 1660) , Tuple.Create(Tuple.Create("", 1631), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace.min.css") , 1631), false) ); WriteLiteral(" class=\"ace-main-stylesheet\""); WriteLiteral(" id=\"main-ace-style\""); WriteLiteral(">\r\n "); WriteLiteral("\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1746), Tuple.Create("\"", 1790) , Tuple.Create(Tuple.Create("", 1753), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/css/ui-dialog.css") , 1753), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n\r\n <!-- 自定义样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1861), Tuple.Create("\"", 1902) , Tuple.Create(Tuple.Create("", 1868), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.css?v=3.2.2020.0204") , 1868), false) ); WriteLiteral(">\r\n <!-- JQuery作为一等公民,页面内部随时可能使用 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1955), Tuple.Create("\"", 1993) , Tuple.Create(Tuple.Create("", 1961), Tuple.Create <System.Object, System.Int32>(Href("~/Content/js/jquery-2.1.3.min.js") , 1961), false) ); WriteLiteral("></script>\r\n"); #line 51 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 51 "..\..\Views\Shared\_Ace_Layout.cshtml" if (charts != null && charts.Length > 0 || charts2 != null && charts2.Length > 0) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2116), Tuple.Create("\"", 2146) , Tuple.Create(Tuple.Create("", 2122), Tuple.Create <System.Object, System.Int32>(Href("~/Content/echarts.min.js") , 2122), false) ); WriteLiteral("></script>\r\n"); #line 54 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral("</head>\r\n<body>\r\n <div"); WriteLiteral(" class=\"panel panel-default\""); WriteLiteral(">\r\n"); #line 58 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 58 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set2 != null && set2.EnableNavbar) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"breadcrumbs\""); WriteLiteral(" id=\"breadcrumbs\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 62 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Partial("_Ace_Layout_Nav")); #line default #line hidden WriteLiteral("\r\n </ul>\r\n <div"); WriteLiteral(" style=\"float: right; margin-left: 40px;\""); WriteLiteral(">"); #line 64 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.HeaderContent); #line default #line hidden WriteLiteral("</div>\r\n </div>\r\n"); #line 66 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"page-content\""); WriteLiteral(">\r\n <section"); WriteLiteral(" class=\"content-wrapper main-content clear-fix\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 69 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </section>\r\n </div>\r\n"); #line 72 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 72 "..\..\Views\Shared\_Ace_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 75 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 77 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- 最早引入基本脚本 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2976), Tuple.Create("\"", 3021) , Tuple.Create(Tuple.Create("", 2982), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap.min.js") , 2982), false) ); WriteLiteral("></script>\r\n"); #line 81 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 81 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3102), Tuple.Create("\"", 3159) , Tuple.Create(Tuple.Create("", 3108), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap-multiselect.min.js") , 3108), false) ); WriteLiteral("></script>\r\n"); #line 84 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 86 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3261), Tuple.Create("\"", 3323) , Tuple.Create(Tuple.Create("", 3267), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.js") , 3267), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3347), Tuple.Create("\"", 3419) , Tuple.Create(Tuple.Create("", 3353), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/locales/bootstrap-datetimepicker.zh-CN.js") , 3353), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\'.form_datetime\'" + ").each(function () {\r\n var df = $(this).attr(\'dateformat\');\r\n " + " if (!df) {\r\n $(this).attr(\'dateformat\', \'yyyy-mm-" + "dd hh:ii:ss\');\r\n $(this).width(140);\r\n }\r\n " + " else {\r\n // 把C#标准格式化替换为控件格式\r\n " + "df = df.replace(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\');\r\n " + " $(this).attr(\'dateformat\', df);\r\n\r\n // 根据时间日期格式,锁定日" + "期输入框宽度\r\n if (df.indexOf(\'hh\') >= 0)\r\n " + "$(this).width(140);\r\n else\r\n $(this).w" + "idth(80);\r\n }\r\n\r\n //根据日期格式自动推算日期选择view显示的范围\r\n " + " var sv = 2;\r\n var mv = 2;\r\n var autoVie" + "w = $(this).attr(\'autoView\');\r\n if (autoView != \'false\') {\r\n " + " df = $(this).attr(\'dateformat\');\r\n if (df.inde" + "xOf(\'ii\') >= 0) {\r\n mv = 0;\r\n if (" + "df.indexOf(\'dd\') >= 0) {\r\n sv = 2;\r\n " + " } else {\r\n sv = 1;\r\n }\r" + "\n } else if (df.indexOf(\'hh\') >= 0) {\r\n " + " mv = 1;\r\n if (df.indexOf(\'dd\') >= 0) {\r\n " + " sv = 2;\r\n } else {\r\n " + " sv = 1;\r\n }\r\n } else if (df.indexO" + "f(\'dd\') >= 0) {\r\n mv = 2;\r\n sv = 2" + ";\r\n } else if (df.indexOf(\'mm\') >= 0) {\r\n " + " mv = 3;\r\n sv = 3;\r\n } else if (df." + "indexOf(\'yyyy\') >= 0) {\r\n mv = 4;\r\n " + " sv = 4;\r\n }\r\n }\r\n\r\n $(this).a" + "ttr(\'startview\', sv);\r\n $(this).attr(\'minview\', mv);\r\n " + " });\r\n $(\"[dateformat]\").each(function () {\r\n $(this)." + "datetimepicker({\r\n format: $(this).attr(\"dateformat\"),\r\n " + " autoclose: true,\r\n language: \"zh-CN\",\r\n " + " forceParse: false,\r\n startView: parseInt($(this)" + ".attr(\'startview\')),\r\n minView: parseInt($(this).attr(\'minvie" + "w\'))\r\n });\r\n });\r\n"); #line 156 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 156 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(@" $('.multiselect').each(function () { $(this).multiselect({ // 下拉列表仅在列表项比较多时显示过滤框 enableFiltering: $(this).children().length > 10, buttonClass: 'btn btn-white btn-primary', templates: { button: '<button"); WriteLiteral(" type=\"button\""); WriteLiteral(" class=\"multiselect dropdown-toggle\""); WriteLiteral(" data-toggle=\"dropdown\""); WriteLiteral("></button>\',\r\n ul: \'<ul"); WriteLiteral(" class=\"multiselect-container dropdown-menu\""); WriteLiteral("></ul>\',\r\n filter: \'<li"); WriteLiteral(" class=\"multiselect-item filter\""); WriteLiteral("><div"); WriteLiteral(" class=\"input-group\""); WriteLiteral("><span"); WriteLiteral(" class=\"input-group-addon\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-search\""); WriteLiteral("></i></span><input"); WriteLiteral(" class=\"form-control multiselect-search\""); WriteLiteral(" type=\"text\""); WriteLiteral("></div></li>\',\r\n filterClearBtn: \'<span"); WriteLiteral(" class=\"input-group-btn\""); WriteLiteral("><button"); WriteLiteral(" class=\"btn btn-default btn-white btn-grey multiselect-clear-filter\""); WriteLiteral(" type=\"button\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-times-circle red2\""); WriteLiteral("></i></button></span>\',\r\n li: \'<li><a"); WriteLiteral(" href=\"javascript:void(0);\""); WriteLiteral("><label></label></a></li>\',\r\n divider: \'<li"); WriteLiteral(" class=\"multiselect-item divider\""); WriteLiteral("></li>\',\r\n liGroup: \'<li"); WriteLiteral(" class=\"multiselect-item group\""); WriteLiteral("><label"); WriteLiteral(" class=\"multiselect-group\""); WriteLiteral("></label></li>\'\r\n },\r\n filterPlaceholder: \'" + "搜索\',\r\n nonSelectedText: \'无\',\r\n allSelected" + "Text: \'全选\'\r\n });\r\n });\r\n "); #line 176 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden #line 179 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 7982), Tuple.Create("\"", 8038) , Tuple.Create(Tuple.Create("", 7988), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.js") , 7988), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input.chkSwitch" + "\").bootstrapSwitch();\r\n })\r\n </script>\r\n\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 8202), Tuple.Create("\"", 8251) , Tuple.Create(Tuple.Create("", 8208), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog-plus-min.js") , 8208), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 8275), Tuple.Create("\"", 8324) , Tuple.Create(Tuple.Create("", 8281), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog.new.life.js") , 8281), false) ); WriteLiteral("></script>\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 8369), Tuple.Create("\"", 8408) , Tuple.Create(Tuple.Create("", 8375), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.js?v=3.2.2020.0204") , 8375), false) ); WriteLiteral("></script>\r\n</body>\r\n</html>"); }
public override void Execute() { #line 3 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" var set = NewLife.Cube.Setting.Current; var set2 = ViewBag.PageSetting as PageSetting; var charts = ViewBag.Charts as ECharts[]; var charts2 = ViewBag.Charts2 as ECharts[]; var title = ViewBag.Title + ""; if (title != "" && !title.Contains(" - ")) { title += " - " + NewLife.Common.SysConfig.Current.DisplayName; } var ver = typeof(ControllerBaseX).Assembly.GetName().Version; #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.0\""); WriteLiteral(" />\r\n <title>"); #line 24 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(title); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 746), Tuple.Create("\"", 766) , Tuple.Create(Tuple.Create("", 753), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 753), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 28 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 30 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 30 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 962), Tuple.Create("\"", 1018) , Tuple.Create(Tuple.Create("", 969), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-multiselect.css") , 969), false) ); WriteLiteral(">\r\n"); #line 33 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1057), Tuple.Create("\"", 1121) , Tuple.Create(Tuple.Create("", 1064), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.css") , 1064), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1153), Tuple.Create("\"", 1211) , Tuple.Create(Tuple.Create("", 1160), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.css") , 1160), false) ); WriteLiteral(">\r\n\r\n <!-- 最后引入基本样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1266), Tuple.Create("\"", 1316) , Tuple.Create(Tuple.Create("", 1273), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/bootstrap.min-4.4.1.css") , 1273), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1346), Tuple.Create("\"", 1397) , Tuple.Create(Tuple.Create("", 1353), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/font-awesome.min.css") , 1353), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1429), Tuple.Create("\"", 1483) , Tuple.Create(Tuple.Create("", 1436), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-theme.min.css") , 1436), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1513), Tuple.Create("\"", 1572) , Tuple.Create(Tuple.Create("", 1520), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-responsive.min.css") , 1520), false) ); WriteLiteral(">\r\n\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1587), Tuple.Create("\"", 1631) , Tuple.Create(Tuple.Create("", 1594), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/css/ui-dialog.css") , 1594), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n\r\n <!-- 自定义样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1702), Tuple.Create("\"", 1744) , Tuple.Create(Tuple.Create("", 1709), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube-bootstrap.css?v=") , 1709), false) #line 49 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" , Tuple.Create(Tuple.Create("", 1740), Tuple.Create <System.Object, System.Int32>(ver #line default #line hidden , 1740), false) ); WriteLiteral(">\r\n <!-- JQuery作为一等公民,页面内部随时可能使用 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1797), Tuple.Create("\"", 1835) , Tuple.Create(Tuple.Create("", 1803), Tuple.Create <System.Object, System.Int32>(Href("~/Content/js/jquery-3.4.1.min.js") , 1803), false) ); WriteLiteral("></script>\r\n"); #line 52 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 52 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (charts != null && charts.Length > 0 || charts2 != null && charts2.Length > 0) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1958), Tuple.Create("\"", 1988) , Tuple.Create(Tuple.Create("", 1964), Tuple.Create <System.Object, System.Int32>(Href("~/Content/echarts.min.js") , 1964), false) ); WriteLiteral("></script>\r\n"); #line 55 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden WriteLiteral("</head>\r\n<body>\r\n <div"); WriteLiteral(" class=\"panel panel-default\""); WriteLiteral(">\r\n"); #line 59 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 59 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (set2 != null && set2.EnableNavbar) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"breadcrumbs\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 62 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(Html.Partial("_Layout_Nav")); #line default #line hidden WriteLiteral("\r\n "); WriteLiteral("\r\n </div>\r\n"); #line 65 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"page-content\""); WriteLiteral(">\r\n <section"); WriteLiteral(" class=\"content-wrapper main-content clear-fix\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 68 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </section>\r\n </div>\r\n"); #line 71 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 71 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 74 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 76 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- 最早引入基本脚本 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2733), Tuple.Create("\"", 2788) , Tuple.Create(Tuple.Create("", 2739), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/bootstrap.bundle.min-4.4.1.js") , 2739), false) ); WriteLiteral("></script>\r\n"); #line 80 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 80 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2869), Tuple.Create("\"", 2926) , Tuple.Create(Tuple.Create("", 2875), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap-multiselect.min.js") , 2875), false) ); WriteLiteral("></script>\r\n"); #line 83 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 85 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3028), Tuple.Create("\"", 3090) , Tuple.Create(Tuple.Create("", 3034), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.js") , 3034), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3114), Tuple.Create("\"", 3186) , Tuple.Create(Tuple.Create("", 3120), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/locales/bootstrap-datetimepicker.zh-CN.js") , 3120), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\'.form_datetime\'" + ").each(function () {\r\n var df = $(this).attr(\'dateformat\');\r\n " + " if (!df) {\r\n $(this).attr(\'dateformat\', \'yyyy-mm-" + "dd hh:ii:ss\');\r\n $(this).width(140);\r\n }\r\n " + " else {\r\n // 把C#标准格式化替换为控件格式\r\n " + "df = df.replace(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\');\r\n " + " $(this).attr(\'dateformat\', df);\r\n\r\n // 根据时间日期格式,锁定日" + "期输入框宽度\r\n if (df.indexOf(\'hh\') >= 0)\r\n " + "$(this).width(140);\r\n else\r\n $(this).w" + "idth(80);\r\n }\r\n\r\n //根据日期格式自动推算日期选择view显示的范围\r\n " + " var sv = 2;\r\n var mv = 2;\r\n var autoVie" + "w = $(this).attr(\'autoView\');\r\n if (autoView != \'false\') {\r\n " + " df = $(this).attr(\'dateformat\');\r\n if (df.inde" + "xOf(\'ii\') >= 0) {\r\n mv = 0;\r\n if (" + "df.indexOf(\'dd\') >= 0) {\r\n sv = 2;\r\n " + " } else {\r\n sv = 1;\r\n }\r" + "\n } else if (df.indexOf(\'hh\') >= 0) {\r\n " + " mv = 1;\r\n if (df.indexOf(\'dd\') >= 0) {\r\n " + " sv = 2;\r\n } else {\r\n " + " sv = 1;\r\n }\r\n } else if (df.indexO" + "f(\'dd\') >= 0) {\r\n mv = 2;\r\n sv = 2" + ";\r\n } else if (df.indexOf(\'mm\') >= 0) {\r\n " + " mv = 3;\r\n sv = 3;\r\n } else if (df." + "indexOf(\'yyyy\') >= 0) {\r\n mv = 4;\r\n " + " sv = 4;\r\n }\r\n }\r\n\r\n $(this).a" + "ttr(\'startview\', sv);\r\n $(this).attr(\'minview\', mv);\r\n " + " });\r\n $(\"[dateformat]\").each(function () {\r\n $(this)." + "datetimepicker({\r\n format: $(this).attr(\"dateformat\"),\r\n " + " autoclose: true,\r\n language: \"zh-CN\",\r\n " + " forceParse: false,\r\n startView: parseInt($(this)" + ".attr(\'startview\')),\r\n minView: parseInt($(this).attr(\'minvie" + "w\'))\r\n });\r\n });\r\n"); #line 155 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden #line 155 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(@" $('.multiselect').each(function () { $(this).multiselect({ // 下拉列表仅在列表项比较多时显示过滤框 enableFiltering: $(this).children().length > 10, buttonClass: 'btn btn-white btn-primary', templates: { button: '<button"); WriteLiteral(" type=\"button\""); WriteLiteral(" class=\"multiselect dropdown-toggle\""); WriteLiteral(" data-toggle=\"dropdown\""); WriteLiteral("></button>\',\r\n ul: \'<ul"); WriteLiteral(" class=\"multiselect-container dropdown-menu\""); WriteLiteral("></ul>\',\r\n filter: \'<li"); WriteLiteral(" class=\"multiselect-item filter\""); WriteLiteral("><div"); WriteLiteral(" class=\"input-group\""); WriteLiteral("><span"); WriteLiteral(" class=\"input-group-addon\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-search\""); WriteLiteral("></i></span><input"); WriteLiteral(" class=\"form-control multiselect-search\""); WriteLiteral(" type=\"text\""); WriteLiteral("></div></li>\',\r\n filterClearBtn: \'<span"); WriteLiteral(" class=\"input-group-btn\""); WriteLiteral("><button"); WriteLiteral(" class=\"btn btn-default btn-white btn-grey multiselect-clear-filter\""); WriteLiteral(" type=\"button\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-times-circle red2\""); WriteLiteral("></i></button></span>\',\r\n li: \'<li><a"); WriteLiteral(" href=\"javascript:void(0);\""); WriteLiteral("><label></label></a></li>\',\r\n divider: \'<li"); WriteLiteral(" class=\"multiselect-item divider\""); WriteLiteral("></li>\',\r\n liGroup: \'<li"); WriteLiteral(" class=\"multiselect-item group\""); WriteLiteral("><label"); WriteLiteral(" class=\"multiselect-group\""); WriteLiteral("></label></li>\'\r\n },\r\n filterPlaceholder: \'" + "搜索\',\r\n nonSelectedText: \'无\',\r\n allSelected" + "Text: \'全选\'\r\n });\r\n });\r\n "); #line 175 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" } #line default #line hidden #line 178 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" #line default #line hidden WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 7749), Tuple.Create("\"", 7805) , Tuple.Create(Tuple.Create("", 7755), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.js") , 7755), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input.chkSwitch" + "\").bootstrapSwitch();\r\n })\r\n </script>\r\n\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 7969), Tuple.Create("\"", 8018) , Tuple.Create(Tuple.Create("", 7975), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog-plus-min.js") , 7975), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 8042), Tuple.Create("\"", 8091) , Tuple.Create(Tuple.Create("", 8048), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog.new.life.js") , 8048), false) ); WriteLiteral("></script>\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 8136), Tuple.Create("\"", 8166) , Tuple.Create(Tuple.Create("", 8142), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.js?v=") , 8142), false) #line 200 "..\..\Views\Shared\_Bootstrap_Layout.cshtml" , Tuple.Create(Tuple.Create("", 8162), Tuple.Create <System.Object, System.Int32>(ver #line default #line hidden , 8162), false) ); WriteLiteral("></script>\r\n</body>\r\n</html>\r\n"); }
public override void Execute() { #line 3 "..\..\Views\Shared\_Layout_Admin.cshtml" var set = NewLife.Cube.Setting.Current; #line default #line hidden WriteLiteral("\r\n<!DOCTYPE html>\r\n<html>\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 <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode,Yooyeah,XIoT\""); WriteLiteral(" />\r\n "); WriteLiteral("\r\n <title>"); #line 14 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(ViewBag.Title); #line default #line hidden WriteLiteral(" - "); #line 14 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(SysConfig.Current.DisplayName); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 498), Tuple.Create("\"", 518) , Tuple.Create(Tuple.Create("", 505), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 505), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 网页字体 -->\r\n <script"); WriteLiteral(" src=\"https://cdn.bootcss.com/webfont/1.6.16/webfontloader.js\""); WriteLiteral(@"></script> <script> WebFont.load({ google: { ""families"": [""Poppins:300,400,500,600,700"", ""Roboto:300,400,500,600,700""] }, active: function () { sessionStorage.fonts = true; } }); </script> <!-- 强制页面样式 --> <link"); WriteAttribute("href", Tuple.Create(" href=\"", 960), Tuple.Create("\"", 1035) , Tuple.Create(Tuple.Create("", 967), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/perfect-scrollbar/css/perfect-scrollbar.css") , 967), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n\r\n <!-- 核心页面样式 -->\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1106), Tuple.Create("\"", 1174) , Tuple.Create(Tuple.Create("", 1113), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap/dist/css/bootstrap.min.css") , 1113), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1222), Tuple.Create("\"", 1313) , Tuple.Create(Tuple.Create("", 1229), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min." + "css") , 1229), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1361), Tuple.Create("\"", 1451) , Tuple.Create(Tuple.Create("", 1368), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.c" + "ss") , 1368), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1499), Tuple.Create("\"", 1584) , Tuple.Create(Tuple.Create("", 1506), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-timepicker/css/bootstrap-timepicker.min.css") , 1506), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1632), Tuple.Create("\"", 1726) , Tuple.Create(Tuple.Create("", 1639), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-datetime-picker/css/bootstrap-datetimepicker.m" + "in.css") , 1639), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1774), Tuple.Create("\"", 1851) , Tuple.Create(Tuple.Create("", 1781), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/bootstrap-daterangepicker/daterangepicker.css") , 1781), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1899), Tuple.Create("\"", 1958) , Tuple.Create(Tuple.Create("", 1906), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/animate.css/animate.min.css") , 1906), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2006), Tuple.Create("\"", 2099) , Tuple.Create(Tuple.Create("", 2013), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.mi" + "n.css") , 2013), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2147), Tuple.Create("\"", 2229) , Tuple.Create(Tuple.Create("", 2154), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-select/dist/css/bootstrap-select.min.css") , 2154), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2277), Tuple.Create("\"", 2341) , Tuple.Create(Tuple.Create("", 2284), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/select2/dist/css/select2.min.css") , 2284), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2389), Tuple.Create("\"", 2457) , Tuple.Create(Tuple.Create("", 2396), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/sweetalert2/dist/sweetalert2.min.css") , 2396), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2505), Tuple.Create("\"", 2572) , Tuple.Create(Tuple.Create("", 2512), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/custom/vendors/fontawesome5/css/all.min.css") , 2512), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2620), Tuple.Create("\"", 2680) , Tuple.Create(Tuple.Create("", 2627), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/custom/vendors/flaticon/flaticon.css") , 2627), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2728), Tuple.Create("\"", 2800) , Tuple.Create(Tuple.Create("", 2735), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/custom/vendors/line-awesome/css/line-awesome.css") , 2735), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2848), Tuple.Create("\"", 2903) , Tuple.Create(Tuple.Create("", 2855), Tuple.Create <System.Object, System.Int32>(Href("~/assets/app/custom/wizard/wizard-v2.default.css") , 2855), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n\r\n <!-- 全局皮肤样式 -->\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 2974), Tuple.Create("\"", 3029) , Tuple.Create(Tuple.Create("", 2981), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/theme/default/base/style.bundle.min.css") , 2981), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 3077), Tuple.Create("\"", 3138) , Tuple.Create(Tuple.Create("", 3084), Tuple.Create <System.Object, System.Int32>(Href("~/assets/theme/default/skins/header/base/light.min.css") , 3084), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 3186), Tuple.Create("\"", 3247) , Tuple.Create(Tuple.Create("", 3193), Tuple.Create <System.Object, System.Int32>(Href("~/assets/theme/default/skins/header/menu/light.min.css") , 3193), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 3295), Tuple.Create("\"", 3349) , Tuple.Create(Tuple.Create("", 3302), Tuple.Create <System.Object, System.Int32>(Href("~/assets/theme/default/skins/brand/dark.min.css") , 3302), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 3397), Tuple.Create("\"", 3451) , Tuple.Create(Tuple.Create("", 3404), Tuple.Create <System.Object, System.Int32>(Href("~/assets/theme/default/skins/aside/dark.min.css") , 3404), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 3499), Tuple.Create("\"", 3541) , Tuple.Create(Tuple.Create("", 3506), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/app/custom/cube.styles.css") , 3506), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" type=\"text/css\""); WriteLiteral(" /> <!-- 自定义样式 -->\r\n\r\n <!--jquery必须放前面才可以使用多选 sk-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3642), Tuple.Create("\"", 3694) , Tuple.Create(Tuple.Create("", 3648), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/jquery/dist/jquery.js") , 3648), false) ); WriteLiteral(" type=\"text/javascript\""); WriteLiteral("></script>\r\n</head>\r\n<body"); WriteLiteral(" class=\"kt-subheader--fixed kt-subheader--enabled kt-subheader--solid\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 60 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(Html.Partial("_Layout_Breadcrumbs")); #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"kt-content kt-grid__item kt-grid__item--fluid\""); WriteLiteral(" style=\"display: flex; flex-direction: column;\""); WriteLiteral(" id=\"kt_content\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 62 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 64 "..\..\Views\Shared\_Layout_Admin.cshtml" #line default #line hidden #line 64 "..\..\Views\Shared\_Layout_Admin.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"kt-padding-0\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"alert alert-secondary\""); WriteLiteral(" role=\"alert\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"alert-text\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 69 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n </div>\r\n </d" + "iv>\r\n"); #line 73 "..\..\Views\Shared\_Layout_Admin.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n <div"); WriteLiteral(" id=\"kt_scrolltop\""); WriteLiteral(" class=\"kt-scrolltop\""); WriteLiteral(">\r\n <i"); WriteLiteral(" class=\"fa fa-arrow-up\""); WriteLiteral("></i>\r\n </div>\r\n\r\n <!-- 核心脚本资源 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4649), Tuple.Create("\"", 4712) , Tuple.Create(Tuple.Create("", 4655), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/popper.js/dist/umd/popper.min.js") , 4655), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4736), Tuple.Create("\"", 4793) , Tuple.Create(Tuple.Create("", 4742), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/block-ui/jquery.blockUI.js") , 4742), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4817), Tuple.Create("\"", 4882) , Tuple.Create(Tuple.Create("", 4823), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap/dist/js/bootstrap.min.js") , 4823), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4906), Tuple.Create("\"", 4967) , Tuple.Create(Tuple.Create("", 4912), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/tooltip.js/dist/umd/tooltip.js") , 4912), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4991), Tuple.Create("\"", 5065) , Tuple.Create(Tuple.Create("", 4997), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/perfect-scrollbar/dist/perfect-scrollbar.js") , 4997), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5089), Tuple.Create("\"", 5148) , Tuple.Create(Tuple.Create("", 5095), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/sticky-js/dist/sticky.min.js") , 5095), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5172), Tuple.Create("\"", 5259) , Tuple.Create(Tuple.Create("", 5178), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js" + "") , 5178), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5283), Tuple.Create("\"", 5365) , Tuple.Create(Tuple.Create("", 5289), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-timepicker/js/bootstrap-timepicker.min.js") , 5289), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5389), Tuple.Create("\"", 5480) , Tuple.Create(Tuple.Create("", 5395), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-datetime-picker/js/bootstrap-datetimepicker.mi" + "n.js") , 5395), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5504), Tuple.Create("\"", 5574) , Tuple.Create(Tuple.Create("", 5510), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/bootstrap-daterangepicker/moment.min.js") , 5510), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5598), Tuple.Create("\"", 5673) , Tuple.Create(Tuple.Create("", 5604), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/bootstrap-daterangepicker/daterangepicker.js") , 5604), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5697), Tuple.Create("\"", 5776) , Tuple.Create(Tuple.Create("", 5703), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-switch/dist/js/bootstrap-switch.min.js") , 5703), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5800), Tuple.Create("\"", 5879) , Tuple.Create(Tuple.Create("", 5806), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-select/dist/js/bootstrap-select.min.js") , 5806), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5903), Tuple.Create("\"", 5969) , Tuple.Create(Tuple.Create("", 5909), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/select2/dist/js/select2.full.min.js") , 5909), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 5993), Tuple.Create("\"", 6063) , Tuple.Create(Tuple.Create("", 5999), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/sweetalert2/dist/sweetalert2.all.min.js") , 5999), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6087), Tuple.Create("\"", 6159) , Tuple.Create(Tuple.Create("", 6093), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/jquery-validation/dist/jquery.validate.js") , 6093), false) ); WriteLiteral(" type=\"text/javascript\""); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6206), Tuple.Create("\"", 6281) , Tuple.Create(Tuple.Create("", 6212), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/jquery-validation/dist/additional-methods.js") , 6212), false) ); WriteLiteral(" type=\"text/javascript\""); WriteLiteral("></script>\r\n <!-- 可选脚本资源 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6349), Tuple.Create("\"", 6406) , Tuple.Create(Tuple.Create("", 6355), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/jquery.repeater/src/lib.js") , 6355), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6430), Tuple.Create("\"", 6496) , Tuple.Create(Tuple.Create("", 6436), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/jquery.repeater/src/jquery.input.js") , 6436), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6520), Tuple.Create("\"", 6582) , Tuple.Create(Tuple.Create("", 6526), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/jquery.repeater/src/repeater.js") , 6526), false) ); WriteLiteral("></script>\r\n <!-- 全局脚本资源 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6627), Tuple.Create("\"", 6682) , Tuple.Create(Tuple.Create("", 6633), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/theme/default/base/scripts.bundle.min.js") , 6633), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6706), Tuple.Create("\"", 6771) , Tuple.Create(Tuple.Create("", 6712), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/custom/datatables/datatables.bundle.min.js") , 6712), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6795), Tuple.Create("\"", 6873) , Tuple.Create(Tuple.Create("", 6801), Tuple.Create <System.Object, System.Int32>(Href("~/assets/vendors/general/perfect-scrollbar/dist/perfect-scrollbar.min.js") , 6801), false) ); WriteLiteral("></script>\r\n\r\n <!-- 模板自定义脚本资源 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6923), Tuple.Create("\"", 6967) , Tuple.Create(Tuple.Create("", 6929), Tuple.Create <System.Object, System.Int32>(Href("~/assets/app/custom/cube.app.bundle.js") , 6929), false) ); WriteLiteral("></script>\r\n\r\n"); WriteLiteral(" "); #line 110 "..\..\Views\Shared\_Layout_Admin.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script>\r\n $(function () {\r\n $(\'.for" + "m_datetime\').each(function () {\r\n var df = $(this).attr(\'dateform" + "at\');\r\n if (!df) {\r\n $(this).attr(\'dateformat\'" + ", \'yyyy-mm-dd hh:ii:ss\');\r\n //$(this).width(140);\r\n " + " }\r\n else {\r\n // 把C#标准格式化替换为控件格式\r\n " + " df = df.replace(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\')" + ";\r\n $(this).attr(\'dateformat\', df);\r\n\r\n //" + " 根据时间日期格式,锁定日期输入框宽度\r\n //if (df.indexOf(\'hh\') >= 0)\r\n " + " // $(this).width(140);\r\n //else\r\n " + " // $(this).width(80);\r\n }\r\n\r\n //根据日期格式自动推" + "算日期选择view显示的范围\r\n var sv = 2;\r\n var mv = 2;\r\n " + " var autoView = $(this).attr(\'autoView\');\r\n if (autoView" + " !== \'false\') {\r\n df = $(this).attr(\'dateformat\');\r\n " + " if (df.indexOf(\'ii\') >= 0) {\r\n mv = 0;\r\n " + " if (df.indexOf(\'dd\') >= 0) {\r\n sv =" + " 2;\r\n } else {\r\n sv = 1;\r\n " + " }\r\n } else if (df.indexOf(\'hh\') >= 0) {\r\n" + " mv = 1;\r\n if (df.indexOf(\'dd\') >=" + " 0) {\r\n sv = 2;\r\n } else {\r\n " + " sv = 1;\r\n }\r\n " + " } else if (df.indexOf(\'dd\') >= 0) {\r\n mv = 2;\r\n " + " sv = 2;\r\n } else if (df.indexOf(\'mm\') >= 0) {" + "\r\n mv = 3;\r\n sv = 3;\r\n " + " } else if (df.indexOf(\'yyyy\') >= 0) {\r\n mv = 4;\r\n" + " sv = 4;\r\n }\r\n }\r\n\r\n " + " $(this).attr(\'startview\', sv);\r\n $(this).attr(\'minvi" + "ew\', mv);\r\n });\r\n $(\"[dateformat]\").each(function () {\r\n " + " $(this).datetimepicker({\r\n format: $(this).attr" + "(\"dateformat\"),\r\n autoclose: true,\r\n langu" + "age: \"zh-CN\",\r\n forceParse: false,\r\n start" + "View: parseInt($(this).attr(\'startview\')),\r\n minView: parseIn" + "t($(this).attr(\'minview\'))\r\n });\r\n });\r\n \r\n " + " //$(\'.multiselect\').each(function () {\r\n // $(this).mul" + "tiselect({\r\n // // 下拉列表仅在列表项比较多时显示过滤框\r\n // e" + "nableFiltering: $(this).children().length > 10,\r\n // buttonCla" + "ss: \'btn btn-white btn-primary\',\r\n // templates: {\r\n " + " // button: \'<button type=\"button\" class=\"multiselect dropdown-toggl" + "e\" data-toggle=\"dropdown\"></button>\',\r\n // ul: \'<ul class=" + "\"multiselect-container dropdown-menu\"></ul>\',\r\n // filter:" + " \'<li class=\"multiselect-item filter\"><div class=\"input-group\"><span class=\"inpu" + "t-group-addon\"><i class=\"fa fa-search\"></i></span><input class=\"form-control mul" + "tiselect-search\" type=\"text\"></div></li>\',\r\n // filterClea" + "rBtn: \'<span class=\"input-group-btn\"><button class=\"btn btn-default btn-white bt" + "n-grey multiselect-clear-filter\" type=\"button\"><i class=\"fa fa-times-circle red2" + "\"></i></button></span>\',\r\n // li: \'<li><a href=\"javascript" + ":void(0);\"><label></label></a></li>\',\r\n // divider: \'<li c" + "lass=\"multiselect-item divider\"></li>\',\r\n // liGroup: \'<li" + " class=\"multiselect-item group\"><label class=\"multiselect-group\"></label></li>\'\r" + "\n // },\r\n // filterPlaceholder: \'搜索\',\r\n " + " // nonSelectedText: \'无\',\r\n // allSelectedText: \'" + "全选\'\r\n // });\r\n //});\r\n \r\n "); WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 11592), Tuple.Create("\"", 11671) , Tuple.Create(Tuple.Create("", 11598), Tuple.Create <System.Object, System.Int32>(Href("~/Assets/vendors/general/bootstrap-switch/dist/js/bootstrap-switch.min.js") , 11598), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input.chkSwitch" + "\").bootstrapSwitch();\r\n\r\n //区间时间插件\r\n $(\"input[name=\'dtRang" + "e\']\").daterangepicker(\r\n {\r\n // autoApply: tru" + "e,\r\n // autoUpdateInput: false,\r\n // alway" + "sShowCalendars: true,\r\n buttonClasses: \'btn\',\r\n " + " applyClass: \'btn-primary\',\r\n cancelClass: \'btn-secondar" + "y\',\r\n ranges: {\r\n \'今天\': [moment(), mom" + "ent()],\r\n \'昨天\': [moment().subtract(1, \'days\'), moment().s" + "ubtract(1, \'days\')],\r\n \'近7天\': [moment().subtract(7, \'days" + "\'), moment()],\r\n \'近30天\': [moment().subtract(29, \'days\'), " + "moment()],\r\n \'这个月\': [moment().startOf(\'month\'), moment()." + "endOf(\'month\')],\r\n \'上个月\': [moment().subtract(1, \'month\')." + "startOf(\'month\'), moment().subtract(1, \'month\').endOf(\'month\')]\r\n " + " },\r\n locale: {\r\n format: \"YYYY/MM" + "/DD HH:mm:SS\",\r\n separator: \" - \",\r\n " + " applyLabel: \"确认\",\r\n cancelLabel: \"清空\",\r\n " + " fromLabel: \"开始时间\",\r\n toLabel: \"结束时间\",\r\n " + " customRangeLabel: \"自定义日期范围\",\r\n daysOfWeek" + ": [\"日\", \"一\", \"二\", \"三\", \"四\", \"五\", \"六\"],\r\n monthNames: [\"一月" + "\", \"二月\", \"三月\", \"四月\", \"五月\", \"六月\", \"七月\", \"八月\", \"九月\", \"十月\", \"十一月\", \"十二月\"]\r\n " + " }\r\n }\r\n ).on(\'cancel.daterangepicker\', fun" + "ction (ev, picker) {\r\n $(\"#dtRange\").val(\"请选择日期范围\");\r\n " + " $(\"#dtStart\").val(\"\");\r\n $(\"#dtEnd\").val(\"\");\r\n }" + ").on(\'apply.daterangepicker\', function (ev, picker) {\r\n $(\"#dtSta" + "rt\").val(picker.startDate.format(\'YYYY-MM-DD\'));\r\n $(\"#dtEnd\").va" + "l(picker.endDate.format(\'YYYY-MM-DD\'));\r\n $(\"#dtRange\").val(picke" + "r.startDate.format(\'YYYY-MM-DD\') + \" 至 \" + picker.endDate.format(\'YYYY-MM-DD\'));" + "\r\n });\r\n });\r\n </script>\r\n <script>\r\n var KTAppOp" + "tions = {\r\n \"colors\": {\r\n \"state\": {\r\n " + " \"brand\": \"#5d78ff\",\r\n \"dark\": \"#282a3c\",\r\n " + " \"light\": \"#ffffff\",\r\n \"primary\": \"#5867dd\",\r\n " + " \"success\": \"#34bfa3\",\r\n \"info\": \"#36a3f7\",\r\n " + " \"warning\": \"#ffb822\",\r\n \"danger\": \"#fd3995\"\r\n " + " },\r\n \"base\": {\r\n \"label\": [\"#c5cbe" + "3\", \"#a1a8c3\", \"#3d4465\", \"#3e4466\"],\r\n \"shape\": [\"#f0f3ff\", " + "\"#d9dffa\", \"#afb4d4\", \"#646c9a\"]\r\n }\r\n }\r\n };\r\n" + " </script>\r\n\r\n "); WriteLiteral("\r\n "); WriteLiteral("\r\n "); WriteLiteral("\r\n "); WriteLiteral("\r\n</body>\r\n</html>\r\n"); }
public override void Execute() { #line 3 "..\..\Views\Shared\_Ace2_Layout.cshtml" var set = NewLife.Cube.Setting.Current; var set2 = ViewBag.PageSetting as PageSetting; var charts = ViewBag.Charts as ECharts[]; var charts2 = ViewBag.Charts2 as ECharts[]; var title = ViewBag.Title + ""; if (title != "" && !title.Contains(" - ")) { title += " - " + NewLife.Common.SysConfig.Current.DisplayName; } var ver = typeof(ControllerBaseX).Assembly.GetName().Version; #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, height=device-height, initial-scale=1\""); WriteLiteral(">\r\n <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode\""); WriteLiteral(" />\r\n <title>"); #line 25 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(title); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 833), Tuple.Create("\"", 853) , Tuple.Create(Tuple.Create("", 840), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 840), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 29 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 31 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 31 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1049), Tuple.Create("\"", 1105) , Tuple.Create(Tuple.Create("", 1056), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-multiselect.css") , 1056), false) ); WriteLiteral(">\r\n"); #line 34 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1144), Tuple.Create("\"", 1208) , Tuple.Create(Tuple.Create("", 1151), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.css") , 1151), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1240), Tuple.Create("\"", 1298) , Tuple.Create(Tuple.Create("", 1247), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.css") , 1247), false) ); WriteLiteral(">\r\n\r\n <!-- 最后引入基本样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1353), Tuple.Create("\"", 1403) , Tuple.Create(Tuple.Create("", 1360), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/bootstrap.min-4.4.1.css") , 1360), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1433), Tuple.Create("\"", 1485) , Tuple.Create(Tuple.Create("", 1440), Tuple.Create <System.Object, System.Int32>(Href("~/Content/awesome/font-awesome.min-5.12.1.css") , 1440), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1515), Tuple.Create("\"", 1562) , Tuple.Create(Tuple.Create("", 1522), Tuple.Create <System.Object, System.Int32>(Href("~/Content/awesome/regular.min-5.12.1.css") , 1522), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1592), Tuple.Create("\"", 1638) , Tuple.Create(Tuple.Create("", 1599), Tuple.Create <System.Object, System.Int32>(Href("~/Content/awesome/brands.min-5.12.1.css") , 1599), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1668), Tuple.Create("\"", 1713) , Tuple.Create(Tuple.Create("", 1675), Tuple.Create <System.Object, System.Int32>(Href("~/Content/awesome/solid.min-5.12.1.css") , 1675), false) ); WriteLiteral(">\r\n\r\n <!-- ace 样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1766), Tuple.Create("\"", 1804) , Tuple.Create(Tuple.Create("", 1773), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/ace.min-2.1.1.css") , 1773), false) ); WriteLiteral(">\r\n "); WriteLiteral("\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1842), Tuple.Create("\"", 1886) , Tuple.Create(Tuple.Create("", 1849), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/css/ui-dialog.css") , 1849), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n\r\n <!-- 自定义样式 -->\r\n "); WriteLiteral("\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 2032), Tuple.Create("\"", 2074) , Tuple.Create(Tuple.Create("", 2039), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube-bootstrap.css?v=") , 2039), false) #line 54 "..\..\Views\Shared\_Ace2_Layout.cshtml" , Tuple.Create(Tuple.Create("", 2070), Tuple.Create <System.Object, System.Int32>(ver #line default #line hidden , 2070), false) ); WriteLiteral(">\r\n <!-- JQuery作为一等公民,页面内部随时可能使用 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2127), Tuple.Create("\"", 2165) , Tuple.Create(Tuple.Create("", 2133), Tuple.Create <System.Object, System.Int32>(Href("~/Content/js/jquery-3.4.1.min.js") , 2133), false) ); WriteLiteral("></script>\r\n"); #line 57 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 57 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (charts != null && charts.Length > 0 || charts2 != null && charts2.Length > 0) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2288), Tuple.Create("\"", 2318) , Tuple.Create(Tuple.Create("", 2294), Tuple.Create <System.Object, System.Int32>(Href("~/Content/echarts.min.js") , 2294), false) ); WriteLiteral("></script>\r\n"); #line 60 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden WriteLiteral("</head>\r\n<body>\r\n <div"); WriteLiteral(" class=\"body-container\""); WriteLiteral(">\r\n"); #line 64 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 64 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (set2 != null && set2.EnableNavbar) { var menu = ViewBag.Menu as IMenu; #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"page-header\""); WriteLiteral(" style=\"padding: 0; margin: 0;\""); WriteLiteral(">\r\n <nav"); WriteLiteral(" aria-label=\"breadcrumb\""); WriteLiteral(">\r\n <ol"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <i"); WriteLiteral(" class=\"fa fa-home home-icon\""); WriteLiteral(" style=\"font-size:20px;\""); WriteLiteral("></i>\r\n"); #line 71 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 71 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (menu != null) { foreach (IMenu item in (menu as IEntityTree).AllParents) { if (item.ID != 0) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"breadcrumb-item\""); WriteLiteral("><a"); WriteAttribute("href", Tuple.Create(" href=\"", 3084), Tuple.Create("\"", 3135) #line 77 "..\..\Views\Shared\_Ace2_Layout.cshtml" , Tuple.Create(Tuple.Create("", 3091), Tuple.Create <System.Object, System.Int32>(item.Url != null? Url.Content(item.Url):"#" #line default #line hidden , 3091), false) ); WriteLiteral(">"); #line 77 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(item.DisplayName); #line default #line hidden WriteLiteral("</a></li>\r\n"); #line 78 "..\..\Views\Shared\_Ace2_Layout.cshtml" } } } #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"breadcrumb-item active\""); WriteLiteral(" aria-current=\"page\""); WriteLiteral("><a"); WriteAttribute("href", Tuple.Create(" href=\"", 3339), Tuple.Create("\"", 3366) #line 81 "..\..\Views\Shared\_Ace2_Layout.cshtml" , Tuple.Create(Tuple.Create("", 3346), Tuple.Create <System.Object, System.Int32>(Url.Action("Index") #line default #line hidden , 3346), false) ); WriteLiteral(">"); #line 81 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(menu != null ? menu.DisplayName : ViewBag.Title); #line default #line hidden WriteLiteral("</a></li>\r\n </ol>\r\n </nav>\r\n <di" + "v"); WriteLiteral(" class=\"hidden-xs\""); WriteLiteral(" style=\"float: right; margin-left: 40px;\""); WriteLiteral(">"); #line 84 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(ViewBag.HeaderContent); #line default #line hidden WriteLiteral("</div>\r\n </div>\r\n"); #line 86 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"main-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"main-content page-content container\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 89 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </div>\r\n </div>\r\n"); #line 92 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 92 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 95 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 97 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- 最早引入基本脚本 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4003), Tuple.Create("\"", 4058) , Tuple.Create(Tuple.Create("", 4009), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/bootstrap.bundle.min-4.4.1.js") , 4009), false) ); WriteLiteral("></script>\r\n "); WriteLiteral("\r\n"); #line 102 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 102 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4212), Tuple.Create("\"", 4269) , Tuple.Create(Tuple.Create("", 4218), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap-multiselect.min.js") , 4218), false) ); WriteLiteral("></script>\r\n"); #line 105 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 107 "..\..\Views\Shared\_Ace2_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4371), Tuple.Create("\"", 4433) , Tuple.Create(Tuple.Create("", 4377), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.js") , 4377), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 4457), Tuple.Create("\"", 4529) , Tuple.Create(Tuple.Create("", 4463), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/locales/bootstrap-datetimepicker.zh-CN.js") , 4463), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\'.form_datetime\'" + ").each(function () {\r\n var df = $(this).attr(\'dateformat\');\r\n " + " if (!df) {\r\n $(this).attr(\'dateformat\', \'yyyy-mm-" + "dd hh:ii:ss\');\r\n $(this).width(140);\r\n }\r\n " + " else {\r\n // 把C#标准格式化替换为控件格式\r\n " + "df = df.replace(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\');\r\n " + " $(this).attr(\'dateformat\', df);\r\n\r\n // 根据时间日期格式,锁定日" + "期输入框宽度\r\n if (df.indexOf(\'hh\') >= 0)\r\n " + "$(this).width(140);\r\n else\r\n $(this).w" + "idth(80);\r\n }\r\n\r\n //根据日期格式自动推算日期选择view显示的范围\r\n " + " var sv = 2;\r\n var mv = 2;\r\n var autoVie" + "w = $(this).attr(\'autoView\');\r\n if (autoView != \'false\') {\r\n " + " df = $(this).attr(\'dateformat\');\r\n if (df.inde" + "xOf(\'ii\') >= 0) {\r\n mv = 0;\r\n if (" + "df.indexOf(\'dd\') >= 0) {\r\n sv = 2;\r\n " + " } else {\r\n sv = 1;\r\n }\r" + "\n } else if (df.indexOf(\'hh\') >= 0) {\r\n " + " mv = 1;\r\n if (df.indexOf(\'dd\') >= 0) {\r\n " + " sv = 2;\r\n } else {\r\n " + " sv = 1;\r\n }\r\n } else if (df.indexO" + "f(\'dd\') >= 0) {\r\n mv = 2;\r\n sv = 2" + ";\r\n } else if (df.indexOf(\'mm\') >= 0) {\r\n " + " mv = 3;\r\n sv = 3;\r\n } else if (df." + "indexOf(\'yyyy\') >= 0) {\r\n mv = 4;\r\n " + " sv = 4;\r\n }\r\n }\r\n\r\n $(this).a" + "ttr(\'startview\', sv);\r\n $(this).attr(\'minview\', mv);\r\n " + " });\r\n $(\"[dateformat]\").each(function () {\r\n $(this)." + "datetimepicker({\r\n format: $(this).attr(\"dateformat\"),\r\n " + " autoclose: true,\r\n language: \"zh-CN\",\r\n " + " forceParse: false,\r\n startView: parseInt($(this)" + ".attr(\'startview\')),\r\n minView: parseInt($(this).attr(\'minvie" + "w\'))\r\n });\r\n });\r\n"); #line 177 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden #line 177 "..\..\Views\Shared\_Ace2_Layout.cshtml" if (set != null && set.BootstrapSelect) { #line default #line hidden WriteLiteral(@" $('.multiselect').each(function () { $(this).multiselect({ // 下拉列表仅在列表项比较多时显示过滤框 enableFiltering: $(this).children().length > 10, buttonClass: 'btn btn-white btn-primary', templates: { button: '<button"); WriteLiteral(" type=\"button\""); WriteLiteral(" class=\"multiselect dropdown-toggle\""); WriteLiteral(" data-toggle=\"dropdown\""); WriteLiteral("></button>\',\r\n ul: \'<ul"); WriteLiteral(" class=\"multiselect-container dropdown-menu\""); WriteLiteral("></ul>\',\r\n filter: \'<li"); WriteLiteral(" class=\"multiselect-item filter\""); WriteLiteral("><div"); WriteLiteral(" class=\"input-group\""); WriteLiteral("><span"); WriteLiteral(" class=\"input-group-addon\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-search\""); WriteLiteral("></i></span><input"); WriteLiteral(" class=\"form-control multiselect-search\""); WriteLiteral(" type=\"text\""); WriteLiteral("></div></li>\',\r\n filterClearBtn: \'<span"); WriteLiteral(" class=\"input-group-btn\""); WriteLiteral("><button"); WriteLiteral(" class=\"btn btn-default btn-white btn-grey multiselect-clear-filter\""); WriteLiteral(" type=\"button\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-times-circle red2\""); WriteLiteral("></i></button></span>\',\r\n li: \'<li><a"); WriteLiteral(" href=\"javascript:void(0);\""); WriteLiteral("><label></label></a></li>\',\r\n divider: \'<li"); WriteLiteral(" class=\"multiselect-item divider\""); WriteLiteral("></li>\',\r\n liGroup: \'<li"); WriteLiteral(" class=\"multiselect-item group\""); WriteLiteral("><label"); WriteLiteral(" class=\"multiselect-group\""); WriteLiteral("></label></li>\'\r\n },\r\n filterPlaceholder: \'" + "搜索\',\r\n nonSelectedText: \'无\',\r\n allSelected" + "Text: \'全选\'\r\n });\r\n });\r\n "); #line 197 "..\..\Views\Shared\_Ace2_Layout.cshtml" } #line default #line hidden #line 200 "..\..\Views\Shared\_Ace2_Layout.cshtml" #line default #line hidden WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 9092), Tuple.Create("\"", 9148) , Tuple.Create(Tuple.Create("", 9098), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.js") , 9098), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input.chkSwitch" + "\").bootstrapSwitch();\r\n })\r\n </script>\r\n\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 9312), Tuple.Create("\"", 9361) , Tuple.Create(Tuple.Create("", 9318), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog-plus-min.js") , 9318), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 9385), Tuple.Create("\"", 9434) , Tuple.Create(Tuple.Create("", 9391), Tuple.Create <System.Object, System.Int32>(Href("~/Content/artDialog/dist/dialog.new.life.js") , 9391), false) ); WriteLiteral("></script>\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 9479), Tuple.Create("\"", 9509) , Tuple.Create(Tuple.Create("", 9485), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.js?v=") , 9485), false) #line 222 "..\..\Views\Shared\_Ace2_Layout.cshtml" , Tuple.Create(Tuple.Create("", 9505), Tuple.Create <System.Object, System.Int32>(ver #line default #line hidden , 9505), false) ); WriteLiteral("></script>\r\n</body>\r\n</html>"); }
public override void Execute() { #line 4 "..\..\Views\Shared\_Ace_Layout.cshtml" var menu = ManageProvider.Menu.Current; var set = NewLife.Cube.Setting.Current; #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 <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode\""); WriteLiteral(" />\r\n "); WriteLiteral("\r\n <title>"); #line 16 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.Title); #line default #line hidden WriteLiteral(" - "); #line 16 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(SysConfig.Current.DisplayName); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 570), Tuple.Create("\"", 590) , Tuple.Create(Tuple.Create("", 577), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 577), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 645), Tuple.Create("\"", 684) , Tuple.Create(Tuple.Create("", 652), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/bootstrap.min.css") , 652), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 716), Tuple.Create("\"", 771) , Tuple.Create(Tuple.Create("", 723), Tuple.Create <System.Object, System.Int32>(Href("~/Template/font-awesome/css/font-awesome.min.css") , 723), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 803), Tuple.Create("\"", 836) , Tuple.Create(Tuple.Create("", 810), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/animate.css") , 810), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 868), Tuple.Create("\"", 899) , Tuple.Create(Tuple.Create("", 875), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/style.css") , 875), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n\r\n <!-- plugins css -->\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 959), Tuple.Create("\"", 1036) , Tuple.Create(Tuple.Create("", 966), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/plugins/datetimepicker/bootstrap-datetimepicker.min.css") , 966), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1068), Tuple.Create("\"", 1129) , Tuple.Create(Tuple.Create("", 1075), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/plugins/switch/bootstrap-switch.min.css") , 1075), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1161), Tuple.Create("\"", 1248) , Tuple.Create(Tuple.Create("", 1168), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css") , 1168), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 1280), Tuple.Create("\"", 1335) , Tuple.Create(Tuple.Create("", 1287), Tuple.Create <System.Object, System.Int32>(Href("~/Template/css/plugins/sweetalert/sweetalert.css") , 1287), false) ); WriteLiteral(" rel=\"stylesheet\""); WriteLiteral(" />\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 31 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!-- Mainly scripts -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1467), Tuple.Create("\"", 1502) , Tuple.Create(Tuple.Create("", 1473), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/jquery-2.1.1.js") , 1473), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1526), Tuple.Create("\"", 1562) , Tuple.Create(Tuple.Create("", 1532), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/bootstrap.min.js") , 1532), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1586), Tuple.Create("\"", 1643) , Tuple.Create(Tuple.Create("", 1592), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/metisMenu/jquery.metisMenu.js") , 1592), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1667), Tuple.Create("\"", 1730) , Tuple.Create(Tuple.Create("", 1673), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/slimscroll/jquery.slimscroll.min.js") , 1673), false) ); WriteLiteral("></script>\r\n\r\n <!-- Custom and plugin javascript -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1799), Tuple.Create("\"", 1830) , Tuple.Create(Tuple.Create("", 1805), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/inspinia.js") , 1805), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1854), Tuple.Create("\"", 1898) , Tuple.Create(Tuple.Create("", 1860), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/pace/pace.min.js") , 1860), false) ); WriteLiteral("></script>\r\n\r\n</head>\r\n<body"); WriteLiteral(" style=\"background-color:#ffffff\""); WriteLiteral(">\r\n <!--页面具体内容-->\r\n <div"); WriteLiteral(" style=\"background-color:#ffffff\""); WriteLiteral(">\r\n <!--页头-->\r\n <div"); WriteLiteral(" class=\"wrapper border-bottom page-heading\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 49 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Partial("_Ace_Layout_Nav")); #line default #line hidden WriteLiteral("\r\n </div>\r\n <!--具体页面-->\r\n <div"); WriteLiteral(" class=\"wrapper wrapper-content\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 53 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 55 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 55 "..\..\Views\Shared\_Ace_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(" style=\"padding-bottom:50px;background-color:transparent;border-top:0px solid #ff" + "ffff;\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 58 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 60 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- plugin javascript-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2591), Tuple.Create("\"", 2665) , Tuple.Create(Tuple.Create("", 2597), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/datetimepicker/bootstrap-datetimepicker.min.js") , 2597), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2689), Tuple.Create("\"", 2773) , Tuple.Create(Tuple.Create("", 2695), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js") , 2695), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2797), Tuple.Create("\"", 2855) , Tuple.Create(Tuple.Create("", 2803), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/switch/bootstrap-switch.min.js") , 2803), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2879), Tuple.Create("\"", 2935) , Tuple.Create(Tuple.Create("", 2885), Tuple.Create <System.Object, System.Int32>(Href("~/Template/js/plugins/sweetalert/sweetalert.min.js") , 2885), false) ); WriteLiteral("></script>\r\n\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2961), Tuple.Create("\"", 2990) , Tuple.Create(Tuple.Create("", 2967), Tuple.Create <System.Object, System.Int32>(Href("~/Template/cube/Cube.js") , 2967), false) ); WriteLiteral("></script>\r\n\r\n <script"); WriteLiteral(" type=\"text/javascript\""); WriteLiteral(">\r\n $(\'select\').addClass(\"form-control\");\r\n //$(\"input[type=checkbo" + "x]\").bootstrapSwitch();\r\n $(\"input.chkSwitch\").bootstrapSwitch();\r\n\r\n " + " $(\'.form_datetime\').each(function () {\r\n var df = $(this).attr(\'d" + "ateformat\');\r\n if (!df) {\r\n $(this).attr(\'dateformat\'," + " \'yyyy-mm-dd hh:ii:ss\');\r\n $(this).width(140);\r\n }\r\n " + " else {\r\n // 把C#标准格式化替换为控件格式\r\n df = df.re" + "place(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\');\r\n $(th" + "is).attr(\'dateformat\', df);\r\n\r\n // 根据时间日期格式,锁定日期输入框宽度\r\n " + " if (df.indexOf(\'hh\') >= 0)\r\n $(this).width(140);\r\n " + " else\r\n $(this).width(80);\r\n }\r\n\r\n " + " //根据日期格式自动推算日期选择view显示的范围\r\n var sv = 2;\r\n var mv = 2" + ";\r\n var autoView = $(this).attr(\'autoView\');\r\n if (autoVie" + "w != \'false\') {\r\n df = $(this).attr(\'dateformat\');\r\n " + " if (df.indexOf(\'ii\') >= 0) {\r\n mv = 0;\r\n " + " if (df.indexOf(\'dd\') >= 0) {\r\n sv = 2;\r\n " + " } else {\r\n sv = 1;\r\n }\r\n " + " } else if (df.indexOf(\'hh\') >= 0) {\r\n mv = 1;\r\n " + " if (df.indexOf(\'dd\') >= 0) {\r\n sv = 2;\r\n " + " } else {\r\n sv = 1;\r\n }" + "\r\n } else if (df.indexOf(\'dd\') >= 0) {\r\n mv = " + "2;\r\n sv = 2;\r\n } else if (df.indexOf(\'mm\') >= " + "0) {\r\n mv = 3;\r\n sv = 3;\r\n " + "} else if (df.indexOf(\'yyyy\') >= 0) {\r\n mv = 4;\r\n " + " sv = 4;\r\n }\r\n }\r\n\r\n $(this).attr(\'s" + "tartview\', sv);\r\n $(this).attr(\'minview\', mv);\r\n });\r\n " + "$(\"[dateformat]\").each(function () {\r\n $(this).datetimepicker({\r\n " + " format: $(this).attr(\"dateformat\"),\r\n autoclose: true" + ",\r\n language: \"zh-CN\",\r\n forceParse: false,\r\n " + " todayBtn: true,\r\n startView: parseInt($(this).attr(\'st" + "artview\')),\r\n minView: parseInt($(this).attr(\'minview\'))\r\n " + " });\r\n });\r\n\r\n "); WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); var ua = navigator.userAgent.toLowerCase(); var _parent = self.parent; if (/iphone|ipad|ipod/.test(ua)) { if (_parent) { $(""#wrapper"").width(self.parent.window.innerWidth); } } else if (/android/.test(ua)) { var w = window.screen.width; var k = $(document).width(); if (k > w && k < 1000) { if (_parent) { $(""#wrapper"").width(self.parent.window.innerWidth); } } } </script> <!-- 独立页面脚本 --> "); WriteLiteral(" "); #line 168 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n</body>\r\n</html>"); }
public override void Execute() { #line 2 "..\..\Views\Shared\_Footer.cshtml" var footer = Nav.Root.FindByPath("尾部") ?? Nav.Root; #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"container\""); WriteLiteral(">\r\n"); #line 6 "..\..\Views\Shared\_Footer.cshtml" #line default #line hidden #line 6 "..\..\Views\Shared\_Footer.cshtml" foreach (var nav in footer.Childs) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"span3\""); WriteLiteral(">\r\n <h3>"); #line 9 "..\..\Views\Shared\_Footer.cshtml" Write(nav.Name); #line default #line hidden WriteLiteral("</h3>\r\n"); #line 10 "..\..\Views\Shared\_Footer.cshtml" #line default #line hidden #line 10 "..\..\Views\Shared\_Footer.cshtml" foreach (var item in nav.Childs) { #line default #line hidden WriteLiteral(" <a"); WriteAttribute("href", Tuple.Create(" href=\"", 302), Tuple.Create("\"", 318) #line 12 "..\..\Views\Shared\_Footer.cshtml" , Tuple.Create(Tuple.Create("", 309), Tuple.Create <System.Object, System.Int32>(item.Url #line default #line hidden , 309), false) ); WriteAttribute("target", Tuple.Create(" target=\"", 319), Tuple.Create("\"", 380) #line 12 "..\..\Views\Shared\_Footer.cshtml" , Tuple.Create(Tuple.Create("", 328), Tuple.Create <System.Object, System.Int32>(item.Url.StartsWithIgnoreCase("http")?"_blank":"" #line default #line hidden , 328), false) ); WriteLiteral(">"); #line 12 "..\..\Views\Shared\_Footer.cshtml" Write(item.Name); #line default #line hidden WriteLiteral("</a>"); WriteLiteral("<br>\r\n"); #line 13 "..\..\Views\Shared\_Footer.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n"); #line 15 "..\..\Views\Shared\_Footer.cshtml" } #line default #line hidden WriteLiteral("</div>\r\n<div"); WriteLiteral(" class=\"container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <p>"); #line 19 "..\..\Views\Shared\_Footer.cshtml" Write(SysConfig.Current.Company); #line default #line hidden WriteLiteral(" © "); #line 19 "..\..\Views\Shared\_Footer.cshtml" Write(DateTime.Now.Year); #line default #line hidden WriteLiteral(" 设计制作:<a"); WriteLiteral(" href=\"http://www.newlifex.com\""); WriteLiteral(" target=\"_blank\""); WriteLiteral(">新生命开发团队</a></p>\r\n </div>\r\n</div>\r\n"); #line 22 "..\..\Views\Shared\_Footer.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 25 "..\..\Views\Shared\_Footer.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 27 "..\..\Views\Shared\_Footer.cshtml" } #line default #line hidden }
public override void Execute() { #line 2 "..\..\Views\Shared\_Ace_Layout.cshtml" var menu = ManageProvider.Menu.Current; #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 <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode\""); WriteLiteral(" />\r\n "); WriteLiteral("\r\n <title>"); #line 13 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.Title); #line default #line hidden WriteLiteral(" - "); #line 13 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(SysConfig.Current.DisplayName); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 477), Tuple.Create("\"", 497) , Tuple.Create(Tuple.Create("", 484), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 484), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 17 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 636), Tuple.Create("\"", 692) , Tuple.Create(Tuple.Create("", 643), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-multiselect.css") , 643), false) ); 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]--> <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 987), Tuple.Create("\"", 1051) , Tuple.Create(Tuple.Create("", 994), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.css") , 994), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1083), Tuple.Create("\"", 1141) , Tuple.Create(Tuple.Create("", 1090), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.css") , 1090), false) ); WriteLiteral(">\r\n\r\n <!-- 最后引入基本样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1196), Tuple.Create("\"", 1244) , Tuple.Create(Tuple.Create("", 1203), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap.min.css") , 1203), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1274), Tuple.Create("\"", 1325) , Tuple.Create(Tuple.Create("", 1281), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/font-awesome.min.css") , 1281), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1357), Tuple.Create("\"", 1411) , Tuple.Create(Tuple.Create("", 1364), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-theme.min.css") , 1364), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1441), Tuple.Create("\"", 1500) , Tuple.Create(Tuple.Create("", 1448), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-responsive.min.css") , 1448), false) ); WriteLiteral(">\r\n\r\n <!-- 文本字体 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1551), Tuple.Create("\"", 1593) , Tuple.Create(Tuple.Create("", 1558), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace-fonts.min.css") , 1558), false) ); WriteLiteral(">\r\n <!-- ace 样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1644), Tuple.Create("\"", 1680) , Tuple.Create(Tuple.Create("", 1651), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace.min.css") , 1651), false) ); WriteLiteral(" class=\"ace-main-stylesheet\""); WriteLiteral(" id=\"main-ace-style\""); WriteLiteral(">\r\n\r\n <!-- 自定义样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1780), Tuple.Create("\"", 1805) , Tuple.Create(Tuple.Create("", 1787), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.css") , 1787), false) ); WriteLiteral(">\r\n <!-- JQuery作为一等公民,页面内部随时可能使用 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1858), Tuple.Create("\"", 1896) , Tuple.Create(Tuple.Create("", 1864), Tuple.Create <System.Object, System.Int32>(Href("~/Content/js/jquery-2.1.3.min.js") , 1864), false) ); WriteLiteral("></script>\r\n</head>\r\n<body>\r\n <div"); WriteLiteral(" class=\"panel panel-default\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"breadcrumbs\""); WriteLiteral(" id=\"breadcrumbs\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 52 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Partial("_Layout_Nav")); #line default #line hidden WriteLiteral("\r\n </ul>\r\n </div>\r\n <div"); WriteLiteral(" class=\"page-content\""); WriteLiteral(">\r\n <section"); WriteLiteral(" class=\"content-wrapper main-content clear-fix\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 57 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Partial("_Layout_Header")); #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 58 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </section>\r\n </div>\r\n"); #line 61 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 61 "..\..\Views\Shared\_Ace_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 64 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 66 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- 最早引入基本脚本 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2581), Tuple.Create("\"", 2626) , Tuple.Create(Tuple.Create("", 2587), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap.min.js") , 2587), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2650), Tuple.Create("\"", 2707) , Tuple.Create(Tuple.Create("", 2656), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap-multiselect.min.js") , 2656), false) ); WriteLiteral("></script>\r\n\r\n <!-- ace 设置 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2754), Tuple.Create("\"", 2787) , Tuple.Create(Tuple.Create("", 2760), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/js/ace.min.js") , 2760), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2811), Tuple.Create("\"", 2853) , Tuple.Create(Tuple.Create("", 2817), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/js/ace-elements.min.js") , 2817), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2877), Tuple.Create("\"", 2916) , Tuple.Create(Tuple.Create("", 2883), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/js/ace-extra.min.js") , 2883), 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]--> "); WriteLiteral(" "); #line 82 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3260), Tuple.Create("\"", 3322) , Tuple.Create(Tuple.Create("", 3266), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.js") , 3266), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 3346), Tuple.Create("\"", 3418) , Tuple.Create(Tuple.Create("", 3352), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/locales/bootstrap-datetimepicker.zh-CN.js") , 3352), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\'.form_datetime\'" + ").each(function () {\r\n var df = $(this).attr(\'dateformat\');\r\n " + " if (!df) {\r\n $(this).attr(\'dateformat\', \'yyyy-mm-" + "dd hh:ii:ss\');\r\n $(this).width(140);\r\n }\r\n " + " else {\r\n // 把C#标准格式化替换为控件格式\r\n " + "df = df.replace(\'mm\', \'ii\').replace(\'MM\', \'mm\').replace(\'HH\', \'hh\');\r\n " + " $(this).attr(\'dateformat\', df);\r\n\r\n // 根据时间日期格式,锁定日" + "期输入框宽度\r\n if (df.indexOf(\'hh\') >= 0)\r\n " + "$(this).width(140);\r\n else\r\n $(this).w" + "idth(80);\r\n }\r\n });\r\n $(\"[dateformat]\").eac" + "h(function () {\r\n $(this).datetimepicker({\r\n f" + "ormat: $(this).attr(\"dateformat\"),\r\n autoclose: true,\r\n " + " language: \"zh-CN\",\r\n forceParse: false,\r\n " + " startView: 2,\r\n minView: 2\r\n });" + "\r\n });\r\n $(\'.multiselect\').each(function () {\r\n " + " $(this).multiselect({\r\n // 下拉列表仅在列表项比较多时显示过滤框\r\n " + " enableFiltering: $(this).children().length > 10,\r\n " + " buttonClass: \'btn btn-white btn-primary\',\r\n templates: {\r\n " + " button: \'<button type=\"button\" class=\"multiselect dropdown" + "-toggle\" data-toggle=\"dropdown\"></button>\',\r\n ul: \'<ul cl" + "ass=\"multiselect-container dropdown-menu\"></ul>\',\r\n filte" + "r: \'<li class=\"multiselect-item filter\"><div class=\"input-group\"><span class=\"in" + "put-group-addon\"><i class=\"fa fa-search\"></i></span><input class=\"form-control m" + "ultiselect-search\" type=\"text\"></div></li>\',\r\n filterClea" + "rBtn: \'<span class=\"input-group-btn\"><button class=\"btn btn-default btn-white bt" + "n-grey multiselect-clear-filter\" type=\"button\"><i class=\"fa fa-times-circle red2" + "\"></i></button></span>\',\r\n li: \'<li><a href=\"javascript:v" + "oid(0);\"><label></label></a></li>\',\r\n divider: \'<li class" + "=\"multiselect-item divider\"></li>\',\r\n liGroup: \'<li class" + "=\"multiselect-item group\"><label class=\"multiselect-group\"></label></li>\'\r\n " + " },\r\n filterPlaceholder: \'搜索\',\r\n " + " nonSelectedText: \'无\',\r\n allSelectedText: \'全选\'\r\n " + " });\r\n });\r\n "); WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6504), Tuple.Create("\"", 6560) , Tuple.Create(Tuple.Create("", 6510), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.js") , 6510), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input[type=chec" + "kbox]\").bootstrapSwitch();\r\n })\r\n </script>\r\n\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6731), Tuple.Create("\"", 6754) , Tuple.Create(Tuple.Create("", 6737), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.js") , 6737), false) ); WriteLiteral("></script>\r\n</body>\r\n</html>"); }
public override void Execute() { #line 2 "..\..\Views\Shared\_Ace_Layout.cshtml" var menu = ManageProvider.Menu.Current; var set = NewLife.Cube.Setting.Current; #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 <meta"); WriteLiteral(" name=\"description\""); WriteLiteral(" content=\"新生命团队,NewLife,魔方,Cube,XCode\""); WriteLiteral(" />\r\n "); WriteLiteral("\r\n <title>"); #line 14 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.Title); #line default #line hidden WriteLiteral(" - "); #line 14 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(SysConfig.Current.DisplayName); #line default #line hidden WriteLiteral("</title>\r\n <link"); WriteAttribute("href", Tuple.Create(" href=\"", 522), Tuple.Create("\"", 542) , Tuple.Create(Tuple.Create("", 529), Tuple.Create <System.Object, System.Int32>(Href("~/favicon.ico") , 529), false) ); WriteLiteral(" rel=\"shortcut icon\""); WriteLiteral(" type=\"image/x-icon\""); WriteLiteral(">\r\n\r\n <!-- 页面内联样式 -->\r\n"); WriteLiteral(" "); #line 18 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("css", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 20 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 20 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 723), Tuple.Create("\"", 779) , Tuple.Create(Tuple.Create("", 730), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-multiselect.css") , 730), false) ); WriteLiteral(">\r\n"); #line 23 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 818), Tuple.Create("\"", 882) , Tuple.Create(Tuple.Create("", 825), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.css") , 825), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 914), Tuple.Create("\"", 972) , Tuple.Create(Tuple.Create("", 921), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.css") , 921), false) ); WriteLiteral(">\r\n\r\n <!-- 最后引入基本样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1027), Tuple.Create("\"", 1075) , Tuple.Create(Tuple.Create("", 1034), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap.min.css") , 1034), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1105), Tuple.Create("\"", 1156) , Tuple.Create(Tuple.Create("", 1112), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/font-awesome.min.css") , 1112), false) ); WriteLiteral(">\r\n\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1188), Tuple.Create("\"", 1242) , Tuple.Create(Tuple.Create("", 1195), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-theme.min.css") , 1195), false) ); WriteLiteral(">\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1272), Tuple.Create("\"", 1331) , Tuple.Create(Tuple.Create("", 1279), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/css/bootstrap-responsive.min.css") , 1279), false) ); WriteLiteral(">\r\n\r\n <!-- 文本字体 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1382), Tuple.Create("\"", 1424) , Tuple.Create(Tuple.Create("", 1389), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace-fonts.min.css") , 1389), false) ); WriteLiteral(">\r\n <!-- ace 样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1475), Tuple.Create("\"", 1511) , Tuple.Create(Tuple.Create("", 1482), Tuple.Create <System.Object, System.Int32>(Href("~/Content/ace/css/ace.min.css") , 1482), false) ); WriteLiteral(" class=\"ace-main-stylesheet\""); WriteLiteral(" id=\"main-ace-style\""); WriteLiteral(">\r\n\r\n <!-- 自定义样式 -->\r\n <link"); WriteLiteral(" rel=\"stylesheet\""); WriteAttribute("href", Tuple.Create(" href=\"", 1611), Tuple.Create("\"", 1636) , Tuple.Create(Tuple.Create("", 1618), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.css") , 1618), false) ); WriteLiteral(">\r\n <!-- JQuery作为一等公民,页面内部随时可能使用 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 1689), Tuple.Create("\"", 1727) , Tuple.Create(Tuple.Create("", 1695), Tuple.Create <System.Object, System.Int32>(Href("~/Content/js/jquery-2.1.3.min.js") , 1695), false) ); WriteLiteral("></script>\r\n</head>\r\n<body>\r\n <div"); WriteLiteral(" class=\"panel panel-default\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"breadcrumbs\""); WriteLiteral(" id=\"breadcrumbs\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 50 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Partial("_Ace_Layout_Nav")); #line default #line hidden WriteLiteral("\r\n </ul>\r\n <div"); WriteLiteral(" style=\"float: right; margin-left: 40px;\""); WriteLiteral(">"); #line 52 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(ViewBag.HeaderContent); #line default #line hidden WriteLiteral("</div>\r\n </div>\r\n <div"); WriteLiteral(" class=\"page-content\""); WriteLiteral(">\r\n <section"); WriteLiteral(" class=\"content-wrapper main-content clear-fix\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 56 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderBody()); #line default #line hidden WriteLiteral("\r\n </section>\r\n </div>\r\n"); #line 59 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 59 "..\..\Views\Shared\_Ace_Layout.cshtml" if (DbRunTimeModule.Enable) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"panel-footer\""); WriteLiteral(">\r\n"); WriteLiteral(" "); #line 62 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(Html.Raw(DbRunTimeModule.GetInfo())); #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 64 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <!-- 最早引入基本脚本 -->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2455), Tuple.Create("\"", 2500) , Tuple.Create(Tuple.Create("", 2461), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap.min.js") , 2461), false) ); WriteLiteral("></script>\r\n"); #line 68 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 68 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set.BootstrapSelect) { #line default #line hidden WriteLiteral(" <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2566), Tuple.Create("\"", 2623) , Tuple.Create(Tuple.Create("", 2572), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap/js/bootstrap-multiselect.min.js") , 2572), false) ); WriteLiteral("></script>\r\n"); #line 71 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 73 "..\..\Views\Shared\_Ace_Layout.cshtml" Write(RenderSection("scripts", required: false)); #line default #line hidden WriteLiteral("\r\n\r\n <!--日历控件支持-->\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2725), Tuple.Create("\"", 2787) , Tuple.Create(Tuple.Create("", 2731), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/bootstrap-datetimepicker.min.js") , 2731), false) ); WriteLiteral("></script>\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 2811), Tuple.Create("\"", 2883) , Tuple.Create(Tuple.Create("", 2817), Tuple.Create <System.Object, System.Int32>(Href("~/Content/DateTimePicker/locales/bootstrap-datetimepicker.zh-CN.js") , 2817), false) ); WriteLiteral(@"></script> <script> $(function () { $('.form_datetime').each(function () { var df = $(this).attr('dateformat'); if (!df) { $(this).attr('dateformat', 'yyyy-mm-dd hh:ii:ss'); $(this).width(140); } else { // 把C#标准格式化替换为控件格式 df = df.replace('mm', 'ii').replace('MM', 'mm').replace('HH', 'hh'); $(this).attr('dateformat', df); // 根据时间日期格式,锁定日期输入框宽度 if (df.indexOf('hh') >= 0) $(this).width(140); else $(this).width(80); } }); $(""[dateformat]"").each(function () { $(this).datetimepicker({ format: $(this).attr(""dateformat""), autoclose: true, language: ""zh-CN"", forceParse: false, startView: 2, minView: 2 }); }); "); #line 108 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden #line 108 "..\..\Views\Shared\_Ace_Layout.cshtml" if (set.BootstrapSelect) { #line default #line hidden WriteLiteral(@" $('.multiselect').each(function () { $(this).multiselect({ // 下拉列表仅在列表项比较多时显示过滤框 enableFiltering: $(this).children().length > 10, buttonClass: 'btn btn-white btn-primary', templates: { button: '<button"); WriteLiteral(" type=\"button\""); WriteLiteral(" class=\"multiselect dropdown-toggle\""); WriteLiteral(" data-toggle=\"dropdown\""); WriteLiteral("></button>\',\r\n ul: \'<ul"); WriteLiteral(" class=\"multiselect-container dropdown-menu\""); WriteLiteral("></ul>\',\r\n filter: \'<li"); WriteLiteral(" class=\"multiselect-item filter\""); WriteLiteral("><div"); WriteLiteral(" class=\"input-group\""); WriteLiteral("><span"); WriteLiteral(" class=\"input-group-addon\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-search\""); WriteLiteral("></i></span><input"); WriteLiteral(" class=\"form-control multiselect-search\""); WriteLiteral(" type=\"text\""); WriteLiteral("></div></li>\',\r\n filterClearBtn: \'<span"); WriteLiteral(" class=\"input-group-btn\""); WriteLiteral("><button"); WriteLiteral(" class=\"btn btn-default btn-white btn-grey multiselect-clear-filter\""); WriteLiteral(" type=\"button\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-times-circle red2\""); WriteLiteral("></i></button></span>\',\r\n li: \'<li><a"); WriteLiteral(" href=\"javascript:void(0);\""); WriteLiteral("><label></label></a></li>\',\r\n divider: \'<li"); WriteLiteral(" class=\"multiselect-item divider\""); WriteLiteral("></li>\',\r\n liGroup: \'<li"); WriteLiteral(" class=\"multiselect-item group\""); WriteLiteral("><label"); WriteLiteral(" class=\"multiselect-group\""); WriteLiteral("></label></li>\'\r\n },\r\n filterPlaceholder: \'" + "搜索\',\r\n nonSelectedText: \'无\',\r\n allSelected" + "Text: \'全选\'\r\n });\r\n });\r\n "); #line 128 "..\..\Views\Shared\_Ace_Layout.cshtml" } #line default #line hidden #line 131 "..\..\Views\Shared\_Ace_Layout.cshtml" #line default #line hidden WriteLiteral(@" $('tr').dblclick(function () { var $this = $(this); var row = $this.closest(""tr""); var findcell = row.find('.editcell'); if (findcell.length > 0) window.location.href = findcell.attr(""href""); }); }); </script> <!--开关插件--> <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6046), Tuple.Create("\"", 6102) , Tuple.Create(Tuple.Create("", 6052), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-switch/bootstrap-switch.min.js") , 6052), false) ); WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n $(\"input[type=chec" + "kbox]\").bootstrapSwitch();\r\n })\r\n </script>\r\n\r\n "); WriteLiteral("\r\n <script"); WriteAttribute("src", Tuple.Create(" src=\"", 6273), Tuple.Create("\"", 6296) , Tuple.Create(Tuple.Create("", 6279), Tuple.Create <System.Object, System.Int32>(Href("~/Content/Cube.js") , 6279), false) ); WriteLiteral("></script>\r\n</body>\r\n</html>"); }