remindSetNewPass.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 action="" method="post" class="form-horizontal" style="width:574px; margin:0 auto;">
  7. <fieldset>
  8. <div class="form-group">
  9. <div class="col-sm-9 col-sm-offset-3">
  10. <div class="alert alert-info">Poniżej wprowadź swoje nowe hasło.</div>
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label class="col-sm-3 control-label" for="ADM_PASSWD">Nowe hasło:</label>
  15. <div class="col-sm-6">
  16. <input type="password" id="user_passwd" name="ADM_PASSWD" class="form-control"><br>
  17. </div>
  18. </div>
  19. <?php if (!empty($errors)) : ?>
  20. <div class="form-group">
  21. <div class="col-sm-9 col-sm-offset-3">
  22. <div class="alert alert-danger"><?php echo implode('<br>', $errors); ?></div>
  23. </div>
  24. </div>
  25. <?php endif; ?>
  26. <div class="form-group">
  27. <div class="col-sm-9 col-sm-offset-3">
  28. <input type="hidden" name="_postTask" value="set">
  29. <input type="hidden" name="ADM_ACCOUNT" value="<?= $login ; ?>">
  30. <input type="hidden" name="REMIND_KEY" value="<?= $key ; ?>">
  31. <button type="submit" class="btn btn-primary">Zapisz nowe hasło</button>
  32. </div>
  33. </div>
  34. </fieldset>
  35. </form>
  36. <script>
  37. jQuery(document).ready(function(){
  38. document.getElementById('user_passwd').focus();
  39. });
  40. </script>
  41. </div>