forked from Coded/SIPRP
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							55 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
	
	
							55 lines
						
					
					
						
							1.5 KiB
						
					
					
				<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 | 
						|
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
	<title>Marcação de consulta / exame</title>
 | 
						|
</head>
 | 
						|
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
 | 
						|
<script>
 | 
						|
	function validateForm()
 | 
						|
	{
 | 
						|
		alert( document.f.ola.value );
 | 
						|
		if( document.f.marcacao_tipo.value == null )
 | 
						|
		{
 | 
						|
			alert( "Tem que escolher o tipo de marcação." );
 | 
						|
			return false;
 | 
						|
		}
 | 
						|
		return isValid( document.f.data, 0 ) && isValid( document.f.hora, 1 ) ;
 | 
						|
	}
 | 
						|
</script>
 | 
						|
<body>
 | 
						|
	<form method='post' action='/siprpWeb/schedule' name='f'>
 | 
						|
		<table>
 | 
						|
			<tr>
 | 
						|
				<td>
 | 
						|
					<input type='radio' id='ola' name='ola' value='ola'>Ola
 | 
						|
					<input type='radio' id='ola' name='ola' value='adeus'>Ola
 | 
						|
					<input type='radio' id='marcacao_tipo' name='marcacao_tipo' value='Consulta' onclick='document.getElementById( "hora" ).disabled = false;'>Consulta
 | 
						|
					<input type='radio' id='marcacao_tipo' name='marcacao_tipo' value='Exame' onclick='document.getElementById( "hora" ).disabled = true;'>Exame
 | 
						|
				</td>
 | 
						|
			</tr>
 | 
						|
			<tr>
 | 
						|
				<td>
 | 
						|
					Data:<input type='text' id='data' name='data'>dd/mm/aaaa
 | 
						|
				</td>
 | 
						|
			</tr>
 | 
						|
			<tr>
 | 
						|
				<td>
 | 
						|
					Hora:<input type='text' id='hora' name='hora'>hh:mm
 | 
						|
				</td>
 | 
						|
			</tr>
 | 
						|
			<tr>
 | 
						|
				<td>
 | 
						|
					Nota: a marcação está sujeita a confirmação via email.
 | 
						|
				</td>
 | 
						|
			</tr>
 | 
						|
			<tr>
 | 
						|
				<td>
 | 
						|
					<input type='submit' value='Marcar' onclick='return validateForm()'>
 | 
						|
				</td>
 | 
						|
			</tr>
 | 
						|
		</table>
 | 
						|
	</form>
 | 
						|
</body>
 | 
						|
</html>
 |