Ejemplo n.º 1
0
 public override object Get()
 {
     return(div[
                TestControls.StatsLinks(Url, Model.GroupId, true),
                Model.ModuleSetStats.OrderBy(x => x.Set.Number).Select(x =>
                                                                       div[p[strong[x.Set.Number + "."], " ", x.Set.Description],
                                                                           Users(x.UserTests)]
                                                                       )]);
 }
Ejemplo n.º 2
0
 public override object Get()
 {
     return(div[TestControls.StatsLinks(Url, Model.GroupId, false),
                H.table[H.Head("Вопрос", "Правильно (%)"),
                        Model.QuestionStats.OrderBy(x => x.Item2).Select(x =>
                                                                         H.Row(Model.QuestionNames[x.Item1],
                                                                               x.Item2
                                                                               ))]
                .Class("defaultTable")]);
 }