-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-event-amd.html
116 lines (96 loc) · 3.13 KB
/
example-event-amd.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
<!doctype html>
<html lang="en">
<head>
<title>Swagger builder demo</title>
<meta charset="utf-8">
<!-- Forces IE to render in 'latest' compatible mode -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<!-- START: EXTRA-JS -->
<script src="amd/require.js"></script>
<script src="amd/config.js"></script>
<script>
requirejs(["amd/swagger-event"]);
</script>
<!-- END: EXTRA-JS -->
<!-- END: EXTRA-JS -->
<!-- START: EXTRA-CSS -->
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" />
<link type="text/css"
rel="stylesheet"
media="screen"
href="css/irisBuilder.css">
<link type="text/css"
rel="stylesheet"
media="screen"
href="calendar/jquery-ui-timepicker-addon.css">
<link type="text/css"
rel="stylesheet"
media="screen"
href="//cdn.jsdelivr.net/qtip2/2.2.1/jquery.qtip.min.css">
<link type="text/css"
rel="stylesheet"
media="screen"
href="iris-coordinate-picker/iris-coordinate-picker.css">
<!-- END: EXTRA-CSS -->
</head>
<body>
<div class="container">
<h3 id="service-title"></h3>
<p id="service-description"></p>
<h1>
URL Builder:
<span id="operation-summary"></span>
</h1>
<div class="row p-margin">
<div class="col-xs-10">
<p id="operation-description"></p>
</div>
<div class="col-xs-2">
<a href="#dialog" role="button" class="btn btn-default" data-toggle="modal"><i class="glyphicon glyphicon-question-sign"></i> Usage</a>
</div>
</div>
<!-- {{{ START: FORM -->
<form id="builder-form"
action=""
method="get"
class="form-inline">
</form>
<!-- }}} END: FORM -->
<div class="alert alert-warning">
<strong>Click the link:</strong>
<p><a id="url" target="_blank"></a></p>
</div>
<div class="alert alert-info">
<h4>Output</h4>
<pre id="output"></pre>
</div>
<div id="dialog"
class="modal fade"
tabindex="-1"
role="dialog"
aria-labelledby="myModalLabel"
aria-hidden="true">
<!-- {{{ START: HELP -->
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">Usage</h3>
</div>
<div class="modal-body">
<table class="table table-bordered table-striped table-condensed" id="usage-table">
</table>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
</div>
<!-- }}} END: HELP -->
</div>
</div>
<div id="footer">
</div><!-- #footer -->
</body>
</html>