From 97a669d75400afb6c2ff0c4f02e7b822a89c1f79 Mon Sep 17 00:00:00 2001 From: Enej Bajgoric Date: Mon, 17 Sep 2018 09:10:21 -0700 Subject: [PATCH] Update/Settings ui (#9952) * Stats: Add new admin wrapper functions * Update the Jetpack Debug page * Add the Automattic airline tagline to the footer * Fix mobile So that it behavies the same as the header * Only apply the wraper to the rest of the ui not the main dashboard * Remove duplicate code use the dops styles in a consistant way * Remove the reduent Jetpack from the header * Remove the header and footer from the settings page We are now using the wraper function so the admin header and footer are redundent. * Updated the network settings. * Add the new admin wrapper to share settings * Update the links in the wrapper so that they only sshow up if the user has access to see them. * Fix mobile styling. * Better support for Jitm messages * Minor fix` Fixes a php warning found during testing * Remove the error_log statment * Add is-wide argument to the wrap_ui method This enables the container to have a wider max width then the default container. * Fix styling for hello dolly. * Update the translation strings so that they don't have backslashes. * Deprecate deleted files --- _inc/footer.php | 23 +-- _inc/header.php | 4 +- .../admin-pages/class.jetpack-admin-page.php | 144 ++++++++++++++++-- .../admin-pages/class.jetpack-react-page.php | 8 +- .../class.jetpack-settings-page.php | 39 ++--- class.jetpack-admin.php | 15 +- class.jetpack-debugger.php | 4 +- class.jetpack-network.php | 42 ++--- class.jetpack.php | 1 - modules/publicize/ui.php | 14 +- modules/sharedaddy/sharing.php | 13 +- modules/stats.php | 95 ++++-------- views/admin/network-admin-alert.php | 15 +- views/admin/network-admin-footer.php | 36 +---- views/admin/network-admin-header.php | 18 +-- views/admin/network-settings.php | 4 +- 16 files changed, 267 insertions(+), 208 deletions(-) diff --git a/_inc/footer.php b/_inc/footer.php index e20ced36f6d85..434b80f172dc6 100644 --- a/_inc/footer.php +++ b/_inc/footer.php @@ -1,17 +1,6 @@ - - -
- - - - - + -
-