GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: replace dashicons info with inline svg icon · axeptio/wordpress-plugin@339e252

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • assets/img/icons
    • info.svg
  • templates/admin/common/fields
    • gtm-events.php
    • image-upload.php
    • select-languages.php
    • text.php
    • textarea.php
    • toggle.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎assets/img/icons/info.svg‎

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎templates/admin/common/fields/gtm-events.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/gtm-events.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php defined( 'ABSPATH' ) || exit; ?>
22
<div x-data="{ gtmEvents: '<?php echo esc_js( $data->value ); ?>' }">
3-
<label for="<?php echo esc_attr( $data->id ); ?>" class="block text-sm font-medium leading-6 text-gray-900">
3+
<label for="<?php echo esc_attr( $data->id ); ?>" class="flex items-center gap-1 text-sm font-medium leading-6 text-gray-900">
44
<?php echo esc_html( $data->label ); ?>
55
<?php if ( isset( $data->help_url ) ) : ?>
66
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
7-
<span class="dashicons dashicons-info-outline"></span>
7+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
88
</a>
99
<?php endif ?>
1010
</label>
@@ -13,7 +13,7 @@
1313
id="<?php echo esc_attr( $data->id ); ?>"
1414
name="<?php echo esc_attr( $data->group . '[' . $data->name . ']' ); ?>"
1515
x-model="gtmEvents"
16-
class="mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-amber-600 sm:text-sm sm:leading-6"
16+
class="mt-2 block w-full max-w-none rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-amber-600 sm:text-sm sm:leading-6"
1717
>
1818
<option value="true"><?php esc_html_e( 'Send all events to dataLayer', 'axeptio-sdk-integration' ); ?></option>
1919
<option value="false"><?php esc_html_e( 'Do not send any events to dataLayer', 'axeptio-sdk-integration' ); ?></option>
Collapse file

‎templates/admin/common/fields/image-upload.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/image-upload.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
fieldName: '<?php echo esc_js( $data->group . '[' . $data->name . ']' ); ?>',
55
fieldId: '<?php echo esc_js( $data->id ); ?>'
66
})">
7-
<label :for="fieldId" class="block text-sm font-medium leading-6 text-gray-900">
7+
<label :for="fieldId" class="flex items-center gap-1 text-sm font-medium leading-6 text-gray-900">
88
<?php echo esc_html( $data->label ); ?>
99
<?php if ( isset( $data->help_url ) ) : ?>
1010
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
11-
<span class="dashicons dashicons-info-outline"></span>
11+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
1212
</a>
1313
<?php endif ?>
1414
</label>
Collapse file

‎templates/admin/common/fields/select-languages.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/select-languages.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
class="relative"
66
x-cloak
77
>
8-
<label :for="state.name" class="block text-sm font-medium leading-6 text-gray-900">
8+
<label :for="state.name" class="flex items-center gap-1 text-sm font-medium leading-6 text-gray-900">
99
<?php echo esc_html( $data->label ?? '' ); ?>
1010
<?php if ( isset( $data->help_url ) ) : ?>
1111
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
12-
<span class="dashicons dashicons-info-outline"></span>
12+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
1313
</a>
1414
<?php endif ?>
1515
</label>
Collapse file

‎templates/admin/common/fields/text.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/text.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php defined( 'ABSPATH' ) || exit; ?>
22
<div class="sm:col-span-4">
3-
<label for="<?php echo esc_attr( $data->id ); ?>" class="block text-sm font-medium leading-6 text-gray-900">
3+
<label for="<?php echo esc_attr( $data->id ); ?>" class="flex items-center gap-1 text-sm font-medium leading-6 text-gray-900">
44
<?php echo esc_html( $data->label ); ?>
55
<?php if ( isset( $data->help_url ) ) : ?>
66
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
7-
<span class="dashicons dashicons-info-outline"></span>
7+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
88
</a>
99
<?php endif ?>
1010
</label>
Collapse file

‎templates/admin/common/fields/textarea.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/textarea.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php defined( 'ABSPATH' ) || exit; ?>
22
<div class="col-span-full">
3-
<label for="<?php echo esc_html( $data->id ); ?>" class="block text-sm font-medium leading-6 text-gray-900">
3+
<label for="<?php echo esc_html( $data->id ); ?>" class="flex items-center gap-1 text-sm font-medium leading-6 text-gray-900">
44
<?php echo esc_html( $data->label ); ?>
55
<?php if ( isset( $data->help_url ) ) : ?>
66
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
7-
<span class="dashicons dashicons-info-outline"></span>
7+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
88
</a>
99
<?php endif ?>
1010
</label>
Collapse file

‎templates/admin/common/fields/toggle.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/toggle.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<span aria-hidden="true" class="translate-x-0 pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 bg-white shadow ring-0 transition-transform duration-200 ease-in-out" x-state:on="Enabled" x-state:off="Not Enabled" :class="{ 'translate-x-5': <?php echo esc_attr( $data->alpine_state ); ?>, 'translate-x-0': !(<?php echo esc_attr( $data->alpine_state ); ?>) }"></span>
77
</label>
88
<label for="<?php echo esc_attr( $data->id ); ?>" class="ml-4 flex flex-col min-w-0 flex-1 gap-1">
9-
<span class="truncate font-medium">
9+
<span class="inline-flex items-center gap-1 font-medium">
1010
<?php echo esc_html( $data->label ); ?>
1111
<?php if ( isset( $data->help_url ) ) : ?>
1212
<a href="<?php echo esc_url( $data->help_url ); ?>" target="_blank">
13-
<span class="dashicons dashicons-info-outline"></span>
13+
<img src="<?php echo esc_url( XPWP_URL . 'dist/img/icons/info.svg' ); ?>" class="size-4" alt="<?php esc_attr_e( 'More information', 'axeptio-sdk-integration' ); ?>">
1414
</a>
1515
<?php endif ?>
1616
</span>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.