-
Notifications
You must be signed in to change notification settings - Fork 3
/
retrieveInstance.html
63 lines (52 loc) · 1.97 KB
/
retrieveInstance.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
<!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>XBRL instance viewer</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
</head>
<body>
<!-- Include Scala.js compiled code -->
<script type="text/javascript" src="./js/target/scala-2.12/tqa-fastopt.js"></script>
<script type="text/javascript" src="./js/target/scala-2.12/tqa-jsdeps.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<div class="container-fluid">
<div class="page-header">
<h1>XBRL instance viewer</h1>
</div>
<form>
<div class="form-group">
<label for="urlInput">XBRL Instance URL</label> <input type="url" class="form-control" id="urlInput"
placeholder="XBRL Instance URL" />
</div>
<button type="button" class="btn btn-success btn-lg"
onclick="XbrlInstanceViewer.retrieveInstance(document.getElementById('urlInput').value, document.getElementById('outputDiv'))">Retrieve
XBRL instance</button>
</form>
<hr />
<div class="row">
<div class="col-md-12">
<div id="outputDiv"></div>
</div>
</div>
</div>
<!-- See https://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-modals.php -->
<div id="myModal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Fact as XBRL instance</h4>
</div>
<div id="myModal-body" class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>