## This file is subject to the terms and conditions defined in
## file 'LICENSE', which is part of this source code package.
## Copyright (c) 2009 SKR Farms (P) LTD.
<%inherit file="/base/basic1.html"/>
<%namespace name="elements" file="/component/elements.html"/>
<%!
page_tooltips = [
[ 'Help',
"""Log of updates done to all attachments."""
],
[ 'Attachments',
"""List of attachments (files) stored in this site. If you have the permission
you can edit summary and tag fields"""
],
[ 'Charts',
"""Charts are plotted for
- user Vs files-attached Vs total-payload-uploaded
- files Vs no-of-downloads
- attachments Vs uploaded-time-line
- attachments Vs tags
"""
],
]
%>
<%def name="hd_script()">
${parent.hd_script()}
%def>
<%def name="bd_body()">
<%
pagebartext = "Attachment Timeline"
attachs = '' % h.url_attachments
addattachs = '' % h.url_addattachment
charts = capture( elements.iconlink, h.url_attachcharts,
'barchart', title="Analytics on file attachments" )
%>
${elements.pagebar( pagebartext, [ attachs, addattachs, ], rspans=[ charts ],
tooltips=page_tooltips
)}
% if c.userpanes :
% else :
% endif
${elements.timeline_view( c.logs, c.fromoff, c.tooff, c.links )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
%def>
<%def name="bd_script()">
${parent.bd_script()}
%def>