Advertisement
Guest User

Codigo Salvar ORGAO.HTML

a guest
May 29th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.70 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html >
  3.   <head>
  4.       <meta charset="UTF-8">
  5.  
  6.  
  7.       <title>Portarias de Viagens</title>
  8.    
  9.     <!-- CSS - INICIO -->
  10.      <link rel="stylesheet" href="/infoadm/static/style.css">
  11.      <link href='/infoadm/static/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
  12.      <link href='/infoadm/static/css/bootstrap-multiselect.css' rel='stylesheet' type='text/css'>
  13.     <!-- CSS - FIM -->
  14.  
  15.       <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
  16.       <script type="text/javascript" src="/infoadm/static/js/jquery.maskedinput-1.3.1.min.js">      </script>
  17.  
  18.   </head>
  19.  
  20.   <body>
  21.  
  22.   <h2 ALIGN=center>    </h2>
  23.  
  24.   <div class='container'>
  25.     <div class='panel panel-primary dialog-panel'>
  26.  
  27.       <div class='panel-heading'>
  28.         <table width="100%" border="0">
  29.           <tr>
  30.             <td width="42%"><h4>{{=vars1}}</h4></td>
  31.             <td width="13%">&nbsp;</td>
  32.             <td width="45%">
  33.               [ <span class="glyphicon glyphicon-user" aria-hidden="true"></span> <a data-w2p_disable_with="default" href="/infoadm/default/user/login?_next=/infoadm/portaria/ed_port/1?ident=1" rel="nofollow">Autentique-se</a> | <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> <a data-w2p_disable_with="default" href="/infoadm/default/user/register?_next=/infoadm/portaria/ed_port/1%3Fident%3D1" rel="nofollow">Registre-se</a> | <a data-w2p_disable_with="default" href="/infoadm/default/user/request_reset_password?_next=/infoadm/portaria/ed_port/1%3Fident%3D1" rel="nofollow">Recuperar senha  <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a> ]</td>
  34.           </tr>
  35.         </table>
  36.       </div>
  37.  
  38.       <div class='panel-body'>
  39.         <form class='form-horizontal' role='form'>
  40.  
  41.           {{=form.custom.begin}}
  42.  
  43.           <div class='form-group'>
  44.             <label class='control-label col-md-2 col-md-offset-2' id="control-label" for="id">Sequencial: </label>
  45.               <div class="col-sm-10">
  46.                 {{=form.custom.widget.id}}
  47.               </div>
  48.           </div>
  49.  
  50.           <div class='form-group'>
  51.             <label class='control-label col-md-2 col-md-offset-2' id="control-label" for="codtcm">Cód. do TCM: </label>
  52.                 {{=form.custom.widget.codtcm}}
  53.  
  54.               <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="nome">Órgão: </label>              
  55.                 {{=form.custom.widget.nome}}
  56.  
  57.               <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="tipoorg">Tipo do Órgão: </label>
  58.               {{=form.custom.widget.tipoorg}}                
  59.           </div>
  60.  
  61.           <div class='form-group'>
  62.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="cnpj">CNPJ: </label>
  63.             {{=form.custom.widget.cnpj}}
  64.          
  65.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="mascara">Máscara: </label>
  66.             {{=form.custom.widget.mascara}}
  67.  
  68.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="centralizado">
  69.               Marque esta opção se for Orgão Centralizador: </label>
  70.              {{=form.custom.widget.centralizado}}
  71.           </div>
  72.  
  73.           <div class='form-group'>
  74.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="cep">CEP: </label>
  75.             {{=form.custom.widget.cep}}
  76.  
  77.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="cidade">Cidade: </label>
  78.             {{=form.custom.widget.cidade}}
  79.  
  80.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="uf">UF: </label>
  81.             {{=form.custom.widget.uf}}
  82.  
  83.           </div>
  84.  
  85.           <div class='form-group'>
  86.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="endereco">Endereço: </label>
  87.             {{=form.custom.widget.endereco}}
  88.          
  89.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="bairro">Bairro: </label>
  90.             {{=form.custom.widget.bairro}}
  91.          
  92.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="telefone">Telefone: </label>
  93.             {{=form.custom.widget.telefone}}
  94.           </div>          
  95.  
  96.            <div class='form-group'>
  97.             <label class='control-label col-md-2 col-md-offset-2' autofocus id="control-label" for="obs">Observação: </label>
  98.             {{=form.custom.widget.obs}}
  99.           </div>
  100.  
  101.           <div class='panel panel-primary dialog-panel1'></div>
  102.  
  103.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  104.             <tr>
  105.               <td width="39%">&nbsp;</td>
  106.               <td width="25%">
  107.               <button class='btn-lg btn-primary' type='submit'><strong>Salvar Dados</strong></button>&nbsp;
  108.               <button class='btn-lg btn-danger' style='float:right' type="reset" name="limpar" id="button">{{=A(T("Voltar"), _href=URL('geral','orgao_list'))}}  </button>  
  109.               </td>
  110.               <td width="36%" align="left"></td>
  111.             </tr>
  112.           </table>
  113.  
  114.          {{=form.custom.end}}
  115.  
  116.         </form>
  117.  
  118.       </div>
  119.  
  120.     </div>
  121.   </div>
  122.  
  123.     <script type="text/javascript">// <![CDATA[
  124.     jQuery(function(cash) {
  125.     $.mask.definitions['~']='[+-]';
  126.  
  127.      $("#a_cadorgao_cnpj").mask("99.999.999/9999-99");
  128.      $("#a_cadorgao_telefone").mask("(99) 9999-999");
  129.      $("#a_cadorgao_cep").mask("99999-999");
  130.        });
  131.     // ]]>
  132.     </script>
  133.  
  134.   </body>
  135. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement