tree_template.js 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*##############################################################################
  2. # HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. ############################################################################## */
  16. /*
  17. Feel free to use your custom icons for the tree. Make sure they are all of the same size.
  18. User icons collections are welcome, we'll publish them giving all regards.
  19. */
  20. var TREE_TPL = {
  21. 'target' : '_self', // name of the frame links will be opened in
  22. // other possible values are: _blank, _parent, _search, _self and _top
  23. 'icon_e' : '/esp/files_/img/blank.png', // empty image
  24. 'icon_l' : '/esp/files_/img/line.gif', // vertical line
  25. 'icon_32' : '/esp/files_/img/base.gif', // root leaf icon normal
  26. 'icon_36' : '/esp/files_/img/base.gif', // root leaf icon selected
  27. 'icon_48' : '/esp/files_/img/base.gif', // root icon normal
  28. 'icon_52' : '/esp/files_/img/base.gif', // root icon selected
  29. 'icon_56' : '/esp/files_/img/base.gif', // root icon opened
  30. 'icon_60' : '/esp/files_/img/base.gif', // root icon selected
  31. 'icon_16' : '/esp/files_/img/folder.gif', // node icon normal
  32. 'icon_20' : '/esp/files_/img/folderopen.gif', // node icon selected
  33. 'icon_24' : '/esp/files_/img/folderopen.gif', // node icon opened
  34. 'icon_28' : '/esp/files_/img/folderopen.gif', // node icon selected opened
  35. 'icon_0' : '/esp/files_/img/page.gif', // leaf icon normal
  36. 'icon_4' : '/esp/files_/img/page.gif', // leaf icon selected
  37. 'icon_2' : '/esp/files_/img/joinbottom.gif', // junction for leaf
  38. 'icon_3' : '/esp/files_/img/join.gif', // junction for last leaf
  39. 'icon_18' : '/esp/files_/img/plusbottom.gif', // junction for closed node
  40. 'icon_19' : '/esp/files_/img/plus.gif', // junctioin for last closed node
  41. 'icon_26' : '/esp/files_/img/minusbottom.gif',// junction for opened node
  42. 'icon_27' : '/esp/files_/img/minus.gif' // junctioin for last opended node
  43. };