public static string html_getShopMenu(menu_2_item currentMenuItem) { xjcString s = new xjcString(); s.append("<div style='"); s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;"); s.append("'>"); s.append(GlobalGui.html_getText("Ingen elementer her", 3)); /*s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_view, currentMenuItem)); * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_create, currentMenuItem)); * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_admin_details, currentMenuItem)); */ s.append("</div>"); return(s.toString()); }
public static string html_getWorkPageScroll(menu_2_item menuItem, string sText) { xjcString s = new xjcString(); s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>"); s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1)); s.append("</div>"); s.append(GlobalGui.html_get_newline()); s.append("<div class=work_page >"); s.append("<div id=message_line>"); s.append("</div>"); s.append(sText); s.append("</div>"); return(s.toString()); }
public static string html_getWorkPageNoWidth(menu_2_item menuItem, string sText) { xjcString s = new xjcString(); s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>"); s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1)); s.append("</div>"); s.append(GlobalGui.html_get_newline()); s.append("<div style='"); s.append("float:left;margin:4px;border-radius:8px;height:600px;overflow:auto;padding:20px;background-color:rgb(250,250,250);color:rgb(50,50,50);font-size:" + GlobalGui.getFontSize(3) + "px;border: 4px rgb(230,230,230) solid;"); s.append("'>"); s.append("<div id=message_line>"); s.append("</div>"); s.append(sText); s.append("</div>"); return(s.toString()); }