File:  [LON-CAPA] / loncom / interface / mydesk.tab
Revision 1.19: download - view: text, annotated - select for diffs
Mon Jul 22 20:35:05 2002 UTC (21 years, 9 months ago) by stredwic
Branches: MAIN
CVS tags: HEAD
Lonchart is now part of lonstatistics.  When the CHRT button is pressed on
the remote control it will take you to the student assessment page.  In
the next commit or two, the student assessment page and lonchart will
gradually merge, or I will make chart its own report.

I added another perl module, lonhtmlcommon which will contain a series of
functions that create controls and data layouts for various different
pieces of information.  This is just a fledgling module.

The biggest feature of this commit is that the downloading of student course
data has changed slightly.  Now, the classlist will contain all students,
but will only display the appropriate ones.  Different reports require
different amounts of data, so some may only download student course data
when selected and some will download it all at once.  The downloading
will first grab the time stamp on the course.db file for the student and
compare it will the cached timestamp for that file.  It will only do a
dump if the data is not yet cached or the timestamp is newer than the one
stored.  Only when the data is processed is the timestamp update, not
when downloaded.  The Download/Process duo of function work hand in hand.
Calling both will be typical even if there was nothing actually downloaded.

The is now a new form, which is a class list with different information.
This list also contain the timestamp for each student, when their course
data was downloaded last.  Having this page is both informational, and
hopefully will mean that it is not necessary for all the other pages, at least
as defaults.

Each report now has a common header.  There is currently some white space,
but it can be filled.  The header has a refresh button, update all student
data button, a selection of forms and a selection of student status.  The
update all student data button will download all students (active and expired)
for the given course.  This allows someone to come to the entry page(
class list) update all the students while they do stuff and come back.
The two selection boxes are special in that they will update the
document when changed.  The onchange attribute was tested on mac,
linux and pc, for the different browsers.  The only noticed difference
was netscape 4.7 executes the javascript if it you select the same thing,
where all others do not.  Also, the same browser causes the first
button in the form to be pressed when the document.form.submit()
javascript is executed for the onchange of the selection box.

There was other cosmetic changes, but were minor.

# 
# row:col:pro:prt:img:top:bot:act
#
# pro = clear    clear the button
# pro = any      any permission level is allowed this button
# pro = smp      allowed if $ENV{'user.adv'} is undefined
# pro = adv      allowed if $ENV{'user.adv'} is defined
# pro = author   prt = rca and user is a co-author
# pro = author   prt = any 
# pro = p???     allowed if the user has the permissions given in ???
1:1:smp:any:courses.gif:choose:course:go('/adm/roles');
1:1:smp:rst:courses.gif:switch:course:go('/adm/roles');
1:1:adv:any:roles.gif:switch:role:go('/adm/roles');
1:1:adv:rcm:roles.gif:choose:role:go('/adm/roles');
1:2:any:any:com.gif:commu-:nication:go('/adm/communicate');
2:1:clear
2:2:clear
2:2:pbre:$crs:nav.gif:navigate:contents:gopost('/adm/navmaps',currentURL);
2:3:clear
3:1:clear
4:1:clear
4:1:pbre:$crs:grds.gif:my:grades:go('/adm/studentcalc');
4:1:pvgr:$crs:sprs.gif:course:grades:go('/adm/classcalc');
4:2:clear
4:2:pvgr:$crs:chrt.gif:course:chart:gopost('/adm/statistics','Student Assessment');
4:3:clear
4:3:pvgr:$crs:stat.gif:course:stats:go('/adm/statistics');
5:1:clear
5:1:pcst:$crs:enrl.gif:course:enroll:go('/adm/dropadd');
5:2:clear
5:2:pcst:$crs:cprv.gif:user:roles:go('/adm/createuser');
5:2:pcca:$udom:cprv.gif:user:roles:go('/adm/createuser');
5:2:pmau:$udom:cprv.gif:user:roles:go('/adm/createuser');
5:3:clear
5:3:pccc:$udom:ccrs.gif:create:course:go('/adm/createcourse');
5:3:popa:$crs:parm.gif:course:parms:go('/adm/parmset');
6:1:clear
6:1:author:any:cstr.gif:con-:struct:cstrgo(currentURL,'/priv/$uname/');
6:1:author:rca:cstr.gif:co con-:struct:cstrgo(currentURL,'/priv/$uname/');
6:2:clear
6:2:author:any:res.gif:resource:space:go('/res/$udom/$uname/?launch=1');
6:2:author:rca:res.gif:co res:space:go('/res/$udom/$uname/?launch=1');
6:3:clear
7:2:clear
7:2:adv:rcm:egrd.gif:enter:grades:go('/adm/grades');
10:1:any:any:src.gif:search:library:go('/adm/searchcat');
10:2:any:any:pref.gif:prefer-:ences:go('/adm/preferences');
10:3:any:any:logout.gif:exit::go('/adm/logout');

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>