-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (68 loc) · 3.9 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
<!DOCTYPE html>
<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">
<!-- Bootstrap4 CSS CDN -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<!-- fontawesome CDN
<link rel="stylesheet" href="//use.fontawesome.com/releases/v5.1.0/css/all.css"/> -->
<!-- External CSS -->
<link href="style.css" rel="stylesheet" />
<title>IssueR</title>
</head>
<body onload="getAllIssues()">
<div class="container">
<center><h1 class="heading">IssueR - An Issue Tracker App</h1></center>
<div class="jumbotron py-5">
<h3>Add New Issue:</h3>
<form id="issueForm" autocomplete="off">
<div class="form-group">
<label for="name">Name <b><span class="text-danger">*</span></b></label>
<input type="text" class="form-control" id="name" onkeyup="validateBtn()" placeholder="Enter your Name">
</div>
<div class="form-group">
<label for="empid">Employee ID <b><span class="text-danger">*</span></b></label>
<input type="tel" class="form-control" id="empid" onkeyup="validateBtn()" placeholder="Enter your Employee ID">
</div>
<div class="form-group">
<label for="department">Department <b><span class="text-danger">*</span></b></label>
<select id="department" class="form-control" style="cursor: pointer;" onclick="validateBtn()">
<option value="none">Select a Department</option>
<option value="HR">HR</option>
<option value="IT">IT</option>
<option value="Marketing">Marketing</option>
<option value="Operations">Operations</option>
<option value="Sales">Sales</option>
</select>
</div>
<div class="form-group">
<label for="description">Description <b><span class="text-danger">*</span></b></label>
<input type="text" class="form-control" id="description" onkeyup="validateBtn()" placeholder="Describe your Issue">
</div>
<div class="form-group">
<label for="attach">Attach Supportive Documents (If any)</label>
<input type="file" class="form-control-file" id="attach">
</div>
<center>
<small id="must" class="text-danger">asterick (*) marked fields are required!</small><br>
<button type="submit" id="mainBtn" class="btn btn-success" disabled onclick="saveIssue()">Raise a Ticket!</button>
</center>
</form>
</div>
<div class="col-lg-12">
<div id="issuesList"></div>
</div>
</div>
<footer style="background-color: #d9d0d0; text-align: center;">
<span style="font-size: 1.1em;">© <a href="https://samarjeetbanik.github.io/my-portfolio/" target="_blank">Samarjeet Banik</a> | 2021</span>
</footer>
<!-- ChanceJS minified CDN -->
<script src="https://chancejs.com/chance.min.js"></script>
<!-- JQuery minified CDN -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Bootstrap4 JS CDN -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>
<script src="brain.js"></script>
</body>
</html>