|
4 | 4 | ?> |
5 | 5 |
|
6 | 6 | <table class="qdb_table"> |
7 | | - <tr> |
8 | | - <th>Change QDB theme</th> |
9 | | - <td> |
10 | | - <select id="qdb-theme-selector"> |
11 | | - <option value="">Standard</option> |
12 | | - <option value="dark">Dark</option> |
13 | | - <option value="kawaii">Kawaii UwU</option> |
14 | | - </select> |
15 | | - </td> |
16 | | - <td id="process-template_hints_storefront"></td> |
17 | | - </tr> |
18 | | - <tr> |
19 | | - <th>Template Path Hints for Storefront</th> |
20 | | - <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_storefront"}, "target":"process-template_hints_storefront"}' class="qdb-action">Toggle</button></td> |
21 | | - <td id="process-template_hints_storefront"></td> |
22 | | - </tr> |
23 | | - <tr> |
24 | | - <th>Template Path Hints for Admin</th> |
25 | | - <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_admin"}, "target":"process-template_hints_admin"}' class="qdb-action">Toggle</button></td> |
26 | | - <td id="process-template_hints_admin"></td> |
27 | | - </tr> |
28 | | - <tr> |
29 | | - <th>Add Block Names to Hints</th> |
30 | | - <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_blocks"}, "target":"process-template_hints_blocks"}' class="qdb-action">Toggle</button></td> |
31 | | - <td id="process-template_hints_blocks"></td> |
32 | | - </tr> |
33 | | - <tr> |
34 | | - <th>Translate inline</th> |
35 | | - <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"translate"}, "target":"process-translate"}' class="qdb-action">Toggle</button></td> |
36 | | - <td id="process-translate"></td> |
37 | | - </tr> |
38 | | - <tr> |
39 | | - <th>Flush Cache Storage</th> |
40 | | - <td><button type="button" data-qdbAction='{"path":"action/cache", "target":"process-cache"}' class="qdb-action">Flush</button></td> |
41 | | - <td id="process-cache"></td> |
42 | | - </tr> |
| 7 | + <thead> |
| 8 | + <tr> |
| 9 | + <th>Change QDB theme</th> |
| 10 | + <td> |
| 11 | + <select id="qdb-theme-selector"> |
| 12 | + <option value="">Standard</option> |
| 13 | + <option value="dark">Dark</option> |
| 14 | + <option value="kawaii">Kawaii UwU</option> |
| 15 | + </select> |
| 16 | + </td> |
| 17 | + <td id="process-template_hints_storefront"></td> |
| 18 | + </tr> |
| 19 | + </thead> |
| 20 | + <tbody> |
| 21 | + <tr> |
| 22 | + <th>Template Path Hints for Storefront</th> |
| 23 | + <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_storefront"}, "target":"process-template_hints_storefront"}' class="qdb-action">Toggle</button></td> |
| 24 | + <td id="process-template_hints_storefront"></td> |
| 25 | + </tr> |
| 26 | + <tr> |
| 27 | + <th>Template Path Hints for Admin</th> |
| 28 | + <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_admin"}, "target":"process-template_hints_admin"}' class="qdb-action">Toggle</button></td> |
| 29 | + <td id="process-template_hints_admin"></td> |
| 30 | + </tr> |
| 31 | + <tr> |
| 32 | + <th>Add Block Names to Hints</th> |
| 33 | + <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"template_hints_blocks"}, "target":"process-template_hints_blocks"}' class="qdb-action">Toggle</button></td> |
| 34 | + <td id="process-template_hints_blocks"></td> |
| 35 | + </tr> |
| 36 | + <tr> |
| 37 | + <th>Translate inline</th> |
| 38 | + <td><button type="button" data-qdbAction='{"path":"action/configUpdate", "params":{"config[key]":"translate"}, "target":"process-translate"}' class="qdb-action">Toggle</button></td> |
| 39 | + <td id="process-translate"></td> |
| 40 | + </tr> |
| 41 | + <tr> |
| 42 | + <th>Flush Cache Storage</th> |
| 43 | + <td><button type="button" data-qdbAction='{"path":"action/cache", "target":"process-cache"}' class="qdb-action">Flush</button></td> |
| 44 | + <td id="process-cache"></td> |
| 45 | + </tr> |
| 46 | + </tbody> |
43 | 47 | </table> |
44 | 48 |
|
45 | 49 | <script type="text/javascript"> |
|
0 commit comments