mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
commit
a4fa0ff032
@ -22,6 +22,9 @@
|
||||
<small>{{tr "COST"}} / {{tr "HOUR"}}</small>
|
||||
</span>
|
||||
</h5>
|
||||
<span>
|
||||
<img src="{{element.TEMPLATE.LOGO}}">
|
||||
</span>
|
||||
<div class="row">
|
||||
<div class="medium-6 small-12 columns capacityContext{{element.ID}}">
|
||||
<fieldset>
|
||||
|
@ -23,6 +23,9 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="key_td" colspan="2"><img src="{{element.TEMPLATE.LOGO}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key_td">{{tr "ID"}}</td>
|
||||
<td class="value_td" colspan="2">{{element.ID}}</td>
|
||||
|
@ -23,6 +23,9 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="key_td" colspan="2"><img src="{{element.USER_TEMPLATE.LOGO}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="key_td">{{tr "ID"}}</td>
|
||||
<td class="value_td" colspan="2">{{element.ID}}</td>
|
||||
|
@ -474,6 +474,12 @@ define(function(require) {
|
||||
context.off("change", ".snapshot_check_item");
|
||||
context.on("change", ".snapshot_check_item", function() {
|
||||
var snapshotsSection = $(this).closest('.snapshots');
|
||||
if(that.element.STATE == "3"){
|
||||
$(".disk_snapshot_revert", snapshotsSection).hide();
|
||||
}
|
||||
else{
|
||||
$(".disk_snapshot_revert", snapshotsSection).show();
|
||||
}
|
||||
|
||||
// Unselect other check inputs
|
||||
var checked = $(this).is(':checked');
|
||||
|
Loading…
x
Reference in New Issue
Block a user