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()); }
// Mountain BYTE Menypunkter i work page public static string html_getAdminMenu(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(html_getMenuItem_level_2(menu_2_item.admin_user_login_email, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_facebook, currentMenuItem)); // s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_phone, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_coupon_view, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_facebook, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_email, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_verify_consumer_from_pincode, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_email, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_email_set_new_password, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_phone, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_demo_card, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(GlobalGui.html_get_newline()); // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create, currentMenuItem)); // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_view, currentMenuItem)); // s.append(GlobalGui.html_hor_space(30)); s.append(GlobalGui.html_get_newline()); // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_chain_create, currentMenuItem)); // s.append(GlobalGui.html_hor_space(30)); s.append(GlobalGui.html_get_newline()); // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_create, currentMenuItem)); // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_shop_connect, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_create, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_approve, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_user_show_webservices, currentMenuItem)); s.append("</div>"); return(s.toString()); }
public static string html_getTerminalMenu(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_hor_space(70)); // s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem)); s.append(GlobalGui.html_hor_space(70)); // s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem)); // s.append(GlobalGui.html_hor_space(70)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem)); // s.append(GlobalGui.html_hor_space(70)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem)); s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem)); s.append(GlobalGui.html_get_newline()); s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string, currentMenuItem)); s.append(GlobalGui.html_hor_space(70)); s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string_in_string_out, currentMenuItem)); s.append(GlobalGui.html_get_newline()); // s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_get_shop_consumer_token_coupons, currentMenuItem)); // s.append(GlobalGui.html_get_newline()); s.append(html_getMenuItem_level_2(menu_2_item.point_interface_form, currentMenuItem)); s.append(GlobalGui.html_get_newline()); /* s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_int, currentMenuItem)); * s.append(GlobalGui.html_hor_space(70)); * * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_bool, currentMenuItem)); * s.append(GlobalGui.html_hor_space(70)); */ s.append("</div>"); return(s.toString()); }