-
Notifications
You must be signed in to change notification settings - Fork 5
/
test.html
39 lines (30 loc) · 1.16 KB
/
test.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- title and icon -->
<title>Retina Test</title>
<link rel="icon" href="images/file-xml.png" type="image/x-icon">
<!-- default js -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/stm.js"></script>
<script type="text/javascript" src="js/retina.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- bootstrap style -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<!-- webapp initialization -->
<script type="text/javascript">
jQuery( window ).load(function(){
Retina.init({ "renderer_resource": "renderers",
"library_resource": "js" });
Retina.load_widget(Retina.cgiParam("widget") || "Example").then( function() {
Retina.Widget.create(Retina.cgiParam("widget") || "Example", { "target": document.getElementById("content") });
});
});
</script>
</head>
<body>
<div id="content"></div>
</body>
</html>