summaryrefslogtreecommitdiffstats
path: root/cgi
diff options
context:
space:
mode:
authora.arora <a.arora>2004-02-17 11:46:10 +0000
committera.arora <a.arora>2004-02-17 11:46:10 +0000
commit6bed70c7e3a827a717fcd4b49f754eef46c91f18 (patch)
treed10c6b227ee0f46fe8c8fe144ddf0910b2ce6848 /cgi
parent9f676d9eedbcc291ef374c60d084af0fbb41f4e7 (diff)
downloadtog-pegasus-6bed70c7e3a827a717fcd4b49f754eef46c91f18.zip
tog-pegasus-6bed70c7e3a827a717fcd4b49f754eef46c91f18.tar.gz
tog-pegasus-6bed70c7e3a827a717fcd4b49f754eef46c91f18.tar.xz
made minor UI and Javascript changes, corrected invalid hyperlink and added missing form object
Diffstat (limited to 'cgi')
-rw-r--r--cgi/htdocs/GetInstance.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/cgi/htdocs/GetInstance.html b/cgi/htdocs/GetInstance.html
index dd846f9..2230691 100644
--- a/cgi/htdocs/GetInstance.html
+++ b/cgi/htdocs/GetInstance.html
@@ -1,4 +1,15 @@
<html>
+<head>
+<script>
+ function rTrim(tempStr){
+ while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 )
+ {
+ tempStr = tempStr.substring(0,tempStr.length-1)
+ }
+ document.GetInstance.InstanceName.value = tempStr;
+ }
+</script>
+</head>
<body bgcolor="#CCCCCC">
<table width="100%">
<tr>
@@ -13,11 +24,12 @@
<form name="GetInstance" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
<INPUT TYPE="hidden" NAME="Operation" VALUE="GetInstance">
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
+ <INPUT TYPE="hidden" NAME="debug" VALUE="">
<P>The <TT>GetInstance</TT> method returns a single CIM Instance from the target
Namespace based on the InstanceName parameter provided.
<p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
- String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
+ String that defines the target namespace. See <a href="enumeratenamespaces.html">NameSpace
Operations</a> for more information
<p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text" NAME="InstanceName" SIZE=30>
@@ -40,7 +52,7 @@
Null or array of property names to filter
request. <a href="#PropertyList">See below</a>.
- <p><INPUT TYPE="submit" VALUE="Submit Request"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.GetInstance.InstanceName.value);"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">
</form>