Spaces:
Running
Running
Manual changes saved
Browse files- user-login.html +31 -97
user-login.html
CHANGED
|
@@ -1,33 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
| 8 |
<style>
|
| 9 |
-
|
| 10 |
-
background
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
-
.login-
|
| 13 |
max-width: 500px;
|
| 14 |
margin: 50px auto;
|
| 15 |
padding: 30px;
|
| 16 |
-
background: white;
|
| 17 |
-
border-radius: 10px;
|
| 18 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
|
|
| 19 |
}
|
| 20 |
-
.
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
}
|
| 25 |
</style>
|
| 26 |
</head>
|
| 27 |
<body>
|
| 28 |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
| 29 |
<div class="container">
|
| 30 |
-
<a class="navbar-brand" href="
|
| 31 |
<div class="navbar-nav">
|
| 32 |
<a class="nav-link" href="worker-login.html">Worker Login</a>
|
| 33 |
<a class="nav-link" href="user-login.html">User Login</a>
|
|
@@ -35,94 +42,21 @@
|
|
| 35 |
</div>
|
| 36 |
</nav>
|
| 37 |
|
| 38 |
-
<div class="
|
| 39 |
-
<div class="
|
| 40 |
-
<
|
| 41 |
-
<
|
| 42 |
-
<div class="mb-3">
|
| 43 |
-
<label for="userMobile" class="form-label">Mobile Number</label>
|
| 44 |
-
<input type="tel" class="form-control" id="userMobile" required pattern="[0-9]{10}">
|
| 45 |
-
</div>
|
| 46 |
-
|
| 47 |
-
<div class="mb-3">
|
| 48 |
-
<label for="state" class="form-label">State</label>
|
| 49 |
-
<select class="form-select" id="state" required>
|
| 50 |
-
<option value="">Select State</option>
|
| 51 |
-
<!-- States will be populated by JavaScript -->
|
| 52 |
-
</select>
|
| 53 |
-
</div>
|
| 54 |
-
|
| 55 |
-
<div class="mb-3">
|
| 56 |
-
<label for="district" class="form-label">District</label>
|
| 57 |
-
<select class="form-select" id="district" required disabled>
|
| 58 |
-
<option value="">Select District</option>
|
| 59 |
-
</select>
|
| 60 |
-
</div>
|
| 61 |
-
<div class="mb-3">
|
| 62 |
-
<label for="specialtyFilter" class="form-label">Specialty (Optional)</label>
|
| 63 |
-
<select class="form-select" id="specialtyFilter">
|
| 64 |
-
<option value="">All Specialties</option>
|
| 65 |
-
<option value="Electrician">Electrician</option>
|
| 66 |
-
<option value="Plumber">Plumber</option>
|
| 67 |
-
<option value="Carpenter">Carpenter</option>
|
| 68 |
-
<option value="Painter">Painter</option>
|
| 69 |
-
<option value="Mason">Mason</option>
|
| 70 |
-
<option value="Welder">Welder</option>
|
| 71 |
-
<option value="Mechanic">Mechanic</option>
|
| 72 |
-
<option value="Driver">Driver</option>
|
| 73 |
-
<option value="Gardener">Gardener</option>
|
| 74 |
-
<option value="Cook">Cook</option>
|
| 75 |
-
<option value="Housekeeper">Housekeeper</option>
|
| 76 |
-
<option value="Security Guard">Security Guard</option>
|
| 77 |
-
<option value="Technician">Technician</option>
|
| 78 |
-
<option value="Tailor">Tailor</option>
|
| 79 |
-
<option value="Other">Other</option>
|
| 80 |
-
</select>
|
| 81 |
-
</div>
|
| 82 |
-
<div class="d-grid">
|
| 83 |
-
<button type="submit" class="btn btn-primary">Search Workers</button>
|
| 84 |
-
</div>
|
| 85 |
-
</form>
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
|
| 89 |
-
<
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
// More states and districts would be added here...
|
| 97 |
-
"West Bengal": ["Alipurduar", "Bankura", "Birbhum", "Cooch Behar", "Dakshin Dinajpur", "Darjeeling", "Hooghly", "Howrah", "Jalpaiguri", "Jhargram", "Kalimpong", "Kolkata", "Malda", "Murshidabad", "Nadia", "North 24 Parganas", "Paschim Bardhaman", "Paschim Medinipur", "Purba Bardhaman", "Purba Medinipur", "Purulia", "South 24 Parganas", "Uttar Dinajpur"]
|
| 98 |
-
};
|
| 99 |
-
|
| 100 |
-
// Populate states dropdown
|
| 101 |
-
const stateSelect = document.getElementById('state');
|
| 102 |
-
Object.keys(statesData).sort().forEach(state => {
|
| 103 |
-
const option = document.createElement('option');
|
| 104 |
-
option.value = state;
|
| 105 |
-
option.textContent = state;
|
| 106 |
-
stateSelect.appendChild(option);
|
| 107 |
-
});
|
| 108 |
|
| 109 |
-
|
| 110 |
-
stateSelect.addEventListener('change', function() {
|
| 111 |
-
const districtSelect = document.getElementById('district');
|
| 112 |
-
districtSelect.innerHTML = '<option value="">Select District</option>';
|
| 113 |
-
|
| 114 |
-
if (this.value) {
|
| 115 |
-
districtSelect.disabled = false;
|
| 116 |
-
statesData[this.value].forEach(district => {
|
| 117 |
-
const option = document.createElement('option');
|
| 118 |
-
option.value = district;
|
| 119 |
-
option.textContent = district;
|
| 120 |
-
districtSelect.appendChild(option);
|
| 121 |
-
});
|
| 122 |
-
} else {
|
| 123 |
-
districtSelect.disabled = true;
|
| 124 |
-
}
|
| 125 |
-
});
|
| 126 |
-
</script>
|
| 127 |
</body>
|
| 128 |
-
</html>
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
|
| 4 |
<!doctype html>
|
| 5 |
<html>
|
| 6 |
<head>
|
| 7 |
<meta charset="utf-8" />
|
| 8 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 9 |
+
<title>WorkerConnect India</title>
|
| 10 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 11 |
+
<link rel="stylesheet" href="style.css" />
|
| 12 |
<style>
|
| 13 |
+
.hero-section {
|
| 14 |
+
background: url('http://static.photos/construction/1200x630/1') no-repeat center center;
|
| 15 |
+
background-size: cover;
|
| 16 |
+
padding: 100px 0;
|
| 17 |
+
color: white;
|
| 18 |
+
text-align: center;
|
| 19 |
}
|
| 20 |
+
.login-card {
|
| 21 |
max-width: 500px;
|
| 22 |
margin: 50px auto;
|
| 23 |
padding: 30px;
|
|
|
|
|
|
|
| 24 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 25 |
+
border-radius: 10px;
|
| 26 |
}
|
| 27 |
+
.role-btn {
|
| 28 |
+
margin: 10px;
|
| 29 |
+
padding: 15px 30px;
|
| 30 |
+
font-size: 1.1rem;
|
| 31 |
}
|
| 32 |
</style>
|
| 33 |
</head>
|
| 34 |
<body>
|
| 35 |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
| 36 |
<div class="container">
|
| 37 |
+
<a class="navbar-brand" href="#">WorkerConnect India</a>
|
| 38 |
<div class="navbar-nav">
|
| 39 |
<a class="nav-link" href="worker-login.html">Worker Login</a>
|
| 40 |
<a class="nav-link" href="user-login.html">User Login</a>
|
|
|
|
| 42 |
</div>
|
| 43 |
</nav>
|
| 44 |
|
| 45 |
+
<div class="hero-section">
|
| 46 |
+
<div class="container">
|
| 47 |
+
<h1 class="display-4">Connecting Workers Across India</h1>
|
| 48 |
+
<p class="lead">Find skilled workers in your locality or register as a worker to get more opportunities</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
</div>
|
| 50 |
</div>
|
| 51 |
|
| 52 |
+
<div class="container text-center my-5">
|
| 53 |
+
<h2>Are you a Worker or User?</h2>
|
| 54 |
+
<div class="d-flex justify-content-center">
|
| 55 |
+
<a href="worker-login.html" class="btn btn-primary role-btn">I'm a Worker</a>
|
| 56 |
+
<a href="user-login.html" class="btn btn-success role-btn">I'm a User</a>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
</body>
|
| 62 |
+
</html>
|