Use new code style
This commit is contained in:
@ -7,15 +7,15 @@
|
||||
?>
|
||||
<div class="wu-border-transparent wu-flex wu-flex-col wu-justify-end" tabindex="0">
|
||||
|
||||
<div class="wu-border wu-border-solid wu-border-gray-300 wu-pb-8 wu-bg-white wu-flex wu-flex-col wu-h-full" >
|
||||
<div class="wu-border wu-border-solid wu-border-gray-300 wu-pb-8 wu-bg-white wu-flex wu-flex-col wu-h-full" >
|
||||
|
||||
<div class="wu-relative wu-flex-grow">
|
||||
<div class="wu-relative wu-flex-grow">
|
||||
|
||||
<?php
|
||||
$featured_image = $item->get_featured_image('wu-thumb-medium');
|
||||
|
||||
if ($featured_image) {
|
||||
?>
|
||||
?>
|
||||
<img
|
||||
style="opacity: 0.6; height: 16rem;"
|
||||
class="wu-w-full"
|
||||
@ -25,9 +25,9 @@
|
||||
<div class="wu-my-4 wu-mx-3 wu-inline-block wu-absolute wu-bottom-0 wu-right-0 wu-rounded wu-px-2 wu-py-1 wu-uppercase wu-text-xs wu-font-bold <?php echo esc_attr($item->get_type_class()); ?>">
|
||||
<?php echo $item->get_type_label(); ?>
|
||||
</div>
|
||||
<?php
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
?>
|
||||
<div class="wu-w-full wu-bg-gray-200 wu-rounded wu-text-gray-600 wu-flex wu-items-center wu-justify-center wu-mr-3" style="height: 16rem;">
|
||||
<span class="dashicons-wu-image wu-text-6xl"></span>
|
||||
</div>
|
||||
@ -35,39 +35,39 @@
|
||||
<div class="wu-my-4 wu-mx-3 wu-inline-block wu-absolute wu-bottom-0 wu-right-0 wu-rounded wu-px-2 wu-py-1 wu-uppercase wu-text-xs wu-font-bold <?php echo esc_attr($item->get_type_class()); ?>">
|
||||
<?php echo $item->get_type_label(); ?>
|
||||
</div>
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-text-base wu-mt-1 wu-px-3 wu-mt-3">
|
||||
<div class="wu-text-base wu-mt-1 wu-px-3 wu-mt-3">
|
||||
|
||||
<div>
|
||||
<span class="wu-font-semibold"><?php echo $item->get_name(); ?></span>
|
||||
<!-- <small><?php echo $item->get_price_description(); ?></small> -->
|
||||
</div>
|
||||
<div>
|
||||
<span class="wu-font-semibold"><?php echo $item->get_name(); ?></span>
|
||||
<!-- <small><?php echo $item->get_price_description(); ?></small> -->
|
||||
</div>
|
||||
|
||||
<div class="wu-text-xs wu-my-1">
|
||||
<?php echo $item->get_price_description(); ?>
|
||||
</div>
|
||||
<div class="wu-text-xs wu-my-1">
|
||||
<?php echo $item->get_price_description(); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site-secondary-info wu-mt-3"></div>
|
||||
<div class="site-secondary-info wu-mt-3"></div>
|
||||
|
||||
<div class="wu-flex wu-justify-between wu-items-center wu--mb-8 wu-p-4 wu-bg-gray-100 wu-border wu-border-solid wu-border-gray-300 wu-border-l-0 wu-border-r-0 wu-border-b-0">
|
||||
<div class="wu-flex wu-justify-between wu-items-center wu--mb-8 wu-p-4 wu-bg-gray-100 wu-border wu-border-solid wu-border-gray-300 wu-border-l-0 wu-border-r-0 wu-border-b-0">
|
||||
|
||||
<!-- <label>
|
||||
<input class="wu-rounded-none" type="checkbox" name="bulk-delete[]" value="<?php echo $item->get_id(); ?>" />
|
||||
<?php _e( 'Select Site', 'wp-ultimo' ); ?>
|
||||
</label> -->
|
||||
<!-- <label>
|
||||
<input class="wu-rounded-none" type="checkbox" name="bulk-delete[]" value="<?php echo $item->get_id(); ?>" />
|
||||
<?php _e('Select Site', 'wp-ultimo'); ?>
|
||||
</label> -->
|
||||
|
||||
<a href="<?php echo wu_network_admin_url('wp-ultimo-edit-product', array('id' => $item->get_id())); ?>" class="button button-primary">
|
||||
<?php _e('Read More', 'wp-ultimo'); ?>
|
||||
</a>
|
||||
<a href="<?php echo wu_network_admin_url('wp-ultimo-edit-product', array('id' => $item->get_id())); ?>" class="button button-primary">
|
||||
<?php _e('Read More', 'wp-ultimo'); ?>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user