| @@ -3,30 +3,32 @@ | ||
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | 6 | <div class="frm_wrap"> |
| 7 | - <?php | |
| 8 | - FrmAppHelper::get_admin_header( | |
| 9 | - array( | |
| 10 | - 'label' => __( 'Views', 'formidable' ), | |
| 11 | - 'form' => $form, | |
| 12 | - 'close' => $form ? admin_url( 'admin.php?page=formidable&frm_action=views&form=' . $form->id ) : '', | |
| 13 | - ) | |
| 14 | - ); | |
| 15 | - ?> | |
| 16 | - <div class="frmcenter frm-m-12"> | |
| 17 | - <div class="frm-video-wrapper frm-mb-md"> | |
| 18 | - <iframe width="843" height="474" src="https://www.youtube.com/embed/pmYbQ79wonQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| 19 | - </div> | |
| 20 | - <h2><?php esc_html_e( 'Show and Edit Entries with Views', 'formidable' ); ?></h2> | |
| 21 | - <p style="max-width:400px;margin:20px auto"> | |
| 22 | - <?php esc_html_e( 'Bring entries to the front-end of your site for full-featured applications or just to show the content.', 'formidable' ); ?> | |
| 23 | - </p> | |
| 7 | + <div class="frm_page_container"> | |
| 24 | 8 | <?php |
| 25 | - $upgrade_link_args = array( | |
| 26 | - 'medium' => 'views-info', | |
| 27 | - 'plan' => 'view', | |
| 9 | + FrmAppHelper::get_admin_header( | |
| 10 | + array( | |
| 11 | + 'label' => __( 'Views', 'formidable' ), | |
| 12 | + 'form' => $form, | |
| 13 | + 'close' => $form ? admin_url( 'admin.php?page=formidable&frm_action=views&form=' . $form->id ) : '', | |
| 14 | + ) | |
| 28 | 15 | ); |
| 29 | - FrmAddonsController::conditional_action_button( 'views', $upgrade_link_args ); | |
| 30 | 16 | ?> |
| 17 | + <div class="frmcenter" style="margin-top:10vh"> | |
| 18 | + <div class="frm-video-wrapper"> | |
| 19 | + <iframe width="843" height="474" src="https://www.youtube.com/embed/3T-WMIvYadg" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| 20 | + </div> | |
| 21 | + <h2><?php esc_html_e( 'Show and Edit Entries with Views', 'formidable' ); ?></h2> | |
| 22 | + <p style="max-width:400px;margin:20px auto"> | |
| 23 | + <?php esc_html_e( 'Bring entries to the front-end of your site for full-featured applications or just to show the content.', 'formidable' ); ?> | |
| 24 | + </p> | |
| 25 | + <?php | |
| 26 | + $upgrade_link_args = array( | |
| 27 | + 'medium' => 'views-info', | |
| 28 | + 'plan' => 'view', | |
| 29 | + ); | |
| 30 | + FrmAddonsController::conditional_action_button( 'views', $upgrade_link_args ); | |
| 31 | + ?> | |
| 32 | + </div> | |
| 31 | 33 | </div> |
| 32 | 34 | </div> |