
<!--Cabecalho -->
<?php $this->load->view('commons/cabecalho'); ?>
<!--Header -->
<?php $this->load->view('commons/header'); ?>


<?php echo $this->session->flashdata('erro-saldo'); ?>
<?php echo $this->session->flashdata('erro-saldo-menor'); ?>
<?php echo $this->session->flashdata('saldo-zero'); ?>
<?php echo $this->session->flashdata('nao-permetido'); ?>

<div id="containers" style="height: auto; min-height: 80%;">
<div class="col-md-3" >
    <div class="box box-solid">
        <div class="box-header with-border">
            <h3 class="box-title">Menu</h3>

        </div>
        <div class="box-body no-padding">
            <ul class="nav nav-pills nav-stacked">
                <li><a href="<?php echo base_url('saldo'); ?>"><i class="fa fa-usd" aria-hidden="true"></i> Saldo</a></li>
                <li><a href="<?php echo base_url('adicionarsaldo'); ?>"><i class="fa fa-plus-square" aria-hidden="true"></i>Adicionar Saldo</a></li>
                <li><a href="<?php echo base_url('transferencia'); ?>"><i class="fa fa-money" aria-hidden="true"></i>Realizar Transferência</a></li>
                <li><a href="<?php echo base_url('extrato'); ?>"><i class="fa fa-bar-chart" aria-hidden="true"></i> Minhas Transações</a></li>
                <li><a href="<?= base_url('termo') ?>"><i class="fa fa-pencil-square-o" aria-hidden="true"></i>Termo de Uso</a></li>

                <li><a href="<?= base_url('logout') ?>"><i  class="fa fa-sign-out"></i>Sair</a></li>
            </ul>
        </div>
    </div>
</div>


<div class="container">
    <div class="col-md-9">
        <?php echo validation_errors(); ?>
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h2 class="panel-title"><i class="fa fa-plus-square" aria-hidden="true"></i> Adicionar Saldo</h2>
            </div>
            <div class="panel-body">

                <form method="POST" action="<?= base_url('confirmadados') ?>" >
                    <label for="valor">Digite o valor para adicionar a sua conta. Somente números</label>
                    <input type="tel" class="form-control valor" autofocus=""id="valor" name="valor" value=""  autocomplete="off" pattern="[0-9]{1,3}+$"> 
                    <hr>
                    <button  class="btn btn btn-primary" data-loading-text="<i class='fa fa-spinner fa-spin '></i> Aguarde " autocomplete="off"><i class="fa fa-check-circle"></i> Confirmar</button>
                </form>    
            </div>
        </div>
        <div class="box box-success alert-deslize">
            <div class="box-header with-border">
                <p class="box-title" style="font-size: 12px;">Você pode acionar saldo a partir de: <strong> R$ 1,00</strong></p>

                <div class="box-tools pull-right">
                    <button type="button" class="btn btn-box-tool btn-alert-deslize" data-widget="remove"><i class="fa fa-times"></i></button>
                </div>
                <!-- /.box-tools -->
            </div>

        </div>
    </div>
</div>
</div>
<?php $this->load->view('commons/rodape'); ?>
</body>
</html>

