Changeset - fdf163d26e15
[Not reviewed]
default
0 2 0
nathang - 15 years ago 2010-07-10 20:27:22
ngelderloos7@gmail.com
added the schedule name to the output page and updated the TODO list
2 files changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -211,7 +211,7 @@ class Schedule
 

	
 
		// Reminder:
 
		// border-style:top right bottom left
 
		$header .= "<html><head><title>" . $this->title . "</title>\n\n<style type=\"text/css\">".
 
		$header .= "<html><head><title>" . $this->getName() . " :: " . $this->title . "</title>\n\n<style type=\"text/css\">".
 
				"\n.top{\n\tborder-style:solid solid none solid;\nbackground-color:#dddddd;\n}".
 
				"\n.mid{\n\tborder-style:none solid none solid;\nbackground-color:#dddddd;\n}".
 
				"\n.end{\n\tborder-style:none solid solid solid;\nbackground-color:#dddddd;\n}".
 
@@ -240,7 +240,7 @@ class Schedule
 

	
 
			"<p>There were a total of " . $this->possiblePermutations . " possible permutations. Only " . $this->nPermutations . " permutations had no class conflicts.</p>".
 

	
 
			"\n\n<div id=\"header\">\n<h1><em>SlatePermutate</em> - Scheduler</h1>\n</div><div id=\"content\">";
 
			"\n\n<div id=\"header\">\n<h1><em>SlatePermutate</em> - Scheduler</h1><h3>Schedule name: " . $this->getName() . "</h3>\n</div><div id=\"content\">";
 
			
 
		$footer .="</div></div><script type=\"text/javascript\" charset=\"utf-8\">". 
 
			"\n\tvar my_glider = new Glider('my-glider', {duration:0});".
input.php
Show inline comments
 
@@ -342,6 +342,11 @@ if(isset($_SESSION['saved']) && count($_
 
	<li>Check the saved schedule function. After input my default schedule, the output was the same
 
		as that of the demo. However, when I went back and clicked the "Saved Schedule 0" link, there 
 
		were then 48 possible schedules. It seems that the classes were added twice for some reason.</li>
 
	<li>Is there some way to automatically populate the fields when a user clicks on a saved schedule?
 
		This would probably be very useful, in the case that the individual would like to edit a saved
 
		schedule. Right now, it is only possible to edit the most previous schedule using the back button
 
		in the browser and this still requires the user to add the classes and schedules (although they
 
		already populated as soon as they are added).</li>
 
</ul>
 

	
 
</div>
0 comments (0 inline, 0 general)