Revision f8e4a3d1

View differences:

src/sunstone/public/app/tabs/provision-tab/vms/info.hbs
194 194
      </div>
195 195
    </div>
196 196
  </div>
197
  <br>
197
  <div class="row">
198
    <div class="large-12 columns provision-sunstone-vcenter">
199
      <table class="provision-sunstone-vcenter-list"></table>
200
    </div>
201
  </div>
198 202
  <br>
199 203
  <div class="row">
200 204
    <div class="large-12 columns provision-sunstone-info"></div>
src/sunstone/public/app/tabs/provision-tab/vms/list.js
176 176

  
177 177
        var state = get_provision_vm_state(data);
178 178

  
179
        var monitoring = "";
180
        if(data.MONITORING.GUEST_IP){
181
          monitoring = '<li class="provision-bullet-item"><span class=""><i class="fa fa-fw fa-lg fa-server"/>' + data.MONITORING.GUEST_IP + '</span></li>';
182
        }
183

  
179 184
        $(".provision_vms_ul", context).append('<div class="column">'+
180 185
            '<ul class="provision-pricing-table menu vertical" opennebula_id="'+data.ID+'" datatable_index="'+iDisplayIndexFull+'">'+
181 186
              '<li class="provision-title">'+
......
198 203
                '<span class="">'+
199 204
                  get_provision_ips(data) +
200 205
                '</span>'+
201
              '</li>'+
206
              '</li>'+ monitoring +
202 207
              '<li class="provision-bullet-item-last" >'+
203 208
                '<span class="">'+
204 209
                  '<i class="fa fa-fw fa-lg fa-user"/> '+
......
405 410
                '</span>'+
406 411
              '</li>');
407 412

  
413
          var vcenter_info = "";
414
          if(data.MONITORING.VCENTER_GUEST_STATE){
415
            vcenter_info = "<thead><tr><th>" + Locale.tr("vCenter Information") + "</th></tr></thead><tbody>" +
416
            "<tr><td>" + Locale.tr("GUEST STATE") + "</td><td>" + data.MONITORING.VCENTER_GUEST_STATE + "</td>" +
417
             "<td>" + Locale.tr("VMWARETOOLS RUNNING STATUS") + "</td><td>" +
418
             data.MONITORING.VCENTER_VMWARETOOLS_RUNNING_STATUS + "</td></tr>" +
419
             "<tr><td>" + Locale.tr("VMWARETOOLS VERSION") + "</td><td>" + data.MONITORING.VCENTER_VMWARETOOLS_VERSION + "</td><td>" + Locale.tr("VMWARETOOLS VERSION STATUS") + "</td><td>" + data.MONITORING.VCENTER_VMWARETOOLS_VERSION_STATUS + "</td></tr></tbody>";
420
          }
421

  
422
          $(".provision-sunstone-vcenter-list", context).html(vcenter_info);
408 423
          $(".provision_confirm_action:first", context).html("");
409 424

  
410 425
          $(".provision_info_vm", context).css('visibility', 'visible');

Also available in: Unified diff