-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubmitTicket.html
executable file
·109 lines (101 loc) · 4.15 KB
/
submitTicket.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="styles/style.css" />
<title>TICKETR</title>
</head>
<body class="bg-light">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="#"
>TICKETR. <div id="signout-button-container"></div
></a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="index.html"
>Home <span class="sr-only">(current)</span></a
>
</li>
<li id="navItem2" class="nav-item">
<a class="nav-link" href="login.html">Log in</a>
</li>
<li id="navItem3" class="nav-item">
<a class="nav-link" href="register.html">Register</a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row" id="clear-content-on-login">
<div class="col-8 offset-2">
<div id="welcome-message"></div>
<h1 class='text-primary'>Submit a Ticket</h1>
<div class='form-group text-primary'>
<p>Ticket Subject</p>
<input type="text" class="mb-2 form-control border border-primary" id="ticketSubject" placeholder="subject">
<label>Ticket Description</label>
<textarea class="mb-2 form-control border border-primary" id="ticketDescription" rows="3"></textarea>
<div class="form-group">
<label>Ticket Priority</label>
<select class="form-control border border-primary" id="ticketPriority">
<option>High</option>
<option>Medium</option>
<option>Low</option>
</select>
</div>
<button type="submit" onclick="submitTicket()" class="btn btn-light" id="ticketSubmit">Submit Ticket</button>
<button type="submit" id="signoutButton" onclick="signOut()" class="btn btn-light">Sign Out</button>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script
src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"
></script>
<script src="https://www.gstatic.com/firebasejs/7.5.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.5.2/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.5.2/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.5.2/firebase-auth.js"></script>
<script src="js/connect.js"></script>
<script src="jb-user.js"></script>
<script src="login.js"></script>
</body>
</html>