| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <!-- Application Root Element -->
- <div class="wrap">
- <div id="ninja-forms-dashboard"></div>
- </div>
- <!-- Dashboard -->
- <script id="tmpl-nf-dashboard" type="text/template">
- <header class="topbar">
- <div class="app-title">
- <strong><?php _e( 'Ninja Forms Dashboard', 'ninja-forms' ); ?></strong>
- </div>
- </header>
- <div class="notices"></div>
- <div class="promotions"></div>
- <nav class="sections">
- <ul>
- {{{ data.renderNav() }}}
- </ul>
- </nav>
- <main class="content"></main>
- </script>
- <!-- OAuth -->
- <script id="tmpl-nf-notices-oauth" type="text/template">
- <# if( null !== data.connected ) { #>
- <# if( ! data.connected ){ #>
- <!-- <a href="{{{ data.connect_url }}}" class="nf-oauth--connect">
- Connect to My.NinjaForms.com
- </a> -->
- <# } else { #>
- <div class="nf-oauth--connected">
- Connected to My.NinjaForms.com <span style="cursor:pointer;" onclick="Backbone.Radio.channel( 'dashboard' ).request( 'oauth:learn-more' );">Learn More</span>
- <span class="js--disconnect" style="float:right;cursor:pointer;">
- <span class="dashicons dashicons-no"></span>
- </span>
- </div>
- <# } #>
- <# } else { #>
- <div class="nf-oauth--checking">
- Checking connection...
- </div>
- <# } #>
- </script>
- <!-- Promotion -->
- <script id="tmpl-nf-promotion" type="text/template">
- <div
- class="promotion--wrapper"
- <# if( data.script ){ #>
- onclick="{{{data.script}}}"
- <# } #>
- >
- <div class="promotion--{{{ data.id }}}">
- {{{ data.content }}}
- </div>
- </div>
- </script>
- <!-- Section: Widgets -->
- <script id="tmpl-nf-widgets" type="text/template">
- <div class="widget widget-forms"></div>
- </script>
- <!-- Section: Services -->
- <script id="tmpl-nf-services" type="text/template">
- <div class="services"></div>
- </script>
- <script id="tmpl-nf-service" type="text/template">
- <div class="nf-box-inside" style="padding:10px 20px;">
- <h2>{{{ data.name }}}</h2>
- <div class="nf-extend-content">
- <p>{{{ data.description }}}</p>
- <div class="nf-extend-buttons">
- <# if( data.is_connected ){ #>
- <# if( null !== data.enabled){ #>
- <div style="float: left;">
- <input id="nfServiceTransactionalEmail" class="nf-toggle setting" {{{ ( data.enabled ) ? 'checked="checked"' : '' }}} {{{ ( data.isUpdating ) ? 'disabled="disabled"' : '' }}} type="checkbox">
- <label for="nfServiceTransactionalEmail"></label>
- </div>
- <# } #>
- <# if( data.serviceLink ){ #>
- <a
- href="{{{ data.serviceLink.href }}}"
- class="{{{data.serviceLink.classes}}}"
- <# if( data.serviceLink.target ) { #>target="{{{ data.serviceLink.target }}}"<# } #>
- style="float:right;">{{{data.serviceLink.text}}}</a>
- <# } #>
- <# } #>
- <# if( data.learnMore ) { #>
- <button class="nf-button secondary js--learn-more" style="float:left;">Learn More</button>
- <# } #>
- <# if( ( ! data.is_connected ) || ( data.slug && data.installPath ) ){ #>
- <# if( ! data.is_installing ){ #>
- <a href="#services" class="nf-button primary js--install" style="float:right;">
- <# if( data.setupButtonText ){ #>
- {{{ data.setupButtonText }}}
- <# } else { #>
- <?php echo __( 'Setup', 'ninja-forms' ); ?>
- <# } #>
- </a>
- <# } else { #>
- <a href="#services" class="nf-button primary" style="float:right;" disabled>
- <span class="dashicons dashicons-update dashicons-update-spin"></span>
- </a>
- <# } #>
- <# } #>
- </div>
- </div>
- </div>
- </script>
- <!-- Section: Apps -->
- <script id="tmpl-nf-apps" type="text/template">
- <!-- TODO: Create static template -->
- <?php
- Ninja_Forms()->menus['add-ons']->display();
- ?>
- </script>
- <!-- Section: Memberships -->
- <script id="tmpl-nf-memberships" type="text/template">
- <div class="widget widget-memberships">
- <div class="pricing-container">
- <div class="pricing-block widget">
- <div class="pricing-header">
- <div class="pricing-title"><?php _e( 'Agency', 'ninja-forms' ); ?></div>
- <div class="pricing-price">$499</div>
- <div class="pricing-savings"><?php _e( 'Save', 'ninja-forms' ); ?> $2000+</div>
- <div class="pricing-cta"><a target="_blank" href="https://ninjaforms.com/checkout/?edd_action=add_to_cart&download_id=203757&utm_medium=plugin&utm_source=plugin-dashboard&utm_campaign=Ninja+Forms+Memberships&utm_content=Agency+Membership" class="nf-button primary"><?php _e( 'Buy Now', 'ninja-forms' ); ?></a></div>
- </div>
- <div class="pricing-body">
- <div>
- <i class="fa fa-users" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Unlimited Sites', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Updates & Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-money" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( '50% off recurring renewals', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Renews at $249.50/year', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-rocket" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Fastest Support', 'ninja-forms' ); ?></span>
- <span><?php _e( '1 Year of Updates & Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-trophy" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'All add-ons included!', 'ninja-forms' ); ?></span>
- <ul>
- <li><?php _e( 'Builder PRO Pack', 'ninja-forms' ); ?></li>
- <li><?php _e( 'PDF Form Submissions', 'ninja-forms' ); ?></li>
- <li><?php _e( 'Zapier', 'ninja-forms' ); ?></li>
- <li><?php _e( 'Newsletters (MailChimp, etc.)', 'ninja-forms' ); ?></li>
- <li><?php _e( 'CRMs (Saleforce, etc.)', 'ninja-forms' ); ?></li>
- <li><?php _e( 'Payments (PayPal, etc.)', 'ninja-forms' ); ?></li>
- <li><?php _e( 'And so much more...', 'ninja-forms' ); ?></li>
- </ul>
- </div>
- </div>
- </div>
- <div class="pricing-block widget highlight">
- <!-- <div class="callout">
- Most Popular
- </div> -->
- <div class="pricing-header">
- <div class="pricing-title"><?php _e( 'Professional', 'ninja-forms' ); ?></div>
- <div class="pricing-price">$199</div>
- <div class="pricing-savings"><?php _e( 'Save $197', 'ninja-forms' ); ?></div>
- <div class="pricing-cta"><a target="_blank" href="https://ninjaforms.com/checkout/?edd_action=add_to_cart&download_id=471355&utm_medium=plugin&utm_source=plugin-dashboard&utm_campaign=Ninja+Forms+Memberships&utm_content=Professional+Membership" class="nf-button primary"><?php _e( 'Buy Now', 'ninja-forms' ); ?></a></div>
- </div>
- <div class="pricing-body">
- <div>
- <i class="fa fa-users" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( '20 Sites', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Updates & Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-money" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( '50% off recurring renewals', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Renews at $99.50/year', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-plane" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Faster Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-wrench" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Builder Pro Pack', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Layout & Styles, Multi-Part Forms, Conditional Logic, File Uploads', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-percent" aria-hidden="true"></i>
- <span>Plus <strong>40% off</strong><br /><?php _e( 'Additional Add-Ons', 'ninja-forms' ); ?></span>
- </div>
- </div>
- </div>
- <div class="pricing-block widget">
- <div class="pricing-header">
- <div class="pricing-title"><?php _e( 'Personal', 'ninja-forms' ); ?></div>
- <div class="pricing-price">$99</div>
- <div class="pricing-savings"><?php _e( 'Save $57', 'ninja-forms' ); ?></div>
- <div class="pricing-cta"><a target="_blank" href="https://ninjaforms.com/checkout/?edd_action=add_to_cart&download_id=471356&utm_medium=plugin&utm_source=plugin-dashboard&utm_campaign=Ninja+Forms+Memberships&utm_content=Personal+Membership" class="nf-button primary"><?php _e( 'Buy Now', 'ninja-forms' ); ?></a></div>
- </div>
- <div class="pricing-body">
- <div>
- <i class="fa fa-user" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( '1 Site', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Updates & Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-money" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( '50% off recurring renewals', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Renews at $49.50/year', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-car" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Fast Support', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-wrench" aria-hidden="true"></i>
- <span class="pricing-body-title"><?php _e( 'Builder Pro Pack', 'ninja-forms' ); ?></span>
- <span><?php _e( 'Layout & Styles, Multi-Part Forms, Conditional Logic, File Uploads', 'ninja-forms' ); ?></span>
- </div>
- <div>
- <i class="fa fa-percent" aria-hidden="true"></i>
- <span>Plus <strong>20% off</strong><br /><?php _e( 'Additional Add-Ons', 'ninja-forms' ); ?></span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="widget widget-plan-notice">
- <p class="widget-title"><?php _e( 'That sounds amazing! What else comes with Ninja Forms?', 'ninja-forms' ); ?></p>
- <a href="https://ninjaforms.com/features/?utm_medium=plugin&utm_source=plugin-dashboard&utm_campaign=Ninja+Forms+Memberships&utm_content=Features" target="_blank" class="nf-button primary feature-list-link"><?php _e( 'We\'re glad you asked! Checkout our full list of features!', 'ninja-forms' ); ?> <i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
- <div><em><?php _e( 'All plans include 50% discount on automatic renewals, and a 14 day money back guarantee.', 'ninja-forms' ); ?></em></div>
- <div><?php _e( 'Requires a current active license and subject to our', 'ninja-forms' ); ?> <a target="_blank" href="https://ninjaforms.com/terms-conditions/?utm_medium=plugin&utm_source=plugin-dashboard&utm_campaign=Ninja+Forms+Memberships&utm_content=Terms+Conditions"><?php _e( 'Terms & Conditions', 'ninja-forms' ); ?></a>.</div>
- </div>
- </script>
- <!-- Widget: Forms -->
- <script id="tmpl-nf-widget-forms" type="text/template">
- <header>
- <div class="action">
- <button class="add nf-button primary"><?php _e( 'Add New', 'ninja-forms' ); ?></button>
- <button class="cancel nf-button secondary"><?php _e( 'Cancel', 'ninja-forms' ); ?></button>
- </div>
- <div class="filter nf-search"></div>
- </header>
- <main class="content"></main>
- </script>
- <!-- Widget: Forms - Filter -->
- <script id="tmpl-nf-widget-forms-filter" type="text/template">
- <input class="nf-filter" type="search" placeholder="<?php _e( 'Search Forms', 'ninja-forms' ); ?>">
- </script>
- <!-- Widget: Forms - Table -->
- <script id="tmpl-nf-widget-forms-table" type="text/template">
- <thead>
- <th class="sortable th-title" data-sort="title"><?php _e( 'Title', 'ninja-forms' ); ?></th>
- <th class="th-shortcode"><?php _e( 'Shortcode', 'ninja-forms' ); ?></th>
- <th class="sortable th-created" data-sort="created_at"><?php _e( 'Date Created', 'ninja-forms' ); ?></th>
- <th></th>
- </thead>
- <tbody class="content">
- <?php _e( 'Loading Forms...', 'ninja-forms' ); ?>
- </tbody>
- <tfoot>
- <tr>
- <td colspan="4" class="action2">
- <button class="more"><?php _e( 'More', 'ninja-forms' ); ?></button>
- <button class="less"><?php _e( 'Less', 'ninja-forms' ); ?></button>
- </td>
- </tr>
- </tfoot>
- </script>
- <script id="tmpl-nf-widget-forms-table-row" type="text/template">
- <td class="">
- <span class="title">
- <a href="admin.php?page=ninja-forms&form_id={{{ data.id }}}">{{{ data.title }}}</a>
- </span>
- <ul class="form-row-actions">
- <li><a href="admin.php?page=ninja-forms&form_id={{{ data.id }}}"><?php _e( 'Edit', 'ninja-forms' ); ?></a></li>
- <li><a class="duplicate"><?php _e( 'Duplicate', 'ninja-forms' ); ?></a></li>
- <li><a href="<?php print( get_home_url() ); ?>/?nf_preview_form={{{ data.id }}}" target="_blank"><?php _e( 'Preview Form', 'ninja-forms' ); ?></a></li>
- <li><a href="edit.php?post_status=all&post_type=nf_sub&form_id={{{ data.id }}}" target="_blank"><?php _e( 'View Submissions', 'ninja-forms' ); ?></a></li>
- <li><a class="delete"><?php _e( 'Delete', 'ninja-forms' ); ?></a></li>
- </ul>
- </td>
- <td>
- {{{ data.shortcode }}}
- </td>
- <td>
- {{{ data.created_at }}}
- </td>
- <td><div class="nf-item-controls">
- <div class="nf-item-edit nf-item-control"><a title="Edit"><i class="nf-edit-settings fa fa-cog" aria-hidden="true"></i></div></div>
- </div></div></td>
- </script>
- <script id="tmpl-nf-widget-forms-table-empty" type="text/template">
- <td colspan="4"><?php _e( 'No Forms', 'ninja-forms' ); ?></td>
- </script>
- <script id="tmpl-nf-widget-forms-table-loading" type="text/template">
- <td colspan="4"><?php _e( 'Loading Forms', 'ninja-forms' ); ?></td>
- </script>
- <!-- Widget: Forms - New Forms Templates -->
- <script id="tmpl-nf-widget-forms-template" type="text/template">
- <div class="template {{{ data.type }}}">
- <a href="admin.php?page=ninja-forms&form_id={{{ data.id }}}">
- <strong class="title">{{{ data.title }}}</strong>
- <div class="desc">{{{ data.desc }}}</div>
- </a>
- </div>
- </script>
- <!-- Content Template -->
- <script id="tmpl-nf-content" type="text/template">
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab aliquid cupiditate ducimus fugit illo itaque maxime nihil perferendis praesentium voluptates. Aperiam culpa delectus distinctio illo ipsum officia, officiis pariatur quasi.</p>
- </script>
|