11 <div ng-
switch=
"isCompleted()">
13 <div ng-
switch-when=
"true" ng-
switch=
"hasErrors">
15 <div
class=
"message message-error" ng-
switch-when=
"true">
16 <span
class=
"message-text">
17 <strong>Completed!</strong> You need to resolve these issues to
continue.
21 <div
class=
"message message-success" ng-
switch-
default>
22 <span
class=
"message-text">
23 <strong>Completed!</strong> You can now move
on to the next step.
29 <div
class=
"message message-spinner" ng-
switch-
default>
30 <span
class=
"spinner">
31 <span></span><span></span><span></span><span></span>
32 <span></span><span></span><span></span><span></span>
34 <span
class=
"message-text">Checking and Creating Backup...</span>
39 <div
id=
"backup-check" class=
"readiness-check-item" ng-show=
"check.visible">
40 <div ng-hide=
"check.processed">
41 <span
class=
"spinner side">
42 <span></span><span></span><span></span><span></span>
43 <span></span><span></span><span></span><span></span>
45 <h3
class=
"readiness-check-title">Checking available disk space
for backups</h3>
47 <div ng-show=
"check.processed" ng-
switch=
"check.responseType">
49 <div ng-
switch-when=
"success" ng-init=
"updateOnSuccess(check)">
51 <span
class=
"readiness-check-icon icon-success-round"></span>
53 <div
class=
"readiness-check-content">
54 <h3
class=
"readiness-check-title">Disk space available</h3>
56 You have enough space available in disk
for taking your selected backups.
62 <div
class=
"readiness-check-item" ng-
switch-
default ng-init=
"updateOnError(check)">
64 <span
class=
"readiness-check-icon icon-failed-round"></span>
66 <div
class=
"readiness-check-content">
67 <h3
class=
"readiness-check-title">Check disk space availability</h3>
69 Insufficient disk space available. Free up some space and
try the backup again.
72 Error received from server:
83 <div
id=
"store-maintenance" class=
"readiness-check-item" ng-show=
"maintenance.visible">
84 <div ng-hide=
"maintenance.processed">
85 <span
class=
"spinner side">
86 <span></span><span></span><span></span><span></span>
87 <span></span><span></span><span></span><span></span>
89 <h3
class=
"readiness-check-title">Putting store in maintenance mode...</h3>
91 <div ng-show=
"maintenance.processed" ng-
switch=
"maintenance.responseType">
93 <div ng-
switch-when=
"success" ng-init=
"updateOnSuccess(maintenance)">
95 <span
class=
"readiness-check-icon icon-success-round"></span>
97 <div
class=
"readiness-check-content">
98 <h3
class=
"readiness-check-title">Store in maintenance mode</h3>
100 Your store is in maintenance mode and will automatically
101 return online after the {{type}}.
107 <div
class=
"readiness-check-item" ng-
switch-
default ng-init=
"updateOnError(maintenance)">
109 <span
class=
"readiness-check-icon icon-failed-round"></span>
111 <div
class=
"readiness-check-content">
112 <h3
class=
"readiness-check-title">Check store maintenance availability</h3>
114 Cannot put your store in maintenance mode. Please fix that, and
try again.
117 Error received from server:
118 <br> {{maintenance.error}}
127 <div
id=
"backup-create" class=
"readiness-check-item" ng-show=
"create.visible">
128 <div ng-hide=
"create.processed">
129 <span
class=
"spinner side">
130 <span></span><span></span><span></span><span></span>
131 <span></span><span></span><span></span><span></span>
133 <h3
class=
"readiness-check-title">Creating Backup...</h3>
135 <div ng-show=
"create.processed" ng-
switch=
"create.responseType">
137 <div ng-
switch-when=
"success" ng-init=
"updateOnSuccess(create)">
139 <span
class=
"readiness-check-icon icon-success-round"></span>
141 <div
class=
"readiness-check-content" ng-show=
"backupInfoPassed.options.code || backupInfoPassed.options.media || backupInfoPassed.options.db">
142 <h3
class=
"readiness-check-title">Backup created</h3>
143 <p>The backup files can be found in
Magento Admin
's backup management.</p> 144 <p>The backup files are located in:</p> 148 <div class="readiness-check-item" ng-switch-default ng-init="updateOnError(create)"> 150 <span class="readiness-check-icon icon-failed-round"></span> 152 <div class="readiness-check-content"> 153 <h3 class="readiness-check-title">Backup failed</h3> 155 Error received from server: 156 <br> {{create.error}}
taxRateField this edit on("click.mselect-delete", ".mselect-delete", function() { if(!confirm('<?=/*@escapeNotVerified */__( 'Do you really want to delete this tax rate?') ?>')) { return;} var that=$(this), select=that.closest('.mselect-list').prev(), rateValue=that.parent().find( 'input[type="checkbox"]').val();$( 'body').trigger( 'processStart');var ajaxOptions={ type:'POST', data:{ tax_calculation_rate_id:rateValue, form_key:$( 'input[name="form_key"]').val() }, dataType:'json', url:'<?=/*@escapeNotVerified */$block->getTaxRateDeleteUrl() ?>', success:function(result, status) { $( 'body').trigger( 'processStop');if(result.success) { that.parent().remove();select.find( 'option').each(function() { if(this.value===rateValue) { $(this).remove();} });select.trigger( 'change.hiddenSelect');} else { if(result.error_message) alert({ content:result.error_message });else alert({ content:'<?=/*@escapeNotVerified */__( 'An error occurred') ?>' });} }, error:function() { $( 'body').trigger( 'processStop');alert({ content:'<?=/*@escapeNotVerified */__( 'An error occurred') ?>' });} };$.ajax(ajaxOptions);}) .on( 'click.mselectAdd'