<? global $user, $config, $settings;?>
<!DOCTYPE html>
<html>
  <head>
    <title>cmsPro</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="project-pro.pl - internetowe rozwiązania dla biznesu">
    <link rel="stylesheet" href="/libraries/framework/skin/default_skin/css/theme.css">
    <link rel="stylesheet" href="/libraries/framework/admin-tools/admin-forms/css/admin-forms.css">
    <link rel="stylesheet" href="/admin/css/custom.css">
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  </head>
  <body class="external-page sb-l-c sb-r-c">
    <div id="main" class="animated fadeIn">
      <section id="content_wrapper">
        <div id="canvas-wrapper">
          <canvas id="demo-canvas"></canvas>
        </div>
        <section id="content">
          <div class="admin-form theme-info">
            <div class="row mb15 table-layout">
              <div class="col-xs-12">
                <div class="login-links">
                  <a href="#"><b>cms</b>Pro</a>
                </div>
              </div>
            </div>
            <div class="panel panel-info br-n heading-border bg-white">
              <div class="panel-body">
                <div class="section-divider mb40">
                  <span>Logowanie</span>
                </div>
                <? if ( $alert = \S::get_session( 'alert' ) ):
                    \S::alert( false );
                    ?>
                    <div class="container-fluid">
                      <div class="row">
                        <div class="alert alert-danger alert-dismissable">
                          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                          <i class="icon fa fa-ban pr10"></i><?= $alert;?>
                        </div>
                      </div>
                    </div>
                    <?
                endif; ?>
                <form method="POST" action="/admin/" class="form-horizontal" rol="form">
                  <input type="hidden" name="s-action" value="user-logon" />
                  <div class="form-group">
                    <label class="col col-sm-2 control-label" for="login">Login:</label>
                    <div class="col col-sm-10">
                      <div class="input-group">
                        <span class="input-group-addon">
                          <i class="fa fa-user"></i>
                        </span>
                        <input type="text" name="login" id="login" class="form-control" placeholder="Login" />
                      </div>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col col-sm-2 control-label" for="password">Hasło:</label>
                    <div class="col col-sm-10">
                      <div class="input-group">
                        <span class="input-group-addon">
                          <i class="fa fa-lock"></i>
                        </span>
                        <input type="password" name="password" id="password" class="form-control" placeholder="Hasło" />
                      </div>
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="col col-sm-2"></div>
                    <div class="col col-sm-10">
                      <input id="remember" type="checkbox" class="form-control" name="remember" value="1">
                       <label class="remember"> Pamiętaj mnie 14 dni</label>
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="col col-sm-2"></div>
                    <div class="col col-sm-10">
                      <button class="btn btn-primary btn-flat btn-sm btn-block">Zaloguj się</button>
                    </div>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </section>
      </section>
    </div>
  </body>
</html>