Files
@ 68572df791c6
Branch filter:
Location: SlatePermutate/input.php - annotation
68572df791c6
2.5 KiB
text/x-php
Tracking update
f13987338fbf f13987338fbf f13987338fbf f13987338fbf f13987338fbf f13987338fbf aa34ac34003f 27edaecc0d90 7c7e7468078f aa34ac34003f 7c7e7468078f 7c7e7468078f aa34ac34003f 27edaecc0d90 27edaecc0d90 40ac3e1dc483 40ac3e1dc483 40ac3e1dc483 f13987338fbf fcd0768aa12d f13987338fbf 9924f8d92ad6 5cce14d5f1c2 79cfb5311e9d 986e496149ed 5cce14d5f1c2 7c7e7468078f 185eb297fcfe 185eb297fcfe 7cac9a0cbf3a 185eb297fcfe 185eb297fcfe 185eb297fcfe 185eb297fcfe 185eb297fcfe 185eb297fcfe 185eb297fcfe 7cac9a0cbf3a 7cac9a0cbf3a 185eb297fcfe 40ac3e1dc483 40ac3e1dc483 1ada80542b2a 27edaecc0d90 27edaecc0d90 40ac3e1dc483 1ada80542b2a 185eb297fcfe 27edaecc0d90 185eb297fcfe 7c7e7468078f 185eb297fcfe 27edaecc0d90 185eb297fcfe 27edaecc0d90 986e496149ed 986e496149ed 986e496149ed 2e1da4fcc1b6 2e1da4fcc1b6 2e1da4fcc1b6 185eb297fcfe 7c7e7468078f 1a11bfb5181e 27edaecc0d90 27edaecc0d90 c49dba728f72 c49dba728f72 | <?php
include_once 'errors.php';
include_once 'class.schedule.php';
include_once 'class.class.php';
include_once 'class.section.php';
include_once 'inc/class.page.php';
$scripts = array('jQuery','jValidate','schedInput');
$inputPage = new page('Scheduler', $scripts);
$inputPage->showSavedScheds($_SESSION);
?>
<form method="post" action="process.php" id="scheduleForm">
<table>
<tr>
<table id="jsrows">
<tr>
<td colspan="11" style="padding-bottom:2em;"><input id="scheduleName" class="defText" type="text" class="required" title="Schedule Name" name="postData[name]" />
<em>(For example: Fall <?php echo Date("Y"); ?>)</em>
</td>
</tr>
<tr>
<td colspan="11" style="padding-bottom: 2em;"><select id="isNumeric" type="text" class="required" name="isnumbered" ><option value="numerous">Custom Section Labels</option><option value="numbered">Numbered Section Labels</option><option value="lettered">Lettered Section Labels</option></select>
<!-- Header -->
<tr>
<td>Class</td>
<td class="center" id="letterNumber">Section</td>
<td class="center">Start Time</td>
<td class="center">End Time</td>
<td class="center">M</td>
<td class="center">Tu</td>
<td class="center">W</td>
<td class="center">Th</td>
<td class="center">F</td>
<td class="center"></td>
<td class="center"></td>
</tr>
</table>
</tr>
<tr><td> <span class="gray" style="padding: 0 3.5em 0 3.5em;" id="addclass">Add Class - This row should be just as wide as the one above someday</span></td></tr>
</table>
<!-- <div class="paddingtop" id="classage"><input type="button" value="Add class" /></div> -->
<div class="paddingtop"><input style="float:left;" type="submit" value="Find me a schedule!" /></div>
</form>
<p> <br /></p>
<h3>TODO:</h3>
<ul>
<li>Autoincrement section num/letter/custom labels</li>
<li>Make output and print output formatting look nicer</li>
<li>Make printing work for saved jobs where jobkey != 0</li>
<li>After selecting a start time, set the end time to one hour after the start time</li>
<li><strong>Append</strong> sections</li>
<li>Move the add class button to somewhere nicer, maybe a gray row at the bottom. Make the submit button more obvious.</li>
<li>Form validation to ensure endtime is after starttime, at least one day is checked.</li>
<li>Auto-populate form based on saved schedule?</li>
<li>Grab data from school sites such as <a href="http://www.cedarville.edu/courses/schedule/2010fa_be_bebl.htm" target="_blank">this?</a></li>
</ul>
<?php
$inputPage->foot();
|