-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (48 loc) · 2.03 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
<!--
/**
* Turing Tickets Main Entry Point
* Primary interface for users to submit new support tickets
* Features: User-friendly form, input validation, admin access
* Uses semantic HTML5 for better accessibility and SEO
* Jonah Carpenter - Turing Tickets
*/
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Submit a Ticket</title>
<link rel="stylesheet" href="./Project/styles.css">
<link rel="icon" href="./Project/images/logo.jpg">
</head>
<body>
<div class="container">
<h1>Submit a Ticket</h1>
<form id="ticketForm">
<label for="title">Title:</label>
<input type="text" id="title" name="title" required>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="category">Category:</label>
<select id="category" name="category" required>
<option value="" disabled selected>Select a category</option>
<option value="login-issue">Login Issue</option>
<option value="password-reset">Password Reset</option>
<option value="ip-block">IP Block</option>
<option value="other">Other</option>
</select>
<label for="issue">Issue Description:</label>
<textarea id="issue" name="issue" rows="5" required></textarea>
<button type="button" id="submitTicketButton" style="margin-top: 10px;">Submit Ticket</button>
</form>
<button id="adminLogin" onclick="location.href='Project/html/admin_login.html'" style="margin-top: 10px;">Admin Login</button>
</div>
<footer>
<p>© 2024 Turing Tickets. All rights reserved.</p>
</footer>
<script src="./Project/scripts.js"></script>
</body>
</html>