form_change_password.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <script src="<?php echo base_url(); ?>assets/core/js/zxcvbn.js"></script>
  2. <form method="post">
  3. <input type="hidden" name="_ip_csrf" value="<?= $this->security->get_csrf_hash() ?>">
  4. <div id="headerbar">
  5. <h1 class="headerbar-title"><?php _trans('change_password'); ?></h1>
  6. <?php echo $this->layout->load_view('layout/header_buttons'); ?>
  7. </div>
  8. <div id="content">
  9. <div class="row">
  10. <div class="col-xs-12 col-md-6 col-md-offset-3">
  11. <?php $this->layout->load_view('layout/alerts'); ?>
  12. <div class="panel panel-default">
  13. <div class="panel-heading">
  14. <?php _trans('change_password'); ?>
  15. </div>
  16. <div class="panel-body">
  17. <div class="form-group">
  18. <label for="user_password">
  19. <?php _trans('password'); ?>
  20. </label>
  21. <input type="password" name="user_password" id="user_password"
  22. class="form-control passwordmeter-input">
  23. <div class="progress" style="height:3px;">
  24. <div class="progress-bar progress-bar-danger passmeter passmeter-1" style="width: 33%"></div>
  25. <div class="progress-bar progress-bar-warning passmeter passmeter-2" style="display: none; width: 33%"></div>
  26. <div class="progress-bar progress-bar-success passmeter passmeter-3" style="display: none; width: 34%"></div>
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label for="user_passwordv">
  31. <?php _trans('verify_password'); ?>
  32. </label>
  33. <input type="password" name="user_passwordv" id="user_passwordv"
  34. class="form-control">
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </form>