Annotation of loncom/html/res/adm/pages/homeworkmenu.html, revision 1.3
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.1 albertel 13: <script>
14:
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: }
43: </script>
44:
45:
1.2 albertel 46: <a href="javascript:gopost('/adm/grades','submission')">View Submission</a><br></br>
47: <form name="submission" action="/adm/logout" method="post" target="loncapaclient">
48: Student: <input type="text" name="student" value=""></input>
1.3 ! albertel 49: <input type="hidden" name="command" value="none" />
! 50: <input type="hidden" name="url" value="none" />
1.2 albertel 51: </form>
1.1 albertel 52: </body>
53: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>