This repository was archived by the owner on Jan 13, 2022. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathapi.html
More file actions
60 lines (51 loc) · 2.69 KB
/
Copy pathapi.html
File metadata and controls
60 lines (51 loc) · 2.69 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<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">
<title>PTU Tools</title>
<link href='http://fonts.googleapis.com/css?family=Roboto:500,900italic,900,400italic,100,700italic,300,700,500italic,100italic,300italic,400' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Bootstrap Material Design -->
<link href="css/bootstrap-material-design.min.css" rel="stylesheet">
<link href="css/ripples.min.css" rel="stylesheet">
</head>
<body>
<div>
<span id="callExplanation"></span>
</div>
<div>
<span>oursite/api/v1/</span>
<select id="apiSelect" onchange="ptuApi.onSelect();" >
</select>
<span>/</span>
<input id="urlInput" type="text" placeholder="">
<span>
<button id="submitBtn" onclick="ptuApi.makeCall();">submit</button>
</span>
</div>
<div>
<span id="loader" style="display: none"><img src="http://www.cuisson.co.uk/templates/cuisson/supersize/slideshow/img/progress.BAK-FOURTH.gif"/></span>
<textarea id="callData" readonly style="resize: none; width:70%; height:250px;"></textarea>
</div>
<!-- JavaScript Imports -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script>
//Remove JQuery UI conflicts with Bootstrap
$.widget.bridge('uibutton', $.ui.button);
$.widget.bridge('uitooltip', $.ui.tooltip);
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="dist/snackbar.min.js"></script>
<script src="js/ripples.js"></script>
<script src="js/material.js"></script>
<!-- Our JavaScript -->
<script src="js/apiTest.js"></script>
</body>
</html>