Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor
Directory Listing
Revision
892 -
Directory Listing
Modified
Fri May 23 13:14:51 2003 UTC (10 years ago) by
gage
The script now reads takes the form data in problemContents
and displays it in a textarea form. If there is no problemContents
it reads from the file in template directory.
The script is called with .../instructor/pgProblemEditor/set10/prob1
I'm using the
current convention for labeling files in the template directory.
Using '10' for set10 will not work right at the moment. .pg
and the course template directory are combined with the path components
to determine the path to the file.
It remains to add the rest of the editing buttons and provide a method
for saving to the template file.
-- Mike
Revision
891 -
Directory Listing
Modified
Thu May 22 21:53:36 2003 UTC (10 years ago) by
malsyned
Code cleanups
--Dennis
Revision
889 -
Directory Listing
Modified
Thu May 22 21:40:23 2003 UTC (10 years ago) by
gage
Stub for PGProblemEditor which edits a .pg file
-- Mike
Revision
888 -
Directory Listing
Modified
Thu May 22 20:46:06 2003 UTC (10 years ago) by
malsyned
More "fix me" -> "FIXME:" Changes. It's what Sam + I grep for to see
what needs fixing.
-Dennis
Revision
887 -
Directory Listing
Modified
Thu May 22 20:44:03 2003 UTC (10 years ago) by
malsyned
Changed the string "fix me." in a comment to the industry standard
"FIXME:"
-Dennis
Revision
884 -
Directory Listing
Modified
Thu May 22 20:16:31 2003 UTC (10 years ago) by
gage
Editor now fills a blank textarea from the named problem set if
it exists.
There are a number of user interface issues to be tackled here.
The behavior is: if the textarea is empty and a setName is defined
then the textarea is filled from the setNAme.def file (eventually
it will be filled from the database ) This behavior will probably
not be transparent to the user.
Revision
883 -
Directory Listing
Modified
Thu May 22 20:14:58 2003 UTC (10 years ago) by
malsyned
Added sorting capability.
Squashed a bug in bug-detection ;-)
-Dennis
Revision
877 -
Directory Listing
Modified
Wed May 21 21:37:33 2003 UTC (10 years ago) by
malsyned
The problem set list has it's basic functionality working. It still
needs a lot of work, but it's usable as a gateway to the problem editor.
-Dennis
Revision
875 -
Directory Listing
Modified
Wed May 21 18:41:51 2003 UTC (10 years ago) by
gage
Factored some code into gatherInfo() method.
The three dates are now sticky
a problem address of the form /prob1.pg won't enter into the set def textarea
This solves the problem that the directory might not yet be defined (but not elegantly).
-- Mike
Revision
872 -
Directory Listing
Modified
Tue May 20 18:35:22 2003 UTC (10 years ago) by
gage
Added comments. There is still an annoying problem
that it is possible for the user to insert a problem
that has an empty directory address (e.g /prob3.pg, 1)
if they use "Choose problem" before ever using "Select set"
Viewing the entire set, saving the set and viewing individual problems from the local library (as opposed to the problem library on webhost) remain to be implemented.
-- Mike
Revision
869 -
Directory Listing
Modified
Tue May 20 02:37:44 2003 UTC (10 years ago) by
gage
The select set and the choose problem button now work fairly well.
There is a static link allowing you to view the last chosen problem
via the problem library at webhost. This works for now, but will break
if the class template file is out of sync with the template file used
by the "problem library" program at webhost.
The save button, which involves checking the syntax of the problem list has not been implemented. (There is code in profBuildProbSets to help with this.)
The view entire problem set (in pdf form) is not been implemented.
It should be possible to redirect this to the hardcopy feature somehow?
or to the PDF feature of the "problem library".
Other aspects of the user inface are still problematic. We'll need to
play with it for awhile to see which behaviors must be changed.
--Mike
Revision
868 -
Directory Listing
Modified
Mon May 19 21:02:19 2003 UTC (10 years ago) by
gage
Considerable progress has been made. The select definition button and
choose problem buttons work now, although the code needs to be de-crufted.
For some reason Safari will not recognize \r\n (newlines) in the textarea
although iCab does. What is the accepted way to enter text with newlines into
the data for a textarea?
The view problem button doesn't work yet. i want this to come up in a new window.
Must I use javaScript for this or is there another way to force a new target window
for the result of pusing the view problem button? How can one redirect to a particular
problem?
There is still considerable debugging code in this file.
--Mike
CVe: ----------------------------------------------------------------------
Revision
860 -
Directory Listing
Modified
Sun May 18 03:26:22 2003 UTC (10 years ago) by
gage
This is the shell of an editor which will construct a "set definition file".
It shows a list of the problems which are available in the templates
directory.
To do: 1 - Detect the selected setDirectory and display its problems. Currently
the setDirectory is permanently set to setAlgebra10Intervals.
2 - Implement the problem viewing action of the form
3 - Implement the save definition action of the form.
-- MIke
Revision
859 -
Directory Listing
Modified
Sun May 18 03:20:56 2003 UTC (10 years ago) by
gage
dded a link to the mock up of a problem set editor.
Revision
836 -
Directory Listing
Modified
Wed May 14 21:20:13 2003 UTC (10 years ago) by
malsyned
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis
Revision
835 -
Directory Listing
Modified
Wed May 14 21:02:49 2003 UTC (10 years ago) by
malsyned
Fixed a typo
-Dennis
Revision
834 -
Directory Listing
Modified
Wed May 14 20:57:28 2003 UTC (10 years ago) by
malsyned
Added links to the old Professor pages.
-Dennis
Revision
832 -
Directory Listing
Modified
Wed May 14 20:28:18 2003 UTC (10 years ago) by
malsyned
Added shell code for the UserList and ProblemSetList
-Dennis
Revision
831 -
Directory Listing
Added
Wed May 14 18:44:54 2003 UTC (10 years ago) by
malsyned
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis