Esempio n. 1
0
        public override void Execute()
        {
            #line 2 "..\..\Areas\Backend\Views\Button\Detail.cshtml"

            ViewBag.Title       = ViewBag.HaviorInfo.Name + " - " + ViewBag.SysSetInfo.Name;
            Layout              = ViewBag.HaviorInfo.Layout;
            ViewBag.Keywords    = ViewBag.SysSetInfo.Keywords;
            ViewBag.Description = ViewBag.SysSetInfo.Description;
            ViewBag.Copyright   = ViewBag.SysSetInfo.Copyright;


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

            DefineSection("head", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 11 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.HeadCode));


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

            WriteLiteral("\r\n");

            DefineSection("crumbs", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 15 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.Crumbs));


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

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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">所属行为</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 21 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.HaviorName);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">按钮名称</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 27 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.Name);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">按钮描述</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 33 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.Remark, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">排序数字</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 39 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.Sort);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">绑定事件</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 45 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.Event);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">调用方法</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 51 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.Invoke);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">方法定义</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-code-wrap monk-full\"");

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

            WriteLiteral(" class=\"monk-code\"");

            WriteLiteral(" data-language=\"JAVASCRIPT\"");

            WriteLiteral(">");


            #line 57 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Model.Handle);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">标签属性</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 63 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.TagAttr, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">字体图标</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 69 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Html.Raw(DataToHtmlHelper.GetIconfont(Model.Iconfont)));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">开放状态</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 75 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(Html.Raw(DataToHtmlHelper.StatusHtml(Model.Enable)));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">更新时间</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 82 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.UpdateTime, "无"));


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

            DefineSection("operate", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 87 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
                Write(Html.HiddenFor(u => u.ButtonID));


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

                WriteLiteral("    ");


            #line 88 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.FormButtons));


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

            WriteLiteral("\r\n");

            DefineSection("foot", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 92 "..\..\Areas\Backend\Views\Button\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.FootCode));


            #line default
            #line hidden
                WriteLiteral("\r\n");
            });
        }
Esempio n. 2
0
        public override void Execute()
        {
            #line 2 "..\..\Areas\Backend\Views\Module\Detail.cshtml"

            ViewBag.Title       = ViewBag.HaviorInfo.Name + " - " + ViewBag.SysSetInfo.Name;
            Layout              = ViewBag.HaviorInfo.Layout;
            ViewBag.Keywords    = ViewBag.SysSetInfo.Keywords;
            ViewBag.Description = ViewBag.SysSetInfo.Description;
            ViewBag.Copyright   = ViewBag.SysSetInfo.Copyright;


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

            DefineSection("head", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 10 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.HeadCode));


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

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

            DefineSection("crumbs", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 15 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.Crumbs));


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

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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">上级栏目</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 21 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.ParentName, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">栏目名称</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 28 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(Model.Name);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">栏目描述</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 34 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.Remark, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">排序数字</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 40 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(Model.Sort);


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">标签属性</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 46 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.TagAttr, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">字体图标</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 52 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(Html.Raw(DataToHtmlHelper.GetIconfont(Model.Iconfont)));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">开放状态</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 58 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(Html.Raw(DataToHtmlHelper.StatusHtml(Model.Enable)));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">默认数据</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 64 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(Html.Raw(DataToHtmlHelper.StatusHtml(Model.Default)));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">创建时间</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 70 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.CreateTime, "无"));


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

            WriteLiteral(" class=\"monk-form-item\"");

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

            WriteLiteral(" for=\"\"");

            WriteLiteral(" class=\"monk-form-label\"");

            WriteLiteral(">更新时间</label>\r\n    <div");

            WriteLiteral(" class=\"monk-form-wrap monk-form-detail-wrap monk-full\"");

            WriteLiteral(">\r\n");

            WriteLiteral("        ");


            #line 76 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
            Write(DataToHtmlHelper.NullHtml(Model.UpdateTime, "无"));


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

            DefineSection("operate", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 81 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
                Write(Html.HiddenFor(u => u.ModuleID));


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

                WriteLiteral("    ");


            #line 82 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.FormButtons));


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

            WriteLiteral("\r\n");

            DefineSection("foot", () => {
                WriteLiteral("\r\n");

                WriteLiteral("    ");


            #line 86 "..\..\Areas\Backend\Views\Module\Detail.cshtml"
                Write(Html.Raw(ViewBag.HaviorInfo.FootCode));


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