public override XElement Build() { var item = base.Build(); var container = new Div("grid-x grid-margin-x"); var messageDiv = new Div("large-10 cell"); messageDiv.Append(new Paragraph(Message)); container.Append(messageDiv); container.Append(ConfigurateModal(Message, PathToImage)); item.Add(container.Build()); return(item); }
public override XElement Build() { var grid = new Div("grid-x grid-margin-x"); var cell = new Div("cell log-aggregation"); grid.Append(cell); if (HasSimpleLogItems) { cell.Append(new Slider()); } cell.Append(GetAccordion()); return(grid.Build()); }
public override XElement Build() { var grid = new Div("grid-x grid-margin-x"); var cell = new Div("cell log-aggregation"); var title = new XElement("h3", $"{TestName}{(!string.IsNullOrEmpty(Description) ? $"({Description})" : null)}"); var status = new XElement("p", $"Status : {Status}"); var duration = new XElement("p", $"Duration : {Duration}"); cell.Append(title, status, duration); grid.Append(cell); if (HasSimpleLogItems) { cell.Append(new Slider()); } cell.Append(GetAccordion()); return(grid.Build()); }