Commit 019d920a authored by Samuel K Kebadu's avatar Samuel K Kebadu

changed size of text boxes for notifications and class search

parent 6944d6e1
......@@ -67,7 +67,7 @@
</p>
<hr>
<div id="select_crns"><table cellpadding="2" border="0"><tbody><tr><td>Search by: <input name="search_type" value="1" checked="checked" type="radio">Class Number &nbsp;<input name="search_type" value="2" type="radio">Class Name &nbsp;<input name="search_type" value="3" type="radio">Instructor </td><td><input id="search_text" style="height: 24px; width: 186px;" onkeydown="if (event.keyCode == 13) perform_search();"><button id="search_button" onclick="perform_search();" style="height: 24px;">Search</button></td></tr><tr><td>Or enter CRNs (individually, or separated by commas):&nbsp;&nbsp;</td><td><input id="crn" style="height: 24px; width: 200px;" onkeydown="if (event.keyCode == 13) entered_crns();"><button id="add_crn" onclick="entered_crns();" style="height: 24px;">Add</button></td><td></td></tr></tbody></table><p id="search_results_text"></p><table id="search_classes_table" cellpadding="4" border="1"></table><hr>Current Classes: <table id="enrolled_classes_table" cellpadding="4" border="1"><thead><tr><td><b>Remove</b></td><td><b>Notification</b></td><td><b>CRN</b></td><td><b>Class</b></td><td><b>Title</b></td><td><b>Section</b></td><td><b>Campus</b></td><td><b>Sessions</b></td></tr></thead></table><p><button onclick="generate_calendar(false);" style="height:28px; font-size:16px;">Generate Calendar</button></p></div>
<div id="select_crns"><table cellpadding="2" border="0"><tbody><tr><td>Search by: <input name="search_type" value="1" checked="checked" type="radio">Class Number &nbsp;<input name="search_type" value="2" type="radio">Class Name &nbsp;<input name="search_type" value="3" type="radio">Instructor </td><td><input id="search_text" style="height: 30px; width: 186px;" onkeydown="if (event.keyCode == 13) perform_search();"><button id="search_button" onclick="perform_search();" style="height: 30px;">Search</button></td></tr><tr><td>Or enter CRNs (individually, or separated by commas):&nbsp;&nbsp;</td><td><input id="crn" style="height: 30px; width: 200px;" onkeydown="if (event.keyCode == 13) entered_crns();"><button id="add_crn" onclick="entered_crns();" style="height: 30px;">Add</button></td><td></td></tr></tbody></table><p id="search_results_text"></p><table id="search_classes_table" cellpadding="4" border="1"></table><hr>Current Classes: <table id="enrolled_classes_table" cellpadding="4" border="1"><thead><tr><td><b>Remove</b></td><td><b>Notification</b></td><td><b>CRN</b></td><td><b>Class</b></td><td><b>Title</b></td><td><b>Section</b></td><td><b>Campus</b></td><td><b>Sessions</b></td></tr></thead></table><p><button onclick="generate_calendar(false);" style="height:28px; font-size:16px;">Generate Calendar</button></p></div>
<hr>
<script type="text/javascript">
......@@ -580,7 +580,7 @@
// add notification input box
td = document.createElement('td');
td.innerHTML = "<input type='number' style='width: 40px;' id='" + enrolled_classes[x].crn + "_notification' onchange='set_class_notification(" + enrolled_classes[x].crn + ");' value=" + enrolled_classes[x].notification + ' /> minutes';
td.innerHTML = "<input type='number' style='width: 60px;' id='" + enrolled_classes[x].crn + "_notification' onchange='set_class_notification(" + enrolled_classes[x].crn + ");' value=" + enrolled_classes[x].notification + ' /> minutes';
row.appendChild(td);
for (var y = 0; y < class_elements.length; y++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment