<?php
 @session_start();
 include 'servicio.php';
?>
<!DOCTYPE html> 
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Etiquetas</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="plugins/iCheck/square/blue.css">
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript" src="js/script.js"></script>
  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition login-page">
<div class="login-box" style="background:#fff">
<div class="box box-info">   
  <br/>
  <div class="login-logo">
    <span class="logo"><img src="dist/img/inicio.png" class="img-rounded" alt="User Image"></span>
  </div>
  <!-- /.login-logo -->
  <p class="login-box-msg">Inicio</p>
  
  <div class="login-box-body">
       <label>Clave:</label>
      <div class="input-group">
          <span class="input-group-addon"><i class="fa fa-keyboard-o"></i></span>
          <input type="text" autofocus placeholder="Clave de registro..." name="user" value="<?php echo $_SESSION["usuario"];?>" id="user" maxlength="3" class="form-control">
      </div>
      <div class="form-group">
          <label>Observaciones</label>
          <textarea class="form-control" rows="5" placeholder="Escribir comentarios..." name="observa" id="observa" ><?php echo $_SESSION["observa"];?></textarea>
      </div>
      
      <div class="col-xs-2">
          
      </div>  
      <div class="col-xs-4">
          <button  class="btn btn-block btn-info btn-flat" onClick="inicio(user.value,observa.value);" >Entrar</button>
      </div> 
      <div class="col-xs-4">
          <button  class="btn btn-block btn-danger btn-flat" onClick="exit();" >Cancelar</button>
      </div> 
      <div class="row">
      </div> 
    <div id="resultado"></div>
  </div>
  <!-- /.login-box-body -->
  </div> 
</div>

<!-- /.login-box -->
<!-- jQuery 3 -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="plugins/iCheck/icheck.min.js"></script>
<script>
  $(function () {
    $('input').iCheck({
      checkboxClass: 'icheckbox_square-blue',
      radioClass: 'iradio_square-blue',
      increaseArea: '20%' /* optional */
    });
  });
</script>
</body>
</html>