1 var template_customercompletevaluation = function( static )
7 firstName : new App.TemplateElement.FieldComponent('firstName'),
8 familyName : new App.TemplateElement.FieldComponent('familyName'),
9 idNumber : new App.TemplateElement.FieldComponent('idNumber'),
10 mobile : new App.TemplateElement.FieldComponent('mobile'),
11 email : new App.TemplateElement.FieldComponent('email'),
13 customerAddressStreet : new App.TemplateElement.FieldComponent('customerAddressStreet'),
14 customerAddressStreetName : new App.TemplateElement.FieldComponent('customerAddressStreetName'),
15 customerAddressSuburb : new App.TemplateElement.FieldComponent('customerAddressSuburb'),
16 customerAddressCity : new App.TemplateElement.FieldComponent('customerAddressCity'),
17 customerAddressPostalCode : new App.TemplateElement.FieldComponent('customerAddressPostalCode')
21 this.construct = function()
24 /*var isMobile = window.matchMedia("only screen and (max-width: 760px)");
25 // do a check for mobile file uploads...
26 if (!isMobile.matches)
28 alert('Your Phone does not support image uploads .');
31 $('#PublicMenu').show();
32 $('#PublicMenu li.select_page').removeClass('select_page');
33 $('#PublicMenu a[href="#/customercompletevaluation"]').parent().addClass('select_page');
34 $('#terms').parent().addClass("acceptTerms");
37 $('.wizard').css("background-color", "rgba(0,0,0,.5)");
38 $('.wizard').css("border", "none");
39 $('.wizard').css("margin-top", "0");
40 $('.step-content').css("bottom-border", "0");
42 $('.main-section').css("background", "url(/imgs/pagani.jpg)");
43 $('.main-section').css("background-size", "cover");
45 $('.square').css("color", "#f7931e");
46 $('.control-label .mobile-control-label label').css("color", "lightgrey");
48 this.destruct = function() {};