remove about us and FAQ links in menus
[namibia] / public / templates / page / customercompletevaluation.js
1 var template_customercompletevaluation = function( static )
2 {
3
4     this.static = static;
5     this.elements = {
6
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'),
12
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')
18
19
20     };
21     this.construct = function()
22     {
23
24         /*var isMobile = window.matchMedia("only screen and (max-width: 760px)");
25          // do a check for mobile file uploads...
26          if (!isMobile.matches)
27          {
28          alert('Your Phone does not support image uploads .');
29          }*/
30
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");
35
36
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");
41
42         $('.main-section').css("background", "url(/imgs/pagani.jpg)");
43         $('.main-section').css("background-size", "cover");
44
45         $('.square').css("color", "#f7931e");
46         $('.control-label .mobile-control-label label').css("color", "lightgrey");
47     };
48     this.destruct = function() {};
49 };