tree_template.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*##############################################################################
  2. # Copyright (C) 2011 HPCC Systems.
  3. #
  4. # All rights reserved. This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Affero General Public License as
  6. # published by the Free Software Foundation, either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Affero General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Affero General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. ############################################################################## */
  17. /*
  18. Feel free to use your custom icons for the tree. Make sure they are all of the same size.
  19. User icons collections are welcome, we'll publish them giving all regards.
  20. */
  21. var TREE_TPL = {
  22. 'target' : '_self', // name of the frame links will be opened in
  23. // other possible values are: _blank, _parent, _search, _self and _top
  24. 'icon_e' : '/esp/files_/img/blank.png', // empty image
  25. 'icon_l' : '/esp/files_/img/line.gif', // vertical line
  26. 'icon_32' : '/esp/files_/img/base.gif', // root leaf icon normal
  27. 'icon_36' : '/esp/files_/img/base.gif', // root leaf icon selected
  28. 'icon_48' : '/esp/files_/img/base.gif', // root icon normal
  29. 'icon_52' : '/esp/files_/img/base.gif', // root icon selected
  30. 'icon_56' : '/esp/files_/img/base.gif', // root icon opened
  31. 'icon_60' : '/esp/files_/img/base.gif', // root icon selected
  32. 'icon_16' : '/esp/files_/img/folder.gif', // node icon normal
  33. 'icon_20' : '/esp/files_/img/folderopen.gif', // node icon selected
  34. 'icon_24' : '/esp/files_/img/folderopen.gif', // node icon opened
  35. 'icon_28' : '/esp/files_/img/folderopen.gif', // node icon selected opened
  36. 'icon_0' : '/esp/files_/img/page.gif', // leaf icon normal
  37. 'icon_4' : '/esp/files_/img/page.gif', // leaf icon selected
  38. 'icon_2' : '/esp/files_/img/joinbottom.gif', // junction for leaf
  39. 'icon_3' : '/esp/files_/img/join.gif', // junction for last leaf
  40. 'icon_18' : '/esp/files_/img/plusbottom.gif', // junction for closed node
  41. 'icon_19' : '/esp/files_/img/plus.gif', // junctioin for last closed node
  42. 'icon_26' : '/esp/files_/img/minusbottom.gif',// junction for opened node
  43. 'icon_27' : '/esp/files_/img/minus.gif' // junctioin for last opended node
  44. };