(list, head, align)
| 20 | } |
| 21 | |
| 22 | function createRemoteTableRow(list, head, align) |
| 23 | { |
| 24 | var row = document.createElement('div'); |
| 25 | |
| 26 | row.className = 'row row-cols-4 mb-2 border-bottom'; |
| 27 | |
| 28 | for(var i = 0; i < list.length; i++) |
| 29 | { |
| 30 | var el = document.createElement('div'); |
| 31 | |
| 32 | if (i == 0) |
| 33 | el.className = 'ps-1 pe-0 col-xl-2 col-sm-2 col-xs-2'; |
| 34 | else if (i == 2) |
| 35 | el.className = 'ps-1 pe-0 col-xl-1 col-sm-2 col-xs-2'; |
| 36 | else if (i == 1) |
| 37 | el.className = 'ps-1 pe-0 col-xl-5 col-sm-4 col-xs-4'; |
| 38 | else |
| 39 | el.className = 'ps-1 pe-0 col-xl-4 col-sm-4 col-xs-4'; |
| 40 | |
| 41 | if(head === true) |
| 42 | el.style.fontWeight = "bold"; |
| 43 | |
| 44 | if(align) |
| 45 | el.style.verticalAlign = "middle"; |
| 46 | |
| 47 | el.innerHTML = list[i]; |
| 48 | row.appendChild(el); |
| 49 | } |
| 50 | return row; |
| 51 | } |
| 52 | |
| 53 | var oldEffects = []; |
| 54 | var cpcolor = '#B500FF'; |
no outgoing calls
no test coverage detected