| 1 |
<div data-site_id="<?php echo $site->site_id;?>"> |
| 2 |
<div class="row updraftcentral_site_row<?php if (!empty($site->unlicensed)) echo ' site_unlicensed';?><?php if ($suspended) echo ' suspended';?>" <?php echo $site_data_attributes;?>> |
| 3 |
|
| 4 |
<div class="col-sm-12 col-md-12 col-lg-12 col-xl-6 order-1 updraftcentral_row_sitelabel" title="<?php _e('Drag to set the site order', 'updraftcentral'); ?>"> |
| 5 |
|
| 6 |
<?php |
| 7 |
if (empty($site->description)) { |
| 8 |
?> |
| 9 |
<div class="updraft_site_title"> |
| 10 |
<a href="<?php esc_attr_e($site->url); ?>"><?php echo htmlspecialchars($site->url); ?></a> <span class="updraftcentral_site_dashboard dashicons dashicons-wordpress-alt updraftcentral-show-in-other-tabs" title="<?php esc_attr_e('Go to the WordPress dashboard', 'updraftcentral');?>"></span> |
| 11 |
<?php if (!empty($site->unlicensed)) { ?> |
| 12 |
<br><span class="updraft_site_unlicensed"><?php _e('A licence is required to manage this site', 'updraftcentral');?></span> |
| 13 |
<?php } ?> |
| 14 |
</div> |
| 15 |
<?php |
| 16 |
} else { |
| 17 |
?> |
| 18 |
<div class="updraft_site_title"> |
| 19 |
<span class="updraftcentral_site_sort_icon dashicons dashicons-sort" title="<?php _e('Drag to set the site order', 'updraftcentral'); ?>"></span> |
| 20 |
<span title="<?php esc_attr_e($site->url); ?>"><?php echo htmlspecialchars($site->description);?></span> |
| 21 |
</div> |
| 22 |
<br class="updraft-full-hidden"> |
| 23 |
<a href="<?php esc_attr_e($site->url); ?>" target="_blank" class="updraftcentral_site_url_after_description"><?php esc_attr_e($site->url); ?></a> |
| 24 |
<?php if (!empty($site->unlicensed)) { ?> |
| 25 |
<br><span class="updraft_site_unlicensed"><?php _e('A licence is required to manage this site', 'updraftcentral');?></span> |
| 26 |
<?php } ?> |
| 27 |
<br> |
| 28 |
<?php |
| 29 |
} |
| 30 |
?> |
| 31 |
</div> |
| 32 |
<div class="col-sm-12 col-md-12 col-lg-12 col-xl-6 order-2 updraftcentral_row_site_buttons"> |
| 33 |
<div class="updraftcentral_row_container"> |
| 34 |
<div class="updraft_site_actions btn-group btn-group-sm updraftcentral-hide-in-other-tabs updraftcentral-show-in-tab-sites" role="group"> |
| 35 |
<button class="btn btn-primary updraftcentral_site_backup_now" title="<?php esc_attr_e('Backup', 'updraftcentral');?>"> |
| 36 |
<span class="dashicons dashicons-backup-now"></span> |
| 37 |
<?php _e('Backup', 'updraftcentral'); ?> |
| 38 |
</button> |
| 39 |
<button class="btn btn-primary updraftcentral_site_backup_now_increment" title="<?php esc_attr_e('Increment', 'updraftcentral'); ?>"> |
| 40 |
<span class="dashicons dashicons-backup-now"></span> |
| 41 |
<?php _e('Increment', 'updraftcentral'); ?> |
| 42 |
</button> |
| 43 |
<button type="button" class="btn btn-primary updraftcentral_site_dashboard"> |
| 44 |
<span class="dashicons dashicons-wordpress-alt"></span> |
| 45 |
<?php _e('Dashboard', 'updraftcentral'); ?> |
| 46 |
</button> |
| 47 |
</div> |
| 48 |
|
| 49 |
<?php do_action('updraftcentral_site_row_after_buttons', $site); ?> |
| 50 |
<?php require 'site-menu.php'; ?> |
| 51 |
|
| 52 |
</div> |
| 53 |
</div> |
| 54 |
|
| 55 |
<?php do_action('updraftcentral_site_row_details', $site); ?> |
| 56 |
|
| 57 |
<div class="updraftcentral_row_extracontents order-last"></div> |
| 58 |
|
| 59 |
</div> |
| 60 |
|
| 61 |
</div> |
| 62 |
|