source: schedule/authenticate/body.php@ 15505

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