-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (57 loc) · 2.1 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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>ACTIVITY</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">
var input = {
"rest" : "http://localhost:8383/Task%20052%20-%20Process%20Tracking/"
, "clientId" : "yourClientID"
, "apiKey" : "yourApiKey"
, "debug" : true
};
var output = {
"value" : ""
};
</script>
</head>
<body>
<div id="input_type">
<select>
<option selected value="null">Choose</option>
<option>EXT</option>
</select>
</div>
<input type="text" id="input_client" value="BETA">
<input type="text" id="input_cost" value="1.5JH">
<div id="input_where">
<select>
<option selected value="null">Choose</option>
<option>REM</option>
</select>
</div>
<input type="text" id="input_consultant" value="FRO">
<input type="text" id="input_cmt" value="Truc">
<input type="text" id="input_start" value="13-02-15 12:00">
<input type="text" id="input_end" value="13-02-15 13:00">
<input type="checkbox" id="input_facturable" checked>
<div id='content'>TODO write content</div>
<script type="text/javascript">
$.getScript(input.rest+"libActivity.js")
.done(function( script, textStatus ) {
console.log( "libActivity.js : statut = " + textStatus );
})
.fail(function( jqxhr, settings, exception ) {
console.log( "libActivity.js : Triggered ajaxError handler." );
})
;
</script>
</body>
</html>