wordpress-popup
/
views
/
admin
/
commons
/
sui-listing
/
dialogs
/
create-module
/
create-sshare.php
create-non-sshare.php
5 years ago
create-sshare.php
2 years ago
non-sshare-templates-step.php
4 years ago
create-sshare.php
65 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Markup for the modal to create Social Sharing modules on listing page. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.3.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-box"> |
| 11 | |
| 12 | <div class="sui-box-header sui-flatten sui-content-center sui-spacing-top--60"> |
| 13 | |
| 14 | <button class="sui-button-icon sui-button-float--right hustle-modal-close" data-modal-close> |
| 15 | <span class="sui-icon-close sui-md" aria-hidden="true"></span> |
| 16 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span> |
| 17 | </button> |
| 18 | |
| 19 | <?php /* translators: module's type capitalized and in singular. */ ?> |
| 20 | <h3 id="hustle-create-new-module-dialog-label" class="sui-box-title sui-lg"><?php printf( esc_html__( 'Create %s', 'hustle' ), esc_html( $capitalize_singular ) ); ?></h3> |
| 21 | |
| 22 | <?php /* translators: module's type in small caps and in singular. */ ?> |
| 23 | <p id="hustle-create-new-module-dialog-description" class="sui-description"><?php printf( esc_html__( "Let's give your new %s module a name. What would you like to name it?", 'hustle' ), esc_html( $smallcaps_singular ) ); ?></p> |
| 24 | |
| 25 | </div> |
| 26 | |
| 27 | <div class="sui-box-body"> |
| 28 | |
| 29 | <div class="sui-form-field"> |
| 30 | |
| 31 | <?php /* translators: module's type in small caps and in singular. */ ?> |
| 32 | <label for="hustle-module-name" class="sui-screen-reader-text"><?php printf( esc_html__( '%s name', 'hustle' ), esc_html( $capitalize_singular ) ); ?></label> |
| 33 | |
| 34 | <div class="sui-with-button sui-inside"> |
| 35 | |
| 36 | <input |
| 37 | type="text" |
| 38 | name="name" |
| 39 | autocomplete="off" |
| 40 | placeholder="<?php esc_html_e( 'E.g. Social Sharing', 'hustle' ); ?>" |
| 41 | id="hustle-module-name" |
| 42 | class="sui-form-control sui-required" |
| 43 | autofocus |
| 44 | /> |
| 45 | |
| 46 | <button id="hustle-create-module" class="sui-button-icon sui-button-blue sui-button-filled sui-button-lg" disabled> |
| 47 | <span class="sui-loading-text"> |
| 48 | <span class="sui-icon-arrow-right" aria-hidden="true"></span> |
| 49 | </span> |
| 50 | <span class="sui-icon-loader sui-loading" aria-hidden="true"></span> |
| 51 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Done', 'hustle' ); ?></span> |
| 52 | </button> |
| 53 | |
| 54 | </div> |
| 55 | |
| 56 | <span id="error-empty-name" class="sui-error-message" style="display: none;"><?php esc_html_e( 'Please add a name for this module.', 'hustle' ); ?></span> |
| 57 | |
| 58 | <span class="sui-description"><?php esc_html_e( 'This will not be visible anywhere on your website', 'hustle' ); ?></span> |
| 59 | |
| 60 | </div> |
| 61 | |
| 62 | </div> |
| 63 | |
| 64 | </div> |
| 65 |