<!DOCTYPE html>
<html>
<head>
  <?php
    $baseUrl = Yii::app()->theme->baseUrl.'/admin'; 
    $cs = Yii::app()->getClientScript();
    Yii::app()->clientScript->registerCoreScript('jquery');
  ?>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php echo CHtml::encode(Yii::app()->name); ?></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.6 -->
  <link rel="stylesheet" href="<?php echo $baseUrl;?>/bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <!-- Theme style -->
  <link rel="stylesheet" href="<?php echo $baseUrl;?>/dist/css/AdminLTE.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="<?php echo $baseUrl;?>/plugins/iCheck/square/blue.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition login-page">

<div class="login-box">
  <div class="login-logo">
 
  </div>
  <!-- /.login-logo -->
  <div class="login-box-body">
   <center>  <img src="<?php echo $baseUrl;?>/img/logo.png" style="width:60%"></center><hr>


    <?php $form=$this->beginWidget('CActiveForm', array(
        'id'=>'login-form',
        'enableClientValidation'=>true,
        'clientOptions'=>array(
            'validateOnSubmit'=>true,
        ),
    )); ?>
    
      <div class="form-group has-feedback">
         <?php echo $form->textField($model,'username',array('class'=>'form-control','placeholder'=>'Nama Pengguna')); ?>
            <?php echo $form->error($model,'username'); ?>
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <?php echo $form->passwordField($model,'password',array('class'=>'form-control','placeholder'=>'Kata Sandi')); ?>
            <?php echo $form->error($model,'password'); ?>
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
      </div>
      <div class="row">
        
        <div class="col-xs-12">
         <?php echo CHtml::submitButton('Login',array('class'=>'btn btn btn-info btn-sm btn-block')); ?>
         <?php
echo CHtml::link("<span class='glyphicon glyphicon-earphone' aria-hidden='true'></span> TAMPILAN AMBIL ANTRIAN",array('Loket/index'),array('class'=>'btn btn btn-success btn-sm btn-block'));
?>
<?php
echo CHtml::link("<span class='glyphicon glyphicon-phone' aria-hidden='true'></span> TAMPILAN DISPLAY ANTRIAN",array('Loket/display'),array('class'=>'btn btn btn-warning btn-sm btn-block'));
?>


        </div>
        <!-- /.col -->
      </div>


  </div>
  <!-- /.login-box-body -->
</div>
<!-- /.login-box -->

<!-- jQuery 2.2.3 -->
<script src="<?php echo $baseUrl;?>/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="<?php echo $baseUrl;?>/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="<?php echo $baseUrl;?>/plugins/iCheck/icheck.min.js"></script>

</body>
</html>










    
    <?php $this->endWidget(); ?>




