Example #1
0
        public static MvcHtmlString MyPanel(this HtmlHelper value, string Id, string titulo)
        {
            var objQuantCols = new PropertiesQuantityColumns();
            var template     = TemplateCard(Id, objQuantCols);

            template += titulo + "</div>";


            template += "                <div class='card-body'>";

            return(new MvcHtmlString(template));
        }
Example #2
0
        public static string TemplateCard(string Id, PropertiesQuantityColumns objQuantCols)
        {
            var template = "<div class='row form-inline' id='" + Id + "'>";

            template += "<div class='container'>";
            //template += "    <div class='row'>";
            template += "        <div class='row col-xs-" + objQuantCols.Xs.ToString() + " col-md-" + objQuantCols.Md.ToString() + "'>";


            template += "       <div class='card text-center'>";
            template += "           <div class='card-header'>";

            return(template);
        }