Skip to content

Commit

Permalink
Small fix to displayed disk sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Preston authored and Preston committed Mar 28, 2018
1 parent 0f87c9e commit ebf48a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions plugin/simpleBackup/start.html
Expand Up @@ -10,6 +10,7 @@
api.register({
UiInit: function () {
api.addMainTab('Simple Backup', 'simple-backup', config.mainBackupPage, {priority: 4});
// api.addPrimaryMenu('Simple Backup', 'simple-backup', config.mainBackupPage, {priority: 4, icon: 'fa-compress'});
}
});
api.ready();
Expand Down
2 changes: 1 addition & 1 deletion server/area/backup.php
Expand Up @@ -71,7 +71,7 @@
"text" => round( $vm->memory / 1024 / 1024 / 1024 ) . 'GB',
),
array(
"text" => round( $disk->actual_size / 1024 / 1024 / 1024 ) . 'GB',
"text" => round( $disk->provisioned_size / 1024 / 1024 / 1024 ) . 'GB',
),
array(
"text" => $vm['id'],
Expand Down
2 changes: 1 addition & 1 deletion server/area/scheduled.php
Expand Up @@ -107,7 +107,7 @@
"text" => round($vm->memory / 1024 / 1024 / 1024) . 'GB',
),
array(
"text" => round($disk->actual_size / 1024 / 1024 / 1024) . 'GB',
"text" => round($disk->provisioned_size / 1024 / 1024 / 1024) . 'GB',
),
array(
"text" => $vm['id'],
Expand Down

0 comments on commit ebf48a0

Please sign in to comment.