<?php
class Nevo_Customizer_Control_Font extends Nevo_Customizer_Control_Base {
	static function field_template() {
		?>
		<script type="text/html" id="tmpl-field-nevo-css-ruler">
		<?php
		self::before_field();
		?>
		<?php echo self::field_header(); ?>
		<div class="nevo-field-settings-inner">
			<input type="hidden" class="nevo--font-type" data-name="{{ field.name }}-type" >
			<div class="nevo--font-families-wrapper">
				<select class="nevo--font-families" data-value="{{ JSON.stringify( field.value ) }}" data-name="{{ field.name }}-font"></select>
			</div>
			<div class="nevo--font-variants-wrapper">
				<label><?php _e( 'Variants', 'nevo' ); ?></label>
				<select class="nevo--font-variants" data-name="{{ field.name }}-variant"></select>
			</div>
			<div class="nevo--font-subsets-wrapper">
				<label><?php _e( 'Languages', 'nevo' ); ?></label>
				<div data-name="{{ field.name }}-subsets" class="list-subsets">
				</div>
			</div>
		</div>
		<?php
		self::after_field();
		?>
		</script>
		<?php
	}
}
