<?php
/**
 * Feed control settings block.
 *
 * @package EventimUSEventListings
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="dashboard-module">
	<div class="module-header">
		<h1>Developer Tools</h1>
	</div>
	<div class="module-content">
		<div style="display:flex; direction:row; align-items:center; justify-content:space-between;">
			<div class="setting-row" style="flex: 1;">
				<div class="setting-label">
					<label>Stop events from importing into WordPress</label>
				</div>
			</div>
			<div class="setting-control">
				<label class="switch">
					<input id="schedule-import" type="checkbox" name="evusel_settings[import][enable_scheduled_import]" <?php echo $evuselConfig->get( 'import.enable_scheduled_import' ) === 'on' ? 'checked' : ''; ?>>
					<span class="slider round"></span>
				</label>
			</div>
		</div>
	</div>
</div>