<%@include file="/WEB-INF/includeTemplate.inc"%>

<!-- Formulario de filtrado -->
<form:form modelAttribute="avisos" id="avisos_filter_form">
	<!-- Barra de herramientas del formulario de filtrado -->
	<div id="avisos_filter_toolbar" class="formulario_legend"></div>
	<fieldset id="avisos_filter_fieldset" class="rup-table-filter-fieldset borderOnly">
			<!-- Campos del formulario de filtrado -->
			<div class="form-row row">
			<form:input path="dssPrimeraVez" type="hidden" value="1"/>
			<div class="form-groupMaterial col-sm-3">
								<form:select path="maestroTiposAviso.idTipoAviso40" id="tipoAviso_avisos_filter_table">
									<form:option value="">---</form:option>
									<form:options items="${tipoAvisoAll}" itemLabel="desc" itemValue="idTipoAviso40"/>
								</form:select>
					<label for="tipoAviso_avisos_filter_table"><spring:message code="avisos.filtro.tipoAviso"/></label>
					</div>
							<div class="form-groupMaterial col-sm-3">
								<form:input path="maestroSubtiposAviso.idSubTipoAviso41" id="subTipoAviso_avisos_filter_table"/>
					<label for="subTipoAviso_avisos_filter_table"><spring:message code="avisos.filtro.subTipoAviso"/></label>
					</div>
							
							<div class="form-groupMaterial col-sm-2">
								<form:input path="fecAlta20desde" id="fAlta20desde_aviso_filter_table"/>
					<label for="fAlta20desde_aviso_filter_table"><spring:message code="avisos.filtro.fechaAltaDesde"/></label>
					</div>
							<div class="form-groupMaterial col-sm-2">
								<form:input path="fecAlta20hasta" id="fAlta20hasta_aviso_filter_table"/>
					<label for="fAlta20hasta_aviso_filter_table"><spring:message code="avisos.filtro.fechaAltaHasta"/></label>
					</div>
			
			</div>
					<div class="form-row row">		
					<div class="form-groupMaterial col-sm-3">
								<form:select path="maestroActoresByOrigen20.idActor42" id="idActorOrigen_avisos_filter_table">
									<form:option value="">---</form:option>
									<form:options items="${OrigenAvisos}" itemLabel="labelDesc" itemValue="id"/>
								</form:select>
					<label for="tipoAviso_avisos_filter_table"><spring:message code="avisos.filtro.origen"/></label>
					</div>
					<div class="form-groupMaterial col-sm-3">
								<form:select path="maestroActoresByDestino20.idActor42" id="idActorDestino_avisos_filter_table">
									<form:option value="">---</form:option>
									<form:options items="${OrigenAvisos}" itemLabel="labelDesc" itemValue="id"/>
								</form:select>
					<label for="idActorDestino_avisos_filter_table"><spring:message code="avisos.filtro.destino"/></label>
					</div>
					<div class="form-groupMaterial">
								<div class="checkbox-material checkbox-material-inline" style="top: -3px">
									<form:checkbox id="ocultarProcesados_avisos_filter_table" path="ocultarProcesados"></form:checkbox>
									<label for="ocultarProcesados_avisos_filter_table"><spring:message code="avisos.filtro.ocultarProcesados"/></label>
								</div>
							</div>
								
							
							<div class="form-groupMaterial col-sm-2">			
				<fieldset class="borde inputGroup inline">
		            <legend>
		            	<spring:message code="avisos.filtro.urgente"/>
<!-- 		            	<span class="mdi mdi-clock-fast sol_urgente_icon" style="font-size: 1.5rem; color: rgb(246, 172, 34);margin-left: 10px;display: inline-block;"></span> -->
		            </legend>
		            <div class="form-row">
		                <div class="form-groupMaterial col-sm-12">						
		                    <div class="radio-material">
		                       <form:radiobutton id="normalUrgente_no_avisos_filter_table" path="urgencia20" class="radioButton"  value="true"></form:radiobutton> 
								<label for="normalUrgente_no_avisos_filter_table"><spring:message code="avisos.filtro.urgenteNo"/></label> 
		                    </div>
		                    <div class="radio-material">
		                        <form:radiobutton id="normalUrgente_si_avisos_filter_table" path="urgencia20" class="radioButton"  value="false"></form:radiobutton>
								<label for="normalUrgente_si_avisos_filter_table"><spring:message code="avisos.filtro.urgenteSi"/></label> 
		                    </div>
   		                    <div class="radio-material">
	                    	    <form:radiobutton id="normalUrgente_todo_avisos_filter_table" path="urgencia20" class="radioButton"  value="" checked="checked"></form:radiobutton>
								<label for="normalUrgente_todo_avisos_filter_table"><spring:message code="avisos.filtro.urgenteTodos"/></label> 
		                    </div>							
		                </div>	 
		            </div>
		        </fieldset> 			
			</div>
							</div>
			<!-- Fin campos del formulario de filtrado -->
		<!-- Botonera del formulario de filtrado -->
		<div id="avisos_filter_buttonSet" class="text-right">
			<!-- Botón de limpiar -->
			<button id="avisos_filter_cleanButton" type="button" class="btn-material btn-material-primary-low-emphasis mr-2">
				<i class="mdi mdi-eraser"></i>
				<span><spring:message code="clear" /></span>
			</button>
			<!-- Botón de filtrado -->
			<button id="avisos_filter_filterButton" type="button" class="btn-material btn-material btn-material-primary-high-emphasis" >
				<i class="mdi mdi-filter"></i>
				<span><spring:message code="filter" /></span>
			</button>
		</div>
	</fieldset>
</form:form>