-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (83 loc) · 3.04 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=us-ascii">
<!-- <meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' /> -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="../app/system/libs/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../app/system/libs/jquery-migrate-3.0.0.js"></script>
<link rel='stylesheet' type='text/css'href='devEnv/css/animate.css' />
<link rel="stylesheet" type="text/css" href="devEnv/css/style.css" />
<script type="text/javascript">
//<![CDATA[
function loadPage(value) {
var cw = document.getElementById('screen').contentWindow;
cw.location = value;
}
function autoResize(newBaseHeight){
var tabBodies = document.getElementsByClassName('content-tab');
var maxHeight = 0;
for ( var i = 0 ; i < tabBodies.length ; ++i ) {
var tabBody = tabBodies[i];
var height = tabBody.scrollHeight;
if ( maxHeight < height ) {
maxHeight = height;
}
}
if ( maxHeight < 1600 ) {
maxHeight = 1600;
}
if ( newBaseHeight > maxHeight + 3 ) {
console.log('resizing from ' + maxHeight + ' to new ' + (newBaseHeight + 3) );
$('.content-tab').height(newBaseHeight+3);
}
}
//]]>
</script>
<title>OpenDataKit Development Environment Homepage</title>
</head>
<body class="absolute">
<noscript>This page requires javascript and a Chrome or WebKit browser</noscript>
<div class="topversion">ODK 2.1.4</div>
<ul class="tabs">
<li>
<input type="radio" name="tabs" checked id="tab1"/>
<label for="tab1">Preview</label>
<iframe class="content-tab" src="devEnv/tab1.html" frameborder="0" ></iframe>
</li>
<li>
<input type="radio" name="tabs" id="tab2"/><label for="tab2">Customize</label>
<iframe class="content-tab" src="devEnv/tab2.html" frameborder="0" ></iframe>
</li>
<li>
<input type="radio" name="tabs" id="tab3"/><label for="tab3">XLSX Converter</label>
<iframe class="content-tab" src="devEnv/tab3.html" frameborder="0" ></iframe>
</div>
</li>
<li>
<input type="radio" name="tabs" id="tab4"/><label for="tab4">File Browser</label>
<iframe class="content-tab" src="devEnv/tab4.html" frameborder="0" ></iframe>
</div>
</li>
<li>
<input type="radio" name="tabs" id="tab5"/><label for="tab5">Scan Form Designer</label>
<iframe class="content-tab" src="devEnv/tab5.html" frameborder="0" ></iframe>
</div>
</li>
<li>
<input type="radio" name="tabs" id="tab6"/><label for="tab6">QR Code Generator</label>
<iframe class="content-tab" src="devEnv/tab6.html" frameborder="0" ></iframe>
</div>
</li>
</ul>
<script type="text/javascript">
//<![CDATA[
$(function() {
if ( !window.openDatabase ) {
document.body.innerHTML="<p><font color=\"red\">You must use a Chrome or Safari browser (note: this is tested only on Chrome)</font></p>";
}
})
//]]>
</script>
</body>
</html>