Back to Home Page Full Component

TTC Login Full page

#TTC Login Full page

Live preview

Source code

html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Technical Training Center (TTC)</title>
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
</head>
<body>
  <div class="container">
    <!-- Breadcrumb Section -->
    <section class="bg-light py-4 border-bottom">
      <div class="container">
        <nav aria-label="breadcrumb">
          <ol class="breadcrumb mb-0">
            <li class="breadcrumb-item"><a href="index.html" class="text-decoration-none">Home</a></li>
            <li class="breadcrumb-item active" aria-current="page">Portal Login</li>
          </ol>
        </nav>
      </div>
    </section>

    <!-- Login Section -->
    <section class="py-5">
      <div class="container">
        <div class="row g-5 align-items-center">
          <!-- Left Side: Login Form -->
          <div class="col-lg-5">
            <div class="card border-0 shadow-lg rounded-4 overflow-hidden">
              <div class="card-header bg-primary py-3">
                <h4 class="text-white text-center mb-0 fw-bold">User Login</h4>
              </div>
              <div class="card-body p-4 p-md-5">

                <!-- ii. Student/Teacher Login Selection -->
                <div class="btn-group w-100 mb-4" role="group">
                  <input type="radio" class="btn-check" name="loginType" id="studentLogin" checked>
                  <label class="btn btn-outline-primary py-2 fw-semibold" for="studentLogin">
                    <i class="bi bi-person-badge me-2"></i>Student
                  </label>

                  <input type="radio" class="btn-check" name="loginType" id="teacherLogin">
                  <label class="btn btn-outline-primary py-2 fw-semibold" for="teacherLogin">
                    <i class="bi bi-person-workspace me-2"></i>Teacher/Staff
                  </label>
                </div>

                <!-- iii. Login Form Section -->
                <form id="loginForm">
                  <div class="mb-3">
                    <label class="form-label fw-semibold">User Name / ID</label>
                    <div class="input-group">
                      <span class="input-group-text bg-light border-end-0"><i class="bi bi-person"></i></span>
                      <input type="text" class="form-control bg-light border-start-0" placeholder="Enter your ID" required>
                    </div>
                  </div>
                  <div class="mb-4">
                    <label class="form-label fw-semibold">Password</label>
                    <div class="input-group">
                      <span class="input-group-text bg-light border-end-0"><i class="bi bi-lock"></i></span>
                      <input type="password" class="form-control bg-light border-start-0" placeholder="••••••••" required>
                    </div>
                    <div class="text-end mt-2">
                      <a href="#" class="small text-decoration-none text-muted">Forgot password?</a>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary w-100 py-2 fs-5 fw-bold rounded-pill shadow">
                    Login to Portal <i class="bi bi-box-arrow-in-right ms-2"></i>
                  </button>
                </form>

                <div class="mt-4 text-center">
                  <p class="small text-muted mb-0">Don't have an account? <a href="admission.html" class="fw-bold text-primary">Apply Now</a></p>
                </div>
              </div>
            </div>
          </div>

          <!-- Right Side: iv. Important Announcements Slider -->
          <div class="col-lg-7">
            <div class="px-lg-4">
              <h2 class="fw-bold mb-4">Portal News & <span class="text-primary">Alerts</span></h2>

              <div id="announcementSlider" class="carousel slide" data-bs-ride="carousel">
                <div class="carousel-inner">
                  <!-- Slide 1 -->
                  <div class="carousel-item active">
                    <div class="bg-light p-5 rounded-4 border-start border-5 border-primary">
                      <span class="badge bg-primary mb-3">Notice</span>
                      <h4 class="fw-bold">New Exam Portal features!</h4>
                      <p class="text-muted">Students can now download their admit cards directly from the dashboard after successful fee payment.</p>
                      <div class="d-flex align-items-center mt-4">
                        <i class="bi bi-clock text-primary me-2"></i>
                        <small class="fw-bold">Posted: 2 Hours ago</small>
                      </div>
                    </div>
                  </div>
                  <!-- Slide 2 -->
                  <div class="carousel-item">
                    <div class="bg-light p-5 rounded-4 border-start border-5 border-warning">
                      <span class="badge bg-warning text-dark mb-3">System Update</span>
                      <h4 class="fw-bold">Holiday Break Notice</h4>
                      <p class="text-muted">The student portal will undergo maintenance this Sunday from 2:00 AM to 4:00 AM. Access will be limited.</p>
                      <div class="d-flex align-items-center mt-4">
                        <i class="bi bi-clock text-warning me-2"></i>
                        <small class="fw-bold">Posted: Yesterday</small>
                      </div>
                    </div>
                  </div>
                </div>

                <!-- Slider Controls -->
                <div class="mt-4">
                  <button class="btn btn-white btn-sm shadow-sm rounded-circle me-2" type="button" data-bs-target="#announcementSlider" data-bs-slide="prev">
                    <i class="bi bi-arrow-left"></i>
                  </button>
                  <button class="btn btn-white btn-sm shadow-sm rounded-circle" type="button" data-bs-target="#announcementSlider" data-bs-slide="next">
                    <i class="bi bi-arrow-right"></i>
                  </button>
                </div>
              </div>

              <div class="mt-5">
                <div class="row g-4">
                  <div class="col-sm-6 text-center text-sm-start">
                    <div class="d-flex align-items-center">
                      <i class="bi bi-shield-lock fs-1 text-success me-3"></i>
                      <div>
                        <h6 class="mb-0 fw-bold">Secure Access</h6>
                        <small class="text-muted">Encrypted Data</small>
                      </div>
                    </div>
                  </div>
                  <div class="col-sm-6 text-center text-sm-start">
                    <div class="d-flex align-items-center">
                      <i class="bi bi-headset fs-1 text-info me-3"></i>
                      <div>
                        <h6 class="mb-0 fw-bold">Tech Support</h6>
                        <small class="text-muted">Available 24/7</small>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <style>
      .input-group-text {
        border-right: none;
      }

      .form-control:focus {
        border-color: #dee2e6;
        box-shadow: none;
        background-color: #fff !important;
      }

      .btn-check:checked+.btn-outline-primary {
        background-color: var(--bs-primary);
        color: white;
      }

    </style>


    <script src="js.js"></script>

  </div>

  <script src="js/bootstrap.bundle.min.js"></script>
</body>
</html>

More designs in this section