Advertisement
Pedr026

formClinicaCadastro.jsp

Nov 28th, 2018
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.87 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2.     pageEncoding="ISO-8859-1"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <link rel="stylesheet"
  5.     href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
  6.     integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
  7.     crossorigin="anonymous">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  11. <title>Clínica do Peso</title>
  12. </head>
  13. <body style="background: linear-gradient(to right, #57ed1c, #050a5e);">
  14.     <jsp:useBean id="clinica" class="imc.ControleClinica" scope="application" />
  15.  
  16.     <jsp:setProperty name="clinica" property="novo" value="${param.nome}" />
  17.     <jsp:setProperty name="clinica" property="peso" value="${param.peso}" />
  18.     <jsp:setProperty name="clinica" property="nascimento" value="${param.nascimento}" />
  19.     <jsp:setProperty name="clinica" property="altura" value="${param.altura}" />
  20.     <jsp:setProperty name="clinica" property="sexo" value="${param.sexo}" />
  21.     <jsp:setProperty name='clinica' property='salvar' value='' />
  22.  
  23.     <form action="formClinicaCadastro.jsp" method="post">
  24.  
  25.         <div align="center" class="shadow p-3 mb-5 bg-white rounded"
  26.             style="width: 450px; margin: auto;">
  27.         <H2>${clinica.nomeClinica}</H2>
  28.  
  29.         <H2>Cadastro de Pacientes</H2>
  30.  
  31.  
  32.         <TABLE ALIGN="CENTER" style="width: 600px;">
  33.  
  34.             <TR>
  35.                 <TD>Nome:</TD>
  36.                 <TD><INPUT class="form-control" Type="TEXT" Name="nome" Value=""
  37.                     style="width: 200px"></TD>
  38.             </TR>
  39.             <TR>
  40.                 <TD>Nascimento:</TD>
  41.                 <TD><INPUT class="form-control" Type="TEXT" Name="nascimento" Value=""
  42.                     style="width: 200px"></TD>
  43.             </TR>
  44.             <TR>
  45.                 <TD>Peso:</TD>
  46.                 <TD><INPUT class="form-control" Type="TEXT" Name="peso" Value="" style="width: 50px"></TD>
  47.             </TR>
  48.  
  49.             <TR>
  50.                 <TD>Altura:</TD>
  51.                 <TD><INPUT class="form-control" Type="TEXT" Name="altura" Value="" style="width: 50px"></TD>
  52.             </TR>
  53.  
  54.             <TR>
  55.                 <TD>Sexo:</TD>
  56.                 <TD><INPUT class="form-control" Type="TEXT" Name="sexo" Value="" style="width: 20px"
  57.                     maxlength="1"></TD>
  58.             </TR>
  59.  
  60.  
  61.             <TR>
  62.                 <TD>Observação:</TD>
  63.                 <TD><INPUT class="form-control" Type="TEXT" Name="avisos" Value="${clinica.aviso}" style="width: 250px"></TD>
  64.             </TR>
  65.  
  66.             <TR style="align: center;">
  67.                 <TD style="text-align: center;" colspan="2"><INPUT
  68.                     Type="SUBMIT" Name="ok" Value=" Ok " width="80px" /> &nbsp; <A
  69.                     href="formClinicaCadastro.jsp"><Input type="button"
  70.                         value="Limpar" width="80px"></A> &nbsp; <A href="index.jsp"><Input
  71.                         type="button" value="Voltar" width="80px"></A></TD>
  72.             </TR>
  73.             <TR>
  74.                 <TD colspan="2"><TEXTAREA class="form-control" Name="relatorio" rows="12"
  75.                         readonly="readonly" style="width: 400px">${clinica.relatorio}</TEXTAREA></TD>
  76.             </TR>
  77.         </TABLE>
  78.         </div>
  79.     </FORM>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement