Advertisement
Guest User

Untitled

a guest
Jan 27th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <div class="student-list" style="margin-left:0%;width:700px;margin-top:3%; ">
  2. <!-- Tab panes -->
  3. <div class="tab-content">
  4. <table data-link="row" class="datatable table table-hover">
  5. <thead>
  6. <tr>
  7. <th>Name</th>
  8. <th>Username</th>
  9. <th>Form Class</th>
  10. <th>Email</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <%
  15. if (!(teacherList == null)) {
  16. for (int i = 0; i < teacherList.size(); i++) {
  17. String name = teacherList.get(i).getName();
  18. String username = teacherList.get(i).getUsername();
  19. String password = teacherList.get(i).getPassword();
  20. String formclass = teacherList.get(i).getFormclass();
  21. String email = teacherList.get(i).getEmail();
  22. int teacherid = teacherList.get(i).getTeacherId();
  23. %>
  24. <tr data-toggle="modal" data-target="#updateModal" data-name="<%=name%>"
  25. data-username="<%=username%>" data-password="<%=password%>"
  26. data-formclass="<%=formclass%>"data-email="<%=email%>" data-teacherid="<%=teacherid%>">
  27. <td id="nameT"><%=teacherList.get(i).getName()%>
  28. </td>
  29. <td id="usernameT"><%=teacherList.get(i).getUsername()%>
  30. </td>
  31. <td id="formClassT"><%=teacherList.get(i).getFormclass()%>
  32. </td>
  33. <td id="emailT"><%=teacherList.get(i).getEmail()%>
  34. </td>
  35. </tr>
  36. <% }
  37. }
  38. %>
  39. </tbody>
  40. </table>
  41. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement