PluginProbe ʕ •ᴥ•ʔ
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization / 1.19.4
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization v1.19.4
1.19.8 1.19.7 1.19.6 1.19.5 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.12.0 1.13.0 1.14.0 1.15.0 1.15.1 1.15.2 1.15.3 1.16.0 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.16.6 1.16.7 1.16.8 1.17.0 1.17.6 1.17.7 1.17.8 1.17.9 1.18.0 1.18.1 1.18.2 1.18.3 1.18.4 1.18.5 1.18.6 1.18.7 1.18.8 1.18.9 1.19.0 1.19.1 1.19.2 1.19.3 1.19.4 1.3.19 1.3.20 1.4.0 1.4.1 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.16 1.5.17 1.5.18 1.5.19 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.8.1 1.8.3 1.9.0 1.9.1 1.9.2
nitropack / view / admin.php
nitropack / view Last commit date
animations 7 months ago images 3 months ago javascript 2 months ago modals 3 months ago stylesheet 2 months ago templates 1 year ago admin.php 3 months ago connect-oneclick.php 3 months ago connect.php 7 months ago dashboard-oneclick.php 3 months ago dashboard.php 3 months ago oneclick.php 3 months ago preview-site.php 7 months ago system-report.php 4 months ago
admin.php
73 lines
1 <script>
2 let nitroNonce = '<?php echo wp_create_nonce( NITROPACK_NONCE ); ?>';
3 </script>
4 <div id="nitropack-container">
5 <nav class="nitro-navigation">
6 <div class="nitro-navigation-inner">
7 <img src="<?php echo plugin_dir_url( __FILE__ ) . 'images/nitropack_wp_logo.svg'; ?>" alt="NitroPack" />
8 </div>
9 </nav>
10
11 <main id="main">
12 <div class="container">
13 <?php
14 $passed_onboarding = get_option( 'nitropack-onboardingPassed');
15 if ( !$passed_onboarding && !empty( $_GET['onboarding'] ) ) {
16 require_once NITROPACK_PLUGIN_DIR . "view/preview-site.php";
17 } else if ( ! isset( $_GET['subpage'] ) ) {
18 require_once NITROPACK_PLUGIN_DIR . "view/dashboard.php";
19 } if ( isset( $_GET['subpage'] ) && $_GET['subpage'] == 'system-report' ) : ?>
20 <?php require_once NITROPACK_PLUGIN_DIR . "view/system-report.php";
21 ?>
22 <?php endif; ?>
23 </div>
24 </main>
25 <?php require_once NITROPACK_PLUGIN_DIR . 'view/templates/template-toast.php'; ?>
26 </div>
27
28 <?php if ( NITROPACK_SUPPORT_BUBBLE_VISIBLE ) { ?>
29 <div class="support-widget">
30 <!-- support widget -->
31 <script>
32 window.intercomSettings = {
33 api_base: "https://api-iam.intercom.io",
34 app_id: "d5v9p9vg"
35 };
36
37 (function () {
38 var w = window;
39 var ic = w.Intercom;
40 if (typeof ic === "function") {
41 ic('reattach_activator');
42 ic('update', w.intercomSettings);
43 } else {
44 var d = document;
45 var i = function () {
46 i.c(arguments);
47 };
48 i.q = [];
49 i.c = function (args) {
50 i.q.push(args);
51 };
52 w.Intercom = i;
53 var l = function () {
54 var s = d.createElement('script');
55 s.type = 'text/javascript';
56 s.async = true;
57 s.src = 'https://widget.intercom.io/widget/d5v9p9vg';
58 var x = d.getElementsByTagName('script')[0];
59 x.parentNode.insertBefore(s, x);
60 };
61 if (document.readyState === 'complete') {
62 l();
63 } else if (w.attachEvent) {
64 w.attachEvent('onload', l);
65 } else {
66 w.addEventListener('load', l, false);
67 }
68 }
69 })();
70 </script>
71 <!-- end support widget -->
72 </div>
73 <?php } ?>