login.html 639 B

12345678910111213141516171819202122232425
  1. <!-- login.html -->
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>Tornado聊天室</title>
  7. <style>
  8. .hint { color: red; font-size: 0.8em; }
  9. </style>
  10. </head>
  11. <body>
  12. <div>
  13. <div id="container">
  14. <h1>进入聊天室</h1>
  15. <hr>
  16. <p class="hint">{{hint}}</p>
  17. <form method="post" action="/login">
  18. <label>昵称:</label>
  19. <input type="text" placeholder="请输入你的昵称" name="nickname">
  20. <button type="submit">登录</button>
  21. </form>
  22. </div>
  23. </div>
  24. </body>
  25. </html>