||title|| - ||domain||

# Completely hide the normal surgeweb login page by redirecting elsewhere ||if(not(blank(my_login_service)))||
||template_exit()|| ||endif|| # Switch http connections to https if required ||if(and(not(istrue(https_secured)),or(equal(https_required,(true)),equal(https_required,(login_only)))))|| ||template_exit()|| ||endif|| # Normal surgeweb login page ||ifndef||domain defs load|| ||if(istrue(custom_css))||||endif|| ||if(istrue(custom_js))||
||endif|| ||endif|| ||ifdef||live_id||
||include||shared/modules/_live_win.htm|| ||endif|| #
$$st_loading_init$$ $$st_loading_step1$$
||$((st_loading_if))||
$$st_loading_init$$
$$st_loading_if2$$
$$sw_cookie_warn1$$
$$sw_cookie_warn2$$
$$sw_cookie_warn3$$
$$sw_cookie_warn4$$
||ifdef||custom_login_error||
Custom login page does not exist:
Please make sure this file is valid (copy from surgeweb/tpl if needed):
||custom_login_error||
or disable the "Custom Login Page" setting.
||endif|| ||if(equal(login_crossdomain,(enabled)))|| ||else|| ||endif|| ||if(equal(https_required,(login_only)))|| ||endif|| #development only option to receive clean web pages
$$login_title$$
$$login_title_comment$$
# Useful for providing an additional header styling image using css
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif|| #
CURRENTLY BROKEN - DO NOT USE (many messages not displayed)
#
Most oddities fixed, but will be better in a day or two

$$st_username$$ | ||if(equal(login_domain,(show)))|| @||ifdef||domain_ex|| ||domain_ex|| ||else|| ||domain|| ||endif|| ||endif||
$$st_password$$ |
||iftrue(twofactor_required)||
$$st_twofactor$$ |
||endif||
$$st_interface$$ |
||iftrue(lang_demo)||
| ||$((st_lang_limited),(),(),(),())||
||endif||
$$st_remember_me$$
||if(or(istrue(showlink_forget_pass),istrue(showlink_create_account)))||
| ||if(istrue(showlink_forget_pass))|| $$st_forgot_password$$ ||define||done_some||true|| ||endif|| ||if(istrue(showlink_create_account))|| ||ifdef||done_some|| | ||endif|| $$st_create_account$$ ||define||done_some||true|| ||endif|| ||if(istrue(showlink_login_help))|| ||ifdef||done_some|| | ||endif|| $$st_login_help$$ ||define||done_some||true|| ||endif||
||endif||
$$st_browser_warn_test1$$ $$st_browser_warn_test2$$ $$st_browser_warn_test3$$ $$st_browser_warn_test4$$ $$st_browser_warn_test5$$ $$st_browser_warn_test6$$

$$login_post_comment$$
||ifdef||rcol_login||
||if(equal(rcol_login,(iframe)))||
||else|| ||rcol_login|| ||endif||
||endif|| ||if_set(newlook_login)||
||iftrue(test_MS_EDGE_BROWSER)|| # Mininal testcase to see if we can figure out why MS Edge (38.14393.0.0) is playing silly buggers with our # modern styling, multiple broken issues when compared to behaviour of Chrome, FF, Safari: # 1) Blur only works if background image is directly specified on the element, which is NOT what what we want to do. # 2) With overflow hidden, and blur, the edge rendering is weird.
||endif|| ||endif||

Custom look ACTIVE (associated with marijn@surface.none) #
||if_not(newlook_custom_photo_disable)||

Drop your favourite image anywhere on the login window to personalise your surgeweb background.
||endif||