reset2fa.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <center>
  2. <table class="login">
  3. <tr>
  4. <td>
  5. <table>
  6. <tr>
  7. <td style="padding: 0 10px 0 42px; height: 280px; width: 170px;">
  8. <a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Hestia Control Panel" /></a>
  9. </td>
  10. <td style="padding: 10px 0 0 0;">
  11. <?php if ($success) { ?>
  12. <table class="login-box">
  13. <tr>
  14. <td style="padding: 12px 0 0 2px;">
  15. <?php print __('2FA Reset successfully.'); ?>
  16. </td>
  17. </tr>
  18. </table>
  19. <?php } else { ?>
  20. <form method="post" action="/reset2fa/">
  21. <table class="login-box">
  22. <tr>
  23. <td style="padding: 12px 0 0 2px;">
  24. <?php print __('RESET_NOTICE');?>
  25. </td>
  26. </tr>
  27. <tr>
  28. <td style="padding: 12px 0 0 2px;">
  29. <?php print __('Username');?>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td>
  34. <input tabindex="1" type="text" size="20px" style="width:240px" name="user" class="vst-input">
  35. </td>
  36. </tr>
  37. <tr>
  38. <td style="padding: 12px 0 0 2px;">
  39. <?php print __('2FA Reset Code');?>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td>
  44. <input tabindex="1" type="text" size="20px" style="width:240px" name="twofa" class="vst-input">
  45. </td>
  46. </tr>
  47. <tr>
  48. <td style="padding: 20px 0 12px 0;">
  49. <input tabindex="2" type="submit" value="<?php print __('Submit');?>" class="button">
  50. <input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="location.href='/login/'">
  51. </td>
  52. </tr>
  53. </table>
  54. </form>
  55. <?php } ?>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td colspan=2>
  60. <div class="login-bottom">
  61. <div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
  62. <a class="hestiacp" href="https://www.hestiacp.com" >hestiacp.com</a>
  63. </div>
  64. </td>
  65. </tr>
  66. </table>
  67. </td>
  68. </tr>
  69. </table>
  70. </center>
  71. </body>
  72. </html>