## 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 licensed projects
- license Vs tags
"""
],
[ 'Timeline',
"""Log of updates done to all license."""
],
]
chartoptions = [ 'chart6', 'chart7' ]
%>
<%def name="hd_script()">
${parent.hd_script()}
%def>
<%def name="bd_body()">
<%
pagebartext = "Charts and Analytics"
tline = capture( elements.iconlink, h.url_lictimeline,
'timeline', title="License Timeline" )
%>
${elements.pagebar( pagebartext, tooltips=page_tooltips, rspans=[tline] )}
% if c.userpanes :
% else :
% endif
${charts.selectcharts( chartoptions, 'chart6' )}
${charts.chart6( c.chart6_data )}
${charts.chart7( c.chart7_data, c.chart7_tags )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
%def>
<%def name="bd_script()">
${parent.bd_script()}
%def>