|
| 1 | +<div id="mainDiv"></div> |
| 2 | + |
| 3 | + |
| 4 | +<script type="text/template" id="mainClasslist"> |
| 5 | + |
| 6 | + |
| 7 | +<div class="helpBox"> |
| 8 | + <p>The Student Management page allows you to edit student information as well as perform actions |
| 9 | +(delete, email, act as user) on individuals or a group of students. To edit a student's information, click on the appropriate property |
| 10 | +to change and retype or select the correct information. To perform an action on an individual student, select the action |
| 11 | +from the <em>Take Action</em> column. To pefrom an action on a group of students, select those students using the checkboxes on the first |
| 12 | +column, then select the action from the button above (or below) the table. Toggling the checkbox called <em>Select All</em> will select/deselect |
| 13 | +all rows in the table. </p> |
| 14 | +</div> |
| 15 | + |
| 16 | +<div> |
| 17 | + <h2>Not all Actions are available currently</h2> |
| 18 | + |
| 19 | + |
| 20 | + <p>Currently only the Delete and Add Users are available.</p></div> |
| 21 | + |
| 22 | + |
| 23 | +<div id="aboveTable"> |
| 24 | + <span id="selectalldiv"><label for="selectAll">Select All:</label><input type='checkbox' id='selectAllCB' /></span> |
| 25 | + <select name="actionPopup" class="actionMenu" id="mainActionMenu"> |
| 26 | +<option selected="selected" value="takeAction">Take Action on Selected Students</option> |
| 27 | +<option value="menuEmail">Email Selected Students</option> |
| 28 | +<option value="menuChangePassword">Change the Password of Selected Student</option> |
| 29 | +<option value="menuDelete">Delete Selected Students</option> |
| 30 | +</select> |
| 31 | + <div id="filterdiv"><label for='filter'>Filter :</label><input type='text' id='filter'/></div> |
| 32 | +<input type="button" value="Add Students" id="addStudentButton" /> |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +</div> |
| 37 | +<div id="users_table"></div> |
| 38 | + |
| 39 | + |
| 40 | +<div id="addStudDialog" class="dialog"> |
| 41 | + <p>Welcome to the Add Student Step-By-Step Wizard. Please select below if you wish to add students from a file or by typing them |
| 42 | + in by hand.</p> |
| 43 | +</div> |
| 44 | + |
| 45 | +</script> |
| 46 | + |
| 47 | +<script type="text/template" id="add_student_file_dialog_content"> |
| 48 | + |
| 49 | + <div style="float: right; width: 400px;"> |
| 50 | + <span>Select file:<input type="file" id="files" name="files" /></span><br> |
| 51 | + <button id="importStudFromFileButton" style="display: none">Import Students</button> |
| 52 | + </div> |
| 53 | + |
| 54 | + <p>To import students from a file, there are a few simple steps: |
| 55 | + <ol> |
| 56 | + <li id="step1">Select the file by clicking the "Select File" button above right (or drag a file onto the box). Note: currently only CSV files are supported |
| 57 | + (click here for help on this).</li> |
| 58 | + |
| 59 | + |
| 60 | + <li id="step2" style="display: none">Once the file is loaded, there are two things that must be done: |
| 61 | + <ol><li>Select the proper column header for each column. If you want to ignore a column, leave the column header blank.</li> |
| 62 | + <li>Select the rows that you want to import into WeBWorK. You may click the top checkbox to select/deselect all rows. |
| 63 | + |
| 64 | + </li> |
| 65 | + <li>Click the <em>Import Students</em> button. This will add the selected students to this class.</li> |
| 66 | + </ol></li> |
| 67 | + |
| 68 | + </ol></p> |
| 69 | + |
| 70 | + |
| 71 | + <div id="studentTable"></div></p> |
| 72 | +</script> |
| 73 | + |
| 74 | +<script type="text/template" id="add_student_man_dialog_content"> |
| 75 | + <p>Add students below in the designated boxes. If you leave the password field blank then the student will be given their user id |
| 76 | + as the initial password. </p> |
| 77 | + <div id='man_student_list'><%= content %></div> |
| 78 | + <div id="manDialogTableFooter"> |
| 79 | + <button id="import_stud_button">Import Students</button> |
| 80 | + <button id="add_more_button">Add Another Blank Line</button> |
| 81 | + </div> |
| 82 | +</script> |
| 83 | +<script type="text/template" id="manStudentTableTmpl"> |
| 84 | + <table id='man_student_table'><tbody><tr><td>Delete</td> |
| 85 | + <td>Login Name</td><td>First Name</td><td>Last Name</td><td>Email</td><td>Student Id</td><td>Status</td> |
| 86 | + <td>Section</td><td>Recitation</td> |
| 87 | + <td>Comment</td><td>Permission Level</td><td>Password</td></tr></tbody></table> |
| 88 | +</script> |
0 commit comments