-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
197 lines (170 loc) · 10.4 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> Work </title>
<script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp"></script>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<!--Header section-->
<header class="body-font bg-gradient-to-r from-cyan-500 via-teal-400 to-teal-0 shadow-md">
<div class="container mx-auto flex flex-wrap p-2 items-center justify-between">
<a href="index.html" class="flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0">
<img alt="logo0"
class="w-24 h-24 object-cover object-center rounded-full inline-block items-center justify-center bg-white"
src="https://dummyimage.com/80x80">
<h1 class="ml-3 mt-5 sm:text-3xl text-2xl font-medium title-font font-sans mb-4 text-blue-900">Company Name: Work</h1>
</a>
</div>
</header>
<!-- Work submission section -->
<div class="flex flex-col-reverse lg:flex-row lg:justify-end py-6 px-1 max-w-screen-xl mx-auto">
<!-- Main Form Section -->
<form action="submit_work.php" method="POST" id="work-form" class="w-full flex flex-col lg:flex-row">
<div class="w-full lg:w-3/4 p-4 flex flex-col">
<!-- Title Input -->
<div class="mb-6 py-2">
<label for="title" class="block text-lg mb-1">Add a title</label>
<input type="text" id="title" name="title"
class="w-full h-12 text-sm px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-indigo-500"
placeholder="Title" required>
</div>
<!-- Auth key Input -->
<div class="mb-6 py-2">
<label for="authkey" class="block text-lg mb-1">Authentication key</label>
<input type="password" id="authkey" name="authkey"
class="w-full h-12 text-sm px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-indigo-500"
placeholder="Your key" required>
</div>
<!-- Description Textarea with Double Border Effect -->
<div class="relative mb-4 px-2 py-2 flex-1">
<div class="absolute inset-0 border border-gray-300 rounded-md pointer-events-none"></div>
<div class="relative z-10 p-1">
<label for="content" class="block text-lg mb-1">Add a description</label>
<textarea id="content" name="content"
class="w-full text-sm px-4 py-2 border border-gray-300 rounded-md focus:outline-none" rows="12"
placeholder="Add your description here..." required></textarea>
</div>
</div>
<!-- Submit Button for Large Screens -->
<div class="hidden lg:flex justify-end mt-4">
<button type="submit"
class="px-12 py-2 bg-green-600 text-white rounded-md hover:bg-green-700 focus:outline-none">Generate work token</button>
</div>
<!-- Note Section -->
<div class="flex justify-start mt-5">
<p class="text-xs text-gray-500">Note: Please fill in all the fields before submitting the form. Your work will be reviewed and published on the website.</p>
</div>
</div>
<!-- Sidebar for Additional Inputs -->
<div class="w-full lg:w-1/4 p-2 lg:pl-8 lg:pr-0">
<!-- Label Dropdown -->
<div class="mb-2 py-2">
<label for="label" class="block text-sm mb-1">Labels</label>
<select id="label" name="label"
class="w-full px-4 py-2 text-sm border-0 border-gray-300 rounded-md focus:outline-none focus:ring-0 focus:border-transparent"
required>
<option value="" disabled selected>Select a label</option>
<!-- Dropdown Options -->
<option value="Research & Development">Research & Development - New technologies, innovations</option>
<option value="Engineering Design">Engineering Design - Product design, CAD, Schematics</option>
<option value="Software Development">Software Development - Programming, web development, AI/ML</option>
<option value="Embedded Systems">Embedded Systems - Microcontrollers, sensors</option>
<option value="Fabrication">Fabrication - Assembly and production</option>
<option value="Product Development">Product Development - Creating new products</option>
<option value="Quality Assurance">Quality Assurance - Testing and validation</option>
<option value="Applied Chemistry">Applied Chemistry - Chemical analysis, formulations</option>
<option value="Technical Writing">Technical Writing - Manuals, documentation</option>
<option value="Data Analysis">Data Analysis - Data interpretation, analysis</option>
<option value="Design">Design - UI/UX design, graphic design</option>
<option value="Customer Service">Customer Service - Client support and assistance</option>
<option value="Marketing">Marketing - Promotion, advertising, PR</option>
<option value="Sales">Sales - Product sales, customer acquisition</option>
<option value="Finance">Finance - Budgeting, accounting</option>
<option value="Legal">Legal - Contracts, compliance</option>
<option value="Human Resources">Human Resources - Recruitment and training</option>
<option value="Project Management">Project Management - Managing project execution</option>
<option value="Innovation Strategy">Innovation Strategy - Strategic planning, trends</option>
<option value="Support">Support - Technical troubleshooting</option>
<option value="Other">Other - Miscellaneous tasks</option>
</select>
<hr class="border-t-1 border-gray-400 my-2">
</div>
<!-- Estimated Time Input -->
<div class="mb-6 py-2">
<label for="time" class="block text-sm mb-1">Estimated duration</label>
<div class="flex">
<input type="number" id="time" name="time"
class="w-1/2 px-4 py-2 text-sm border-0 border-gray-300 rounded-l-md focus:outline-none focus:ring-0 focus:border-transparent"
placeholder="Time" required>
<select id="time-unit" name="time-unit"
class="w-1/2 px-4 text-sm py-2 border-0 border-gray-300 rounded-r-md focus:outline-none focus:ring-0 focus:border-transparent"
required>
<option value="" disabled selected>Hours</option>
<option value="hours">Hours</option>
<option value="days">Days</option>
<option value="weeks">Weeks</option>
</select>
</div>
<hr class="border-t-1 border-gray-400 my-2">
</div>
<!-- Information Section -->
<div class="mb-6 py-4">
<div class="text-xs text-gray-600">
<p>
Work tokens help track your contributions and performance. Create and manage them through the dashboard for efficient monitoring and evaluation.
</p>
<br />
<a href="work_dashboard.php" class="text-blue-600 hover:underline text-lg">Visit dashboard</a>
</div>
<hr class="border-t-1 border-gray-400 my-2">
</div>
</div>
<!-- Submit Button for Small Screens -->
<div class="lg:hidden w-full flex justify-end mb-20">
<button type="submit"
class="w-full px-12 py-2 bg-green-600 text-white rounded-md hover:bg-green-700 focus:outline-none">Generate work token</button>
</div>
</form>
</div>
<!-- Footer section -->
<footer class="relative bg-teal-500 text-white">
<div class="pt-20 mx-auto max-w-screen-xl">
<div class="md:flex md:justify-between m-5 text-center justify-center items-center flex-row">
<div class="mb-6 md:mb-0 mt-6">
<a href="index.html" class="flex items-center">
<img alt="logo0"
class="w-24 h-24 object-cover object-center rounded-full inline-block items-center justify-center bg-white"
src="https://dummyimage.com/80x80">
<span
class="self-center text-2xl font-medium title-font font-sans whitespace-nowrap ms-5 text-wrap">Company Name</span>
</a>
</div>
<div>
<h2 class="mb-4 text-md font-semibold text-white uppercase">News & Events</h2>
<ul class="text-white">
<li class="mb-4">
<a href="#" class="hover:underline"><i class="fa-solid fa-newspaper"></i> News</a>
</li>
<li class="mb-4">
<a href="#" class="hover:underline"><i class="fa-solid fa-chart-line"></i> Annual
Report</a>
</li>
<li class="mb-4">
<a href="#" class="hover:underline"><i class="fa-solid fa-image"></i> Gallery</a>
</li>
</ul>
</div>
</div>
</div>
<hr class="border-gray-200 sm:mx-auto lg:mb-3" />
<div class="sm:flex sm:items-center sm:justify-center text-center">
<span class="text-sm text-white text-center">© 2024 WorkLog-Tracker ( Github )</span>
</div>
</div>
</footer>
</body>
</html>