silverstripe-reports/templates/Includes/AssetAdmin_left.ss
Ingo Schommer 119b3b017a elofgren: USABILITY: Remove the left Side Tabs and implement clicking on the headings to show sidebar sections instead in order to fix Usability issue "#22 Allow clicking on blue heading bar of Left
Site Tree to reduce it". More info: http://www.elijahlofgren.com/silverstripe/allow-clicking-on-blue-heading-bar-of-left-site-tree-to-reduce-it/ 
A big THANK YOU to Andy Skelton for permission to use his WordPress? toggle icons originally posted at: http://trac.wordpress.org/attachment/ticket/1904/toggle.gif 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:37:48 +00:00

40 lines
1.5 KiB
Scheme
Executable File

<script>
_TREE_ICONS = {};
_TREE_ICONS['Folder'] = {
fileIcon: 'jsparty/tree/images/page-closedfolder.gif',
openFolderIcon: 'jsparty/tree/images/page-openfolder.gif',
closedFolderIcon: 'jsparty/tree/images/page-closedfolder.gif'
};
</script>
<div class="title"><div style="background-image : url(cms/images/panels/MySite.png)">Files &amp; Images</div></div>
<div id="treepanes">
<div id="sitetree_holder">
<ul id="TreeActions">
<li class="action" id="addpage"><a href="admin/addpage">Create</a></li>
<li class="action" id="deletepage"><a href="admin/deletepage">Delete</a></li>
<li class="action" id="sortitems"><a href="#">Reorganise</a></li>
</ul>
<div style="clear:both;"></div>
<form class="actionparams" id="addpage_options" style="display: none" action="admin/assets/addfolder">
<div>
<input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" />
</div>
</form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/assets/deletefolder">
<p>Select the folders that you want to delete and then click the button below</p>
<div>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected folders" />
</div>
</form>
<form class="actionparams" id="sortitems_options" style="display: none">
<p id="sortitems_message" style="margin: 0">To reorganise your folders, drag them around as desired.</p>
</form>
$SiteTreeAsUL
</div>
</div>