mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1493:IP Reservation UI tooltip enhancement for detail view: Widget modification done to support this enhancement
This commit is contained in:
parent
6b257bf661
commit
fd335b4b7b
|
|
@ -15,6 +15,25 @@
|
|||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
cloudStack.docs = {
|
||||
|
||||
//IP Reservation tooltips
|
||||
helpIPReservationCidr: {
|
||||
desc:'Edit CIDR when you want to configure IP Reservation in isolated guest Network',
|
||||
externalLink:''
|
||||
|
||||
},
|
||||
|
||||
helpIPReservationNetworkCidr:{
|
||||
desc:'The CIDR of the entire network when IP reservation is configured',
|
||||
externalLink:' '
|
||||
|
||||
},
|
||||
|
||||
helpReservedIPRange:{
|
||||
desc:'The IP Range which is not used by CloudStack to allocate to Guest VMs.Can be used for Non Cloudstack purposes.',
|
||||
externalLink:''
|
||||
},
|
||||
|
||||
// Add account
|
||||
helpAccountUsername: {
|
||||
desc: 'Any desired login ID. Must be unique in the current domain. The same username can exist in other domains, including sub-domains.',
|
||||
|
|
|
|||
|
|
@ -338,6 +338,8 @@
|
|||
|
||||
$detailView.find('.tagger').find('input[type=text]').val('');
|
||||
|
||||
$('div.container div.panel div.detail-group .details .main-groups').find('.cidr').toolTip({ docID:'helpIPReservationCidr' , mode:'hover' , tooltip:'.tooltip-box' });
|
||||
|
||||
var convertInputs = function($inputs) {
|
||||
// Save and turn back into labels
|
||||
$inputs.each(function() {
|
||||
|
|
@ -489,7 +491,11 @@
|
|||
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
$('div.container div.panel div.detail-group .details .main-groups').find('.reservediprange').toolTip({ docID:'helpReservedIPRange' , mode:'hover' , tooltip:'.tooltip-box' });
|
||||
$('div.container div.panel div.detail-group .details .main-groups').find('.networkcidr').toolTip({ docID:'helpIPReservationNetworkCidr' , mode:'hover' , tooltip:'.tooltip-box' });
|
||||
|
||||
|
||||
$detailView.find('td.value span').each(function() {
|
||||
var name = $(this).closest('tr').data('detail-view-field');
|
||||
var $value = $(this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue