1 var template_customervaluation = function( static )
6 vehicleYear : new App.TemplateElement.FieldComponent('vehicleYear'),
7 make : new App.TemplateElement.FieldComponent('make'),
8 category : new App.TemplateElement.FieldComponent('category'),
9 model : new App.TemplateElement.FieldComponent('model'),
10 type : new App.TemplateElement.FieldComponent('type'),
11 fullServiceHistory : new App.TemplateElement.FieldComponent('fullServiceHistory'),
12 registrationNumber : new App.TemplateElement.FieldComponent('registrationNumber'),
13 fuelType : new App.TemplateElement.FieldComponent('fuelType'),
14 transmissionType : new App.TemplateElement.FieldComponent('transmissionType'),
15 km : new App.TemplateElement.FieldComponent('km'),
16 firstName : new App.TemplateElement.FieldComponent('firstName'),
17 familyName : new App.TemplateElement.FieldComponent('familyName'),
18 idNumber : new App.TemplateElement.FieldComponent('idNumber'),
19 mobile : new App.TemplateElement.FieldComponent('mobile'),
20 email : new App.TemplateElement.FieldComponent('email'),
21 confirmEmail : new App.TemplateElement.FieldComponent('confirmEmail'),
22 region : new App.TemplateElement.FieldComponent('region'),
23 city : new App.TemplateElement.FieldComponent('city'),
24 publicCentre : new App.TemplateElement.FieldComponent('publicCentre'),
25 street : new App.TemplateElement.FieldComponent('street'),
26 requiredPrice : new App.TemplateElement.FieldComponent('requiredPrice')
28 this.construct = function()
31 /*var isMobile = window.matchMedia("only screen and (max-width: 760px)");
32 // do a check for mobile file uploads...
33 if (!isMobile.matches)
35 alert('Your Phone does not support image uploads .');
38 $('#PublicMenu').show();
39 $('#PublicMenu li.select_page').removeClass('select_page');
40 $('#PublicMenu a[href="#/customervaluation"]').parent().addClass('select_page');
41 $('#terms').parent().addClass("acceptTerms");
44 $('.wizard').css("background-color", "rgba(0,0,0,.5)");
45 $('.wizard').css("border", "none");
46 $('.wizard').css("margin-top", "0");
47 $('.step-content').css("bottom-border", "0");
49 $('.main-section').css("background", "url(/imgs/pagani.jpg)");
50 $('.main-section').css("background-size", "cover");
52 $('.square').css("background-size", "cover");
55 this.destruct = function() {};