-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (99 loc) · 4.82 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Job Planner Application</title>
<!-- Include Tailwind CSS styles -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
<!-- Links to both pages -->
<div class="text-center my-4">
<a href="index.html" class="text-blue-500 hover:underline">Home</a>
|
<a href="auth/auth.html" class="text-blue-500 hover:underline">Authentication</a>
</div>
<form class="bg-white p-4 rounded-lg shadow-lg max-w-md mx-auto mt-8">
<!-- Logo and Title -->
<div class="flex items-center mb-6">
<img src="./ACAB logo.svg" alt="Company Logo" class="w-13 h-12 mr-2">
<h1 class="text-2xl font-semibold">ACAB Job Planner</h1>
</div>
<!-- Search Bar -->
<div class="mb-4">
<label for="search" class="block">Search:</label>
<input type="text" id="search" name="search" placeholder="Search jobs..."
class="w-full border border-gray-300 p-2 rounded">
</div>
<fieldset class="border border-gray-300 rounded-lg p-4 mb-4">
<legend class="font-bold">Job Details</legend>
<!-- Job Details Fields -->
<div class="mb-4">
<label for="jobName" class="block">Job Name</label>
<input type="text" id="jobName" name="jobName" class="w-full border border-gray-300 p-2 rounded">
</div>
<div class="mb-4">
<label for="repName" class="block">Rep Name</label>
<select id="repName" name="repName" class="w-full border border-gray-300 p-2 rounded">
<option value="Carolyn">Carolyn</option>
<option value="Narelle">Narelle</option>
<option value="Darren">Darren</option>
<option value="Joe">Joe</option>
<option value="Jess">Jess</option>
<option value="Amanda">Amanda</option>
<option value="Hazel">Hazel</option>
</select>
</div>
<div class="mb-4">
<label for="location" class="block">Location</label>
<input type="text" id="location" name="location" class="w-full border border-gray-300 p-2 rounded">
</div>
<div class="mb-4">
<label for="date" class="block">Date</label>
<input type="text" id="date" name="date" class="w-full border border-gray-300 p-2 rounded">
</div>
<div class="mb-4">
<label for="jobType" class="block">Job Type</label>
<select id="jobType" name="jobType" class="w-full border border-gray-300 p-2 rounded">
<option value="Roller Blind">Roller Blind</option>
<option value="Cassette Blind">Cassette Blind</option>
<option value="Roman Blind">Roman Blind</option>
<option value="Track">Track</option>
</select>
</div>
<div class="mb-4">
<label for="numItems" class="block">Number of Items</label>
<input type="number" id="numItems" name="numItems" class="w-full border border-gray-300 p-2 rounded">
</div>
<div class="mb-4">
<label for="jobDescription" class="block">Job Description</label>
<input type="text" id="jobDescription" name="jobDescription"
class="w-full border border-gray-300 p-2 rounded">
</div>
</fieldset>
<fieldset class="border border-gray-300 rounded-lg p-4 mb-4">
<legend class="font-bold">Status</legend>
<!-- Status Fields -->
<div class="mb-4">
<label for="jobStatus" class="block">Status</label>
<select id="jobStatus" name="jobStatus" class="w-full border border-gray-300 p-2 rounded">
<option value="Green">Green</option>
<option value="Yellow">Yellow</option>
<option value="Red">Red</option>
<option value="Blue">Blue</option>
</select>
</div>
</fieldset>
<button type="submit" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Submit Job
</button>
<button onclick="window.location.href = 'auth/auth.html';"
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Go to Auth Page
</button>
</form>
<!-- Include your Firebase initialization script -->
<script src="./firebase.js"></script>
</body>
</html>