mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 10418: service offering page, system service offering page - Add Service Offering dialog - add "Host tags" field.
This commit is contained in:
parent
8c1d77b23e
commit
ea844bf902
@ -254,7 +254,14 @@ dictionary = {
|
||||
<input class="text" type="text" id="add_service_tags" />
|
||||
<div id="add_service_tags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
<li id="add_service_hosttags_container">
|
||||
<label>
|
||||
<fmt:message key="label.host.tags"/>:</label>
|
||||
<input class="text" type="text" id="add_service_hosttags" />
|
||||
<div id="add_service_hosttags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<fmt:message key="label.CPU.cap"/>:</label>
|
||||
|
||||
@ -265,7 +265,14 @@ dictionary = {
|
||||
<input class="text" type="text" id="add_service_tags" />
|
||||
<div id="add_service_tags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
<li id="add_service_hosttags_container">
|
||||
<label>
|
||||
<fmt:message key="label.host.tags"/>:</label>
|
||||
<input class="text" type="text" id="add_service_hosttags" />
|
||||
<div id="add_service_hosttags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<fmt:message key="label.CPU.cap"/>:</label>
|
||||
|
||||
@ -149,7 +149,11 @@ function initAddServiceOfferingDialog() {
|
||||
var tags = $thisDialog.find("#add_service_tags").val();
|
||||
if(tags != null && tags.length > 0)
|
||||
array1.push("&tags="+todb(tags));
|
||||
|
||||
|
||||
var hosttags = $thisDialog.find("#add_service_hosttags").val();
|
||||
if(hosttags != null && hosttags.length > 0)
|
||||
array1.push("&hosttags="+todb(hosttags));
|
||||
|
||||
if($thisDialog.find("#cpu_cap_dropdown_container").css("display") != "none") {
|
||||
array1.push("&limitcpuuse="+$thisDialog.find("#cpu_cap_dropdown").val());
|
||||
}
|
||||
|
||||
@ -150,6 +150,10 @@ function initAddSystemServiceOfferingDialog() {
|
||||
if(tags != null && tags.length > 0)
|
||||
array1.push("&tags="+todb(tags));
|
||||
|
||||
var hosttags = $thisDialog.find("#add_service_hosttags").val();
|
||||
if(hosttags != null && hosttags.length > 0)
|
||||
array1.push("&hosttags="+todb(hosttags));
|
||||
|
||||
if($thisDialog.find("#cpu_cap_dropdown_container").css("display") != "none") {
|
||||
array1.push("&limitcpuuse="+$thisDialog.find("#cpu_cap_dropdown").val());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user