source: schedule/authenticate/body.php@ 18795

Last change on this file since 18795 was 17556, checked in by tose, 11 years ago
Included UTC clock update
File size: 3.7 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>FACT Scheduling</title>
6 <meta name="keywords" content="" />
7 <meta name="description" content="" />
8 <script src="js/function.js"></script>
9 <script>
10 var updateClock = function() {
11 function pad(n) {
12 return (n<10) ? '0' + n : n;
13 }
14 var now = new Date();
15 var s = pad(now.getUTCDate())+'.'+pad(now.getUTCMonth()+1)+'.'+pad(now.getUTCFullYear())+' '+pad(now.getUTCHours())+':'+pad(now.getUTCMinutes())+' UTC';
16 $('#clock').html(s);
17 var delay = 1000 - (now % 1000);
18 setTimeout(updateClock, delay);
19 };
20
21 </script>
22 <?php include 'Module/control.php'; ?>
23 <link href="css/styles.css" rel="stylesheet" type="text/css" media="screen" />
24 </head>
25
26 <body style="background-color: #000;">
27 <div id="bg2"></div>
28 <div id="wrapper1">
29 <div id="header2">
30 <ul><li><a href="http://www.fact-project.org">FACT <li2>OBSERVATION SCHEDULING</li2></a></li></ul>
31 <div class="clear"></div>
32 </div>
33 <div id="content_bg_top"></div>
34 <div id="content_box">
35 <div id="column_box">
36 <div id="column1">
37 <div id="calendar" align="center"><?php require_once 'Module/calendar.php'; ?></div>
38 </div>
39 <div id="column3">
40 </div>
41 <div class="clear">
42 </div>
43 </div>
44 <div style="width:100%;" align="right" id='btn'>
45 <table width="100%">
46 <tr>
47 <td align="left" width="10px" style="font-weight:bold;">TIME: </td>
48 <script>updateClock();</script><td align="left" id="clock" style="font-size:16px; font-weight:bold; color:#FFFF00"></td>
49 <script>$('#clock').html(updateClock());</script>
50 <td align="right">
51 <input type="button" id="save" value="SAVE" class="button" title="Click to save">&nbsp;
52 <input type="button" id="LoadPrev" value="Load Previous Night" class="button" title="Click to load previous night">
53&nbsp;
54 <input type="button" id="help" value="HELP" class="button" title="Click to view help" align="left"></td>
55 </tr>
56 </table>
57 </div>
58 <div style="border:2px solid white; width:100%;" id="Scheduling">
59 <table width="100%" id="TableHolder" >
60 <tr>
61 <td width="15%" style="border:1px solid white; color:#37DFB1; font-size:14px;" align="center" >Time</td>
62 <td width="15%" style="border:1px solid white; color:#37DFB1; font-size:14px;" align="center" >Measurement</td>
63 <td width="15%" style="border:1px solid white; color:#37DFB1; font-size:14px;" align="center" >Source list</td>
64 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" align="center" >Value</td>
65 <td width="18%" style="border:1px solid white; color:#37DFB1; font-size:14px;" align="center" >Transaction</td>
66 </tr>
67 </table>
68 <div id="Data"><script>addRowClone();</script></div>
69 </div>
70
71 <div id="footer_bot">
72 <p>&copy; 2012 FACT Project Design by i-SoftTech</p>
73 <p>Western Mindanao State University (<strong><a href="http://www.wmsu.edu.ph">WMSU</a>,Philippines</strong>)</p>
74 </div>
75 </div>
76 <div id="data"></div>
77 <div id="day"></div>
78 </div>
79 </body>
80</html>
Note: See TracBrowser for help on using the repository browser.