mirror of https://github.com/apache/cloudstack.git
new UI - resource page - fix a bug that nothing happened when clicking Add Zone button after splitting resource.jsp into 7 JSP file.
This commit is contained in:
parent
d3404cfec1
commit
6abec31235
|
|
@ -22,3 +22,66 @@
|
|||
<div id="resource_page" style="display: none">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Add Zone Dialog -->
|
||||
<div id="dialog_add_zone" title="Add Zone" style="display:none">
|
||||
<p>Please enter the following info to add a new zone:</p>
|
||||
|
||||
<div class="dialog_formcontent">
|
||||
<form action="#" method="post" id="form_acquire">
|
||||
<ol>
|
||||
<li>
|
||||
<label>Name:</label>
|
||||
<input class="text" type="text" name="add_zone_name" id="add_zone_name"/>
|
||||
<div id="add_zone_name_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>DNS 1:</label>
|
||||
<input class="text" type="text" name="add_zone_dns1" id="add_zone_dns1"/>
|
||||
<div id="add_zone_dns1_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>DNS 2:</label>
|
||||
<input class="text" type="text" name="add_zone_dns2" id="add_zone_dns2"/>
|
||||
<div id="add_zone_dns2_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Internal DNS 1:</label>
|
||||
<input class="text" type="text" id="add_zone_internaldns1"/>
|
||||
<div id="add_zone_internaldns1_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Internal DNS 2:</label>
|
||||
<input class="text" type="text" id="add_zone_internaldns2"/>
|
||||
<div id="add_zone_internaldns2_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li id="add_zone_container">
|
||||
<label>Zone VLAN Range:</label>
|
||||
<input class="text" style="width:67px" type="text" name="add_zone_startvlan" id="add_zone_startvlan"/><span>-</span>
|
||||
<input class="text" style="width:67px" type="text" name="add_zone_endvlan" id="add_zone_endvlan"/>
|
||||
<div id="add_zone_startvlan_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
<div id="add_zone_endvlan_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="add_zone_guestcidraddress">Guest CIDR:</label>
|
||||
<input class="text" type="text" id="add_zone_guestcidraddress" value="10.1.1.0/24"/>
|
||||
<div id="add_zone_guestcidraddress_errormsg" class="dialog_formcontent_errormsg" style="display:none;" ></div>
|
||||
</li>
|
||||
</ol>
|
||||
</form>
|
||||
</div>
|
||||
<!--Loading box-->
|
||||
<div id="spinning_wheel" class="ui_dialog_loaderbox" style="display:none;">
|
||||
<div class="ui_dialog_loader"></div>
|
||||
<p>Adding....</p>
|
||||
</div>
|
||||
|
||||
<!--Confirmation msg box-->
|
||||
<!--Note: for error msg, just have to add error besides everything for eg. add error(class) next to ui_dialog_messagebox error, ui_dialog_msgicon error, ui_dialog_messagebox_text error. -->
|
||||
<div id="info_container" class="ui_dialog_messagebox error" style="display:none;">
|
||||
<div id="icon" class="ui_dialog_msgicon error"></div>
|
||||
<div id="info" class="ui_dialog_messagebox_text error">(info)</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END Add Zone Dialog -->
|
||||
Loading…
Reference in New Issue