This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**** Define Font Families ***************/ | |
| @import url('https://fonts.googleapis.com/css?family=Raleway:900,600,400,400i'); | |
| @import url('https://fonts.googleapis.com/css?family=Lato:400,700,400i,700i'); | |
| /**** Assign Font Styles ***************/ | |
| @page { | |
| @bottom-right { | |
| font-family: 'Lato', sans-serif; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Display page counter value in bottom right corner of the page */ | |
| @page { | |
| @bottom-right { | |
| content: counter(page); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .my_label { | |
| margin-bottom: 8px; | |
| font-weight: bold; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Helpful functions /////////////////////////////////// | |
| // sets a specific attribute for all elements in a collection | |
| setAttributeOnAll = function(els, attrName, attrVal) | |
| { | |
| for (var i=0; i < els.length; i++) | |
| els[i].setAttribute(attrName,attrVal); | |
| }; | |
| ////////////////////// Override default styles ///////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Helpful functions /////////////////////////////////// | |
| // appends a value to an attribute for all elements in a collection | |
| // can be used to append class name | |
| appendAttributeOnAll = function(els, attrName, attrVal) | |
| { | |
| for (var i=0; i < els.length; i++) | |
| { | |
| var curr = els[i].getAttribute(attrName); | |
| els[i].setAttribute(attrName, curr + ' ' + attrVal); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Configurable variables ///////////////////////////// | |
| var imgRoot = '../customer/svg/'; | |
| var searchBtn = imgRoot + 'search.svg'; | |
| var dateBtn = imgRoot + 'calendar.svg'; | |
| ////////////////////// Helpful functions ////////////////////////////////// | |
| // function to replace a class name for specified elements | |
| replaceClass = function(els, oldClass, newClass) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Override default styles ///////////////////////////// | |
| // default select style | |
| var selects = document.getElementsByClassName('sys_f_select'); | |
| replaceClass(selects,'sys_f_select','my_select'); | |
| selects = document.getElementsByClassName('sys_f_div_select'); | |
| replaceClass(selects,'sys_f_div_select','my_select_div'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Override default styles ///////////////////////////// | |
| // default date select style with custom button icon and class | |
| var cals = document.getElementsByClassName("sys_f_input_image_calendar_ff"); | |
| setAttributeOnAll(cals,'src',dateBtn); | |
| replaceClass(cals,'sys_f_input_image_calendar_ff',' my_cal_btn_ff'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ////////////////////// Override default styles ///////////////////////////// | |
| // default item field styles (managed_by_id) | |
| var btn = updateItemFieldIcon('managed_by_id',searchBtn); | |
| appendAttributeOnAll(btn,'class','my_search_btn'); | |
| // default item field styles (owned_by_id) | |
| btn = updateItemFieldIcon('owned_by_id',searchBtn); | |
| appendAttributeOnAll(btn,'class','my_search_btn'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <SOAP-ENV:Envelope | |
| xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <SOAP-ENV:Body> | |
| <Result> | |
| <Item type="{ITEMTYPE NAME}" typeId="{ITEMTYPE ID}" id="{ITEM ID}"> | |
| <property_1></property_1> | |
| <property_2></property_2> | |
| ... | |
| <property_n></property_n> | |
| <!-- Item property example --> |