tree.tpl 713 B

123456789101112131415161718192021222324252627282930313233343536
  1. {*
  2. * tree.tpl
  3. * gitphp: A PHP git repository browser
  4. * Component: Tree view template
  5. *
  6. * Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
  7. *}
  8. {extends file='projectbase.tpl'}
  9. {block name=javascript}
  10. require.deps = ['tree'];
  11. {if file_exists('js/tree.min.js')}
  12. require.paths.tree = "tree.min";
  13. {/if}
  14. {/block}
  15. {block name=main}
  16. {* Nav *}
  17. <div class="page_nav">
  18. {include file='nav.tpl' current='tree' logcommit=$commit}
  19. <br /><br />
  20. </div>
  21. {include file='title.tpl' titlecommit=$commit}
  22. {include file='path.tpl' pathobject=$tree target='tree'}
  23. <div class="page_body">
  24. {* List files *}
  25. <table class="treeTable">
  26. {include file='treelist.tpl'}
  27. </table>
  28. </div>
  29. {/block}