prototipo.html 3.8 KB
Newer Older
1 2 3
<html>
<head>

mc16's avatar
mc16 committed
4

bhm15's avatar
bhm15 committed
5
<meta charset="UTF-8">
6 7 8

<style>
  td{outline-style:solid; outline-width : 2px;
9

10
  }
Bruno Meyer's avatar
Bruno Meyer committed
11 12 13
  .ui-dialog{
		min-width:500px;
   }
14 15 16
  center{padding:2px;}
</style>

bhm15's avatar
bhm15 committed
17 18 19
<link rel="stylesheet" href="jquery-ui.css" />
<script src="jquery-1.9.1.js"></script>
<script src="jquery-ui.js"></script>
20 21


22
<script src="model/Empresa.js"></script>
23

24
<script src="model/Conjunto.js"></script>
Bruno Meyer's avatar
Bruno Meyer committed
25

26
<script src="model/DadosEmpresa.js"></script>
27

28
<script src="model/MediaRef.js"></script>
29

30
<script src="model/NecessidadesNutr.js"></script>
31

32
<script src="model/TipoCardapio.js"></script>
33 34 35 36 37

</head>


</body>
mc16's avatar
mc16 committed
38 39 40 41


<div id="dadosEmpresa" title="Dados da empresa" style="display:none">
  <table>
Bruno Meyer's avatar
Bruno Meyer committed
42 43 44 45 46 47
    <input type=hidden id="dadosEmpresa_id">
    <tr><td><input type=text id="dadosEmpresa_nome"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_cnpj"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_telefone"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_responsavel"></td></tr>
    <tr><td><button id="editaDadosEmpresa">Salvar</button> <button class="cancelaEditaEmpresa">Cancelar</button></td> </tr>
mc16's avatar
mc16 committed
48 49 50
  </table>
</div>

mc16's avatar
mc16 committed
51 52 53 54 55 56 57 58 59 60 61
<div id="cadastraEmpresa" title="Dados da empresa" style="display:none">
  <table>
    <tr><td><input type=text id="dadosEmpresa_nome"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_cnpj"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_telefone"></td></tr>
    <tr><td><input type=text id="dadosEmpresa_responsavel"></td></tr>
    <tr><td><button id="cadastraDadosEmpresa">Salvar</button> <button class="cancelaEditaEmpresa">Cancelar</button></td> </tr>
  </table>
</div>

<div id="publicoEmpresa" title="Publico Alvo" style="display:none">
mc16's avatar
mc16 committed
62
  <table>
Bruno Meyer's avatar
Bruno Meyer committed
63
    <input type=hidden id="publicoEmpresa_id">
64 65
    <tr><td id="checkBoxesTabelas"></td></tr>
    <tr><td id="checkBoxesRefeicoes"></td></tr>
Bruno Meyer's avatar
Bruno Meyer committed
66
    <tr><td colspan=2><center><button id="editaPublicoEmpresa">Salvar</button> <button class="cancelaEditaEmpresa">Cancelar</button></center></td> </tr>
mc16's avatar
mc16 committed
67 68 69
  </table>
</div>

mc16's avatar
mc16 committed
70
<div id="conjuntoEmpresa" title="Cardapio empresa" style="display:none">
mc16's avatar
mc16 committed
71 72 73 74
  <table>
    <input type=hidden id="dadosEmpresa_id">
    <input type=hidden id="conjuntoEmpresa_id">
    <tr><td>Nome: </td>	<td><input type=text id="conjuntoEmpresa_nome"></td></tr>
75
    <tr><td>Média: </td> <td><input type=text id="conjuntoEmpresa_media"></td></tr>
mc16's avatar
mc16 committed
76 77 78 79 80
    <tr><td id="checkBoxesConjunto"></td></tr>
    <tr><td colspan=2><center><button id="editaConjuntoEmpresa">Salvar</button> <button class="cancelaEditaEmpresa">Cancelar</button></center></td> </tr>
  </table>
</div>

81 82 83 84 85
<div id="cardapioEmpresa" title="Cardapio da empresa" style="display:none">
  <table>
    <input type=hidden id="cardapioEmpresa_id">
    <tr><td>Preço refeição: </td><td><input type=text id="cardapioEmpresa_precoInd"></td></tr>
    <tr><td>Preço total: </td><td><input type=text id="cardapioEmpresa_precoTotal"></td></tr>
mc16's avatar
mc16 committed
86 87 88 89 90 91
    <tr>
      <td>
      <tbody id ="dropDown">
      </tbody>
      </td>
    </tr>
92
    <tr><td colspan=2><center><button id="adicionaCardapioEmpresa">Adicionar Cardápio</button> </center></td> </tr>
93
  		<tr>
mc16's avatar
mc16 committed
94
        <td> Refeição </td>
95
  			<td> Nome </td>
mc16's avatar
mc16 committed
96
        <td> Media </td>
97
  			<td> Ingredientes</td>
mc16's avatar
mc16 committed
98
  			<td> Acoes </td>
99 100 101
  		</tr>
      <tbody id ="tcardapio">

102 103 104
      </tbody>
      <tbody id ="tnovo">

105 106
      </tbody>
    </table>
107 108 109
    <tr><td colspan=2><center><button id="editaCardapioEmpresa">Salvar</button> <button class="cancelaEditaEmpresa">Cancelar</button></center></td> </tr>
  </table>
</div>
Bruno Meyer's avatar
Bruno Meyer committed
110

mc16's avatar
mc16 committed
111 112 113 114 115 116 117 118 119
<thead>
  <table>
 <tr>
   <td>
   <button id="adicionaEmpresa" >Adicionar Empresa</button>
 </td>
</tr>
</table>
<table>
mc16's avatar
mc16 committed
120 121 122
		<tr>
			<td> Dados da empresa </td>
			<td> Publico alvo/clientes</td>
mc16's avatar
mc16 committed
123 124
			<td> Caracteristicas do cardápio</td>
			<td>Ações</td>
125 126 127
		</tr>
	</thead>
    <tbody id ="tbody">
mc16's avatar
mc16 committed
128

129 130 131
    </tbody>
  </table>
</body>
132
<script src="main.js">
133

134

Bruno Meyer's avatar
Bruno Meyer committed
135 136

</script>
137 138

</html>