Index: openacs-4/contrib/packages/simulation/simulation.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/Attic/simulation.info,v diff -u -r1.6 -r1.7 --- openacs-4/contrib/packages/simulation/simulation.info 11 Nov 2003 15:32:45 -0000 1.6 +++ openacs-4/contrib/packages/simulation/simulation.info 14 Nov 2003 14:03:42 -0000 1.7 @@ -8,12 +8,12 @@ f simulation - + Joel Aufrecht Workflow-based task simulator. 2003-10-13 - + Index: openacs-4/contrib/packages/simulation/lib/sim-objects.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-objects.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/lib/sim-objects.tcl 12 Nov 2003 15:24:02 -0000 1.1 +++ openacs-4/contrib/packages/simulation/lib/sim-objects.tcl 14 Nov 2003 14:03:42 -0000 1.2 @@ -6,7 +6,7 @@ @cvs-id $Id$ } { display_mode { - allowed_values {edit display} + allowed_values {edit display display-grouped} default_value display } size { @@ -73,6 +73,7 @@ -multirow objects \ -elements $elements + db_multirow -extend { edit_url view_url delete_url } objects select_objects " select i.item_id, i.name, Index: openacs-4/contrib/packages/simulation/lib/sim-templates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-templates.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/simulation/lib/sim-templates.tcl 14 Nov 2003 09:48:54 -0000 1.4 +++ openacs-4/contrib/packages/simulation/lib/sim-templates.tcl 14 Nov 2003 14:03:42 -0000 1.5 @@ -65,9 +65,6 @@ label "Created by" orderby r.createdby } - object_count { - label "Objects" - } role_count { label "Roles" } @@ -103,9 +100,6 @@ (select p.first_names || ' ' || p.last_name from persons p where p.person_id = a.creation_user) as created_by, - (select count(object_id) - from sim_workflow_object_map - where workflow_id = w.workflow_id) as object_count, (select count(role_id) from workflow_roles where workflow_id = w.workflow_id) as role_count, Index: openacs-4/contrib/packages/simulation/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/Attic/index.adp,v diff -u -r1.21 -r1.22 --- openacs-4/contrib/packages/simulation/www/index.adp 13 Nov 2003 14:55:25 -0000 1.21 +++ openacs-4/contrib/packages/simulation/www/index.adp 14 Nov 2003 14:03:42 -0000 1.22 @@ -1,30 +1,15 @@ -
+

SimPlay

- Your live cases: + + + + + Log in to see your active cases. + -

- - Available simulations - - - - - - - - - -
- Simulation - - Start Date -
- Legislative Drafting 2 - - 10 Oct 2003 -
+
@@ -36,16 +21,16 @@

CityBuild

- +

SimBuild

- +
+
\ No newline at end of file Index: openacs-4/contrib/packages/simulation/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/Attic/index.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/contrib/packages/simulation/www/index.tcl 13 Nov 2003 14:55:25 -0000 1.7 +++ openacs-4/contrib/packages/simulation/www/index.tcl 14 Nov 2003 14:03:42 -0000 1.8 @@ -8,6 +8,8 @@ set package_id [ad_conn package_id] +set user_id [auth::get_user_id] + ###################################################################### # # active_cases Index: openacs-4/contrib/packages/simulation/www/siminst/simulation-casting.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/simulation-casting.adp,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/simulation/www/siminst/simulation-casting.adp 13 Nov 2003 13:14:34 -0000 1.2 +++ openacs-4/contrib/packages/simulation/www/siminst/simulation-casting.adp 14 Nov 2003 14:03:42 -0000 1.3 @@ -1,33 +1,79 @@ @page_title;noquote@ @context;noquote@ + +
+(this is just a mockup) + + + + + + + + + + + + + + +
RoleCharacterActor(s)In groups of
Plaintiff + + + +
Defendent + + + +
Judge + + + +
+
-
-Casting.
-  There is a single table for setting both characters and casting of
-  roles (combining two pages in the mockups).  Each row is a single
-  role from the template.  the columns are:
-
-  a) Role Name
-
-  b) A dropdown showing all characters
-
-  c) A dropdown showing
-    i) If the role has been set up in SIMINST with all of the
-        necessary agent responses, "Automatic Agent"
-
-    There is an admin page for the package where the professor
-    can designate groups "not castable", "cast up to one", "cast
-    up to two", etc (to 10?).
-
-    ii) A list of all groups within the package except those marked
-        "not castable"
-
-    iii) For each group so castable greater than one, extra rows:
-          "Two students", "Three Students" etc
-
- -

Create and cast cases

\ No newline at end of file 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.1 -r1.2 --- openacs-4/contrib/packages/simulation/www/simplay/index.adp 13 Nov 2003 12:19:50 -0000 1.1 +++ openacs-4/contrib/packages/simulation/www/simplay/index.adp 14 Nov 2003 14:03:42 -0000 1.2 @@ -1,11 +1,11 @@ - + @page_title;noquote@ @context;noquote@ - -

- To-do: show all active simulations (records in sim_simulation), -including number of cases (records in workflow_cases that are related -to a sim_simulation via the extension table sim_workflow_cases). - -List of currently active simulation cases: -

+ +

+ To-do: show all active simulations (records in sim_simulation), + including number of cases (records in workflow_cases that are related + to a sim_simulation via the extension table sim_workflow_cases). + + List of currently active simulation cases: +

\ No newline at end of file Index: openacs-4/packages/simulation/simulation.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/simulation.info,v diff -u -r1.6 -r1.7 --- openacs-4/packages/simulation/simulation.info 11 Nov 2003 15:32:45 -0000 1.6 +++ openacs-4/packages/simulation/simulation.info 14 Nov 2003 14:03:42 -0000 1.7 @@ -8,12 +8,12 @@ f simulation - + Joel Aufrecht Workflow-based task simulator. 2003-10-13 - + Index: openacs-4/packages/simulation/lib/sim-objects.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/sim-objects.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simulation/lib/sim-objects.tcl 12 Nov 2003 15:24:02 -0000 1.1 +++ openacs-4/packages/simulation/lib/sim-objects.tcl 14 Nov 2003 14:03:42 -0000 1.2 @@ -6,7 +6,7 @@ @cvs-id $Id$ } { display_mode { - allowed_values {edit display} + allowed_values {edit display display-grouped} default_value display } size { @@ -73,6 +73,7 @@ -multirow objects \ -elements $elements + db_multirow -extend { edit_url view_url delete_url } objects select_objects " select i.item_id, i.name, Index: openacs-4/packages/simulation/lib/sim-templates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/sim-templates.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/simulation/lib/sim-templates.tcl 14 Nov 2003 09:48:54 -0000 1.4 +++ openacs-4/packages/simulation/lib/sim-templates.tcl 14 Nov 2003 14:03:42 -0000 1.5 @@ -65,9 +65,6 @@ label "Created by" orderby r.createdby } - object_count { - label "Objects" - } role_count { label "Roles" } @@ -103,9 +100,6 @@ (select p.first_names || ' ' || p.last_name from persons p where p.person_id = a.creation_user) as created_by, - (select count(object_id) - from sim_workflow_object_map - where workflow_id = w.workflow_id) as object_count, (select count(role_id) from workflow_roles where workflow_id = w.workflow_id) as role_count, Index: openacs-4/packages/simulation/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/index.adp,v diff -u -r1.21 -r1.22 --- openacs-4/packages/simulation/www/index.adp 13 Nov 2003 14:55:25 -0000 1.21 +++ openacs-4/packages/simulation/www/index.adp 14 Nov 2003 14:03:42 -0000 1.22 @@ -1,30 +1,15 @@ -
+

SimPlay

- Your live cases: + + + + + Log in to see your active cases. + -

- - Available simulations - - - - - - - - - -
- Simulation - - Start Date -
- Legislative Drafting 2 - - 10 Oct 2003 -
+
@@ -36,16 +21,16 @@

CityBuild

- +

SimBuild

- +
+
\ No newline at end of file Index: openacs-4/packages/simulation/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/index.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/simulation/www/index.tcl 13 Nov 2003 14:55:25 -0000 1.7 +++ openacs-4/packages/simulation/www/index.tcl 14 Nov 2003 14:03:42 -0000 1.8 @@ -8,6 +8,8 @@ set package_id [ad_conn package_id] +set user_id [auth::get_user_id] + ###################################################################### # # active_cases Index: openacs-4/packages/simulation/www/siminst/simulation-casting.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/simulation-casting.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/simulation/www/siminst/simulation-casting.adp 13 Nov 2003 13:14:34 -0000 1.2 +++ openacs-4/packages/simulation/www/siminst/simulation-casting.adp 14 Nov 2003 14:03:42 -0000 1.3 @@ -1,33 +1,79 @@ @page_title;noquote@ @context;noquote@ + +
+(this is just a mockup) + + + + + + + + + + + + + + +
RoleCharacterActor(s)In groups of
Plaintiff + + + +
Defendent + + + +
Judge + + + +
+
-
-Casting.
-  There is a single table for setting both characters and casting of
-  roles (combining two pages in the mockups).  Each row is a single
-  role from the template.  the columns are:
-
-  a) Role Name
-
-  b) A dropdown showing all characters
-
-  c) A dropdown showing
-    i) If the role has been set up in SIMINST with all of the
-        necessary agent responses, "Automatic Agent"
-
-    There is an admin page for the package where the professor
-    can designate groups "not castable", "cast up to one", "cast
-    up to two", etc (to 10?).
-
-    ii) A list of all groups within the package except those marked
-        "not castable"
-
-    iii) For each group so castable greater than one, extra rows:
-          "Two students", "Three Students" etc
-
- -

Create and cast cases

\ No newline at end of file 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.1 -r1.2 --- openacs-4/packages/simulation/www/simplay/index.adp 13 Nov 2003 12:19:50 -0000 1.1 +++ openacs-4/packages/simulation/www/simplay/index.adp 14 Nov 2003 14:03:42 -0000 1.2 @@ -1,11 +1,11 @@ - + @page_title;noquote@ @context;noquote@ - -

- To-do: show all active simulations (records in sim_simulation), -including number of cases (records in workflow_cases that are related -to a sim_simulation via the extension table sim_workflow_cases). - -List of currently active simulation cases: -

+ +

+ To-do: show all active simulations (records in sim_simulation), + including number of cases (records in workflow_cases that are related + to a sim_simulation via the extension table sim_workflow_cases). + + List of currently active simulation cases: +

\ No newline at end of file