cloudStack - network device UI - chagne TFT Directory to TFTP Directory.

This commit is contained in:
Jessica Wang 2011-05-02 15:30:34 -07:00
parent 795688d99c
commit 6fe9025c89
3 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@ label.DHCP.server.type=DHCP Server Type
label.Pxe.server.type=Pxe Server Type
label.PING.storage.IP=PING storage IP
label.PING.dir=PING Directory
label.TFT.dir=TFT Directory
label.TFTP.dir=TFTP Directory
label.PING.CIFS.username=PING CIFS username
label.PING.CIFS.password=PING CIFS password

View File

@ -374,7 +374,7 @@ dictionary = {
<div class="grid_rows odd" id="tftpdir_container" style="display:none">
<div class="grid_row_cell" style="width: 20%;">
<div class="row_celltitles">
<fmt:message key="label.TFT.dir"/>:</div>
<fmt:message key="label.TFTP.dir"/>:</div>
</div>
<div class="grid_row_cell" style="width: 79%;">
<div class="row_celltitles" id="tftpdir">
@ -803,10 +803,10 @@ dictionary = {
<input class="text" type="text" id="PING_dir"/>
<div id="PING_dir_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
</li>
<li input_group="PxeServer" style="display:none;" id="TFT_dir_container">
<label><fmt:message key="label.TFT.dir"/>:</label>
<input class="text" type="text" id="TFT_dir"/>
<div id="TFT_dir_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
<li input_group="PxeServer" style="display:none;" id="TFTP_dir_container">
<label><fmt:message key="label.TFTP.dir"/>:</label>
<input class="text" type="text" id="TFTP_dir"/>
<div id="TFTP_dir_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
</li>
<li input_group="PxeServer" style="display:none;" id="PING_CIFS_username_container">
<label><fmt:message key="label.PING.CIFS.username"/>:</label>

View File

@ -958,8 +958,8 @@ function bindAddNetworkDeviceButton($leftmenuItem1) {
isValid &= validateString("PING storage IP", $thisDialog.find("#PING_storage_IP"), $thisDialog.find("#PING_storage_IP_errormsg"));
if($("#PING_dir_container").css("display") != "none")
isValid &= validateString("PING directory", $thisDialog.find("#PING_dir"), $thisDialog.find("#PING_dir_errormsg"));
if($("#TFT_dir_container").css("display") != "none")
isValid &= validateString("TFT directory", $thisDialog.find("#TFT_dir"), $thisDialog.find("#TFT_dir_errormsg"));
if($("#TFTP_dir_container").css("display") != "none")
isValid &= validateString("TFT directory", $thisDialog.find("#TFTP_dir"), $thisDialog.find("#TFTP_dir_errormsg"));
if($("#PING_CIFS_username_container").css("display") != "none")
isValid &= validateString("PING CIFS username", $thisDialog.find("#PING_CIFS_username"), $thisDialog.find("#PING_CIFS_username_errormsg"), true);
if($("#PING_CIFS_password_container").css("display") != "none")
@ -984,8 +984,8 @@ function bindAddNetworkDeviceButton($leftmenuItem1) {
array1.push("&networkdeviceparameterlist[0].pingstorageserverip=" + $thisDialog.find("#PING_storage_IP").val());
if($("#PING_dir_container").css("display") != "none")
array1.push("&networkdeviceparameterlist[0].pingdir=" + $thisDialog.find("#PING_dir").val());
if($("#TFT_dir_container").css("display") != "none")
array1.push("&networkdeviceparameterlist[0].tftpdir=" + $thisDialog.find("#TFT_dir").val());
if($("#TFTP_dir_container").css("display") != "none")
array1.push("&networkdeviceparameterlist[0].tftpdir=" + $thisDialog.find("#TFTP_dir").val());
if($("#PING_CIFS_username_container").css("display") != "none")
array1.push("&networkdeviceparameterlist[0].pingcifsusername=" + $thisDialog.find("#PING_CIFS_username").val());
if($("#PING_CIFS_password_container").css("display") != "none")