index.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>仓库管理系统登录</title>
  7. <link rel="stylesheet" href="../css/styles.css"> <!-- 引入CSS样式文件,注意路径是相对于HTML文件的位置 -->
  8. </head>
  9. <body>
  10. <div class="login-container">
  11. <h2>登录</h2>
  12. <form id="loginForm">
  13. <div class="form-group">
  14. <label for="username">用户名:</label>
  15. <input type="text" id="username" name="username" required> <!-- 用户输入用户名 -->
  16. </div>
  17. <div class="form-group">
  18. <label for="password">密码:</label>
  19. <input type="password" id="password" name="password" required> <!-- 用户输入密码 -->
  20. </div>
  21. <button type="submit">登录</button> <!-- 提交按钮 -->
  22. </form>
  23. <a href="#">忘记密码?</a> | <a href="#">注册新账号</a> <!-- 额外的链接 -->
  24. </div>
  25. <script src="../js/app.js"></script> <!-- 引入JavaScript文件,注意路径是相对于HTML文件的位置 -->
  26. </body>
  27. </html>