From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci cluster/form-macros homebase/luci_h ...
Date: 26 Sep 2006 20:57:11 -0000 [thread overview]
Message-ID: <20060926205711.4515.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-09-26 20:57:10
Modified files:
luci/cluster : form-macros
luci/homebase : luci_homebase.css
Log message:
more fence device bits
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.71&r2=1.72
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.24&r2=1.25
--- conga/luci/cluster/form-macros 2006/09/26 19:47:32 1.71
+++ conga/luci/cluster/form-macros 2006/09/26 20:57:09 1.72
@@ -698,61 +698,147 @@
</div>
<div metal:define-macro="fence-form-list">
- <div id="fence_apc">
+ <div id="fence_apc" class="fencedev">
<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>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>IP Address</td>
+ <td><input name="ip_addr" type="text"></td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td><input name="login" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" autocomplete="off" type="password">
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="fence_type" value="apc" />
+ </div>
+
+ <div id="fence_wti" class="fencedev">
+ <table>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>IP Address</td>
+ <td><input name="ip_addr" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" type="password" autocomplete="off">
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="fence_type" value="wti" />
+ </div>
+
+ <div id="fence_ilo" class="fencedev">
+ <table>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>Hostname</td>
+ <td><input name="hostname" type="text"></td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td><input name="login" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" type="password" autocomplete="off">
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="fence_type" value="ilo" />
+ </div>
+
+ <div id="fence_drac" class="fencedev">
+ <table>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>IP Address</td>
+ <td><input name="ip_addr" type="text"></td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td><input name="login" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" type="password" autocomplete="off">
+ </td>
+ </table>
+ <input type="hidden" name="fence_type" value="drac" />
+ </div>
+
+ <div id="fence_rsa" class="fencedev">
+ <table>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>Hostname</td>
+ <td><input name="hostname" type="text"></td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td><input name="login" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" type="password" autocomplete="off">
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="fence_type" value="rsa" />
+ </div>
+
+ <div id="fence_ipmilan" class="fencedev">
+ <table>
+ <tr>
+ <td>Name</td>
+ <td><input name="name" type="text"></td>
+ </tr>
+ <tr>
+ <td>IP Address</td>
+ <td><input name="ip_addr" type="text"></td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td><input name="login" type="text"></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td>
+ <input name="password" type="password" autocomplete="off">
+ </td>
+ </tr>
+ <tr>
+ <td>Auth Type</td>
+ <td><input name="auth_type" type="text"></td>
+ </tr>
+ </table>
+ <input type="hidden" name="fence_type" value="ipmilan" />
</div>
</div>
@@ -896,10 +982,28 @@
</div>
<h3>Fencing</h3>
- <table class="cluster node" width="100%">
- <tr class="cluster node info_top">
- <td class="cluster node fence_main">
- <strong class="cluster node">Main Fencing Method</strong>
+ <table id="fence_devices" class="cluster node fencedev">
+ <tfoot class="fencedev">
+ <tr class="cluster node fencedev"><td class="cluster node fencedev">
+ <input type="button" value="Update fence properties"
+ onClick="validate_fence_properties('fence_devices')" />
+ </td></tr>
+ </tfoot>
+ <tbody class="fencedev">
+ <tr class="cluster node info_top fencedev">
+ <td class="cluster node fencedev">
+ <span class="fencedev">
+ <strong class="cluster node">Main Fencing Method</strong>
+ </span>
+ </td>
+ <td class="cluster node fence_backup">
+ <span class="fencedev">
+ <strong class="cluster node">Backup Fencing Method</strong>
+ </span>
+ </td>
+ </tr>
+ <tr class="cluster node info_top fencedev">
+ <td class="cluster node fence_main fencedev">
<form name="main_fence_form">
<select name="select_div"
onChange="swap_fence_div('fence_container',
@@ -910,9 +1014,7 @@
<div id="fence_container">
</div>
</td>
-
- <td class="cluster node fence_backup">
- <strong class="cluster node">Backup Fencing Method</strong>
+ <td class="cluster node fence_main fencedev">
<form name="backup_fence_form">
<select name="select_div"
onChange="swap_fence_div('fence_container_backup',
@@ -924,7 +1026,14 @@
</div>
</td>
</tr>
+ </tbody>
</table>
+ <script type="text/javascript">
+ swap_fence_div('fence_container',
+ document.main_fence_form.select_div.options[document.main_fence_form.select_div.selectedIndex].value);
+ swap_fence_div('fence_container_backup',
+ document.backup_fence_form.select_div.options[document.backup_fence_form.select_div.selectedIndex].value);
+ </script>
</div>
<div metal:define-macro="nodes-form">
--- conga/luci/homebase/luci_homebase.css 2006/09/25 17:36:02 1.24
+++ conga/luci/homebase/luci_homebase.css 2006/09/26 20:57:10 1.25
@@ -14,6 +14,25 @@
background: #dee7ec;
}
+*.fencedev {
+ background: #dee7ec;
+}
+
+table.fencedev {
+ padding: .618em;
+ width: 700px;
+}
+
+div.fencedev,
+td.fencedev {
+ padding-top: .309em;
+ padding-bottom: .309em;
+}
+
+td.fencedev {
+ width: 50%;
+}
+
ul.configTab {
color: #436976 !important;
margin: 20px 0px 0px 0px !important;
@@ -67,7 +86,7 @@
padding: 20px !important;
border: 1px solid #8cacbb !important;
z-index: 2 !important;
- max-width: 600px;
+ max-width: 700px;
}
a.configTab, a.configTabActive {
@@ -129,7 +148,7 @@
border-width: 2px;
border-color: red;
margin-top: 2em;
- max-width: 600px;
+ max-width: 700px;
}
div.retmsgs {
@@ -138,7 +157,7 @@
border-style: dotted;
border-width: 2px;
border-color: green;
- max-width: 600px;
+ max-width: 700px;
}
div.hbCSystems {
@@ -405,7 +424,7 @@
div.service_comp {
background: #dee7ec;
- padding: .66em;
+ padding: .618em;
margin-top: .5em;
border-left: thin solid #c9c9c9;
border-bottom: thin solid #c9c9c9;
next reply other threads:[~2006-09-26 20:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 20:57 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-02-07 17:18 [Cluster-devel] conga/luci cluster/form-macros homebase/luci_h rmccabe
2007-02-02 1:12 rmccabe
2007-01-30 22:26 rmccabe
2006-10-16 19:13 rmccabe
2006-10-11 16:40 rmccabe
2006-08-15 22:27 rmccabe
2006-08-14 22:46 rmccabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060926205711.4515.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.