[Cluster-devel] conga/luci/cluster form-macros

jparsons at sourceware.org jparsons at sourceware.org
Mon Sep 25 15:46:15 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons at sourceware.org	2006-09-25 15:46:15

Modified files:
	luci/cluster   : form-macros 

Log message:
	Straightened up fence types

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.66&r2=1.67

--- conga/luci/cluster/form-macros	2006/09/23 04:04:08	1.66
+++ conga/luci/cluster/form-macros	2006/09/25 15:46:15	1.67
@@ -826,9 +826,90 @@
 		<tr class="cluster node info_top">
 			<td class="cluster node fence_main">
 				<strong class="cluster node">Main Fencing Method</strong>
+        <form name="main_fence_form">
+         <select name="select_div" onChange="swap_div('container'), main_fence_form.select_div.options[filler.select_div.selectedIndex].value);">
+          <option name="fence_apc" value="fence_apc">APC Power Switch</option>
+          <option name="fence_wti" value="fence_wti">WTI Power Switch</option>
+          <option name="fence_ilo" value="fence_ilo">HP iLO</option>
+          <option name="fence_drac" value="fence_drac">Dell DRAC</option>
+          <option name="fence_rsa" value="fence_rsa">IBM RSA II</option>
+          <option name="fence_ipmilan" value="fence_ipmilan">IPMI Lan</option>
+         </select>
+        </form>
+        <div id="container">Container</div>
+
+        <div id="invisible" style="visibility: hidden">
+          <div id="fence_apc">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>IP Address: </td><td><input name="ip_addr"></td></tr>
+           <tr><td>Login: </td><td><input name="login"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <input type="submit"/>
+           </table> 
+          </div>
+          <div id="fence_wti">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>IP Address: </td><td><input name="ip_addr"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <input type="submit"/>
+           </table> 
+          </div>
+          <div id="fence_ilo">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>Login: </td><td><input name="login"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <tr><td>Hostname: </td><td><input name="hostname"></td></tr>
+           <input type="submit"/>
+           </table> 
+          </div>
+          <div id="fence_drac">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>IP Address: </td><td><input name="ip_addr"></td></tr>
+           <tr><td>Login: </td><td><input name="login"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <input type="submit"/>
+           </table> 
+          </div>
+          <div id="fence_rsa">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>Login: </td><td><input name="login"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <tr><td>Hostname: </td><td><input name="hostname"></td></tr>
+           <input type="submit"/>
+           </table> 
+          </div>
+          <div id="fence_ipmilan">
+           <form name="fence_ipmilan">
+           <table>
+           <tr><td>Name: </td><td><input name="name"></td></tr>
+           <tr><td>IP Address: </td><td><input name="ip_addr"></td></tr>
+           <tr><td>Login: </td><td><input name="login"></td></tr>
+           <tr><td>Password: </td><td><input name="password"></td></tr>
+           <tr><td>Auth Type: </td><td><input name="auth_type"></td></tr>
+           <input type="submit"/>
+           </table> 
+           </form>
+          </div>
+
+        </div>
 			</td>
 			<td class="cluster node fence_backup">
 				<strong class="cluster node">Backup Fencing Method</strong>
+        <form name="backup_fence_form">
+         <select name="select_div" onChange="swap_div('container'), backup_fence_form.select_div.options[backup_fence_form.select_div.selectedIndex].value);">
+          <option name="fence_apc_b" value="fence_apc_b">APC Power Switch</option>
+          <option name="fence_wti_b" value="fence_wti_b">WTI Power Switch</option>
+          <option name="fence_ilo_b" value="fence_ilo_b">HP iLO</option>
+          <option name="fence_drac_b" value="fence_drac_b">Dell DRAC</option>
+          <option name="fence_rsa_b" value="fence_rsa_b">IBM RSA II</option>
+          <option name="fence_ipmilan_b" value="fence_ipmilan_b">IPMI Lan</option>
+         </select>
+        </form>
 			</td>
 		</tr>
 	</table>




More information about the Cluster-devel mailing list