On 01/30/2014 11:46 AM, CrÃstian Viana wrote:
Am 23-01-2014 22:29, schrieb Rodrigo Trujillo:
> - kimchi.listHostPartitions(function(data) {
> + kimchi.listFCHosts(function(data){
You need to pass another function to "listFCHosts" which will handle
the error. Currently, if the fiber channel hosts cannot be listed,
nothing will happen on the UI.
But thats the idea ... if no scsi fc_hosts are found, the UI shows nothing
> @@ -154,5 +160,11 @@
> <label>{path}</label>
> </div>
> </script>
> + <script id="scsiFCTmpl" type="html/text">
> + <div class="field">
> + <input type="radio" value="{name}"
name="adapter_name">
> + <label>{name}</label>
> + </div>
> + </script>
> </body>
> </html>
Make the <label>'s associated with their corresponding <input>'s, so
when the user clicks on the label, the corresponding radio button gets
checked. Use the syntax <label for="radioID"> for each <label>
element. For that, you need to give different IDs to each <input>
element and match them in each <label>. I'd suggest to give the ID
something like "fc-{name}".
ACK - Thanks
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel