customer-dashboard
2 years ago
admin-header.php
2 years ago
admin-index-header.php
2 years ago
admin-index-styles.php
2 years ago
admin-settings-header.php
2 years ago
admin-settings-notices.php
4 years ago
admin-settings-sidebar.php
2 years ago
admin-settings-styles.php
3 years ago
store-logo.php
2 years ago
admin-header.php
51 lines
| 1 | <style> |
| 2 | #sc-admin-header { |
| 3 | background-color: #fff; |
| 4 | width: calc(100% + 20px); |
| 5 | margin-left: -20px; |
| 6 | } |
| 7 | |
| 8 | #sc-admin-container { |
| 9 | padding: 20px; |
| 10 | display: flex; |
| 11 | align-items: center; |
| 12 | justify-content: space-between; |
| 13 | } |
| 14 | |
| 15 | #sc-admin-title { |
| 16 | margin: 0; |
| 17 | font-size: var(--sc-font-size-large); |
| 18 | } |
| 19 | </style> |
| 20 | |
| 21 | |
| 22 | <div id="sc-admin-header"> |
| 23 | <?php if ( ! empty( $claim_url ) ) : ?> |
| 24 | <sc-provisional-banner claim-url="<?php echo esc_url( $claim_url ); ?>"></sc-provisional-banner> |
| 25 | <?php endif; ?> |
| 26 | <div id="sc-admin-container"> |
| 27 | <?php if ( ! empty( $breadcrumbs ) ) : ?> |
| 28 | <sc-breadcrumbs style="font-size: 16px"> |
| 29 | <sc-breadcrumb> |
| 30 | <img style="display: block" src="<?php echo esc_url( trailingslashit( plugin_dir_url( SURECART_PLUGIN_FILE ) ) . 'images/logo.svg' ); ?>" alt="SureCart" width="125"> |
| 31 | </sc-breadcrumb> |
| 32 | <?php foreach ( $breadcrumbs as $breadcrumb ) : ?> |
| 33 | <sc-breadcrumb><?php echo esc_html( $breadcrumb['title'] ?? '' ); ?></sc-breadcrumb> |
| 34 | <?php endforeach; ?> |
| 35 | </sc-breadcrumbs> |
| 36 | <?php endif; ?> |
| 37 | <?php |
| 38 | if ( ! empty( $suffix ) ) { |
| 39 | echo wp_kses_post( $suffix ); |
| 40 | } |
| 41 | ?> |
| 42 | <?php |
| 43 | if ( ! empty( $test_mode_toggle ) ) { |
| 44 | ?> |
| 45 | <div id="sc-test-mode-toggle"></div> |
| 46 | <?php |
| 47 | } |
| 48 | ?> |
| 49 | </div> |
| 50 | </div> |
| 51 |