File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 208208 });
209209 });
210210 </script>
211- <?php if (Page::$ pageData ->migrate_config ) : ?>
212- <div class="col-lg">
213- <button class="btn bg-custom" id="migrate-btn">Migrate Config</button>
214- </div>
215- <script>
216- $("#migrate-btn").click(function() {
217- $.get('/api.php/config_migrate', function(_, status) {
218- if (status == 'success') {
219- alert('Configuration Migrated Sucessfully');
220- return;
221- }
222-
223- alert('Configuration Migration Failed');
224- });
225- });
226- </script>
227- <?php endif ; ?>
228211 </div>
229212 </div>
230213 <div id="updates" class="p-3 tab-pane container-fluid fade">
Original file line number Diff line number Diff line change 115115 Repair Site
116116 </button>
117117 </div>
118- <?php if (Page::$ pageData ->migrate_config ) : ?>
119- <div class="flex-1 text-center">
120- <button type="button" @click="await migrateConfig(); flashSuccess = 'Configuration Migrated Successfully';" class="button-primary">
121- Migrate Configuration
122- </button>
123- </div>
124- <?php endif ; ?>
125118 </div>
126119 </div>
127120 <div id="updates" x-show="activeTab == $el.id">
You can’t perform that action at this time.
0 commit comments