namibia
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
namibia / public / templates / page / customervaluation.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
var template_customervaluation = function( static ) { this.static = static; this.elements = { vehicleYear : new App.TemplateElement.FieldComponent('vehicleYear'), make : new App.TemplateElement.FieldComponent('make'), category : new App.TemplateElement.FieldComponent('category'), model : new App.TemplateElement.FieldComponent('model'), type : new App.TemplateElement.FieldComponent('type'), fullServiceHistory : new App.TemplateElement.FieldComponent('fullServiceHistory'), registrationNumber : new App.TemplateElement.FieldComponent('registrationNumber'), fuelType : new App.TemplateElement.FieldComponent('fuelType'), transmissionType : new App.TemplateElement.FieldComponent('transmissionType'), km : new App.TemplateElement.FieldComponent('km'), firstName : new App.TemplateElement.FieldComponent('firstName'), familyName : new App.TemplateElement.FieldComponent('familyName'), idNumber : new App.TemplateElement.FieldComponent('idNumber'), mobile : new App.TemplateElement.FieldComponent('mobile'), email : new App.TemplateElement.FieldComponent('email'), confirmEmail : new App.TemplateElement.FieldComponent('confirmEmail'), region : new App.TemplateElement.FieldComponent('region'), city : new App.TemplateElement.FieldComponent('city'), publicCentre : new App.TemplateElement.FieldComponent('publicCentre'), street : new App.TemplateElement.FieldComponent('street'), requiredPrice : new App.TemplateElement.FieldComponent('requiredPrice') }; this.construct = function() { /*var isMobile = window.matchMedia("only screen and (max-width: 760px)"); // do a check for mobile file uploads... if (!isMobile.matches) { alert('Your Phone does not support image uploads .'); }*/ $('#PublicMenu').show(); $('#PublicMenu li.select_page').removeClass('select_page'); $('#PublicMenu a[href="#/customervaluation"]').parent().addClass('select_page'); $('#terms').parent().addClass("acceptTerms"); $('.wizard').css("background-color", "rgba(0,0,0,.5)"); $('.wizard').css("border", "none"); $('.wizard').css("margin-top", "0"); $('.step-content').css("bottom-border", "0"); $('.main-section').css("background", "url(/imgs/pagani.jpg)"); $('.main-section').css("background-size", "cover"); $('.square').css("background-size", "cover"); }; this.destruct = function() {}; }; |
Commits for namibiapublic/templates/page/customervaluation.js
Revision | Author | Commited | Message |
---|---|---|---|
df0489 ... | Mark | Fri 14 Oct, 2016 10:01:00 +0000 | initial commit |