diff --git a/assets/css/admin.scss b/assets/css/admin.scss index 992656d5c..e1c874f65 100644 --- a/assets/css/admin.scss +++ b/assets/css/admin.scss @@ -10223,3 +10223,80 @@ body { #evf-edit-form-name { width: 100%; } + +.everest-forms-form-listing__header { + display: flex; + width: 100%; + padding: 0 24px; + align-items: center; + gap: 30px; + border-bottom: 1px solid #E2E8F0; + background: var(--white, #FFF); + margin-left: -20px; + margin-top: -10px; + margin-bottom: 40px; + + div#everest-forms-header__logo { + display: flex; + align-items: center; + gap: 2px; + height: 74px; + } + + button#evf-form-listing__screen-options { + color: #222222; + font-size: 14px; + line-height: 21px; + border-color: #eaeaea; + border-radius: 4px; + padding: 8px 16px; + margin-left: 79%; + background: #eaeaea; + } + + button#show-settings-link{ + display: none; + } + + span#everest-forms-logo__separator { + padding-left: 20px; + color: #e2e8f0; + font-size: 40px; + font-weight: 100; + } + + a#everest-forms-form-listing__heading { + font-size: 16px; + text-decoration: none; + font-weight: 600; + color: #222222; + } +} + +#everest-forms-list-table__container { + background-color: #ffffff; + padding: 24px; + margin: 25px auto; + border-radius: 7px; + + table.forms{ + border-radius: 5px; + } + + div.everest-forms-list-table-container__header{ + display: flex; + align-items: center; + gap: 15px; + margin-bottom: 15px; + + a{ + color: #7545BB; + border-color: #7545BB; + } + } + +} + +button#show-settings-link{ + display: none; +} diff --git a/assets/js/admin/admin.js b/assets/js/admin/admin.js index 6695105e8..30a1e01da 100644 --- a/assets/js/admin/admin.js +++ b/assets/js/admin/admin.js @@ -32,6 +32,11 @@ // Add an event listener for changes and on the click in the reporting frequency $(document).on('change click', '#everest_forms_entries_reporting_frequency', handleReportingFrequencyChange); + + + $('#evf-form-listing__screen-options').on('click', function() { + $("#show-settings-link").click(); + }); }); // Function to handle changes in the premium sidebar. diff --git a/includes/admin/class-evf-admin-forms.php b/includes/admin/class-evf-admin-forms.php index a0345cc9f..ebf25e803 100644 --- a/includes/admin/class-evf-admin-forms.php +++ b/includes/admin/class-evf-admin-forms.php @@ -62,24 +62,46 @@ public static function table_list_output() { $forms_table_list->prepare_items(); ?>
-

- - - -
- - - -
- - views(); - $forms_table_list->search_box( __( 'Search Forms', 'everest-forms' ), 'everest-forms' ); - $forms_table_list->display(); - - wp_nonce_field( 'save', 'everest-forms_nonce' ); - ?> -
+
+ + + +
+ +
+
+

+ + + +
+
+ + + +
+ + views(); + $forms_table_list->search_box( __( 'Search Forms', 'everest-forms' ), 'everest-forms' ); + $forms_table_list->display(); + + wp_nonce_field( 'save', 'everest-forms_nonce' ); + ?> +
+