login.tx 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. : include "components/header.tx";
  2. <div id="login">
  3. : include "jsalert.tx";
  4. <div>
  5. <img id="logo" src="/img/icon/favicon.svg" style="float:left" /><span style="font-family:courier;font-size:2rem;">CMS Login</span>
  6. </div>
  7. <div id="spacer" style="clear: both;"><br /></div>
  8. <form method="POST" action="/auth">
  9. <input type="hidden" name="app" value="login" />
  10. <input type="hidden" name="to" value="<: $to :>" />
  11. Username<br />
  12. <div class="input-group">
  13. <label for="username">😎</span></label>
  14. <input required name="username" id="username" placeholder="AzureDiamond" value="" type="text" autofocus></input>
  15. </div>
  16. <br />
  17. Password<br />
  18. <div class="input-group">
  19. <label for="password">🔑</label>
  20. <input required name="password" id="password" placeholder="hunter2" value="" type="password"></input>
  21. </div>
  22. <br />
  23. TOTP 2FA code (ignore unless enabled)<br />
  24. <div class="input-group">
  25. <label for="token">🔒</label>
  26. <input name="token" id="token" placeholder="7779311" value="" type="password"></input>
  27. </div>
  28. <br />
  29. <input type="submit" id="maximumGo" value="<: $btnmsg :>"></input>
  30. </form>
  31. </div>
  32. : include "components/footer.tx";