mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
F #1808: Waiting system for requests [Sunstone]
This commit is contained in:
parent
7b75828a8d
commit
84e3b94621
@ -89,7 +89,8 @@ define(function(require) {
|
|||||||
Locale.tr("Datacenter"),
|
Locale.tr("Datacenter"),
|
||||||
Locale.tr("Total MB"),
|
Locale.tr("Total MB"),
|
||||||
Locale.tr("Free MB"),
|
Locale.tr("Free MB"),
|
||||||
Locale.tr("OpenNebula Cluster IDs")
|
Locale.tr("OpenNebula Cluster IDs"),
|
||||||
|
""
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -150,6 +151,8 @@ define(function(require) {
|
|||||||
var table = $("table.vcenter_import_table", context);
|
var table = $("table.vcenter_import_table", context);
|
||||||
$.each(table.DataTable().$(".check_item:checked"), function(){
|
$.each(table.DataTable().$(".check_item:checked"), function(){
|
||||||
vcenter_refs.push($(this).data("import_data").ref);
|
vcenter_refs.push($(this).data("import_data").ref);
|
||||||
|
var row_context = $(this).closest("tr");
|
||||||
|
VCenterCommon.importLoading({context : row_context});
|
||||||
});
|
});
|
||||||
vcenter_refs = vcenter_refs.join(",");
|
vcenter_refs = vcenter_refs.join(",");
|
||||||
|
|
||||||
|
@ -24,4 +24,7 @@
|
|||||||
<td>{{total_mb}}</td>
|
<td>{{total_mb}}</td>
|
||||||
<td>{{free_mb}}</td>
|
<td>{{free_mb}}</td>
|
||||||
<td>{{cluster}}</td>
|
<td>{{cluster}}</td>
|
||||||
</tr>
|
<td>
|
||||||
|
<span class="vcenter_import_result"></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
@ -96,7 +96,7 @@ define(function(require) {
|
|||||||
$(".vcenter_import_result:not(.success)", opts.context).html(
|
$(".vcenter_import_result:not(.success)", opts.context).html(
|
||||||
'<span class="fa-stack" style="color: #dfdfdf">' +
|
'<span class="fa-stack" style="color: #dfdfdf">' +
|
||||||
'<i class="fas fa-cloud fa-stack-2x"></i>' +
|
'<i class="fas fa-cloud fa-stack-2x"></i>' +
|
||||||
'<i class="fa fa-spinner fa-spin fa-stack-1x fa-inverse"></i>' +
|
'<i class="fas fa-spinner fa-spin fa-stack-1x fa-inverse"></i>' +
|
||||||
'</span>');
|
'</span>');
|
||||||
|
|
||||||
$(".vcenter_import_result_row", opts.context).show();
|
$(".vcenter_import_result_row", opts.context).show();
|
||||||
|
Loading…
Reference in New Issue
Block a user