Advertisement
Pedr026

formClinica.jsp

Nov 28th, 2018
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.49 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"
  15.         scope="application" />
  16.     <jsp:setProperty name='clinica' property='paciente' value='${param.id}' />
  17.     <jsp:setProperty name="clinica" property="nome" value="${param.nome}" />
  18.     <jsp:setProperty name="clinica" property="peso" value="${param.peso}" />
  19.     <jsp:setProperty name="clinica" property="nascimento"
  20.         value="${param.nascimento}" />
  21.     <jsp:setProperty name="clinica" property="altura"
  22.         value="${param.altura}" />
  23.     <jsp:setProperty name="clinica" property="sexo" value="${param.sexo}" />
  24.  
  25.     <form action="formClinica.jsp" method="post">
  26.  
  27.         <div align="center" class="shadow p-3 mb-5 bg-white rounded"
  28.             style="width: 450px; margin: auto;">
  29.             <H2>${clinica.nomeClinica}</H2>
  30.  
  31.             <H2>Visualização de Pacientes</H2>
  32.  
  33.             <div class="form-group">
  34.                 <label>Código:</label> <INPUT class="form-control" Type="TEXT"
  35.                     Name="id" value="${clinica.id}" style="width: 50px">
  36.             </div>
  37.             <div class="form-group">
  38.                 <label>Nome:</label> <INPUT class="form-control" Type="TEXT"
  39.                     Name="nome" value="${clinica.nome}" style="width: 200px" readonly>
  40.             </div>
  41.             <div class="form-group">
  42.                 <label>Nascimento:</label> <INPUT class="form-control" Type="text"
  43.                     Name="nascimento" value="${clinica.nascimento}"
  44.                     style="width: 100px" readonly>
  45.             </div>
  46.             <div class="form-group">
  47.                 <label>Peso:</label> <INPUT class="form-control" Type="TEXT"
  48.                     Name="peso" Value="${clinica.peso}" style="width: 50px" readonly>
  49.             </div>
  50.  
  51.             <div class="form-group">
  52.                 <label>Altura:</label> <INPUT class="form-control" Type="TEXT"
  53.                     Name="altura" Value="${clinica.altura}" style="width: 50px"
  54.                     readonly>
  55.             </div>
  56.  
  57.             <div class="form-group">
  58.                 <label>Sexo:</label> <INPUT class="form-control" Type="TEXT"
  59.                     Name="sexo" Value="${clinica.sexo}" style="width: 30px"
  60.                     maxlength="1" readonly>
  61.             </div>
  62.  
  63.             <div class="form-group">
  64.                 <label>IMC:</label> <INPUT class="form-control" Type="TEXT"
  65.                     Name="valor" Value="${clinica.imc}" style="width: 50px" readonly>
  66.             </div>
  67.  
  68.             <div class="form-group">
  69.                 <label>Observação:</label> <INPUT class="form-control" Type="TEXT"
  70.                     Name="avisos" Value="${clinica.aviso}" style="width: 350px"
  71.                     readonly>
  72.             </div>
  73.         <TD style="text-align: center; " colspan="2">
  74.         <INPUT class="button2" Type ="SUBMIT" Name="ok" Value=" Ok " width="80px" />
  75.             &nbsp; <A href="formClinica.jsp"><Input class="button2" type="button" value="Limpar"  width="80px" ></A>
  76.             &nbsp; <A href="index.jsp"><Input class="button2" type="button" value="Voltar"  width="80px" ></A>
  77.             &nbsp; <A href="ControleClinica?acao=delete&id=${clinica.id}"><Input class="button2" type="button" value="Excluir"  width="80px" ></A>
  78.         </TD>
  79.  
  80.                 <TEXTAREA class="form-control" Name="relatorio" rows="12" readonly="readonly">${clinica.relatorio}</TEXTAREA>
  81.  
  82.         </div>
  83.     </FORM>
  84. </body>
  85. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement