[LON-CAPA-cvs] cvs: rat /client extpickcode.html extpickframe.html
bisitz
bisitz@source.lon-capa.org
Thu, 04 Feb 2010 11:37:29 -0000
bisitz Thu Feb 4 11:37:29 2010 EDT
Modified files:
/rat/client extpickcode.html extpickframe.html
Log:
Pick External Resource:
- Design: no yellow background
- View button is now "Preview" and is placed behind the URL text box
- Buttons below options
- XHTML
Index: rat/client/extpickcode.html
diff -u rat/client/extpickcode.html:1.6 rat/client/extpickcode.html:1.7
--- rat/client/extpickcode.html:1.6 Sat Jul 7 00:53:26 2007
+++ rat/client/extpickcode.html Thu Feb 4 11:37:29 2010
@@ -4,7 +4,7 @@
The LearningOnline Network
Pick External Resources
//
-// $Id: extpickcode.html,v 1.6 2007/07/07 00:53:26 albertel Exp $
+// $Id: extpickcode.html,v 1.7 2010/02/04 11:37:29 bisitz Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -43,25 +43,29 @@
</script>
</head>
-<body bgcolor="#FFFFBB" onload="javascript:initfields()">
-<form name="pick">
+<body bgcolor="#F8F8F8" onload="javascript:initfields()">
+<form name="pick" action="">
<table>
-<tr><td bgcolor="#FFFF99">
-<input type="button" name="cancel" value="Choose"
-onClick="javascript:parent.opener.document.forms.extimport.title.value=escape(this.form.exttitle.value);parent.opener.document.forms.extimport.url.value=escape(this.form.exturl.value);parent.opener.finishpick();parent.close();" /></td>
+<tr>
<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"
-onClick="parent.close();"/></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>URL:</td>
+<td><input type="text" size="60" name="exturl" value="http://" />
+<input type="button" name="view" value="Preview" onclick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
</td></tr>
+
+<tr>
+<td>
+<input type="button" name="cancel" value="Cancel" onclick="parent.close();" />
+</td>
+<td>
+<input type="button" name="cancel" value="Choose"
+onclick="javascript:parent.opener.document.forms.extimport.title.value=escape(this.form.exttitle.value);parent.opener.document.forms.extimport.url.value=escape(this.form.exturl.value);parent.opener.finishpick();parent.close();" />
+</td>
+</tr>
</table>
</form>
</body>
Index: rat/client/extpickframe.html
diff -u rat/client/extpickframe.html:1.1 rat/client/extpickframe.html:1.2
--- rat/client/extpickframe.html:1.1 Wed Sep 4 16:54:45 2002
+++ rat/client/extpickframe.html Thu Feb 4 11:37:29 2010
@@ -2,7 +2,7 @@
<head>
<title>Pick External Resource</title>
</head>
-<frameset rows="100,*">
+<frameset rows="120,*">
<frame name="extcode" src="extpickcode.html" />
<frame name="extcontent" src="empty.html" />
</frameset>