PluginProbe
RabbitLoader / 4.0.2
RabbitLoader v4.0.2
4.0.2 4.0.1 4.0 3.2.0 3.1.1 3.1.0 3.0.5 3.0.3 3.0.4 2.17.1 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.7 2.18.0 2.18.1 2.18.2 2.18.3 2.18.4 2.18.5 2.18.6 2.18.7 2.18.8 All 129 releases
rabbit-loader / admin / views / settings.php

settings.php in RabbitLoader 4.0.2, at admin/views/settings.php

93 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5
6 $domain = isset($domain) ? $domain : RL5_Settings::domain();
7 $did = isset($did) ? $did : RL5_Settings::did();
8 ?>
9 <section class="rl6-page-heading">
10 <div>
11 <span class="rl6-eyebrow">Configuration</span>
12 <h1>Settings</h1>
13 <p>Page rules, connection details and advanced WordPress controls.</p>
14 </div>
15 </section>
16
17 <section class="rl6-card rl6-section-card">
18 <div class="rl6-section-title-row rl6-section-title-wrap">
19 <div>
20 <span class="rl6-eyebrow">Optimization rules</span>
21 <h2>Page Rules</h2>
22 <p>Control where RabbitLoader should apply or exclude optimization.</p>
23 </div>
24 <button
25 type="button"
26 class="rl6-button rl6-button-primary rl6-ui-preview"
27 data-message="Page Rules will reuse the existing RabbitLoader page-rule backend after the UI is approved."
28 >
29 + Add Page Rule
30 </button>
31 </div>
32
33 <div class="rl6-table-wrap">
34 <table class="rl6-table">
35 <thead>
36 <tr>
37 <th>URL pattern</th>
38 <th>Behavior</th>
39 <th></th>
40 </tr>
41 </thead>
42 <tbody>
43 <tr class="rl6-empty-row">
44 <td colspan="3">
45 <div class="rl6-empty-state">
46 <span class="dashicons dashicons-filter"></span>
47 <strong>Page Rules will appear here</strong>
48 <p>The old WordPress Settings tab mounted RabbitLoader's Page Rule component here.</p>
49 </div>
50 </td>
51 </tr>
52 </tbody>
53 </table>
54 </div>
55 </section>
56
57 <section class="rl6-card rl6-section-card">
58 <div class="rl6-section-title-row">
59 <div>
60 <span class="rl6-eyebrow">RabbitLoader account</span>
61 <h2>Connection</h2>
62 </div>
63 <span class="rl6-status-pill rl6-status-success">
64 <span class="rl6-status-dot"></span>
65 Connected
66 </span>
67 </div>
68
69 <div class="rl6-settings-grid">
70 <div class="rl6-setting-item">
71 <span>Website</span>
72 <strong><?php echo esc_html($domain); ?></strong>
73 </div>
74 <div class="rl6-setting-item">
75 <span>Domain ID</span>
76 <strong class="rl6-mono"><?php echo esc_html($did); ?></strong>
77 </div>
78 <div class="rl6-setting-item">
79 <span>Plugin version</span>
80 <strong><?php echo esc_html(RL5_VERSION); ?></strong>
81 </div>
82 </div>
83
84 <div class="rl6-card-actions">
85 <a class="rl6-button rl6-button-secondary" href="https://dash.rabbitloader.com/" target="_blank" rel="noopener noreferrer">
86 Open RabbitLoader Console
87 </a>
88 <button id="rl5-disconnect-button" type="button" class="rl6-button rl6-button-outline-danger">
89 Disconnect
90 </button>
91 </div>
92 </section>
93