public static System.Web.WebPages.HelperResult GetPageIconClass(TocPageInfo page)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
                string progressClass;
                string typeClass;
                if (page.PageType == TocPageType.InstructorNotes || page.PageType == TocPageType.UnitStatistics)
                {
                    typeClass = "glyphicon-eye-close";
                    progressClass = "navbar-label-privileged";
                }
                else
                {
                    var isComplete = !page.ShouldBeSolved || page.IsSolved;
                    progressClass = isComplete ? "navbar-label-success"
                        : (page.IsVisited ? "navbar-label-danger" : "navbar-label-default");
                    typeClass = page.PageType == TocPageType.Quiz ? "glyphicon-pushpin"
                        : page.PageType == TocPageType.Exercise ? (isComplete ? "glyphicon-check" : "glyphicon-edit")
                                : (page.IsVisited ? "glyphicon-ok" : "glyphicon-none");
                }

                WriteTo(__razor_helper_writer, progressClass + " glyphicon " + typeClass);
            }));

#line default
#line hidden
        }
        public static System.Web.WebPages.HelperResult TocItem(TocPageInfo page)
        {
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\t<li class=\"slide-list-item ");


                WebViewPage.WriteTo(@__razor_helper_writer, page.IsCurrent ? "selected" : "");

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, " full-size\" onclick=\"window.location.href=\'");


                WebViewPage.WriteTo(@__razor_helper_writer, page.Url);

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\'\" data-slide-id=\"");


                WebViewPage.WriteTo(@__razor_helper_writer, page.SlideId);

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\">\r\n\t\t<i class=\"");


                WebViewPage.WriteTo(@__razor_helper_writer, GetPageIconClass(page));

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, " navbar-label\" title=\"");


                WebViewPage.WriteTo(@__razor_helper_writer, GetTocPageTytle(page.PageType));

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\"></i>\r\n\t\t<a href=\"");


                WebViewPage.WriteTo(@__razor_helper_writer, page.Url);

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\" style=\"margin-right: 5px\">");


                WebViewPage.WriteTo(@__razor_helper_writer, page.Name);

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "</a>\r\n\t\t<span class=\"score right\">");


                WebViewPage.WriteTo(@__razor_helper_writer, SlideHtml.Score(page.Score, page.MaxScore));

                WebViewPage.WriteLiteralTo(@__razor_helper_writer, "</span>\r\n\t</li>\r\n");
            }));
        }
        public static System.Web.WebPages.HelperResult TocItem(TocPageInfo page)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
                WriteLiteralTo(__razor_helper_writer, "\t<a");

                WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 1813), Tuple.Create("\"", 1829)
                                 , Tuple.Create(Tuple.Create("", 1820), Tuple.Create <System.Object, System.Int32>(page.Url
                                                                                                                   , 1820), false)
                                 );

                WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 1830), Tuple.Create("\"", 1874)
                                 , Tuple.Create(Tuple.Create("", 1838), Tuple.Create <System.Object, System.Int32>(page.IsCurrent ? "selected" : ""
                                                                                                                   , 1838), false)
                                 );

                WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t<span");

                WriteLiteralTo(__razor_helper_writer, " class=\"slide-list-item clickable full-size\"");

                WriteLiteralTo(__razor_helper_writer, " data-slide-id=\"");

                WriteTo(__razor_helper_writer, page.SlideId);

                WriteLiteralTo(__razor_helper_writer, "\"");

                WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t<i");

                WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 1967), Tuple.Create("\"", 2011)
                                 , Tuple.Create(Tuple.Create("", 1975), Tuple.Create <System.Object, System.Int32>(GetPageIconClass(page)
                                                                                                                   , 1975), false)
                                 , Tuple.Create(Tuple.Create(" ", 1998), Tuple.Create("navbar-label", 1999), true)
                                 );

                WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 2012), Tuple.Create("\"", 2051)
                                 , Tuple.Create(Tuple.Create("", 2020), Tuple.Create <System.Object, System.Int32>(GetTocPageTytle(page.PageType)
                                                                                                                   , 2020), false)
                                 );

                WriteLiteralTo(__razor_helper_writer, "></i>\r\n\t\t\t<span");

                WriteLiteralTo(__razor_helper_writer, " class=\"underline-on-parent-hover\"");

                WriteLiteralTo(__razor_helper_writer, " style=\"margin-right: 5px\"");

                WriteLiteralTo(__razor_helper_writer, ">");

                WriteTo(__razor_helper_writer, page.Name);

                WriteLiteralTo(__razor_helper_writer, "</span>\r\n\t\t\t<span");

                WriteLiteralTo(__razor_helper_writer, " class=\"score right\"");

                WriteLiteralTo(__razor_helper_writer, ">");

                WriteTo(__razor_helper_writer, SlideHtml.ShowScore(page.Score, page.MaxScore));

                WriteLiteralTo(__razor_helper_writer, "</span>\r\n\t\t</span>\r\n\t</a>\r\n");
            }));

#line default
#line hidden
        }