Index: openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/task-edit.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl 17 Dec 2003 19:27:08 -0000 1.15 +++ openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl 7 Jan 2004 13:12:17 -0000 1.16 @@ -95,7 +95,13 @@ {description:richtext,optional {label "Task Description"} {html {cols 60 rows 8}} + {help_text "Suggested text; can be edited when template is instantiated."} } + {attachment_num:integer(text) + {label "Number of attachments"} + {help_text "These are placeholders that are matched to props by the case author during SimInst"} + {html {size 2}} + } } set enabled_options [list] @@ -109,6 +115,14 @@ } ad_form -extend -name task -form { + {new_state_id:integer(select),optional + {label "Next state"} + {options $state_options} + {help_text "After this task is completed, change the template's state."} + } +} + +ad_form -extend -name task -form { {assigned_state_ids:text(checkbox),optional,multiple {label "Assigned
TODO: Find a better
way to show the
assigned/enabled states"} {options $enabled_options} @@ -117,18 +131,6 @@ {label "Enabled"} {options $enabled_options} } -} - -ad_form -extend -name task -form { - {new_state_id:integer(select),optional - {label "New state"} - {options $state_options} - } - {attachment_num:integer(text) - {label "Number of attachments"} - {help_text "These are placeholders that are matched to props by the case author during SimInst"} - {html {size 2}} - } } -edit_request { set workflow_id $task_array(workflow_id) permission::require_write_permission -object_id $workflow_id Index: openacs-4/contrib/packages/simulation/www/simbuild/template-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/template-edit.adp,v diff -u -r1.15 -r1.16 --- openacs-4/contrib/packages/simulation/www/simbuild/template-edit.adp 6 Jan 2004 13:05:48 -0000 1.15 +++ openacs-4/contrib/packages/simulation/www/simbuild/template-edit.adp 7 Jan 2004 13:12:17 -0000 1.16 @@ -17,13 +17,10 @@

-TODO: Hide task table if there are no states, and show only "add a - state" link instead -

TODO: B: Allow reordering of roles, states, tasks.

-

TODO: Instead of initialize column and special task, UI should - show an "initial state" radio button. The special initialize task should not - appear in this list. -

TODO: B: Better widget for suggested duration.

+

TODO: B: Allow reordering of roles, tasks.

+

TODO: Hide the init state and init task. Auto-create and + maintain an init task pointing to the first state column. +

TODO: Allow reordering of state columns.

TODO: B: When Ready for Use Checkbox is in display (not edit) mode, show only the text "yes" or "no" instead of showing a disabled checkbox

TODO: If !ready_p, display "Mark this template ready for use" link Index: openacs-4/contrib/packages/simulation/www/simbuild/template-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/template-edit.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/contrib/packages/simulation/www/simbuild/template-edit.tcl 17 Dec 2003 10:43:06 -0000 1.13 +++ openacs-4/contrib/packages/simulation/www/simbuild/template-edit.tcl 7 Jan 2004 13:12:17 -0000 1.14 @@ -51,14 +51,17 @@ } else { ad_form -extend -name sim_template -form { {template_ready_p:boolean(hidden),optional + {help_text "Only templates marked Ready can be used in SimInst by Case Authors. TODO: this text doesn't appear??"} {value f} } + } } ad_form -extend -name sim_template -form { {suggested_duration:text,optional {label "Suggested Duration"} + {help_text "Can be overridden when template is instantiated."} } {description:richtext(richtext),optional {label "Description"} Index: openacs-4/contrib/packages/simulation/www/simbuild/template-load.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/template-load.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/simulation/www/simbuild/template-load.tcl 17 Dec 2003 19:13:15 -0000 1.2 +++ openacs-4/contrib/packages/simulation/www/simbuild/template-load.tcl 7 Jan 2004 13:12:17 -0000 1.3 @@ -16,7 +16,7 @@ } {spec:text(textarea),nospell {label "Spec"} - {help_text {Copy and paste the specification here}} + {help_text {Copy and paste the specification here. A specification is a plain-text file which can be generated when editing a template.}} {html {cols 80 rows 10}} } } -on_request { Index: openacs-4/contrib/packages/simulation/www/siminst/map-tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/map-tasks.adp,v diff -u -r1.8 -r1.9 --- openacs-4/contrib/packages/simulation/www/siminst/map-tasks.adp 6 Jan 2004 14:56:42 -0000 1.8 +++ openacs-4/contrib/packages/simulation/www/siminst/map-tasks.adp 7 Jan 2004 13:12:17 -0000 1.9 @@ -5,7 +5,7 @@ where the new prop is already set as the attachment.

- TODO: (low priority) allow props to be embedded within description + TODO: C: allow props to be embedded within description body so that they will be displayed as links in simplay when user looks at task description

Index: openacs-4/contrib/packages/simulation/www/simplay/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/index.adp,v diff -u -r1.15 -r1.16 --- openacs-4/contrib/packages/simulation/www/simplay/index.adp 6 Jan 2004 13:05:48 -0000 1.15 +++ openacs-4/contrib/packages/simulation/www/simplay/index.adp 7 Jan 2004 13:12:17 -0000 1.16 @@ -3,10 +3,13 @@ @context;noquote@ -

+

Cases in Simulations you Administer

+ + +

All Messages

@@ -19,4 +22,3 @@

TODO: how can a player access completed cases?

-

TODO: in admin mode, show all adminned cases \ No newline at end of file Index: openacs-4/contrib/packages/simulation/www/simplay/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/messages.adp,v diff -u -r1.8 -r1.9 --- openacs-4/contrib/packages/simulation/www/simplay/messages.adp 6 Jan 2004 13:05:48 -0000 1.8 +++ openacs-4/contrib/packages/simulation/www/simplay/messages.adp 7 Jan 2004 13:12:17 -0000 1.9 @@ -4,5 +4,6 @@ - -

TODO: show sent messages as well \ No newline at end of file +

TODO: show sent messages as well +

TODO: automatically create a Notification entry for each user per +role, and show an add/remove link here \ No newline at end of file Index: openacs-4/packages/simulation/www/simbuild/task-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/task-edit.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/simulation/www/simbuild/task-edit.tcl 17 Dec 2003 19:27:08 -0000 1.15 +++ openacs-4/packages/simulation/www/simbuild/task-edit.tcl 7 Jan 2004 13:12:17 -0000 1.16 @@ -95,7 +95,13 @@ {description:richtext,optional {label "Task Description"} {html {cols 60 rows 8}} + {help_text "Suggested text; can be edited when template is instantiated."} } + {attachment_num:integer(text) + {label "Number of attachments"} + {help_text "These are placeholders that are matched to props by the case author during SimInst"} + {html {size 2}} + } } set enabled_options [list] @@ -109,6 +115,14 @@ } ad_form -extend -name task -form { + {new_state_id:integer(select),optional + {label "Next state"} + {options $state_options} + {help_text "After this task is completed, change the template's state."} + } +} + +ad_form -extend -name task -form { {assigned_state_ids:text(checkbox),optional,multiple {label "Assigned
TODO: Find a better
way to show the
assigned/enabled states"} {options $enabled_options} @@ -117,18 +131,6 @@ {label "Enabled"} {options $enabled_options} } -} - -ad_form -extend -name task -form { - {new_state_id:integer(select),optional - {label "New state"} - {options $state_options} - } - {attachment_num:integer(text) - {label "Number of attachments"} - {help_text "These are placeholders that are matched to props by the case author during SimInst"} - {html {size 2}} - } } -edit_request { set workflow_id $task_array(workflow_id) permission::require_write_permission -object_id $workflow_id Index: openacs-4/packages/simulation/www/simbuild/template-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-edit.adp,v diff -u -r1.15 -r1.16 --- openacs-4/packages/simulation/www/simbuild/template-edit.adp 6 Jan 2004 13:05:48 -0000 1.15 +++ openacs-4/packages/simulation/www/simbuild/template-edit.adp 7 Jan 2004 13:12:17 -0000 1.16 @@ -17,13 +17,10 @@

-TODO: Hide task table if there are no states, and show only "add a - state" link instead -

TODO: B: Allow reordering of roles, states, tasks.

-

TODO: Instead of initialize column and special task, UI should - show an "initial state" radio button. The special initialize task should not - appear in this list. -

TODO: B: Better widget for suggested duration.

+

TODO: B: Allow reordering of roles, tasks.

+

TODO: Hide the init state and init task. Auto-create and + maintain an init task pointing to the first state column. +

TODO: Allow reordering of state columns.

TODO: B: When Ready for Use Checkbox is in display (not edit) mode, show only the text "yes" or "no" instead of showing a disabled checkbox

TODO: If !ready_p, display "Mark this template ready for use" link Index: openacs-4/packages/simulation/www/simbuild/template-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-edit.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/simulation/www/simbuild/template-edit.tcl 17 Dec 2003 10:43:06 -0000 1.13 +++ openacs-4/packages/simulation/www/simbuild/template-edit.tcl 7 Jan 2004 13:12:17 -0000 1.14 @@ -51,14 +51,17 @@ } else { ad_form -extend -name sim_template -form { {template_ready_p:boolean(hidden),optional + {help_text "Only templates marked Ready can be used in SimInst by Case Authors. TODO: this text doesn't appear??"} {value f} } + } } ad_form -extend -name sim_template -form { {suggested_duration:text,optional {label "Suggested Duration"} + {help_text "Can be overridden when template is instantiated."} } {description:richtext(richtext),optional {label "Description"} Index: openacs-4/packages/simulation/www/simbuild/template-load.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-load.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/simulation/www/simbuild/template-load.tcl 17 Dec 2003 19:13:15 -0000 1.2 +++ openacs-4/packages/simulation/www/simbuild/template-load.tcl 7 Jan 2004 13:12:17 -0000 1.3 @@ -16,7 +16,7 @@ } {spec:text(textarea),nospell {label "Spec"} - {help_text {Copy and paste the specification here}} + {help_text {Copy and paste the specification here. A specification is a plain-text file which can be generated when editing a template.}} {html {cols 80 rows 10}} } } -on_request { Index: openacs-4/packages/simulation/www/siminst/map-tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/map-tasks.adp,v diff -u -r1.8 -r1.9 --- openacs-4/packages/simulation/www/siminst/map-tasks.adp 6 Jan 2004 14:56:42 -0000 1.8 +++ openacs-4/packages/simulation/www/siminst/map-tasks.adp 7 Jan 2004 13:12:17 -0000 1.9 @@ -5,7 +5,7 @@ where the new prop is already set as the attachment.

- TODO: (low priority) allow props to be embedded within description + TODO: C: allow props to be embedded within description body so that they will be displayed as links in simplay when user looks at task description

Index: openacs-4/packages/simulation/www/simplay/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/index.adp,v diff -u -r1.15 -r1.16 --- openacs-4/packages/simulation/www/simplay/index.adp 6 Jan 2004 13:05:48 -0000 1.15 +++ openacs-4/packages/simulation/www/simplay/index.adp 7 Jan 2004 13:12:17 -0000 1.16 @@ -3,10 +3,13 @@ @context;noquote@ -

+

Cases in Simulations you Administer

+ + +

All Messages

@@ -19,4 +22,3 @@

TODO: how can a player access completed cases?

-

TODO: in admin mode, show all adminned cases \ No newline at end of file Index: openacs-4/packages/simulation/www/simplay/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/messages.adp,v diff -u -r1.8 -r1.9 --- openacs-4/packages/simulation/www/simplay/messages.adp 6 Jan 2004 13:05:48 -0000 1.8 +++ openacs-4/packages/simulation/www/simplay/messages.adp 7 Jan 2004 13:12:17 -0000 1.9 @@ -4,5 +4,6 @@ - -

TODO: show sent messages as well \ No newline at end of file +

TODO: show sent messages as well +

TODO: automatically create a Notification entry for each user per +role, and show an add/remove link here \ No newline at end of file