コード例 #1
0
        public static StringBuilder GetMain()
        {
            StringBuilder _str = new StringBuilder();

            _str.AppendLine("<div class='ui horizontal divider header container'>");
            _str.AppendLine("   <i class='student icon font-th regular black'></i>&nbsp;");
            _str.AppendLine("   <span class='lang lang-th f7 font-th regular black'>ทุน</span>");
            _str.AppendLine("   <span class='lang lang-en f7 font-en regular black'>Scholarship</span>");
            _str.AppendLine("</div>");
            _str.AppendLine("<div class='paddingTop10'>");
            _str.AppendFormat(" <div class='ui container' id='{0}'>", _idContent);
            _str.AppendFormat("     <div class='mini ui button' id='{0}-btnadd'>", _idContent);
            _str.AppendLine("           <i class='icon plus font-th regular black'></i>");
            _str.AppendLine("           <span class='lang lang-th f9 font-th regular black'>เพิ่มทุนใหม่</span>");
            _str.AppendLine("           <span class='lang lang-en f9 font-en regular black'>Add Scholarship</span>");
            _str.AppendLine("       </div>");
            _str.AppendFormat("     <div id='{0}'>{1}</div>", SearchUI._idContent, SearchUI.GetMain());
            _str.AppendFormat("     <div id='{0}'></div>", AddUpdateUI._idContent);
            _str.AppendFormat("     <div id='{0}'></div>", ListUI._idContent);
            _str.AppendLine("   </div>");
            _str.AppendLine("</div>");

            return(_str);
        }
コード例 #2
0
        public static StringBuilder GetMain()
        {
            StringBuilder _str = new StringBuilder();

            _str.AppendLine("   <div class='ui horizontal divider header container'>");
            _str.AppendLine("       <i class='pointing up icon font-th regular black'></i>&nbsp;");
            _str.AppendLine("       <span class='lang lang-th f7 font-th regular black'>สมัครรับทุน</span>");
            _str.AppendLine("       <span class='lang lang-en f7 font-en regular black'>Register Scholarship</span>");
            _str.AppendLine("   </div>");
            _str.AppendLine("   <div class='paddingTop10'>");
            _str.AppendFormat("     <div class='ui container' id='{0}'>", _idContent);
            _str.AppendFormat("         <div id='{0}'>{1}</div>", SearchUI._idContent, SearchUI.GetMain());
            _str.AppendFormat("         <div id='{0}'></div>", ListUI._idContent);
            _str.AppendLine("       </div>");
            _str.AppendLine("   </div>");

            return(_str);
        }