-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbonus.php
More file actions
executable file
·38 lines (35 loc) · 1.48 KB
/
bonus.php
File metadata and controls
executable file
·38 lines (35 loc) · 1.48 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Bonus Workers</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="Retainer/scripts/gup.js"></script>
<script type="text/javascript" src="Retainer/scripts/bonusWorker.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body style = "width:500px; margin-left:auto; margin-right:auto;">
<h1>Bonus a worker:</h1>
<form role="form">
<div class="form-group">
<label for="workerId">Worker Id</label>
<input name = "workerId" class="form-control" id="workerId" placeholder="Worker Id (e.g. A33FSISZ9EBTS)">
</div>
<div class="form-group">
<label for="assignmentId">Assignment Id</label>
<input name = "id" class="form-control" id="assignmentId" placeholder="Assignment Id">
</div>
<div class="form-group">
<label for="reason">Reason</label>
<input name = "reason" class="form-control" id="reason" value="Did extra work.">
</div>
<div class="form-group">
<label for="bonusAmount">Bonus amount (in dollars)</label>
<input name = "amount" class="form-control" id="bonusAmount" placeholder="0.01">
</div>
<input type="hidden" name="operation" value="Bonus">
<input type="hidden" name="useSandbox" value="false">
<button type="submit" class="btn btn-danger">Give bonus</button>
</form>
<p><div id="bonusedHistory"></div></p>
</body>
</html>