reduce behavior not compliant with the CSP for privileged apps; start implementing...
[tricorder.git] / index.html
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
2    - License, v. 2.0. If a copy of the MPL was not distributed with this file,
3    - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
4
5 <!DOCTYPE html>
6 <html manifest="manifest.appcache">
7 <head>
8   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9   <!-- try to counts default scaling on mobile, see 
10        https://developer.mozilla.org/en/Mobile/Viewport_meta_tag -->
11   <meta name="viewport" content="width=device-width, height=device-height">
12   <title>Tricorder</title>
13   <script src="js/tricorder.js"></script>
14   <link rel="stylesheet" href="style/tricorder.css">
15   <link rel="shortcut icon" href="style/tilex32.png" type="image/png">
16 </head>
17 <body id="body">
18 <h1>Tricorder</h1>
19
20 <div id="sidebar">
21 <div id="sideTop">
22 <div id="stardate">[74]</div>
23 </div>
24
25 <div id="sideSepTop">
26 <div id="sideSepTopInsert"></div>
27 </div>
28
29 <div id="sideSepBottom">
30 <div id="sideSepBottomInsert"></div>
31 </div>
32
33 <div id="sideBottom">
34 <ul id="navlist">
35 <li id="navPos">Position</li>
36 <li id="navGrav">Gravity</li>
37 <li id="navDev">Device</li>
38 <li id="navOther">Other</li>
39 </ul>
40 </div>
41
42 <ul id="sideRemark">
43 <li id="fullScreenButton">Full Screen</li>
44 </ul>
45 </div>
46
47 <div id="mainarea">
48 <div id="mainHeader">
49 Web Tricorder
50 </div>
51
52 <div id="mainSepTop"></div>
53 <div id="mainSepBottom"></div>
54
55 <div id="mainContent">
56 <section id="sectNull" class="active">
57 <p>Please select a data input module from the left-side navigation.</p>
58 </section>
59
60 <section id="sectPos">
61 <p id="posunavail">
62 Position watching is unavailable on this tricorder device.
63 <br/>Please talk to your superior officer or Starfleet contact to acquire
64 a better device.
65 </p>
66 <div id="posavail" style="display:none">
67 <table>
68 <tr><td>Latitude:</td><td id="posLat" class="posVal">...</td></tr>
69 <tr><td>Longitude:</td><td id="posLong" class="posVal">...</td></tr>
70 <tr><td>Accuracy:</td><td id="posAcc" class="posVal">...</td></tr>
71 <tr><td>Altitude:</td><td id="posAlt" class="posVal">...</td></tr>
72 <tr><td>Alt. Accuracy:</td><td id="posAltAcc" class="posVal">...</td></tr>
73 <tr><td>Heading:</td><td id="posHead" class="posVal">...</td></tr>
74 <tr><td>Speed:</td><td id="posSpd" class="posVal">...</td></tr>
75 <tr><td>Timestamp:</td><td id="posTime" class="posVal">...</td></tr>
76 </table>
77 <p class="note">
78 All coordinates use the WGS84 coordinate system.
79 </p>
80 </div>
81 </section>
82
83 <section id="sectGrav">
84 <p id="gravunavail">
85 Gravity sensors are unavailable on this tricorder device.
86 <br/>Please talk to your superior officer or Starfleet contact to acquire
87 a better device.
88 </p>
89 <div id="gravavail" style="display:none">
90 <table>
91 <tr><td>Total:</td><td id="gravTotal" class="gravVal">...</td></tr>
92 <tr><td>X:</td><td id="gravX" class="gravVal">...</td></tr>
93 <tr><td>Y:</td><td id="gravY" class="gravVal">...</td></tr>
94 <tr><td>Z:</td><td id="gravZ" class="gravVal">...</td></tr>
95 <tr><td>Alpha:</td><td id="gravAlpha" class="gravVal">...</td></tr>
96 <tr><td>Beta:</td><td id="gravBeta" class="gravVal">...</td></tr>
97 <tr><td>Gamma:</td><td id="gravGamma" class="gravVal">...</td></tr>
98 </table>
99 </div>
100 </section>
101
102 <section id="sectDev">
103 <table>
104 <tr><td>Battery Level:</td><td id="devBattLevel" class="deviceVal">...</td></tr>
105 <tr><td>Battery Status:</td><td id="devBattStatus" class="deviceVal">...</td></tr>
106 <!-- to come : storage data -->
107 </table>
108 </section>
109
110 <section id="sectOther">
111 <p>This tricorder model doesn't have other sensors yet, please contact
112 the <a href="http://www.kairo.at/apps" target="_blank">Starfleet science
113 department</a> if you want to help developing this for future models.</p>
114 </section>
115 </div>
116
117 </body>
118 </html>