Automatic commit of irc logs
[matches/MCTX3420.git] / public_html / index.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3   <head>
4     <title>MCTX3420 Web Interface</title>
5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6     <script type="text/javascript" src="static/jquery-1.10.1.min.js"></script>
7     <script type="text/javascript" src="static/mctx.gui.js"></script>
8     
9     <link rel="stylesheet" type="text/css" href="static/style.css">
10     <link rel="stylesheet" type="text/css" href="static/nav-menu.css">
11     <script type="text/javascript">
12       runBeforeLoad().done(function () {
13         $(document).ready(function () {
14          //Show the content!
15          $("#content").css("display", "block");
16          //Set the welcome bar
17          var name = " " + (mctx.friendlyName ? mctx.friendlyName : "");
18          $("#welcome-container").text("Welcome"+ name + "!");
19          $("#logout-container").css("display", "block");
20          $("#logout").click(function () {
21            $("#logout").logout();
22          });
23        });       
24       })
25
26     </script>
27   </head>
28   
29   <body>
30     <div id="header">
31       <div id="leftnav">
32         <a href="http://www.uwa.edu.au/" target="_blank">
33           <img alt = "The University of Western Australia"
34           src="static/uwacrest-text.png">
35         </a>
36         <span id="title">Exploding Cans</span>
37       </div>
38       <div id="rightnav">
39         <span id="welcome-container">
40         </span>
41         <span id="date">
42           <script type="text/javascript">getDate();</script>
43         </span>
44         <div id="logout-container">
45           <form action="#">
46             <div>
47               <input type="button" id="logout" value="Logout">
48             </div>
49           </form>
50         </div>
51       </div>
52       <div class="clear"></div>
53     </div>
54     <!-- End header -->
55     
56     <noscript>
57       <div class="widget centre">
58         <div class="title">JavaScript required</div>
59         This website requires JavaScript to function correctly.
60         Please enable JavaScript to use this site.
61       </div>
62     </noscript>
63     
64     <div id="content">
65       <div id="sidebar">
66         <div class="widget">
67           <div class="title">Navigation menu</div>
68                   
69         </div>
70         <div class="widget">
71           <div class="title">Help</div>
72           
73         </div>
74       </div>
75       <!-- End sidebar -->
76
77       <div id="main">
78         <div class="widget">
79           <div class="title centre">Welcome</div>
80             <p>
81               Welcome to the MCTX3420 remote pressure vessel experiment site!
82             </p>
83             <p>
84               To explore how this system works, hover over the elements of the
85               system diagram below. Clicking each element will lead to a new
86               page that describes that component of the system.
87             </p>
88             <p>
89               To begin a new experiment, use the left navigation pane.
90             </p>
91         </div>
92         <div class="widget">
93           <div class="title">System diagram</div>
94           <img id="sbd" src="static/sbd.png" class="centre" alt="System diagram" usemap="#sbd-map">
95           <map name="sbd-map">
96             <area shape="rect" coords="78,44,178,94" href="#" alt="Client PC" title="You">
97             <area shape="rect" coords="238,44,338,94" href="#" alt="BBB">
98             <area shape="rect" coords="398,44,498,94" href="#" alt="Electronics">
99             <area shape="rect" coords="238,104,338,154" href="#" alt="Pneumatics">
100             <area shape="rect" coords="128,184,228,234" href="#" alt="Sensors">
101             <area shape="rect" coords="348,184,448,234" href="#" alt="Camera">
102             <area shape="rect" coords="128,238,228,288" href="#" alt="Strain Can">
103             <area shape="rect" coords="348,238,448,288" href="#" alt="Explode Can" title="Won't happen">
104             <area shape="rect" coords="13,206,113,231" href="#" alt="Enclosure" id="enclosure-btn">
105             <area shape="rect" coords="13,240,113,265" href="#" alt="Mounting" id="mounting-btn">
106             <area shape="rect" coords="116,175,457,294" alt="Mounting Area" id="mounting-area">
107             <area shape="poly" coords="230,30,524,30,524,294,115,294,115,100,230,100,230,30" alt="Enclosure Area" id="enclosure-area">
108           </map>
109           <script type="text/javascript" src="static/jquery.maphilight.min.js">
110             
111           </script>
112           <script type="text/javascript">
113             $("#sbd").maphilight({
114               fillOpacity: 0.4,
115               strokeColor: '000000',
116               strokeOpacity: 0.7
117             });
118             
119             $.fn.hilightToggle = function (on) {
120               var data = $(this).data("maphilight") || {};
121               data.neverOn = !on;
122               $(this).data("maphilight", data);
123               return this;
124             };
125             
126             $("#mounting-area").hilightToggle(false);
127             $("#enclosure-area").hilightToggle(false);
128             
129             $("#mounting-btn").mouseover(function () {
130               $("#mounting-area").hilightToggle(true).mouseover();
131             }).mouseout(function () {
132               $("#mounting-area").hilightToggle(false);
133             });
134             
135             $("#enclosure-btn").mouseover(function () {
136               $("#enclosure-area").hilightToggle(true).mouseover();
137             }).mouseout(function () {
138               $("#enclosure-area").hilightToggle(false);
139             });
140           
141           </script>
142         </div>
143       </div>
144       <!-- End main content -->
145     </div>
146   </body>
147 </html>

UCC git Repository :: git.ucc.asn.au