Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Print Certificate</title>
  5. <meta charset="UTF-8">
  6. <meta name="view-port" content="initial-scale=1.0 width=device-width"/>
  7. <link rel="stylesheet" type="text/css" href="css/style.css">
  8. <style type="text/css">
  9. .right{
  10. min-height:70vh;
  11. }
  12. </style>
  13. <script src="js/print.js" type="text/javascript"></script>
  14.  
  15. </head>
  16. <body onload="loadHim();">
  17. <!--navigation header-->
  18. <div class="header">
  19. <nav>
  20. <ul>
  21. <li><a href='index.html'>My School Online Results</a></li></a></li>
  22. <li class='menu_left'>
  23. <div class="form">
  24. <input type="button" value="Print Certificate" class="button" onclick="printPage();"/>
  25. </div>
  26. </li>
  27. </ul>
  28. </nav>
  29. </div>
  30. <!--page body-->
  31. <div class="body">
  32. <div class="page-content">
  33. <div class="left">
  34. <div class="mPic">
  35. <h3>New record</h3>
  36. <div class="form">
  37. <input type="button" value="New student" class="button" onclick="openModal();"/>
  38. </div>
  39.  
  40. <!-- new record form -->
  41. <div id="newStudent" class="newStudent">
  42. <!-- content -->
  43. <div class="studentContent">
  44. <span class="close">&times;</span>
  45. <p style="text-align:center;">New Student</p>
  46. <form class="form">
  47. <table border="0" width="100%">
  48. <tr>
  49. <td><input type="text" class="text" id="s_name" placeholder="Full Name" required/></td>
  50. <td><input type="text" class="text" id="s_id" placeholder="Student Id" required/></td>
  51. <td><input type="text" class="text" id="s_gender" placeholder="Gender" required/></td>
  52. </tr>
  53. <tr>
  54. <td colspan="2"><input type="text" class="text" id="s_one" placeholder="Subject one" required/></td>
  55. <td><input type="text" class="text" id="g_one" placeholder="Grade" required/></td>
  56. </tr>
  57. <tr>
  58. <td colspan="2"><input type="text" class="text" id="s_two" placeholder="Subject Two" required/></td>
  59. <td><input type="text" class="text" id="g_two" placeholder="Grade" required/></td>
  60. </tr>
  61. <tr>
  62. <td colspan="2"><input type="text" id="s_three" class="text" placeholder="Subject Three" required/></td>
  63. <td><input type="text" class="text" id="g_three" placeholder="Grade" required/></td>
  64. </tr>
  65. <tr>
  66. <td colspan="2"><input type="text" id="s_four" class="text" placeholder="Subject Four" required/></td>
  67. <td><input type="text" class="text" id="g_four" placeholder="Grade" required/></td>
  68. </tr>
  69. <tr>
  70. <td colspan="2"><input type="text" id="s_five" class="text" placeholder="Subject Five" required/></td>
  71. <td><input type="text" class="text" id="g_five" placeholder="Grade" required/></td>
  72. </tr>
  73. <tr>
  74. <td colspan="2"><input type="text" id="s_six" class="text" placeholder="Subject Six" required/></td>
  75. <td><input type="text" class="text" id="g_six" placeholder="Grade" required/></td>
  76. </tr>
  77. <tr>
  78. <th>Teacher's comments</th>
  79. <td colspan="2">
  80. <textarea type="text" class="text" id="t_comments" required></textarea>
  81. </td>
  82. </tr>
  83. <tr>
  84. <td>
  85. <input type="reset" value="Reset" class="button"/>
  86. </td>
  87. <td>
  88. <input type="button" value="Submit" class="button" onclick="loadStudent();"/>
  89. </td>
  90. </tr>
  91.  
  92. </table>
  93.  
  94. </form>
  95. </div>
  96.  
  97. </div>
  98.  
  99. </div>
  100. </div>
  101. <div class="right">
  102. <h3>Student Certificate</h3>
  103. <div class="dtails" id="dtails">
  104. <div class="printArea" id="printArea">
  105. <div class="s_logo">
  106. <img src="images/school_logo.png" width="60px" height="60px"/><br/>
  107. <h3>My School</h3>
  108. </div>
  109. <div class="student">
  110. <img src="images/student.png" width="40px" height="40px">
  111. <div class="kyc">
  112. Name: <span id="std_name">John Doe</span><br/>
  113. Gender: <span id="std_gender">M</span></br>
  114. ID: <span id="std_id">00000000</span> <br/>
  115. </div>
  116. </div>
  117.  
  118. <div class="grades">
  119. <table border="1" width="100%">
  120. <tr>
  121. <th colspan="3" style="text-align:center;">
  122. Subjects Taken
  123. </th>
  124. </tr>
  125. <tr>
  126. <th>Subject No.</th>
  127. <th>Subject Name</th>
  128. <th>Grade</th>
  129. </tr>
  130. <tr>
  131. <td>1</td>
  132. <td id="subject_1">Subject one</td>
  133. <td id="1">0</td>
  134. </tr>
  135. <tr>
  136. <td>2</td>
  137. <td id="subject_2">Subject Two</td>
  138. <td id="2">0</td>
  139. </tr>
  140. <tr>
  141. <td>3</td>
  142. <td id="subject_3">Subject Three</td>
  143. <td id="3">0</td>
  144. </tr>
  145. <tr>
  146. <td>4</td>
  147. <td id="subject_4">Subject Four</td>
  148. <td id="4">0</td>
  149. </tr>
  150. <tr>
  151. <td>5</td>
  152. <td id="subject_5">Subject Five</td>
  153. <td id="5">0</td>
  154. </tr>
  155. <tr>
  156. <td>6</td>
  157. <td id="subject_6">Subject Six</td>
  158. <td id="6">0</td>
  159. </tr>
  160. </table>
  161. <h4>Average Grade</h4>
  162. <p id="average">
  163.  
  164. </p>
  165. </div>
  166.  
  167. <div class="comments">
  168. <h3>Teachers Comments</h3>
  169. <span id="comments">
  170. click add new student
  171. </span>
  172. <h4>Teacher's Signature</h4>
  173. <img src="images/teacher.png" width="100px" height="30px">
  174. <h4>Principal's Signature</h4>
  175. <img src="images/principal.png" width="100px" height="30px">
  176. </div>
  177. <div class="p_footer">
  178. <div class="footer-item">
  179. My School. Reach us on email: no9o@yahoo.com or tel : +972586180834
  180. </div>
  181. </div>
  182.  
  183.  
  184.  
  185. </div>
  186.  
  187. </div>
  188. <div class="form">
  189. <input type="button" value="Print Certificate" class="button" onclick="printPage();"/>
  190. </div>
  191. </div>
  192. </div>
  193. <footer>
  194. <div class="footer-item">
  195. Copyrights are reserved to Aloushberg &copy 2017
  196. </div>
  197. </footer>
  198. </div>
  199.  
  200. </body>
  201. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement