Annotation of loncom/html/res/adm/pages/homeworkmenu.html, revision 1.4
1.1 albertel 1: <html>
2: <!--
3: The LearningOnline Network with CAPA
4: Homework Remote Cotrol
5: -->
6: <head>
7: <title>LON-CAPA Homework Remote</title>
8: </head>
9:
10:
11: <body bgcolor="#BBBBBB">
1.3 albertel 12: <basefont size="1" />
1.4 ! albertel 13: <script type="text/javascript">
! 14: <!--
1.1 albertel 15: statustop='';
16: statusbot='';
17: clienthost=window.location.host;
18: clientwindow=opener;
19:
20: function windowcheck() {
21: if (clientwindow.closed) {
22: clientwindow=window.open("http://"+clienthost+"/");
23: }
24: clientwindow.name='loncapaclient';
25: }
26:
27: function go(url) {
28: windowcheck();
29: if (url!='') {
30: clientwindow.window.location.href="http://"+clienthost+url;
31: }
32: }
33:
1.2 albertel 34: function gopost(url,command) {
1.1 albertel 35: windowcheck();
36: if (url!='') {
1.2 albertel 37: this.document.submission.action="http://"+clienthost+url;
38: this.document.submission.command.value=command;
39: this.document.submission.url.value=clientwindow.window.location.href;
40: this.document.submission.submit();
1.1 albertel 41: }
42: }
1.4 ! albertel 43: //-->
1.1 albertel 44: </script>
45:
46:
1.4 ! albertel 47: <a href="javascript:gopost('/adm/grades','submission')">View Submission</a><br />
1.2 albertel 48: <form name="submission" action="/adm/logout" method="post" target="loncapaclient">
49: Student: <input type="text" name="student" value=""></input>
1.3 albertel 50: <input type="hidden" name="command" value="none" />
51: <input type="hidden" name="url" value="none" />
1.2 albertel 52: </form>
1.4 ! albertel 53: <a href="javascript:gopost('/adm/grades','viewgrades')">See Grades</a><br />
1.1 albertel 54: </body>
1.4 ! albertel 55: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>