Changeset 2630626
- Timestamp:
- 11/16/2021 10:56:03 AM (4 years ago)
- File:
-
- 1 edited
-
crypto-voucher-widget/trunk/cv_widget_image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
crypto-voucher-widget/trunk/cv_widget_image.php
r2630624 r2630626 68 68 } 69 69 ?> 70 <p> 70 <div 71 style="display: grid; grid-template-columns: 100%; grid-auto-rows: min-content; row-gap: 10px;" 72 > 71 73 <h3>Crypto Voucher Widget (Image Button)</h3> 72 74 73 <label for="<?php echo esc_attr($this->get_field_name( 'label' )); ?>"><?php _e( 'Enter title:' ); ?></label> 74 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'label' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'label' )); ?>" type="text" value="<?php echo esc_attr( $label ); ?>" /> 75 <div 76 style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content; row-gap: 5px;" 77 > 78 <label for="<?php echo esc_attr($this->get_field_name( 'label' )); ?>"><?php _e( 'Enter title:' ); ?></label> 79 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'label' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'label' )); ?>" type="text" value="<?php echo esc_attr( $label ); ?>" /> 80 </div> 75 81 76 <label for="<?php echo esc_attr($this->get_field_name( 'referenceId' )); ?>"><?php _e( 'Enter your reference identificator (required):' ); ?></label> 77 <input class="widefat" placeholder="widget token" id="<?php echo esc_attr($this->get_field_id( 'referenceId' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'referenceId' )); ?>" type="text" value="<?php echo esc_attr( $referenceId ); ?>" /> 82 <div 83 style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content; row-gap: 5px;" 84 > 85 <label for="<?php echo esc_attr($this->get_field_name( 'referenceId' )); ?>"><?php _e( 'Enter your reference identificator (required):' ); ?></label> 86 <input class="widefat" placeholder="widget token" id="<?php echo esc_attr($this->get_field_id( 'referenceId' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'referenceId' )); ?>" type="text" value="<?php echo esc_attr( $referenceId ); ?>" /> 87 </div> 78 88 79 <label for="<?php echo esc_attr($this->get_field_name( 'primaryColor' )); ?>"><?php _e( 'Enter primary color of widget (optional):' ); ?></label> 80 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'primaryColor' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'primaryColor' )); ?>" type="text" value="<?php echo esc_attr( $primaryColor ); ?>" /> 89 <div 90 style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content; row-gap: 5px;" 91 > 92 <label for="<?php echo esc_attr($this->get_field_name( 'primaryColor' )); ?>"><?php _e( 'Enter primary color of widget (optional):' ); ?></label> 93 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'primaryColor' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'primaryColor' )); ?>" type="text" value="<?php echo esc_attr( $primaryColor ); ?>" /> 94 </div> 81 95 82 <label for="<?php echo esc_attr($this->get_field_name( 'logo' )); ?>"><?php _e( 'Enter URL to your logo (optional):' ); ?></label> 83 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'logo' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'logo' )); ?>" type="text" value="<?php echo esc_attr( $logo ); ?>" /> 84 </p> 96 <div 97 style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content; row-gap: 5px;" 98 > 99 <label for="<?php echo esc_attr($this->get_field_name( 'logo' )); ?>"><?php _e( 'Enter URL to your logo (optional):' ); ?></label> 100 <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'logo' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'logo' )); ?>" type="text" value="<?php echo esc_attr( $logo ); ?>" /> 101 </div> 102 </div> 85 103 <?php 86 104 }
Note: See TracChangeset
for help on using the changeset viewer.