[LON-CAPA-cvs] cvs: rat / lonratedt.pm /client code.html extpickcode.html extpickframe.html doc/loncapafiles loncapafiles.lpml

www lon-capa-cvs@mail.lon-capa.org
Wed, 04 Sep 2002 16:54:45 -0000


www		Wed Sep  4 12:54:45 2002 EDT

  Added files:                 
    /rat/client	extpickcode.html extpickframe.html 

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
    /rat	lonratedt.pm 
    /rat/client	code.html 
  Log:
  Fix Bug 661
  Start on "surf and pick" window for resource assembly
  
  
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.169 doc/loncapafiles/loncapafiles.lpml:1.170
--- doc/loncapafiles/loncapafiles.lpml:1.169	Fri Aug 30 11:35:07 2002
+++ doc/loncapafiles/loncapafiles.lpml	Wed Sep  4 12:54:44 2002
@@ -3,7 +3,7 @@
 <!-- loncapafiles.lpml -->
 <!-- Scott Harrison -->
 
-<!-- $Id: loncapafiles.lpml,v 1.169 2002/08/30 15:35:07 stredwic Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.170 2002/09/04 16:54:44 www Exp $ -->
 
 <!--
 
@@ -3054,6 +3054,22 @@
 <file>
 <source>rat/client/code.html</source>
 <target dist='default'>home/httpd/html/adm/rat/code.html</target>
+<categoryname>interface file</categoryname>
+<description>
+javascript
+</description>
+</file>
+<file>
+<source>rat/client/extpickcode.html</source>
+<target dist='default'>home/httpd/html/adm/rat/extpickcode.html</target>
+<categoryname>interface file</categoryname>
+<description>
+javascript
+</description>
+</file>
+<file>
+<source>rat/client/extpickframe.html</source>
+<target dist='default'>home/httpd/html/adm/rat/extpickframe.html</target>
 <categoryname>interface file</categoryname>
 <description>
 javascript
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.35 rat/lonratedt.pm:1.36
--- rat/lonratedt.pm:1.35	Mon Sep  2 11:27:08 2002
+++ rat/lonratedt.pm	Wed Sep  4 12:54:44 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Edit Handler for RAT Maps
 #
-# $Id: lonratedt.pm,v 1.35 2002/09/02 15:27:08 www Exp $
+# $Id: lonratedt.pm,v 1.36 2002/09/04 16:54:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -754,8 +754,8 @@
 <th>&nbsp;</th>
 <th width="40%">Target</th></tr>
 <tr><td bgcolor="#FFFFCC">
-<input type=button onClick="javascript:groupsearch()" value="Group Search">
-<input type=button onClick="javascript:groupimport();" value="Group Import">
+<input type=button onClick="javascript:groupsearch()" value="Search">
+<input type=button onClick="javascript:groupimport();" value="Import">
 after selected
 <hr>
 <input type=text size=20 name=importmap>
Index: rat/client/code.html
diff -u rat/client/code.html:1.59 rat/client/code.html:1.60
--- rat/client/code.html:1.59	Mon Jun 24 10:02:54 2002
+++ rat/client/code.html	Wed Sep  4 12:54:44 2002
@@ -4,7 +4,7 @@
 The LearningOnline Network
 Resource Assembly Tool
 //
-// $Id: code.html,v 1.59 2002/06/24 14:02:54 www Exp $
+// $Id: code.html,v 1.60 2002/09/04 16:54:44 www Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -1667,7 +1667,7 @@
    copydx=open("",'copydxout',options);
    copydx.document.clear('');
    copydx.document.writeln(
- '<html><body bgcolor="#FFFFFF"><h1>Group Copy from Map</h1>'+
+ '<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+
  '<form name="mapload"><input type=text size=40 name=importmap>'+
  '<input type=button onClick="javascript:opener.openbrowser'+
  "('mapload','importmap','sequence,page','')"+
@@ -2796,9 +2796,9 @@
 <td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a>&nbsp;</td>
 <td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a>&nbsp;</td>
 <td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a>&nbsp;</td>
-<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>G</b>roup search</a>&nbsp;</td>
-<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>G</b>roup import</a>&nbsp;</td>
-<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><b>G</b>roup copy</a>&nbsp;</td>
+<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>S</b>earch</a>&nbsp;</td>
+<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>I</b>mport</a>&nbsp;</td>
+<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><b>C</b>opy</a>&nbsp;</td>
 <td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><b>S</b>ave map</a>&nbsp;</td>
 <td bgcolor="#ccffcc"><a href="javascript:storechange();"><b>S</b>ave map and layout</a>&nbsp;</td>
 </tr></table>

Index: rat/client/extpickcode.html
+++ rat/client/extpickcode.html
<html>

<!--
The LearningOnline Network
Pick External Resources
//
// $Id: extpickcode.html,v 1.1 2002/09/04 16:54:45 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
// This file is part of the LearningOnline Network with CAPA (LON-CAPA).
//
// LON-CAPA is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// LON-CAPA is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with LON-CAPA; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// /home/httpd/html/adm/gpl.txt
//
// http://www.lon-capa.org/
//
-->

<body bgcolor="#FFFFBB">
<form>
<table>
<tr><td bgcolor="#FFFF99">
<input type="button" name="cancel" value="Choose" /></td>
<td>Title:</td>
<td><input type="text" size="60" name="exttitle" value="External Resource" />
</td></tr>
<tr>
<td bgcolor="#FFFF99">
<input type="button" name="cancel" value="Cancel" /></td>
<td>URL: <input type="button" name="view" value="View"
onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
</td>
<td><input type="text" size="60" name="exturl"
value="http://" />
</td></tr>
</form>
</body>
</html>

Index: rat/client/extpickframe.html
+++ rat/client/extpickframe.html
<html>
<head>
<title>Pick External Resource</title>
</head>
<frameset rows="100,*">
<frame name="extcode" src="extpickcode.html" />
<frame name="extcontent" src="empty.html" />
</frameset>
</html>