group-compat.php
8 years ago
group-extra.php
8 years ago
group-fields.php
8 years ago
group-form.php
8 years ago
group-query.php
8 years ago
group-slideshow.php
7 years ago
group-style.php
8 years ago
option-background.php
8 years ago
option-boilerplate.php
9 years ago
option-category.php
8 years ago
option-classes.php
8 years ago
option-client-section.php
7 years ago
option-color.php
8 years ago
option-content.php
7 years ago
option-divi.php
8 years ago
option-form-ajax.php
9 years ago
option-form-category.php
8 years ago
option-id.php
8 years ago
option-layout.php
8 years ago
option-limit.php
8 years ago
option-order.php
8 years ago
option-pagination.php
8 years ago
option-read-more-page.php
8 years ago
option-select.php
8 years ago
option-slideshow-behavior.php
8 years ago
option-slideshow-breakpoints.php
7 years ago
option-slideshow-navigation.php
7 years ago
option-slideshow-num.php
7 years ago
option-slideshow-transition.php
7 years ago
option-slideshow-type.php
7 years ago
option-template-list.php
8 years ago
option-thumbnail.php
8 years ago
option-title.php
8 years ago
template-input.php
8 years ago
template-not-found.php
8 years ago
template-options.php
8 years ago
view-mode.php
8 years ago
view-name.php
9 years ago
view-shortcode.php
8 years ago
option-background.php
151 lines
| 1 | <th> |
| 2 | <?php _e( 'Background', 'strong-testimonials' ); ?> |
| 3 | </th> |
| 4 | <td> |
| 5 | <div class="section-radios background-section"> |
| 6 | |
| 7 | <!-- Inputs --> |
| 8 | <div class="radio-buttons"> |
| 9 | <ul class="radio-list background-list"> |
| 10 | <li> |
| 11 | <input type="radio" |
| 12 | id="bg-none" |
| 13 | name="view[data][background][type]" |
| 14 | value="" <?php checked( $view['background']['type'], '' ); ?>> |
| 15 | <label for="bg-none"> |
| 16 | <?php _e( 'inherit from theme', 'strong-testimonials' ); ?> |
| 17 | </label> |
| 18 | </li> |
| 19 | <li> |
| 20 | <input type="radio" |
| 21 | id="bg-single" |
| 22 | name="view[data][background][type]" |
| 23 | value="single" <?php checked( $view['background']['type'], 'single' ); ?>> |
| 24 | <label for="bg-single"> |
| 25 | <?php _e( 'single color', 'strong-testimonials' ); ?> |
| 26 | </label> |
| 27 | </li> |
| 28 | <li> |
| 29 | <input type="radio" |
| 30 | id="bg-gradient" |
| 31 | name="view[data][background][type]" |
| 32 | value="gradient" <?php checked( $view['background']['type'], 'gradient' ); ?>> |
| 33 | <label for="bg-gradient"> |
| 34 | <?php _e( 'gradient', 'strong-testimonials' ); ?> |
| 35 | </label> |
| 36 | </li> |
| 37 | <li> |
| 38 | <input type="radio" |
| 39 | id="bg-preset" |
| 40 | name="view[data][background][type]" |
| 41 | value="preset" <?php checked( $view['background']['type'], 'preset' ); ?>> |
| 42 | <label for="bg-preset"> |
| 43 | <?php _e( 'preset', 'strong-testimonials' ); ?> |
| 44 | </label> |
| 45 | </li> |
| 46 | </ul> |
| 47 | </div> |
| 48 | |
| 49 | <!-- Background info --> |
| 50 | <div class="radio-description" id="view-background-info"> |
| 51 | |
| 52 | <div class="background-description bg-none"> |
| 53 | <div class="description-inner options"> |
| 54 | <div> |
| 55 | <?php _e( 'No options', 'strong-testimonials' ); ?> |
| 56 | </div> |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | <div class="background-description bg-single"> |
| 61 | <div class="description-inner options"> |
| 62 | <div> |
| 63 | <label> |
| 64 | <input type="text" |
| 65 | id="bg-color" |
| 66 | name="view[data][background][color]" |
| 67 | value="<?php echo $view['background']['color']; ?>" |
| 68 | class="wp-color-picker-field"> |
| 69 | </label> |
| 70 | </div> |
| 71 | </div> |
| 72 | </div> |
| 73 | |
| 74 | <div class="background-description bg-gradient"> |
| 75 | <div class="description-inner options"> |
| 76 | <div> |
| 77 | <div class="color-picker-wrap"> |
| 78 | <div> |
| 79 | <label for="bg-gradient1"><?php _e( 'From top', 'strong-testimonials' ); ?></label> |
| 80 | </div> |
| 81 | <div> |
| 82 | <input type="text" |
| 83 | id="bg-gradient1" |
| 84 | name="view[data][background][gradient1]" |
| 85 | value="<?php echo $view['background']['gradient1']; ?>" |
| 86 | class="wp-color-picker-field gradient"> |
| 87 | </div> |
| 88 | </div> |
| 89 | </div> |
| 90 | </div> |
| 91 | <div class="description-inner options"> |
| 92 | <div> |
| 93 | <div class="color-picker-wrap"> |
| 94 | <div> |
| 95 | <label for ="bg-gradient2"><?php _e( 'To bottom', 'strong-testimonials' ); ?></label> |
| 96 | </div> |
| 97 | <div> |
| 98 | <input type="text" |
| 99 | id="bg-gradient2" |
| 100 | name="view[data][background][gradient2]" |
| 101 | value="<?php echo $view['background']['gradient2']; ?>" |
| 102 | class="wp-color-picker-field gradient"> |
| 103 | </div> |
| 104 | </div> |
| 105 | </div> |
| 106 | |
| 107 | </div> |
| 108 | </div> |
| 109 | |
| 110 | <div class="background-description bg-preset"> |
| 111 | <div class="description-inner options"> |
| 112 | <div> |
| 113 | <label for="view-background-preset"> |
| 114 | <select id="view-background-preset" name="view[data][background][preset]"> |
| 115 | <?php |
| 116 | $presets = wpmtst_get_background_presets(); |
| 117 | $current_preset = ( isset( $view['background']['preset'] ) && $view['background']['preset'] ) ? $view['background']['preset'] : ''; |
| 118 | echo '<option value="" ' . selected( $current_preset, '', false ) . '>—</option>'; |
| 119 | foreach ( $presets as $key => $preset ) { |
| 120 | echo '<option value="' . $key . '" ' . selected( $current_preset, $key, false ) . '>' . $preset['label'] . '</option>'; |
| 121 | } |
| 122 | ?> |
| 123 | </select> |
| 124 | </label> |
| 125 | </div> |
| 126 | </div> |
| 127 | |
| 128 | </div> |
| 129 | |
| 130 | |
| 131 | </div> |
| 132 | |
| 133 | </div> |
| 134 | |
| 135 | </td> |
| 136 | |
| 137 | <td rowspan="2" class="rowspan"> |
| 138 | <div id="view-color-preview" class="table-cell"> |
| 139 | |
| 140 | <div class="background-preview-wrap"> |
| 141 | |
| 142 | <div id="background-preview"> |
| 143 | Lorem ipsum dolor sit amet, accusam complectitur an eos. No vix perpetua adolescens, vix vidisse maiorum |
| 144 | in. No erat falli scripta qui, vis ubique scripta electram ad. Vix prompta adipisci no, ad vidisse |
| 145 | expetendis. |
| 146 | </div> |
| 147 | |
| 148 | </div> |
| 149 | |
| 150 | </div> |
| 151 | </td> |