login.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div class="container">
  2. <?php // UI::loadTemplate('apple-menu'); ?>
  3. <div style="text-align:center; padding:36px">
  4. <img src="<?= $this->asset("assets/logo-biall-net.png"); ?>">
  5. </div>
  6. <form name="LOGIN" action="" method="post" class="form-horizontal" style="width:600px; margin:0 auto;">
  7. <fieldset>
  8. <div class="form-group">
  9. <label class="col-sm-3 control-label" for="ADM_ACCOUNT">Adres email:</label>
  10. <div class="col-sm-6">
  11. <input type="text" name="ADM_ACCOUNT" value="" id="username" class="form-control">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="col-sm-3 control-label" for="ADM_PASSWD">Hasło (pesel lub NIP):</label>
  16. <div class="col-sm-6">
  17. <input type="password" name="ADM_PASSWD" class="form-control"><br>
  18. </div>
  19. </div>
  20. <?php if (!empty($errors)) : ?>
  21. <div class="form-group">
  22. <div class="col-sm-9 col-sm-offset-3">
  23. <div class="alert alert-danger"><?php echo implode('<br>', $errors); ?></div>
  24. </div>
  25. </div>
  26. <?php endif; ?>
  27. <div class="form-group">
  28. <div class="col-sm-9 col-sm-offset-3">
  29. <input name="LOGIN" type="hidden" value="LOGIN">
  30. <button type="submit" class="btn btn-primary">Zaloguj się</button>
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-sm-9 col-sm-offset-3" style="padding-top:12px">
  35. <a href="<?= $remindPasswdLink ?>" style="font-size:14px">Nie pamiętasz hasła?</a>
  36. </div>
  37. </div>
  38. </fieldset>
  39. </form>
  40. <script>
  41. jQuery(document).ready(function(){
  42. document.getElementById('username').focus();
  43. });
  44. </script>
  45. </div>