diff options
7 files changed, 1058 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css new file mode 100644 index 0000000000..4e95bfd3a8 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | table.treetable span.indenter { | ||
| 2 | display: inline-block; | ||
| 3 | margin: 0; | ||
| 4 | padding: 0; | ||
| 5 | text-align: right; | ||
| 6 | |||
| 7 | /* Disable text selection of nodes (for better D&D UX) */ | ||
| 8 | user-select: none; | ||
| 9 | -khtml-user-select: none; | ||
| 10 | -moz-user-select: none; | ||
| 11 | -o-user-select: none; | ||
| 12 | -webkit-user-select: none; | ||
| 13 | |||
| 14 | /* Force content-box box model for indenter (Bootstrap compatibility) */ | ||
| 15 | -webkit-box-sizing: content-box; | ||
| 16 | -moz-box-sizing: content-box; | ||
| 17 | box-sizing: content-box; | ||
| 18 | |||
| 19 | width: 19px; | ||
| 20 | } | ||
| 21 | |||
| 22 | table.treetable span.indenter a { | ||
| 23 | background-position: left center; | ||
| 24 | background-repeat: no-repeat; | ||
| 25 | display: inline-block; | ||
| 26 | text-decoration: none; | ||
| 27 | width: 19px; | ||
| 28 | } | ||
diff --git a/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.theme.default.css b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.theme.default.css new file mode 100644 index 0000000000..48289baad1 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.theme.default.css | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | table.treetable { | ||
| 2 | border: 1px solid #888; | ||
| 3 | border-collapse: collapse; | ||
| 4 | font-size: .8em; | ||
| 5 | line-height: 1; | ||
| 6 | margin: .6em 0 1.8em 0; | ||
| 7 | width: 100%; | ||
| 8 | } | ||
| 9 | |||
| 10 | table.treetable caption { | ||
| 11 | font-size: .9em; | ||
| 12 | font-weight: bold; | ||
| 13 | margin-bottom: .2em; | ||
| 14 | } | ||
| 15 | |||
| 16 | table.treetable tbody tr td { | ||
| 17 | cursor: default; | ||
| 18 | padding: .3em 1em; | ||
| 19 | } | ||
| 20 | |||
| 21 | table.treetable span { | ||
| 22 | background-position: center left; | ||
| 23 | background-repeat: no-repeat; | ||
| 24 | padding: .2em 0 .2em 1.5em; | ||
| 25 | } | ||
| 26 | |||
| 27 | table.treetable span.file { | ||
| 28 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADoSURBVBgZBcExblNBGAbA2ceegTRBuIKOgiihSZNTcC5LUHAihNJR0kGKCDcYJY6D3/77MdOinTvzAgCw8ysThIvn/VojIyMjIyPP+bS1sUQIV2s95pBDDvmbP/mdkft83tpYguZq5Jh/OeaYh+yzy8hTHvNlaxNNczm+la9OTlar1UdA/+C2A4trRCnD3jS8BB1obq2Gk6GU6QbQAS4BUaYSQAf4bhhKKTFdAzrAOwAxEUAH+KEM01SY3gM6wBsEAQB0gJ+maZoC3gI6iPYaAIBJsiRmHU0AALOeFC3aK2cWAACUXe7+AwO0lc9eTHYTAAAAAElFTkSuQmCC); | ||
| 29 | } | ||
| 30 | |||
| 31 | table.treetable span.folder { | ||
| 32 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGrSURBVDjLxZO7ihRBFIa/6u0ZW7GHBUV0UQQTZzd3QdhMQxOfwMRXEANBMNQX0MzAzFAwEzHwARbNFDdwEd31Mj3X7a6uOr9BtzNjYjKBJ6nicP7v3KqcJFaxhBVtZUAK8OHlld2st7Xl3DJPVONP+zEUV4HqL5UDYHr5xvuQAjgl/Qs7TzvOOVAjxjlC+ePSwe6DfbVegLVuT4r14eTr6zvA8xSAoBLzx6pvj4l+DZIezuVkG9fY2H7YRQIMZIBwycmzH1/s3F8AapfIPNF3kQk7+kw9PWBy+IZOdg5Ug3mkAATy/t0usovzGeCUWTjCz0B+Sj0ekfdvkZ3abBv+U4GaCtJ1iEm6ANQJ6fEzrG/engcKw/wXQvEKxSEKQxRGKE7Izt+DSiwBJMUSm71rguMYhQKrBygOIRStf4TiFFRBvbRGKiQLWP29yRSHKBTtfdBmHs0BUpgvtgF4yRFR+NUKi0XZcYjCeCG2smkzLAHkbRBmP0/Uk26O5YnUActBp1GsAI+S5nRJJJal5K1aAMrq0d6Tm9uI6zjyf75dAe6tx/SsWeD//o2/Ab6IH3/h25pOAAAAAElFTkSuQmCC); | ||
| 33 | } | ||
| 34 | |||
| 35 | table.treetable tr.collapsed span.indenter a { | ||
| 36 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/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QRgIjnlmn1heSO5PE6Y2YXe+5Cr5+h++gs12AcAS6FS+7YOsj4AAAAASUVORK5CYII=); | ||
| 37 | } | ||
| 38 | |||
| 39 | table.treetable tr.expanded span.indenter a { | ||
| 40 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAH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P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHFJREFUeNpi/P//PwMlgImBQsA44C6gvhfa29v3MzAwOODRc6CystIRbxi0t7fjDJjKykpGYrwwi1hxnLHQ3t7+jIGBQRJJ6HllZaUUKYEYRYBPOB0gBShKwKGA////48VtbW3/8clTnBIH3gCKkzJgAGvBX0dDm0sCAAAAAElFTkSuQmCC); | ||
| 41 | } | ||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | table.treetable tr.collapsed.selected span.indenter a { | ||
| 46 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852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DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFpJREFUeNpi/P//PwMlgHHADWD4//8/NtyAQxwD45KAAQdKDfj//////fgMIsYAZIMw1DKREFwODAwM/4kNRKq64AADA4MjFDOQ6gKyY4HodMA49PMCxQYABgAVYHsjyZ1x7QAAAABJRU5ErkJggg==); | ||
| 47 | } | ||
| 48 | |||
| 49 | table.treetable tr.expanded.selected span.indenter a { | ||
| 50 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgug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tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFtJREFUeNpi/P//PwMlgImBQsA44C6giQENDAwM//HgBmLCAF/AMBLjBUeixf///48L7/+PCvZjU4fPAAc0AxywqcMXCwegGJ1NckL6jx5wpKYDxqGXEkkCgAEAmrqBIejdgngAAAAASUVORK5CYII=); | ||
| 51 | } | ||
| 52 | |||
| 53 | table.treetable tr.accept { | ||
| 54 | background-color: #a3bce4; | ||
| 55 | color: #fff | ||
| 56 | } | ||
| 57 | |||
| 58 | table.treetable tr.collapsed.accept td span.indenter a { | ||
| 59 | background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1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Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFpJREFUeNpi/P//PwMlgHHADWD4//8/NtyAQxwD45KAAQdKDfj//////fgMIsYAZIMw1DKREFwODAwM/4kNRKq64AADA4MjFDOQ6gKyY4HodMA49PMCxQYABgAVYHsjyZ1x7QAAAABJRU5ErkJggg==); | ||
| 60 | } | ||
| 61 | |||
| 62 | table.treetable tr.expanded.accept td span.indenter a { | ||
| 63 | background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplc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gzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFtJREFUeNpi/P//PwMlgImBQsA44C6giQENDAwM//HgBmLCAF/AMBLjBUeixf///48L7/+PCvZjU4fPAAc0AxywqcMXCwegGJ1NckL6jx5wpKYDxqGXEkkCgAEAmrqBIejdgngAAAAASUVORK5CYII=); | ||
| 64 | } | ||
diff --git a/bitbake/lib/toaster/toastergui/static/css/screen.css b/bitbake/lib/toaster/toastergui/static/css/screen.css new file mode 100644 index 0000000000..e233ef6ae2 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/css/screen.css | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | body { | ||
| 2 | background: #ddd; | ||
| 3 | color: #000; | ||
| 4 | font-family: Helvetica, Arial, sans-serif; | ||
| 5 | line-height: 1.5; | ||
| 6 | margin: 0; | ||
| 7 | padding: 0; | ||
| 8 | } | ||
| 9 | |||
| 10 | #main { | ||
| 11 | background: #fff; | ||
| 12 | border-left: 20px solid #eee; | ||
| 13 | border-right: 20px solid #eee; | ||
| 14 | margin: 0 auto; | ||
| 15 | max-width: 800px; | ||
| 16 | padding: 20px; | ||
| 17 | } | ||
| 18 | |||
| 19 | pre.listing { | ||
| 20 | background: #eee; | ||
| 21 | border: 1px solid #ccc; | ||
| 22 | margin: .6em 0 .3em 0; | ||
| 23 | padding: .1em .3em; | ||
| 24 | } | ||
| 25 | |||
| 26 | pre.listing b { | ||
| 27 | color: #f00; | ||
| 28 | } | ||
diff --git a/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/GPL-LICENSE.txt b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/GPL-LICENSE.txt new file mode 100644 index 0000000000..76927f581c --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/GPL-LICENSE.txt | |||
| @@ -0,0 +1,278 @@ | |||
| 1 | GNU GENERAL PUBLIC LICENSE | ||
| 2 | Version 2, June 1991 | ||
| 3 | |||
| 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||
| 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 6 | Everyone is permitted to copy and distribute verbatim copies | ||
| 7 | of this license document, but changing it is not allowed. | ||
| 8 | |||
| 9 | Preamble | ||
| 10 | |||
| 11 | The licenses for most software are designed to take away your | ||
| 12 | freedom to share and change it. By contrast, the GNU General Public | ||
| 13 | License is intended to guarantee your freedom to share and change free | ||
| 14 | software--to make sure the software is free for all its users. This | ||
| 15 | General Public License applies to most of the Free Software | ||
| 16 | Foundation's software and to any other program whose authors commit to | ||
| 17 | using it. (Some other Free Software Foundation software is covered by | ||
| 18 | the GNU Lesser General Public License instead.) You can apply it to | ||
| 19 | your programs, too. | ||
| 20 | |||
| 21 | When we speak of free software, we are referring to freedom, not | ||
| 22 | price. Our General Public Licenses are designed to make sure that you | ||
| 23 | have the freedom to distribute copies of free software (and charge for | ||
| 24 | this service if you wish), that you receive source code or can get it | ||
| 25 | if you want it, that you can change the software or use pieces of it | ||
| 26 | in new free programs; and that you know you can do these things. | ||
| 27 | |||
| 28 | To protect your rights, we need to make restrictions that forbid | ||
| 29 | anyone to deny you these rights or to ask you to surrender the rights. | ||
| 30 | These restrictions translate to certain responsibilities for you if you | ||
| 31 | distribute copies of the software, or if you modify it. | ||
| 32 | |||
| 33 | For example, if you distribute copies of such a program, whether | ||
| 34 | gratis or for a fee, you must give the recipients all the rights that | ||
| 35 | you have. You must make sure that they, too, receive or can get the | ||
| 36 | source code. And you must show them these terms so they know their | ||
| 37 | rights. | ||
| 38 | |||
| 39 | We protect your rights with two steps: (1) copyright the software, and | ||
| 40 | (2) offer you this license which gives you legal permission to copy, | ||
| 41 | distribute and/or modify the software. | ||
| 42 | |||
| 43 | Also, for each author's protection and ours, we want to make certain | ||
| 44 | that everyone understands that there is no warranty for this free | ||
| 45 | software. If the software is modified by someone else and passed on, we | ||
| 46 | want its recipients to know that what they have is not the original, so | ||
| 47 | that any problems introduced by others will not reflect on the original | ||
| 48 | authors' reputations. | ||
| 49 | |||
| 50 | Finally, any free program is threatened constantly by software | ||
| 51 | patents. We wish to avoid the danger that redistributors of a free | ||
| 52 | program will individually obtain patent licenses, in effect making the | ||
| 53 | program proprietary. To prevent this, we have made it clear that any | ||
| 54 | patent must be licensed for everyone's free use or not licensed at all. | ||
| 55 | |||
| 56 | The precise terms and conditions for copying, distribution and | ||
| 57 | modification follow. | ||
| 58 | |||
| 59 | GNU GENERAL PUBLIC LICENSE | ||
| 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
| 61 | |||
| 62 | 0. This License applies to any program or other work which contains | ||
| 63 | a notice placed by the copyright holder saying it may be distributed | ||
| 64 | under the terms of this General Public License. The "Program", below, | ||
| 65 | refers to any such program or work, and a "work based on the Program" | ||
| 66 | means either the Program or any derivative work under copyright law: | ||
| 67 | that is to say, a work containing the Program or a portion of it, | ||
| 68 | either verbatim or with modifications and/or translated into another | ||
| 69 | language. (Hereinafter, translation is included without limitation in | ||
| 70 | the term "modification".) Each licensee is addressed as "you". | ||
| 71 | |||
| 72 | Activities other than copying, distribution and modification are not | ||
| 73 | covered by this License; they are outside its scope. The act of | ||
| 74 | running the Program is not restricted, and the output from the Program | ||
| 75 | is covered only if its contents constitute a work based on the | ||
| 76 | Program (independent of having been made by running the Program). | ||
| 77 | Whether that is true depends on what the Program does. | ||
| 78 | |||
| 79 | 1. You may copy and distribute verbatim copies of the Program's | ||
| 80 | source code as you receive it, in any medium, provided that you | ||
| 81 | conspicuously and appropriately publish on each copy an appropriate | ||
| 82 | copyright notice and disclaimer of warranty; keep intact all the | ||
| 83 | notices that refer to this License and to the absence of any warranty; | ||
| 84 | and give any other recipients of the Program a copy of this License | ||
| 85 | along with the Program. | ||
| 86 | |||
| 87 | You may charge a fee for the physical act of transferring a copy, and | ||
| 88 | you may at your option offer warranty protection in exchange for a fee. | ||
| 89 | |||
| 90 | 2. You may modify your copy or copies of the Program or any portion | ||
| 91 | of it, thus forming a work based on the Program, and copy and | ||
| 92 | distribute such modifications or work under the terms of Section 1 | ||
| 93 | above, provided that you also meet all of these conditions: | ||
| 94 | |||
| 95 | a) You must cause the modified files to carry prominent notices | ||
| 96 | stating that you changed the files and the date of any change. | ||
| 97 | |||
| 98 | b) You must cause any work that you distribute or publish, that in | ||
| 99 | whole or in part contains or is derived from the Program or any | ||
| 100 | part thereof, to be licensed as a whole at no charge to all third | ||
| 101 | parties under the terms of this License. | ||
| 102 | |||
| 103 | c) If the modified program normally reads commands interactively | ||
| 104 | when run, you must cause it, when started running for such | ||
| 105 | interactive use in the most ordinary way, to print or display an | ||
| 106 | announcement including an appropriate copyright notice and a | ||
| 107 | notice that there is no warranty (or else, saying that you provide | ||
| 108 | a warranty) and that users may redistribute the program under | ||
| 109 | these conditions, and telling the user how to view a copy of this | ||
| 110 | License. (Exception: if the Program itself is interactive but | ||
| 111 | does not normally print such an announcement, your work based on | ||
| 112 | the Program is not required to print an announcement.) | ||
| 113 | |||
| 114 | These requirements apply to the modified work as a whole. If | ||
| 115 | identifiable sections of that work are not derived from the Program, | ||
| 116 | and can be reasonably considered independent and separate works in | ||
| 117 | themselves, then this License, and its terms, do not apply to those | ||
| 118 | sections when you distribute them as separate works. But when you | ||
| 119 | distribute the same sections as part of a whole which is a work based | ||
| 120 | on the Program, the distribution of the whole must be on the terms of | ||
| 121 | this License, whose permissions for other licensees extend to the | ||
| 122 | entire whole, and thus to each and every part regardless of who wrote it. | ||
| 123 | |||
| 124 | Thus, it is not the intent of this section to claim rights or contest | ||
| 125 | your rights to work written entirely by you; rather, the intent is to | ||
| 126 | exercise the right to control the distribution of derivative or | ||
| 127 | collective works based on the Program. | ||
| 128 | |||
| 129 | In addition, mere aggregation of another work not based on the Program | ||
| 130 | with the Program (or with a work based on the Program) on a volume of | ||
| 131 | a storage or distribution medium does not bring the other work under | ||
| 132 | the scope of this License. | ||
| 133 | |||
| 134 | 3. You may copy and distribute the Program (or a work based on it, | ||
| 135 | under Section 2) in object code or executable form under the terms of | ||
| 136 | Sections 1 and 2 above provided that you also do one of the following: | ||
| 137 | |||
| 138 | a) Accompany it with the complete corresponding machine-readable | ||
| 139 | source code, which must be distributed under the terms of Sections | ||
| 140 | 1 and 2 above on a medium customarily used for software interchange; or, | ||
| 141 | |||
| 142 | b) Accompany it with a written offer, valid for at least three | ||
| 143 | years, to give any third party, for a charge no more than your | ||
| 144 | cost of physically performing source distribution, a complete | ||
| 145 | machine-readable copy of the corresponding source code, to be | ||
| 146 | distributed under the terms of Sections 1 and 2 above on a medium | ||
| 147 | customarily used for software interchange; or, | ||
| 148 | |||
| 149 | c) Accompany it with the information you received as to the offer | ||
| 150 | to distribute corresponding source code. (This alternative is | ||
| 151 | allowed only for noncommercial distribution and only if you | ||
| 152 | received the program in object code or executable form with such | ||
| 153 | an offer, in accord with Subsection b above.) | ||
| 154 | |||
| 155 | The source code for a work means the preferred form of the work for | ||
| 156 | making modifications to it. For an executable work, complete source | ||
| 157 | code means all the source code for all modules it contains, plus any | ||
| 158 | associated interface definition files, plus the scripts used to | ||
| 159 | control compilation and installation of the executable. However, as a | ||
| 160 | special exception, the source code distributed need not include | ||
| 161 | anything that is normally distributed (in either source or binary | ||
| 162 | form) with the major components (compiler, kernel, and so on) of the | ||
| 163 | operating system on which the executable runs, unless that component | ||
| 164 | itself accompanies the executable. | ||
| 165 | |||
| 166 | If distribution of executable or object code is made by offering | ||
| 167 | access to copy from a designated place, then offering equivalent | ||
| 168 | access to copy the source code from the same place counts as | ||
| 169 | distribution of the source code, even though third parties are not | ||
| 170 | compelled to copy the source along with the object code. | ||
| 171 | |||
| 172 | 4. You may not copy, modify, sublicense, or distribute the Program | ||
| 173 | except as expressly provided under this License. Any attempt | ||
| 174 | otherwise to copy, modify, sublicense or distribute the Program is | ||
| 175 | void, and will automatically terminate your rights under this License. | ||
| 176 | However, parties who have received copies, or rights, from you under | ||
| 177 | this License will not have their licenses terminated so long as such | ||
| 178 | parties remain in full compliance. | ||
| 179 | |||
| 180 | 5. You are not required to accept this License, since you have not | ||
| 181 | signed it. However, nothing else grants you permission to modify or | ||
| 182 | distribute the Program or its derivative works. These actions are | ||
| 183 | prohibited by law if you do not accept this License. Therefore, by | ||
| 184 | modifying or distributing the Program (or any work based on the | ||
| 185 | Program), you indicate your acceptance of this License to do so, and | ||
| 186 | all its terms and conditions for copying, distributing or modifying | ||
| 187 | the Program or works based on it. | ||
| 188 | |||
| 189 | 6. Each time you redistribute the Program (or any work based on the | ||
| 190 | Program), the recipient automatically receives a license from the | ||
| 191 | original licensor to copy, distribute or modify the Program subject to | ||
| 192 | these terms and conditions. You may not impose any further | ||
| 193 | restrictions on the recipients' exercise of the rights granted herein. | ||
| 194 | You are not responsible for enforcing compliance by third parties to | ||
| 195 | this License. | ||
| 196 | |||
| 197 | 7. If, as a consequence of a court judgment or allegation of patent | ||
| 198 | infringement or for any other reason (not limited to patent issues), | ||
| 199 | conditions are imposed on you (whether by court order, agreement or | ||
| 200 | otherwise) that contradict the conditions of this License, they do not | ||
| 201 | excuse you from the conditions of this License. If you cannot | ||
| 202 | distribute so as to satisfy simultaneously your obligations under this | ||
| 203 | License and any other pertinent obligations, then as a consequence you | ||
| 204 | may not distribute the Program at all. For example, if a patent | ||
| 205 | license would not permit royalty-free redistribution of the Program by | ||
| 206 | all those who receive copies directly or indirectly through you, then | ||
| 207 | the only way you could satisfy both it and this License would be to | ||
| 208 | refrain entirely from distribution of the Program. | ||
| 209 | |||
| 210 | If any portion of this section is held invalid or unenforceable under | ||
| 211 | any particular circumstance, the balance of the section is intended to | ||
| 212 | apply and the section as a whole is intended to apply in other | ||
| 213 | circumstances. | ||
| 214 | |||
| 215 | It is not the purpose of this section to induce you to infringe any | ||
| 216 | patents or other property right claims or to contest validity of any | ||
| 217 | such claims; this section has the sole purpose of protecting the | ||
| 218 | integrity of the free software distribution system, which is | ||
| 219 | implemented by public license practices. Many people have made | ||
| 220 | generous contributions to the wide range of software distributed | ||
| 221 | through that system in reliance on consistent application of that | ||
| 222 | system; it is up to the author/donor to decide if he or she is willing | ||
| 223 | to distribute software through any other system and a licensee cannot | ||
| 224 | impose that choice. | ||
| 225 | |||
| 226 | This section is intended to make thoroughly clear what is believed to | ||
| 227 | be a consequence of the rest of this License. | ||
| 228 | |||
| 229 | 8. If the distribution and/or use of the Program is restricted in | ||
| 230 | certain countries either by patents or by copyrighted interfaces, the | ||
| 231 | original copyright holder who places the Program under this License | ||
| 232 | may add an explicit geographical distribution limitation excluding | ||
| 233 | those countries, so that distribution is permitted only in or among | ||
| 234 | countries not thus excluded. In such case, this License incorporates | ||
| 235 | the limitation as if written in the body of this License. | ||
| 236 | |||
| 237 | 9. The Free Software Foundation may publish revised and/or new versions | ||
| 238 | of the General Public License from time to time. Such new versions will | ||
| 239 | be similar in spirit to the present version, but may differ in detail to | ||
| 240 | address new problems or concerns. | ||
| 241 | |||
| 242 | Each version is given a distinguishing version number. If the Program | ||
| 243 | specifies a version number of this License which applies to it and "any | ||
| 244 | later version", you have the option of following the terms and conditions | ||
| 245 | either of that version or of any later version published by the Free | ||
| 246 | Software Foundation. If the Program does not specify a version number of | ||
| 247 | this License, you may choose any version ever published by the Free Software | ||
| 248 | Foundation. | ||
| 249 | |||
| 250 | 10. If you wish to incorporate parts of the Program into other free | ||
| 251 | programs whose distribution conditions are different, write to the author | ||
| 252 | to ask for permission. For software which is copyrighted by the Free | ||
| 253 | Software Foundation, write to the Free Software Foundation; we sometimes | ||
| 254 | make exceptions for this. Our decision will be guided by the two goals | ||
| 255 | of preserving the free status of all derivatives of our free software and | ||
| 256 | of promoting the sharing and reuse of software generally. | ||
| 257 | |||
| 258 | NO WARRANTY | ||
| 259 | |||
| 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
| 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
| 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
| 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
| 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
| 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
| 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
| 268 | REPAIR OR CORRECTION. | ||
| 269 | |||
| 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
| 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
| 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
| 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
| 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
| 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
| 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
| 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
| 278 | POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file | ||
diff --git a/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/MIT-LICENSE.txt b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/MIT-LICENSE.txt new file mode 100644 index 0000000000..c2e824fb08 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/MIT-LICENSE.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Copyright (c) 2013 Ludo van den Boom, http://ludovandenboom.com | ||
| 2 | |||
| 3 | Permission is hereby granted, free of charge, to any person obtaining | ||
| 4 | a copy of this software and associated documentation files (the | ||
| 5 | "Software"), to deal in the Software without restriction, including | ||
| 6 | without limitation the rights to use, copy, modify, merge, publish, | ||
| 7 | distribute, sublicense, and/or sell copies of the Software, and to | ||
| 8 | permit persons to whom the Software is furnished to do so, subject to | ||
| 9 | the following conditions: | ||
| 10 | |||
| 11 | The above copyright notice and this permission notice shall be | ||
| 12 | included in all copies or substantial portions of the Software. | ||
| 13 | |||
| 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
| 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
| 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
diff --git a/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/README.md b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/README.md new file mode 100644 index 0000000000..ece7afb58c --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/jquery-treetable-license/README.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # jQuery treetable | ||
| 2 | |||
| 3 | jQuery treetable is a plugin for jQuery, the 'Write Less, Do More, JavaScript | ||
| 4 | Library'. With this plugin you can display a tree in an HTML table, e.g. a | ||
| 5 | directory structure or a nested list. Why not use a list, you say? Because lists | ||
| 6 | are great for displaying a tree, and tables are not. Oh wait, but this plugin | ||
| 7 | uses tables, doesn't it? Yes. Why do I use a table to display a list? Because I | ||
| 8 | need multiple columns to display additional data besides the tree. | ||
| 9 | |||
| 10 | Download the latest release from the jQuery Plugin Registry or grab the source | ||
| 11 | code from Github. Please report issues through Github issues. This plugin is | ||
| 12 | released under both the MIT and the GPLv2 license by Ludo van den Boom. | ||
| 13 | |||
| 14 | ## Documentation and Examples | ||
| 15 | |||
| 16 | See index.html for technical documentation and examples. The most recent version | ||
| 17 | of this document is also available online at | ||
| 18 | http://ludo.cubicphuse.nl/jquery-treetable. An AJAX enabled example built with | ||
| 19 | Ruby on Rails can be found at | ||
| 20 | https://github.com/ludo/jquery-treetable-ajax-example. | ||
diff --git a/bitbake/lib/toaster/toastergui/static/js/jquery.treetable.js b/bitbake/lib/toaster/toastergui/static/js/jquery.treetable.js new file mode 100644 index 0000000000..42e7427cc0 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/js/jquery.treetable.js | |||
| @@ -0,0 +1,620 @@ | |||
| 1 | /* | ||
| 2 | * jQuery treetable Plugin 3.1.0 | ||
| 3 | * http://ludo.cubicphuse.nl/jquery-treetable | ||
| 4 | * | ||
| 5 | * Copyright 2013, Ludo van den Boom | ||
| 6 | * Dual licensed under the MIT or GPL Version 2 licenses. | ||
| 7 | */ | ||
| 8 | (function() { | ||
| 9 | var $, Node, Tree, methods; | ||
| 10 | |||
| 11 | $ = jQuery; | ||
| 12 | |||
| 13 | Node = (function() { | ||
| 14 | function Node(row, tree, settings) { | ||
| 15 | var parentId; | ||
| 16 | |||
| 17 | this.row = row; | ||
| 18 | this.tree = tree; | ||
| 19 | this.settings = settings; | ||
| 20 | |||
| 21 | // TODO Ensure id/parentId is always a string (not int) | ||
| 22 | this.id = this.row.data(this.settings.nodeIdAttr); | ||
| 23 | |||
| 24 | // TODO Move this to a setParentId function? | ||
| 25 | parentId = this.row.data(this.settings.parentIdAttr); | ||
| 26 | if (parentId != null && parentId !== "") { | ||
| 27 | this.parentId = parentId; | ||
| 28 | } | ||
| 29 | |||
| 30 | this.treeCell = $(this.row.children(this.settings.columnElType)[this.settings.column]); | ||
| 31 | this.expander = $(this.settings.expanderTemplate); | ||
| 32 | this.indenter = $(this.settings.indenterTemplate); | ||
| 33 | this.children = []; | ||
| 34 | this.initialized = false; | ||
| 35 | this.treeCell.prepend(this.indenter); | ||
| 36 | } | ||
| 37 | |||
| 38 | Node.prototype.addChild = function(child) { | ||
| 39 | return this.children.push(child); | ||
| 40 | }; | ||
| 41 | |||
| 42 | Node.prototype.ancestors = function() { | ||
| 43 | var ancestors, node; | ||
| 44 | node = this; | ||
| 45 | ancestors = []; | ||
| 46 | while (node = node.parentNode()) { | ||
| 47 | ancestors.push(node); | ||
| 48 | } | ||
| 49 | return ancestors; | ||
| 50 | }; | ||
| 51 | |||
| 52 | Node.prototype.collapse = function() { | ||
| 53 | if (this.collapsed()) { | ||
| 54 | return this; | ||
| 55 | } | ||
| 56 | |||
| 57 | this.row.removeClass("expanded").addClass("collapsed"); | ||
| 58 | |||
| 59 | this._hideChildren(); | ||
| 60 | this.expander.attr("title", this.settings.stringExpand); | ||
| 61 | |||
| 62 | if (this.initialized && this.settings.onNodeCollapse != null) { | ||
| 63 | this.settings.onNodeCollapse.apply(this); | ||
| 64 | } | ||
| 65 | |||
| 66 | return this; | ||
| 67 | }; | ||
| 68 | |||
| 69 | Node.prototype.collapsed = function() { | ||
| 70 | return this.row.hasClass("collapsed"); | ||
| 71 | }; | ||
| 72 | |||
| 73 | // TODO destroy: remove event handlers, expander, indenter, etc. | ||
| 74 | |||
| 75 | Node.prototype.expand = function() { | ||
| 76 | if (this.expanded()) { | ||
| 77 | return this; | ||
| 78 | } | ||
| 79 | |||
| 80 | this.row.removeClass("collapsed").addClass("expanded"); | ||
| 81 | |||
| 82 | if (this.initialized && this.settings.onNodeExpand != null) { | ||
| 83 | this.settings.onNodeExpand.apply(this); | ||
| 84 | } | ||
| 85 | |||
| 86 | if ($(this.row).is(":visible")) { | ||
| 87 | this._showChildren(); | ||
| 88 | } | ||
| 89 | |||
| 90 | this.expander.attr("title", this.settings.stringCollapse); | ||
| 91 | |||
| 92 | return this; | ||
| 93 | }; | ||
| 94 | |||
| 95 | Node.prototype.expanded = function() { | ||
| 96 | return this.row.hasClass("expanded"); | ||
| 97 | }; | ||
| 98 | |||
| 99 | Node.prototype.hide = function() { | ||
| 100 | this._hideChildren(); | ||
| 101 | this.row.hide(); | ||
| 102 | return this; | ||
| 103 | }; | ||
| 104 | |||
| 105 | Node.prototype.isBranchNode = function() { | ||
| 106 | if(this.children.length > 0 || this.row.data(this.settings.branchAttr) === true) { | ||
| 107 | return true; | ||
| 108 | } else { | ||
| 109 | return false; | ||
| 110 | } | ||
| 111 | }; | ||
| 112 | |||
| 113 | Node.prototype.updateBranchLeafClass = function(){ | ||
| 114 | this.row.removeClass('branch'); | ||
| 115 | this.row.removeClass('leaf'); | ||
| 116 | this.row.addClass(this.isBranchNode() ? 'branch' : 'leaf'); | ||
| 117 | }; | ||
| 118 | |||
| 119 | Node.prototype.level = function() { | ||
| 120 | return this.ancestors().length; | ||
| 121 | }; | ||
| 122 | |||
| 123 | Node.prototype.parentNode = function() { | ||
| 124 | if (this.parentId != null) { | ||
| 125 | return this.tree[this.parentId]; | ||
| 126 | } else { | ||
| 127 | return null; | ||
| 128 | } | ||
| 129 | }; | ||
| 130 | |||
| 131 | Node.prototype.removeChild = function(child) { | ||
| 132 | var i = $.inArray(child, this.children); | ||
| 133 | return this.children.splice(i, 1) | ||
| 134 | }; | ||
| 135 | |||
| 136 | Node.prototype.render = function() { | ||
| 137 | var handler, | ||
| 138 | settings = this.settings, | ||
| 139 | target; | ||
| 140 | |||
| 141 | if (settings.expandable === true && this.isBranchNode()) { | ||
| 142 | handler = function(e) { | ||
| 143 | $(this).parents("table").treetable("node", $(this).parents("tr").data(settings.nodeIdAttr)).toggle(); | ||
| 144 | return e.preventDefault(); | ||
| 145 | }; | ||
| 146 | |||
| 147 | this.indenter.html(this.expander); | ||
| 148 | target = settings.clickableNodeNames === true ? this.treeCell : this.expander; | ||
| 149 | |||
| 150 | target.off("click.treetable").on("click.treetable", handler); | ||
| 151 | target.off("keydown.treetable").on("keydown.treetable", function(e) { | ||
| 152 | if (e.keyCode == 13) { | ||
| 153 | handler.apply(this, [e]); | ||
| 154 | } | ||
| 155 | }); | ||
| 156 | } | ||
| 157 | |||
| 158 | this.indenter[0].style.paddingLeft = "" + (this.level() * settings.indent) + "px"; | ||
| 159 | |||
| 160 | return this; | ||
| 161 | }; | ||
| 162 | |||
| 163 | Node.prototype.reveal = function() { | ||
| 164 | if (this.parentId != null) { | ||
| 165 | this.parentNode().reveal(); | ||
| 166 | } | ||
| 167 | return this.expand(); | ||
| 168 | }; | ||
| 169 | |||
| 170 | Node.prototype.setParent = function(node) { | ||
| 171 | if (this.parentId != null) { | ||
| 172 | this.tree[this.parentId].removeChild(this); | ||
| 173 | } | ||
| 174 | this.parentId = node.id; | ||
| 175 | this.row.data(this.settings.parentIdAttr, node.id); | ||
| 176 | return node.addChild(this); | ||
| 177 | }; | ||
| 178 | |||
| 179 | Node.prototype.show = function() { | ||
| 180 | if (!this.initialized) { | ||
| 181 | this._initialize(); | ||
| 182 | } | ||
| 183 | this.row.show(); | ||
| 184 | if (this.expanded()) { | ||
| 185 | this._showChildren(); | ||
| 186 | } | ||
| 187 | return this; | ||
| 188 | }; | ||
| 189 | |||
| 190 | Node.prototype.toggle = function() { | ||
| 191 | if (this.expanded()) { | ||
| 192 | this.collapse(); | ||
| 193 | } else { | ||
| 194 | this.expand(); | ||
| 195 | } | ||
| 196 | return this; | ||
| 197 | }; | ||
| 198 | |||
| 199 | Node.prototype._hideChildren = function() { | ||
| 200 | var child, _i, _len, _ref, _results; | ||
| 201 | _ref = this.children; | ||
| 202 | _results = []; | ||
| 203 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 204 | child = _ref[_i]; | ||
| 205 | _results.push(child.hide()); | ||
| 206 | } | ||
| 207 | return _results; | ||
| 208 | }; | ||
| 209 | |||
| 210 | Node.prototype._initialize = function() { | ||
| 211 | var settings = this.settings; | ||
| 212 | |||
| 213 | this.render(); | ||
| 214 | |||
| 215 | if (settings.expandable === true && settings.initialState === "collapsed") { | ||
| 216 | this.collapse(); | ||
| 217 | } else { | ||
| 218 | this.expand(); | ||
| 219 | } | ||
| 220 | |||
| 221 | if (settings.onNodeInitialized != null) { | ||
| 222 | settings.onNodeInitialized.apply(this); | ||
| 223 | } | ||
| 224 | |||
| 225 | return this.initialized = true; | ||
| 226 | }; | ||
| 227 | |||
| 228 | Node.prototype._showChildren = function() { | ||
| 229 | var child, _i, _len, _ref, _results; | ||
| 230 | _ref = this.children; | ||
| 231 | _results = []; | ||
| 232 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 233 | child = _ref[_i]; | ||
| 234 | _results.push(child.show()); | ||
| 235 | } | ||
| 236 | return _results; | ||
| 237 | }; | ||
| 238 | |||
| 239 | return Node; | ||
| 240 | })(); | ||
| 241 | |||
| 242 | Tree = (function() { | ||
| 243 | function Tree(table, settings) { | ||
| 244 | this.table = table; | ||
| 245 | this.settings = settings; | ||
| 246 | this.tree = {}; | ||
| 247 | |||
| 248 | // Cache the nodes and roots in simple arrays for quick access/iteration | ||
| 249 | this.nodes = []; | ||
| 250 | this.roots = []; | ||
| 251 | } | ||
| 252 | |||
| 253 | Tree.prototype.collapseAll = function() { | ||
| 254 | var node, _i, _len, _ref, _results; | ||
| 255 | _ref = this.nodes; | ||
| 256 | _results = []; | ||
| 257 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 258 | node = _ref[_i]; | ||
| 259 | _results.push(node.collapse()); | ||
| 260 | } | ||
| 261 | return _results; | ||
| 262 | }; | ||
| 263 | |||
| 264 | Tree.prototype.expandAll = function() { | ||
| 265 | var node, _i, _len, _ref, _results; | ||
| 266 | _ref = this.nodes; | ||
| 267 | _results = []; | ||
| 268 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 269 | node = _ref[_i]; | ||
| 270 | _results.push(node.expand()); | ||
| 271 | } | ||
| 272 | return _results; | ||
| 273 | }; | ||
| 274 | |||
| 275 | Tree.prototype.findLastNode = function (node) { | ||
| 276 | if (node.children.length > 0) { | ||
| 277 | return this.findLastNode(node.children[node.children.length - 1]); | ||
| 278 | } else { | ||
| 279 | return node; | ||
| 280 | } | ||
| 281 | }; | ||
| 282 | |||
| 283 | Tree.prototype.loadRows = function(rows) { | ||
| 284 | var node, row, i; | ||
| 285 | |||
| 286 | if (rows != null) { | ||
| 287 | for (i = 0; i < rows.length; i++) { | ||
| 288 | row = $(rows[i]); | ||
| 289 | |||
| 290 | if (row.data(this.settings.nodeIdAttr) != null) { | ||
| 291 | node = new Node(row, this.tree, this.settings); | ||
| 292 | this.nodes.push(node); | ||
| 293 | this.tree[node.id] = node; | ||
| 294 | |||
| 295 | if (node.parentId != null) { | ||
| 296 | this.tree[node.parentId].addChild(node); | ||
| 297 | } else { | ||
| 298 | this.roots.push(node); | ||
| 299 | } | ||
| 300 | } | ||
| 301 | } | ||
| 302 | } | ||
| 303 | |||
| 304 | for (i = 0; i < this.nodes.length; i++) { | ||
| 305 | node = this.nodes[i].updateBranchLeafClass(); | ||
| 306 | } | ||
| 307 | |||
| 308 | return this; | ||
| 309 | }; | ||
| 310 | |||
| 311 | Tree.prototype.move = function(node, destination) { | ||
| 312 | // Conditions: | ||
| 313 | // 1: +node+ should not be inserted as a child of +node+ itself. | ||
| 314 | // 2: +destination+ should not be the same as +node+'s current parent (this | ||
| 315 | // prevents +node+ from being moved to the same location where it already | ||
| 316 | // is). | ||
| 317 | // 3: +node+ should not be inserted in a location in a branch if this would | ||
| 318 | // result in +node+ being an ancestor of itself. | ||
| 319 | var nodeParent = node.parentNode(); | ||
| 320 | if (node !== destination && destination.id !== node.parentId && $.inArray(node, destination.ancestors()) === -1) { | ||
| 321 | node.setParent(destination); | ||
| 322 | this._moveRows(node, destination); | ||
| 323 | |||
| 324 | // Re-render parentNode if this is its first child node, and therefore | ||
| 325 | // doesn't have the expander yet. | ||
| 326 | if (node.parentNode().children.length === 1) { | ||
| 327 | node.parentNode().render(); | ||
| 328 | } | ||
| 329 | } | ||
| 330 | |||
| 331 | if(nodeParent){ | ||
| 332 | nodeParent.updateBranchLeafClass(); | ||
| 333 | } | ||
| 334 | if(node.parentNode()){ | ||
| 335 | node.parentNode().updateBranchLeafClass(); | ||
| 336 | } | ||
| 337 | node.updateBranchLeafClass(); | ||
| 338 | return this; | ||
| 339 | }; | ||
| 340 | |||
| 341 | Tree.prototype.removeNode = function(node) { | ||
| 342 | // Recursively remove all descendants of +node+ | ||
| 343 | this.unloadBranch(node); | ||
| 344 | |||
| 345 | // Remove node from DOM (<tr>) | ||
| 346 | node.row.remove(); | ||
| 347 | |||
| 348 | // Clean up Tree object (so Node objects are GC-ed) | ||
| 349 | delete this.tree[node.id]; | ||
| 350 | this.nodes.splice($.inArray(node, this.nodes), 1); | ||
| 351 | } | ||
| 352 | |||
| 353 | Tree.prototype.render = function() { | ||
| 354 | var root, _i, _len, _ref; | ||
| 355 | _ref = this.roots; | ||
| 356 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 357 | root = _ref[_i]; | ||
| 358 | |||
| 359 | // Naming is confusing (show/render). I do not call render on node from | ||
| 360 | // here. | ||
| 361 | root.show(); | ||
| 362 | } | ||
| 363 | return this; | ||
| 364 | }; | ||
| 365 | |||
| 366 | Tree.prototype.sortBranch = function(node, sortFun) { | ||
| 367 | // First sort internal array of children | ||
| 368 | node.children.sort(sortFun); | ||
| 369 | |||
| 370 | // Next render rows in correct order on page | ||
| 371 | this._sortChildRows(node); | ||
| 372 | |||
| 373 | return this; | ||
| 374 | }; | ||
| 375 | |||
| 376 | Tree.prototype.unloadBranch = function(node) { | ||
| 377 | var children, i; | ||
| 378 | |||
| 379 | for (i = 0; i < node.children.length; i++) { | ||
| 380 | this.removeNode(node.children[i]); | ||
| 381 | } | ||
| 382 | |||
| 383 | // Reset node's collection of children | ||
| 384 | node.children = []; | ||
| 385 | |||
| 386 | node.updateBranchLeafClass(); | ||
| 387 | |||
| 388 | return this; | ||
| 389 | }; | ||
| 390 | |||
| 391 | Tree.prototype._moveRows = function(node, destination) { | ||
| 392 | var children = node.children, i; | ||
| 393 | |||
| 394 | node.row.insertAfter(destination.row); | ||
| 395 | node.render(); | ||
| 396 | |||
| 397 | // Loop backwards through children to have them end up on UI in correct | ||
| 398 | // order (see #112) | ||
| 399 | for (i = children.length - 1; i >= 0; i--) { | ||
| 400 | this._moveRows(children[i], node); | ||
| 401 | } | ||
| 402 | }; | ||
| 403 | |||
| 404 | // Special _moveRows case, move children to itself to force sorting | ||
| 405 | Tree.prototype._sortChildRows = function(parentNode) { | ||
| 406 | return this._moveRows(parentNode, parentNode); | ||
| 407 | }; | ||
| 408 | |||
| 409 | return Tree; | ||
| 410 | })(); | ||
| 411 | |||
| 412 | // jQuery Plugin | ||
| 413 | methods = { | ||
| 414 | init: function(options, force) { | ||
| 415 | var settings; | ||
| 416 | |||
| 417 | settings = $.extend({ | ||
| 418 | branchAttr: "ttBranch", | ||
| 419 | clickableNodeNames: false, | ||
| 420 | column: 0, | ||
| 421 | columnElType: "td", // i.e. 'td', 'th' or 'td,th' | ||
| 422 | expandable: false, | ||
| 423 | expanderTemplate: "<a href='#'> </a>", | ||
| 424 | indent: 19, | ||
| 425 | indenterTemplate: "<span class='indenter'></span>", | ||
| 426 | initialState: "collapsed", | ||
| 427 | nodeIdAttr: "ttId", // maps to data-tt-id | ||
| 428 | parentIdAttr: "ttParentId", // maps to data-tt-parent-id | ||
| 429 | stringExpand: "Expand", | ||
| 430 | stringCollapse: "Collapse", | ||
| 431 | |||
| 432 | // Events | ||
| 433 | onInitialized: null, | ||
| 434 | onNodeCollapse: null, | ||
| 435 | onNodeExpand: null, | ||
| 436 | onNodeInitialized: null | ||
| 437 | }, options); | ||
| 438 | |||
| 439 | return this.each(function() { | ||
| 440 | var el = $(this), tree; | ||
| 441 | |||
| 442 | if (force || el.data("treetable") === undefined) { | ||
| 443 | tree = new Tree(this, settings); | ||
| 444 | tree.loadRows(this.rows).render(); | ||
| 445 | |||
| 446 | el.addClass("treetable").data("treetable", tree); | ||
| 447 | |||
| 448 | if (settings.onInitialized != null) { | ||
| 449 | settings.onInitialized.apply(tree); | ||
| 450 | } | ||
| 451 | } | ||
| 452 | |||
| 453 | return el; | ||
| 454 | }); | ||
| 455 | }, | ||
| 456 | |||
| 457 | destroy: function() { | ||
| 458 | return this.each(function() { | ||
| 459 | return $(this).removeData("treetable").removeClass("treetable"); | ||
| 460 | }); | ||
| 461 | }, | ||
| 462 | |||
| 463 | collapseAll: function() { | ||
| 464 | this.data("treetable").collapseAll(); | ||
| 465 | return this; | ||
| 466 | }, | ||
| 467 | |||
| 468 | collapseNode: function(id) { | ||
| 469 | var node = this.data("treetable").tree[id]; | ||
| 470 | |||
| 471 | if (node) { | ||
| 472 | node.collapse(); | ||
| 473 | } else { | ||
| 474 | throw new Error("Unknown node '" + id + "'"); | ||
| 475 | } | ||
| 476 | |||
| 477 | return this; | ||
| 478 | }, | ||
| 479 | |||
| 480 | expandAll: function() { | ||
| 481 | this.data("treetable").expandAll(); | ||
| 482 | return this; | ||
| 483 | }, | ||
| 484 | |||
| 485 | expandNode: function(id) { | ||
| 486 | var node = this.data("treetable").tree[id]; | ||
| 487 | |||
| 488 | if (node) { | ||
| 489 | if (!node.initialized) { | ||
| 490 | node._initialize(); | ||
| 491 | } | ||
| 492 | |||
| 493 | node.expand(); | ||
| 494 | } else { | ||
| 495 | throw new Error("Unknown node '" + id + "'"); | ||
| 496 | } | ||
| 497 | |||
| 498 | return this; | ||
| 499 | }, | ||
| 500 | |||
| 501 | loadBranch: function(node, rows) { | ||
| 502 | var settings = this.data("treetable").settings, | ||
| 503 | tree = this.data("treetable").tree; | ||
| 504 | |||
| 505 | // TODO Switch to $.parseHTML | ||
| 506 | rows = $(rows); | ||
| 507 | |||
| 508 | if (node == null) { // Inserting new root nodes | ||
| 509 | this.append(rows); | ||
| 510 | } else { | ||
| 511 | var lastNode = this.data("treetable").findLastNode(node); | ||
| 512 | rows.insertAfter(lastNode.row); | ||
| 513 | } | ||
| 514 | |||
| 515 | this.data("treetable").loadRows(rows); | ||
| 516 | |||
| 517 | // Make sure nodes are properly initialized | ||
| 518 | rows.filter("tr").each(function() { | ||
| 519 | tree[$(this).data(settings.nodeIdAttr)].show(); | ||
| 520 | }); | ||
| 521 | |||
| 522 | if (node != null) { | ||
| 523 | // Re-render parent to ensure expander icon is shown (#79) | ||
| 524 | node.render().expand(); | ||
| 525 | } | ||
| 526 | |||
| 527 | return this; | ||
| 528 | }, | ||
| 529 | |||
| 530 | move: function(nodeId, destinationId) { | ||
| 531 | var destination, node; | ||
| 532 | |||
| 533 | node = this.data("treetable").tree[nodeId]; | ||
| 534 | destination = this.data("treetable").tree[destinationId]; | ||
| 535 | this.data("treetable").move(node, destination); | ||
| 536 | |||
| 537 | return this; | ||
| 538 | }, | ||
| 539 | |||
| 540 | node: function(id) { | ||
| 541 | return this.data("treetable").tree[id]; | ||
| 542 | }, | ||
| 543 | |||
| 544 | removeNode: function(id) { | ||
| 545 | var node = this.data("treetable").tree[id]; | ||
| 546 | |||
| 547 | if (node) { | ||
| 548 | this.data("treetable").removeNode(node); | ||
| 549 | } else { | ||
| 550 | throw new Error("Unknown node '" + id + "'"); | ||
| 551 | } | ||
| 552 | |||
| 553 | return this; | ||
| 554 | }, | ||
| 555 | |||
| 556 | reveal: function(id) { | ||
| 557 | var node = this.data("treetable").tree[id]; | ||
| 558 | |||
| 559 | if (node) { | ||
| 560 | node.reveal(); | ||
| 561 | } else { | ||
| 562 | throw new Error("Unknown node '" + id + "'"); | ||
| 563 | } | ||
| 564 | |||
| 565 | return this; | ||
| 566 | }, | ||
| 567 | |||
| 568 | sortBranch: function(node, columnOrFunction) { | ||
| 569 | var settings = this.data("treetable").settings, | ||
| 570 | prepValue, | ||
| 571 | sortFun; | ||
| 572 | |||
| 573 | columnOrFunction = columnOrFunction || settings.column; | ||
| 574 | sortFun = columnOrFunction; | ||
| 575 | |||
| 576 | if ($.isNumeric(columnOrFunction)) { | ||
| 577 | sortFun = function(a, b) { | ||
| 578 | var extractValue, valA, valB; | ||
| 579 | |||
| 580 | extractValue = function(node) { | ||
| 581 | var val = node.row.find("td:eq(" + columnOrFunction + ")").text(); | ||
| 582 | // Ignore trailing/leading whitespace and use uppercase values for | ||
| 583 | // case insensitive ordering | ||
| 584 | return $.trim(val).toUpperCase(); | ||
| 585 | } | ||
| 586 | |||
| 587 | valA = extractValue(a); | ||
| 588 | valB = extractValue(b); | ||
| 589 | |||
| 590 | if (valA < valB) return -1; | ||
| 591 | if (valA > valB) return 1; | ||
| 592 | return 0; | ||
| 593 | }; | ||
| 594 | } | ||
| 595 | |||
| 596 | this.data("treetable").sortBranch(node, sortFun); | ||
| 597 | return this; | ||
| 598 | }, | ||
| 599 | |||
| 600 | unloadBranch: function(node) { | ||
| 601 | this.data("treetable").unloadBranch(node); | ||
| 602 | return this; | ||
| 603 | } | ||
| 604 | }; | ||
| 605 | |||
| 606 | $.fn.treetable = function(method) { | ||
| 607 | if (methods[method]) { | ||
| 608 | return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); | ||
| 609 | } else if (typeof method === 'object' || !method) { | ||
| 610 | return methods.init.apply(this, arguments); | ||
| 611 | } else { | ||
| 612 | return $.error("Method " + method + " does not exist on jQuery.treetable"); | ||
| 613 | } | ||
| 614 | }; | ||
| 615 | |||
| 616 | // Expose classes to world | ||
| 617 | this.TreeTable || (this.TreeTable = {}); | ||
| 618 | this.TreeTable.Node = Node; | ||
| 619 | this.TreeTable.Tree = Tree; | ||
| 620 | }).call(this); | ||
