source: schedule/authenticate/body.php@ 15485

Last change on this file since 15485 was 15485, checked in by tanio, 12 years ago
File size: 6.7 KB
Line 
1 <?php
2
3ini_set('error_reporting', E_ALL | E_STRICT);
4ini_set('display_errors', 'Off');
5 ?>
6
7
8
9<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
10<html xmlns="http://www.w3.org/1999/xhtml">
11 <head>
12 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
13 <title>FACT project</title>
14 <meta name="keywords" content="" />
15 <meta name="description" content="" />
16 <link href="css/styles.css" rel="stylesheet" type="text/css" media="screen" />
17 </head>
18 <body style="background-color: #000;">
19 <div id="bg2"></div>
20 <div id="wrapper1">
21 <div id="header2">
22 <ul>
23 <li><a href="http://www.fact-project.org">FACT <li2>OBSERVATION SCHEDULING</li2></a></li>
24 </ul>
25 <div class="clear"></div>
26 </div>
27 <div id="content_bg_top"></div>
28 <div id="content_box">
29
30 <br />
31 <div id="column_box">
32 <div id="column1">
33
34 <div id="calendar" align="center">
35
36 <?php require_once 'Module/calendar.php'; ?>
37 </div>
38 <br/>
39 <div width="100px">
40 <label style=" color:#37DFB1; font-size:14px;"> Search : </label><input type="search" id="textbox" size="26" style="font-weight:normal" />
41
42 <script type="text/javascript">
43 jQuery.fn.filterByText = function(textbox, selectSingleMatch) {
44 return this.each(function() {
45 var select = this;
46 var options = [];
47
48 $(select).find('option').each(function() {
49 options.push({value: $(this).val(), text: $(this).text()});
50 });
51 $(select).data('options', options);
52 $(textbox).bind('change keyup', function() {
53 var options = $(select).empty().scrollTop(0).data('options');
54 var search = $.trim($(this).val());
55 var regex = new RegExp(search,'gi');
56
57 $.each(options, function(i) {
58 var option = options[i];
59 if(option.text.match(regex) !== null) {
60 $(select).append(
61 $('<option>').text(option.text).val(option.value)
62 );
63 }
64
65
66 });
67 if (selectSingleMatch === true &&
68 $(select).children().length === 1) {
69 $(select).children().get(0).selected = true;
70 }
71 });
72 });
73 };
74
75 $(function() {
76
77 $('#source').filterByText($('#textbox'), true);
78
79
80 });
81 </script>
82 <script>
83 $(document).ready(function() {
84 $("#source").blur(function() {
85 if ($(this).val() != ''){
86 $("#textbox").attr("disabled", "disabled");
87 }else{
88 $("#textbox").removeAttr("disabled");
89 }
90 });
91
92 $("#remove").click(function(){
93
94 $("#textbox").removeAttr("disabled");
95
96
97 });
98
99
100 });
101 </script>
102
103
104 <br />
105 </div>
106
107
108 <table width="50%">
109 <tr>
110 <td style=" color:#37DFB1; font-size:14px;" align="center">
111 Source List
112 <br/>
113 <select name="source" id="source" multiple="multiple" style="width:100%; min-width:110px; heigth:150%;" size="10">
114 </select>
115
116 </td>
117 <td>
118 <br/>
119 <input type="button" id="add" value=">>">
120 <br/>
121 <input type="button" id="remove" value="<<">
122 </td>
123 <td style=" color:#37DFB1; font-size:14px;" align="center">
124 display<br/>
125 <select id="sourcedisplay" name="sourcedisplay" multiple="multiple" style="width:100%; min-width:110px; heigth:150%;" size="10"></select>
126 </td>
127 </tr>
128 </table>
129 </div>
130 <div id="column3">
131 <div id="Graph" style="height: 300px"></div>
132
133 </div>
134 <div class="clear">
135 </div>
136 </div>
137 <div style="width:100%;" align="right">
138 <input type="button" id="save" value="SAVE" class="button" title="Click to save">&nbsp;&nbsp;&nbsp;<input type="button" id="LoadPrev" value="Load Previous Night" class="button" title="Click to load previous night">
139 </div>
140 <div style="border:2px solid white; width:100%;">
141 <table width="100%" id="TableHolder" >
142 <tr>
143 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" >Time</td>
144 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" >Source list</td>
145 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" >Measurement</td>
146 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" >Value</td>
147 <td style="border:1px solid white; color:#37DFB1; font-size:14px;" >Transaction</td>
148 </tr>
149 <tr>
150 <td style="border:0px solid white; color:#37DFB1; font-size:14px;" align="center" >
151 <input type="time" value="19:00" >
152 </td>
153
154 <td style="border:0px solid white; color:#37DFB1; font-size:14px;" align="center" colspan="4">
155 <strong>Start Time</strong>
156 </td>
157 </tr>
158
159 </table>
160 <table width="100%" id="TableH">
161 </table>
162 <table width="100%" id="TableH1">
163 </table>
164
165 <table width="100%">
166 <tr>
167 <td>&nbsp;</td>
168 <td>&nbsp;</td>
169 <td>&nbsp;</td>
170 <td style="border:0px solid white; color:#37DFB1; font-size:14px;" align="center"><input type="time" value="07:00"></td>
171 <td style="border:0px solid white; color:#37DFB1; font-size:14px;" width="100%" align="center">
172 <strong>End Time</strong>
173 </td>
174
175 </tr>
176 </table>
177
178 </div>
179 <div style="border:2px solid white; width:100%;" align="center" id="SchedulingAppend">
180 </div>
181 <div style="border:2px solid white; width:100%;" align="center">
182 </div>
183
184 <div id="footer_bot">
185 <p>&copy; 2012 FACT Project Design by i-SoftTech <a href='logout.php' >Logout</a></p>
186 <p>Western Mindanao State University (<strong><a href="http://www.wmsu.edu.ph">WMSU</a>,Philippines</strong>)</p>
187 </div>
188 </div>
189
190
191
192 </div>
193
194 </body>
195</html>
Note: See TracBrowser for help on using the repository browser.