Changeset - d31635d04e74
[Not reviewed]
default
0 3 0
Ethan Zonca - 15 years ago 2010-10-27 22:14:38
ez@ethanzonca.com
Restyle show/hide bar, other fixes
3 files changed with 33 insertions and 12 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -249,26 +249,32 @@ class Schedule
 
    }		
 

	
 
    echo "\n";
 
    echo '<div id="show-box" class="gray righttext" style="float: right; padding-right: 5pt; padding-bottom: 7pt">
 
  <form>
 
     <h3>Display</h3>
 
     <div style="text-align:left;"><input id="show-prof" name="show-prof" type="checkbox" checked="checked" /><label for="show-prof">Professor</label></div>
 
     <div style="text-align:left;"><input id="show-location" name="show-location" type="checkbox" /><label for="show-location">Room</label></div>
 
     <div style="text-align:left;"><input id="show-synonym" name="show-synonym" type="checkbox" /><label for="show-synonym">Synonym</label></div>
 
  </form>
 
  </div> <!-- id="show-box" -->';
 

	
 
    if($this->nPermutations > 0)
 
      {
 
	$table .= "<div id=\"tabs\">\n"
 
	  . "  <ul>\n";
 

	
 

	
 
    . '<div id="show-box" class="show-buttons">
 
  <form>
 
     <label><strong>Display:</strong></label>
 
     <input id="show-prof" name="show-prof" type="checkbox" checked="checked" /><label for="show-prof">Professor</label>
 
     <input id="show-location" name="show-location" type="checkbox" /><label for="show-location">Room</label>
 
     <input id="show-synonym" name="show-synonym" type="checkbox" /><label for="show-synonym">Synonym</label>
 
  </form>
 
  </div> <!-- id="show-box" -->'
 

	
 

	
 

	
 

	
 
	  . "<div><ul>\n";
 
			
 
	for($nn = 1; $nn <= $this->nPermutations; $nn++)
 
	  {
 
	    $table .= "<li><a href=\"#tabs-" . $nn . "\">&nbsp;" . $nn . "&nbsp;</a></li>\n";
 
	  }
 
			
 
	$table .= "    </ul><div class=\"clear\"><p> </p> </div>\n  \n"
 
	$table .= "    </ul></div><div class=\"clear\"><p> </p> </div>\n  \n"
 
	  . "  <div class=\"scroller\">\n"
 
	  . "    <div class=\"scontent\">\n";
 
		
school.d/cedarville.inc
Show inline comments
 
@@ -15,10 +15,10 @@ function cedarville_instructions_html()
 
  return <<<EOF
 
<h2>Cedarville-specific Instructions</h2>
 
<p>
 
  SlatePermutate can be a useful tool for scheduling your next semester at <a href="http://cedarville.edu/">Cedarville University</a>.
 
  SlatePermutate can be a useful tool for scheduling your next semester at <a href="http://cedarville.edu/" target="_blank">Cedarville University</a>.
 
</p>
 
<ol>
 
  <li>Sign up and <strong>talk to your advisor</strong> and figure out which courses you need to take.</li>
 
  <li> <strong>Talk to your advisor</strong> and figure out which courses you need to take. Use the <a href="http://www.cedarville.edu/courses/schedule/">course list</a> to see what's available.</li>
 
  <li>Enter the course ID, such as PHYS-1020, in the Class ID blank. You will see a list of auto-suggestions.</li>
 
  <li><strong>You must click on the auto-suggested item</strong> to automatically add all sections of the class.</li>
 
  <li>Submit your schedule and view all of the different permutations of your schedule.</li>
styles/output.css
Show inline comments
 
@@ -137,3 +137,18 @@ margin-bottom: 2px;
 
}
 
#tabs li /* , .ui-corner-all, .ui-corner-top */ { background: none!important; }
 
#tabs li { border: none!important; }
 

	
 
.show-buttons {
 

	
 
  width: 99%;
 
  margin: auto;
 
  padding: 2px;
 
  background: #EEE;
 
  border: 1px solid #AAA;
 
  border-radius: 3px;
 
  -moz-border-radus: 3px;
 

	
 
}
 
.show-buttons label {
 
  padding-right: .5em;
 
}
0 comments (0 inline, 0 general)