
<div class="panel panel-default" id="painelSelecaoFila">
    <div class="panel-body">
        <form  onsubmit="$.fn.Carregando()" method="post" autocomplete="off">
            <div class="row">
                <div class="col-sm-7 col-sm-7">
                    <div id="painelDefault">
                        <div class="row" style="margin-top: -60px; margin-left: -60px">
                            <div class="col-md-10 col-sm-offset-1">
                                <label>NOME:<br></label>
                                <input type="text" id="tfNomePaciente" name="nomePaciente"
                                       onkeypress="toUpperCase('tfNomePaciente')" onblur="toUpperCase('tfNomePaciente')"
                                       onchange="toUpperCase('tfNomePaciente')" maxlength="100" class="form-control  <?= KEYBOARD ?"keyboard-manager":"" ?>"
                                       style="font-size: 25px" required>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-sm-5" align="center" style="margin-top: -5%">
                    <div class="row">
                        <div class="col-md-12" id="btnActionGroup">
                            <div id="btnControleDefault" align="left">
                                <button type="submit" name="GERAR" id="btnAction" class="btn btn-primary">
                                    <img src="assets/img/GERAR3.png" class="img-circle">
                                    CONCLUIR
                                </button>
                            </div>
                        </div>

                        <div class="col-md-12" id="btnActionGroup">
                            <div id="btnControleDefault" align="left">
                                <button type="submit" name="VOLTAR" id="btnAction" onClick="history.go(-1)"
                                        class="btn btn-primary">
                                    <img src="assets/img/VOLTAR.png" class="img-circle">
                                    VOLTAR
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<?php
if (isset($senhagerada)) {
    if(MENSAGEM_SENHA){
        echo "<script>confirmMessage('messageDialog','".MENSAGEM_SENHA."',800,300,'" . base_url() . "');</script>";
    }else{
        echo "<script>confirmMessage('messageDialog','SENHA GERADA COM SUCESSO <br> SUA SENHA É: " . $senhagerada[0]->NUMERO . "',700,270,'" . base_url() . "')</script>";
    }
    unset($_SESSION);
}
?>

<div id="messageDialog"></div>
<script language="javascript" src="assets/keyboard/custom/keyboard.js"></script>