62
62
<# if ( data.attachment && data.attachment.id ) { #>
63
<# if ( data.attachment.sizes ) { #>
65
<div class="container">
66
<div class="site-icon-preview">
67
<div class="favicon-preview">
68
<img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" />
63
<div class="attachment-media-view">
64
<# if ( data.attachment.sizes ) { #>
65
<div class="site-icon-preview">
66
<div class="favicon-preview">
67
<img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />
71
<img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
70
<img src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
72
<span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span>
73
<span class="browser-title"><?php bloginfo( 'name' ); ?></span>
74
<img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
75
<img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
78
<# if ( data.canUpload ) { #>
79
<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
80
<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>
81
<div style="clear:both"></div>
81
<# if ( data.canUpload ) { #>
82
<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
83
<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>
84
<div style="clear:both"></div>
89
<div class="container">
86
<div class="attachment-media-view">
90
87
<div class="placeholder">
92
<span><?php echo $this->button_labels['placeholder']; ?></span>
88
<?php echo $this->button_labels['placeholder']; ?>
91
<# if ( data.defaultAttachment ) { #>
92
<button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button>
94
<# if ( data.canUpload ) { #>
95
<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>
97
<div style="clear:both"></div>
98
<# if ( data.defaultAttachment ) { #>
99
<button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button>
101
<# if ( data.canUpload ) { #>
102
<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>
104
<div style="clear:both"></div>