| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {% load static %}
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>登录 - 希姆计算资产管理</title>
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
- <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css" rel="stylesheet">
- <link href="{% static 'css/style.css' %}" rel="stylesheet">
- </head>
- <body class="login-body">
- <div class="login-container">
- <div class="login-card">
- <div class="login-header">
- <i class="bi bi-hdd-rack" style="font-size: 3rem;"></i>
- <h3 class="mt-3 mb-1">希姆计算资产管理</h3>
- <p class="text-muted mb-0">Hardware Asset Management</p>
- </div>
- <div class="login-body">
- {% if messages %}
- {% for message in messages %}
- <div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert">
- {{ message }}
- <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
- </div>
- {% endfor %}
- {% endif %}
- <form method="post">
- {% csrf_token %}
- <div class="mb-3">
- <label class="form-label text-muted">用户名</label>
- <div class="input-group">
- <span class="input-group-text"><i class="bi bi-person"></i></span>
- <input type="text" name="username" class="form-control" placeholder="请输入用户名" required autofocus>
- </div>
- </div>
- <div class="mb-4">
- <label class="form-label text-muted">密码</label>
- <div class="input-group">
- <span class="input-group-text"><i class="bi bi-lock"></i></span>
- <input type="password" name="password" class="form-control" placeholder="请输入密码" required>
- </div>
- </div>
- <button type="submit" class="btn btn-primary w-100 btn-login">
- <i class="bi bi-box-arrow-in-right me-2"></i>登 录
- </button>
- </form>
- </div>
- </div>
- </div>
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
- </body>
- </html>
|