## 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"/>
<%namespace name="forms" file="/component/forms.html"/>
<%namespace name="charts" file="/component/charts.html"/>
<%!
page_tooltips = [
[ 'Help',
"""Charts are plotted for
- pie chart for project wise activities
"""
],
[ 'Timeline',
"""Log of updates done to all license."""
],
]
chartoptions = [ 'chart12' ]
%>
<%def name="hd_script()">
${parent.hd_script()}
%def>
<%def name="bd_body()">
<%
pagebartext = "Charts and Analytics"
users = '' % h.url_usershome )
usersgmap = '' % h.url_usersgmap )
mytickets = '' % h.url_mytickets )
tline = capture( elements.iconlink, h.url_usertline,
'timeline', title="Timeline" )
%>
${elements.pagebar( pagebartext, [ users, usersgmap, mytickets ],
rspans=[ tline ], tooltips=page_tooltips )}
% if c.userpanes :
% else :
% endif
${charts.selectcharts( chartoptions, 'chart12' )}
${charts.chart12( c.chart12_data )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
%def>
<%def name="bd_script()">
${parent.bd_script()}
%def>