-
Notifications
You must be signed in to change notification settings - Fork 0
/
addOldRequest.html
executable file
·320 lines (284 loc) · 16.1 KB
/
addOldRequest.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Backlog | Project Sign-Off</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script>
$(function () {
$("#projectID").hide();
$("#soundnet").hide();
$("#projectLink").hide();
$("#ticketNumber").hide();
$("#datepicker").datepicker();
$("#datepicker2").datepicker();
});
</script>
<style>
</style>
</head>
<body>
<style>
body {
padding-top: 70px;
padding-bottom: 30px;
}
.row{
padding-left: 30px;
padding-bottom: 15px;
}
</style>
<form name='signOffImport' method='POST' action='php/importSignOff.php' enctype="multipart/form-data">
<!--|Container for First set of Fields|-->
<div class="container" style="max-width: 800px">
<!--|Header Image|-->
<div class="row">
<p style="text-align: center;">
<img src="images/PMOLogo.jpg" height="100"><img />
</p>
</div>
<div class="panel panel-default">
<!--|Heading|-->
<div class="panel-heading">
<h3 class="panel-title">Add Old Request</h3>
</div>
<div class="panel-body">
<!--|Work Type Selector|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Type of Work</label>
<select id="selector" name="typeOfWork" class="form-control input-md" required>
<option value="none" data-hidden="true" selected="selected" required>Please Select One...</option>
<option value="project">Project (Soundnet/LP)</option>
<option value="ticket"> KACE Ticket</option>
</select>
<script>
$("#selector").change(function () {
var choose = this.value;
if (choose == "none") {
$("#projectID").hide(400);
$("#soundnet").hide(400);
$("#projectLink").hide(400);
$("#ticketNumber").hide(400);
}
if (choose == "project") {
$("#ticketNumber").hide(400);
$("#projectID").show(400);
$("#soundnet").show(400);
$("#projectLink").show(400);
}
if (choose == "ticket") {
$("#projectID").hide(400);
$("#soundnet").hide(400);
$("#projectLink").hide(400);
$("#ticketNumber").show(400);
}
});
</script>
</div>
</div>
<!--|KACE Ticket Number|-->
<div class="row">
<div class="input-group">
<label for="ticketNumber" style="text-decoration: underline">KACE Ticket Number</label>
<input type="text" name="ticketNumber" class="form-control" placeholder="34833" aria-describedby="basic-addon1">
</div>
</div>
<!--|Project ID|-->
<div class="row" >
<div class="input-group">
<label for="projectID" style="text-decoration: underline">Project ID</label>
<input type="text" name="projectID" class="form-control" placeholder="P0100" aria-describedby="basic-addon1" pattern="[P-0-9]">
</div>
</div>
<!--|Soundnet Link|-->
<div class="row">
<div class="input-group">
<label for="soundnet" style="text-decoration: underline">Soundnet Link</label>
<input type="text" name="soundNetLink" class="form-control" placeholder="Paste Soundnet Link Here" aria-describedby="basic-addon1" >
</div>
</div>
<!--|LiquidPlanner Link|-->
<div class="row">
<div class="input-group">
<label for="projectLink" style="text-decoration: underline">LiquidPlanner Link</label>
<input type="text" name="liquidPlannerLink" class="form-control" placeholder="Paste LiquidPlanner Link Here" aria-describedby="basic-addon1" >
</div>
</div>
<!--|Sprint Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Sprint</label>
<input type="number" name="sprint" class="form-control" placeholder="10" aria-describedby="basic-addon1">
</div>
</div>
<!--|Project Name Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Project Name</label>
<input type="text" name="projectName" class="form-control" placeholder="Soundnet Project or Ticket Name" aria-describedby="basic-addon1">
</div>
</div>
<!--|App Designer Projects Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">App Designer Proj</label>
<input type="text" name="appDesingerProjs" class="form-control" placeholder="If applicable, separate by commas" aria-describedby="basic-addon1" >
</div>
</div>
<!--|Pl/SQL Objects Field|-->
<div class="row">
<div class="input-group">
<label for="pl/sql" style="text-decoration: underline">Pl/SQL Objects</label>
<input type="text" name="plsqlObjects" id="pl/sql" class="form-control" placeholder="If applicable, separate by commas" aria-describedby="basic-addon1" >
</div>
</div>
<!--|Other Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Other</label>
<input type="text" name="otherObjects" class="form-control" placeholder="If applicable, separate by commas" aria-describedby="basic-addon1" >
</div>
</div>
<!--|Project Owner Selector|-->
<div class="row">
<div class="input-group">
<label for="projectOwner" style="text-decoration: underline">Project Owner</label>
<select class="form-control" name="projectOwner" input-md" aria-describedby="basic-addon1" id="projectOwner">
<option>Technology Services</option>
<option>Academic Advising</option>
<option>Admission</option>
<option>Business Services</option>
<option>Career & Employment Services</option>
<option>Community Engagement</option>
<option>Community Music</option>
<option>Dean of Students</option>
<option>Facilities Services</option>
<option>Human Resources</option>
<option>Library</option>
<option>Mail Services</option>
<option>Multiple</option>
<option>Office of Finance</option>
<option>Office of the President</option>
<option>Office of the Registrar</option>
<option>Residence Life</option>
<option>Security Services</option>
<option>Student Activities</option>
<option>Student Financial Services</option>
<option>University Relations</option>
</select>
</div>
</div>
<!--|Sum Work Completed|-->
<div class="row">
<div class="input-group">
<label for="sumWorkCompleted" style="text-decoration: underline">Sum Work Completed</label>
<input type="text" class="form-control" name="sumWorkCompleted" id="datepicker" aria-describedby="basic-addon1" placeholder="Sum Work Completed" />
</div>
</div>
<!--|Testing Type|-->
<div class="row">
<div class="input-group">
<label for="testingType" style="text-decoration: underline">Testing Type</label>
<input type="text" class="form-control" name="testingType" id="datepicker" aria-describedby="basic-addon1" placeholder="Testing Type" />
</div>
</div>
<!--|Proof of Testing Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Proof of Testing</label>
<select class="form-control" name="proofTesting" input-md" aria-describedby="basic-addon1">
<option> Excel Spreadsheet/Link</option>
<option> Testing Summary (Text)</option>
</select>
</div>
</div>
<!--|Request To|-->
<div class="row">
<div class="input-group">
<label for="requestTo" style="text-decoration: underline">Request To</label>
<input type="text" class="form-control" name="requestTo" id="datepicker" aria-describedby="basic-addon1" placeholder="Request To" />
</div>
</div>
<!--|ReqFullName|-->
<div class="row">
<div class="input-group">
<label for="reqFullName" style="text-decoration: underline">Requester Full Name</label>
<input type="text" class="form-control" name="reqFullName" id="datepicker" aria-describedby="basic-addon1" placeholder="Full Name" />
</div>
</div>
<!--|Author|-->
<div class="row">
<div class="input-group">
<label for="author" style="text-decoration: underline">Author</label>
<input type="text" class="form-control" name="author" value="Import" id="datepicker" aria-describedby="basic-addon1" placeholder="Author" />
</div>
</div>
<!--|Author Full Name|-->
<div class="row">
<div class="input-group">
<label for="authorFullName" style="text-decoration: underline">Author Name</label>
<input type="text" class="form-control" name="authorFullName" value="System Import" id="datepicker" aria-describedby="basic-addon1" placeholder="Author Full Name" />
</div>
</div>
<!--|Completion Date Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Request Date</label>
<input type="date" class="form-control" name="requestDate" id="datepicker2" aria-describedby="basic-addon1" placeholder="01/31/2015" />
</div>
</div>
<!--|Submit Date Field|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Submit Date</label>
<input type="date" class="form-control" name="submitDate" id="datepicker" aria-describedby="basic-addon1" placeholder="01/31/2015" />
</div>
</div>
<!--|Status|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">Status</label>
<input type="text" class="form-control" name="status" value="Received" id="datepicker" aria-describedby="basic-addon1" placeholder="status" />
</div>
</div>
<!--|Status|-->
<div class="row">
<div class="input-group">
<label for="selector" style="text-decoration: underline">File</label>
<input type="file" name="fileToUpload" id="fileToUpload">
</div>
</div>
</div>
</div>
</div>
<!--|Summary of Work Completed Field|-->
<div class="container" style="max-width: 800px">
<div class="panel panel-default">
<div class="panel-heading">
Additional Comments
</div>
<div class="panel-body">
<textarea class="form-control" name="additionalComments" rows="3"></textarea>
</div>
</div>
</div>
<!--|Cancel/Submit Buttons|-->
<div class="container" style="max-width:800px">
<div class="panel-body">
<div class="row">
<button type="button" onclick="refreshView();" class="btn btn-default">Cancel</button>
<button style="margin-left: 2px" type="submit" name="submit" class="btn btn-default" onclick="submitNewRequest();">Submit!</button>
</div>
</div>
</div>
</form>
</body>
</html>