Commit 48c8c1ac authored by Frank Bergmann's avatar Frank Bergmann

- Update to OpenACS 5.9.1

parent 10016793
<if "1" eq @show_diagram_p@>
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
// Special variant of a line series for milestone tracker...
// ... that actually skips "undefined" values in the store.
......
<if @show_diagram_p@>
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
window.store1 = Ext.create('Ext.data.JsonStore', {
......
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
window.store_@diagram_id@ = Ext.create('Ext.data.JsonStore', {
......
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
// Ext.Loader.setConfig({enabled: true});
Ext.Loader.setPath('Ext.ux', '/sencha-v411/examples/ux');
......
<if @project_count@ ge 2>
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
window.store1 = Ext.create('Ext.data.JsonStore', {
......@@ -43,7 +43,7 @@ Ext.onReady(function () {
yField: 'y_axis',
highlight: true,
markerConfig: { type: 'circle' },
renderer: createHandler('xxx'),
renderer: createHandler(),
label: {
display: 'under',
field: 'caption',
......
......@@ -10,7 +10,7 @@
<body id="docbody">
<h1>Milestone Tracker</h1>
<div id=milestone_tracker_41290226></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
Ext.require(['Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
......
......@@ -10,7 +10,7 @@
<body id="docbody">
<h1>Milestone Tracker</h1>
<div id=milestone_tracker_41290226></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
Ext.require(['Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
......
......@@ -10,7 +10,7 @@
<body id="docbody">
<h1>Milestone Tracker</h1>
<div id=milestone_tracker_41290226></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
Ext.require(['Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
......
......@@ -11,7 +11,7 @@
<h1>Stacked Bar Chart Sample</h1>
<div id=@diagram_id@></div>
<script type='text/javascript'>
<script type='text/javascript' <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
Ext.require(['Ext.chart.*', 'Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']);
window.store1 = Ext.create('Ext.data.JsonStore', {
......@@ -52,7 +52,7 @@ Ext.onReady(function () {
xField: 'x_axis',
yField: 'y_axis',
highlight: true,
renderer: createHandler('xxx'),
renderer: createHandler(),
label: {
display: 'middle',
field: 'caption',
......
......@@ -5,4 +5,12 @@
<property name="sub_navbar">@sub_navbar;noquote@</property>
<property name="left_navbar">@left_navbar_html;noquote@</property>
<!-- Show calendar on start- and end-date -->
<script type="text/javascript" <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
window.addEventListener('load', function() {
document.getElementById('start_date_calendar').addEventListener('click', function() { showCalendar('start_date', 'y-m-d'); });
document.getElementById('end_date_calendar').addEventListener('click', function() { showCalendar('end_date', 'y-m-d'); });
});
</script>
@body;noquote@
......@@ -130,8 +130,8 @@ ad_form \
-form {
{group_id:text(select),optional {label "Group/Profile"} {options $group_options}}
{cost_center_id:text(select),optional {label "Department"} {options $cost_center_options}}
{start_date:text(text) {label "[_ intranet-timesheet2.Start_Date]"} {value "$start_date"} {html {size 10}} {after_html {<input type="button" style="height:20px; width:20px; background: url('/resources/acs-templating/calendar.gif');" onclick ="return showCalendar('start_date', 'y-m-d');" >}}}
{end_date:text(text) {label "[_ intranet-timesheet2.End_Date]"} {value "$end_date"} {html {size 10}} {after_html {<input type="button" style="height:20px; width:20px; background: url('/resources/acs-templating/calendar.gif');" onclick ="return showCalendar('end_date', 'y-m-d');" >}}}
{start_date:text(text) {label "[_ intranet-timesheet2.Start_Date]"} {value "$start_date"} {html {size 10}} {after_html {<input id=start_date_calendar type="button" style="height:20px; width:20px; background: url('/resources/acs-templating/calendar.gif');" >}}}
{end_date:text(text) {label "[_ intranet-timesheet2.End_Date]"} {value "$end_date"} {html {size 10}} {after_html {<input id=end_date_calendar type="button" style="height:20px; width:20px; background: url('/resources/acs-templating/calendar.gif');" >}}}
{project_status_id:text(im_category_tree),optional {label "[lang::message::lookup {} intranet-core.Project_status {Project Status}]"} {custom {category_type "Intranet Project Status" translate_p 1 package_key "intranet-core"} } }
{aggregation_level:text(select),optional {label "Aggregation Level"} {options $aggregation_options}}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment