private IHtmlContent Small(TModel mode) { var div3 = TagHelper.Div("col-md-5 col-md-offset-1", this.left.Render(mode)); var div6 = TagHelper.Div("col-md-5", this.right.Render(mode)); return(TagHelper.Content(div3, div6)); }
private IHtmlContent Middle(TModel mode) { var div1 = TagHelper.Div("card-content", this.left.Render(mode)); int width = (int)this.left.Width; var div2 = TagHelper.Div(this.GetClass(width, 1), div1); var div3 = TagHelper.Div("card-content", this.right.Render(mode)); var div4 = TagHelper.Div(this.GetClass((int)this.right.Width, 5 - width), div3); return(TagHelper.Content(div2, div4)); }
private IHtmlContent Small(TModel mode) { // 5 , 2, 3 var div1 = TagHelper.Div("card-content", this.left.Render(mode)); var div2 = TagHelper.Div(this.GetClass(5, 1), div1); var div3 = TagHelper.Div("card-content", this.middle.Render(mode)); var div4 = TagHelper.Div(this.GetClass(2, 0), div3); var div5 = TagHelper.Div("card-content", this.right.Render(mode)); var div6 = TagHelper.Div(this.GetClass(3, 0), div5); return(TagHelper.Content(div2, div4, div6)); }