<?php namespace BulkPriceEditor\PriceEditorPage\Modals;

class ConfirmUpdate {
	
	public function getSLUG(): string {
		return 'confirm-update';
	}
	
	public function render() {
		?>
		<div class="bulk-price-editor-modal-popup">

			<div class="bulk-price-editor-modal-popup__header">
				<div class="bulk-price-editor-modal-popup__title">
					<?php esc_html_e( 'Confirm update', 'bulk-price-editor' ); ?>
				</div>
				<div class="bulk-price-editor-modal-popup__actions">
					<button class="bulk-price-editor-modal-popup__close	">
						<span class="dashicons dashicons-no-alt"></span>
					</button>
				</div>
			</div>

			<div class="bulk-price-editor-modal-popup__content">
				<?php 
				esc_html_e( 'Please confirm that you want to update prices for selected products.',
					'bulk-price-editor' ); 
				?>
			</div>

			<div class="bulk-price-editor-modal-popup__footer">

				<div class="bulk-price-editor-buttons">
					
					<button class="bulk-price-editor-button bulk-price-editor-button--primary bulk-price-editor-modal-popup__confirm">
						<span class="dashicons dashicons-saved"></span>
						<?php esc_html_e( 'Confirm', 'bulk-price-editor' ); ?>
					</button>
					
					<button class="bulk-price-editor-button bulk-price-editor-button--secondary bulk-price-editor-modal-popup__close">
						<?php esc_html_e( 'Cancel', 'bulk-price-editor' ); ?>
					</button>

				</div>

			</div>
		</div>
		<?php
	}
	
}