gaku_core 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1134) hide show
  1. checksums.yaml +7 -0
  2. data/app/assets/images/background.jpg +0 -0
  3. data/app/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
  4. data/app/assets/images/bootstrap/glyphicons-halflings.png +0 -0
  5. data/app/assets/images/check.png +0 -0
  6. data/app/assets/images/cross.png +0 -0
  7. data/app/assets/images/dataTables/back_disabled.png +0 -0
  8. data/app/assets/images/dataTables/back_enabled.png +0 -0
  9. data/app/assets/images/dataTables/back_enabled_hover.png +0 -0
  10. data/app/assets/images/dataTables/forward_disabled.png +0 -0
  11. data/app/assets/images/dataTables/forward_enabled.png +0 -0
  12. data/app/assets/images/dataTables/forward_enabled_hover.png +0 -0
  13. data/app/assets/images/dataTables/sort_asc.png +0 -0
  14. data/app/assets/images/dataTables/sort_asc_disabled.png +0 -0
  15. data/app/assets/images/dataTables/sort_both.png +0 -0
  16. data/app/assets/images/dataTables/sort_desc.png +0 -0
  17. data/app/assets/images/dataTables/sort_desc_disabled.png +0 -0
  18. data/app/assets/images/down_arrow.gif +0 -0
  19. data/app/assets/images/elements/highlight.png +0 -0
  20. data/app/assets/images/elements/toolbar1.png +0 -0
  21. data/app/assets/images/favicon.ico +0 -0
  22. data/app/assets/images/gaku-logo.png +0 -0
  23. data/app/assets/images/gakuengine.png +0 -0
  24. data/app/assets/images/gakuengine20.png +0 -0
  25. data/app/assets/images/icon-chair.png +0 -0
  26. data/app/assets/images/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  27. data/app/assets/images/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  28. data/app/assets/images/images/ui-bg_glass_20_555555_1x400.png +0 -0
  29. data/app/assets/images/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  30. data/app/assets/images/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  31. data/app/assets/images/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  32. data/app/assets/images/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  33. data/app/assets/images/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  34. data/app/assets/images/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  35. data/app/assets/images/images/ui-icons_222222_256x240.png +0 -0
  36. data/app/assets/images/images/ui-icons_4b8e0b_256x240.png +0 -0
  37. data/app/assets/images/images/ui-icons_a83300_256x240.png +0 -0
  38. data/app/assets/images/images/ui-icons_cccccc_256x240.png +0 -0
  39. data/app/assets/images/images/ui-icons_ffffff_256x240.png +0 -0
  40. data/app/assets/images/pictures/thumb/missing.png +0 -0
  41. data/app/assets/images/rails.png +0 -0
  42. data/app/assets/images/raw/Logo_GAKUEngine.eps +0 -0
  43. data/app/assets/images/raw/Logo_GAKUEngine.svg +82 -0
  44. data/app/assets/images/raw/gakuengine-logoset.svg +332 -0
  45. data/app/assets/images/tbs-img/glyphicons-halflings-white.png +0 -0
  46. data/app/assets/images/tbs-img/glyphicons-halflings.png +0 -0
  47. data/app/assets/images/themes/gakuengine/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  48. data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  49. data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  50. data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  51. data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_40_111111_1x100.png +0 -0
  52. data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  53. data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_55_165e83_1x100.png +0 -0
  54. data/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_55_00a3af_1x100.png +0 -0
  55. data/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_99_00a3af_1x100.png +0 -0
  56. data/app/assets/images/themes/gakuengine/images/ui-icons_222222_256x240.png +0 -0
  57. data/app/assets/images/themes/gakuengine/images/ui-icons_70f000_256x240.png +0 -0
  58. data/app/assets/images/themes/gakuengine/images/ui-icons_bbbbbb_256x240.png +0 -0
  59. data/app/assets/images/themes/gakuengine/images/ui-icons_ededed_256x240.png +0 -0
  60. data/app/assets/images/themes/gakuengine/images/ui-icons_ffcf29_256x240.png +0 -0
  61. data/app/assets/images/themes/gakuengine/images/ui-icons_ffffff_256x240.png +0 -0
  62. data/app/assets/images/tick.png +0 -0
  63. data/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  64. data/app/assets/images/up_arrow.gif +0 -0
  65. data/app/assets/javascripts/gaku/admin.coffee +30 -0
  66. data/app/assets/javascripts/gaku/backbone/collections/attendance_types.js.coffee +2 -0
  67. data/app/assets/javascripts/gaku/backbone/collections/courses.js.coffee +2 -0
  68. data/app/assets/javascripts/gaku/backbone/collections/exams.js.coffee +2 -0
  69. data/app/assets/javascripts/gaku/backbone/models/attendance.js.coffee +1 -0
  70. data/app/assets/javascripts/gaku/backbone/models/attendance_type.coffee +1 -0
  71. data/app/assets/javascripts/gaku/backbone/models/calculation.js.coffee +43 -0
  72. data/app/assets/javascripts/gaku/backbone/models/completed.js.coffee +1 -0
  73. data/app/assets/javascripts/gaku/backbone/models/course.js.coffee +2 -0
  74. data/app/assets/javascripts/gaku/backbone/models/exam.js.coffee +1 -0
  75. data/app/assets/javascripts/gaku/backbone/models/exam_attendance.js.coffee +4 -0
  76. data/app/assets/javascripts/gaku/backbone/models/exam_portion_score.js.coffee +18 -0
  77. data/app/assets/javascripts/gaku/backbone/routers/exams_router.js.coffee +22 -0
  78. data/app/assets/javascripts/gaku/backbone/templates/attendance_chooser.jst.eco +19 -0
  79. data/app/assets/javascripts/gaku/backbone/templates/tables/attendance_show.jst.eco +3 -0
  80. data/app/assets/javascripts/gaku/backbone/templates/tables/exam_calculations.jst.eco +39 -0
  81. data/app/assets/javascripts/gaku/backbone/templates/tables/exam_completion.jst.eco +1 -0
  82. data/app/assets/javascripts/gaku/backbone/templates/tables/exam_score.jst.eco +53 -0
  83. data/app/assets/javascripts/gaku/backbone/templates/tables/exam_table.jst.eco +32 -0
  84. data/app/assets/javascripts/gaku/backbone/templates/tables/exam_user.jst.eco +18 -0
  85. data/app/assets/javascripts/gaku/backbone/views/exam_attendance.js.coffee +51 -0
  86. data/app/assets/javascripts/gaku/backbone/views/exam_attendance_show.js.coffee +6 -0
  87. data/app/assets/javascripts/gaku/backbone/views/exam_calculations.js.coffee +15 -0
  88. data/app/assets/javascripts/gaku/backbone/views/exam_completion.js.coffee +7 -0
  89. data/app/assets/javascripts/gaku/backbone/views/exam_portion_score.js.coffee +8 -0
  90. data/app/assets/javascripts/gaku/backbone/views/exam_score_view.js.coffee +7 -0
  91. data/app/assets/javascripts/gaku/backbone/views/exam_table_view.js.coffee +227 -0
  92. data/app/assets/javascripts/gaku/backbone/views/exam_user_view.js.coffee +8 -0
  93. data/app/assets/javascripts/gaku/class_groups.js.coffee +11 -0
  94. data/app/assets/javascripts/gaku/courses.js.coffee +12 -0
  95. data/app/assets/javascripts/gaku/exams.js.coffee +23 -0
  96. data/app/assets/javascripts/gaku/extracurricular_activities.js.coffee +12 -0
  97. data/app/assets/javascripts/gaku/gaku.js.coffee +174 -0
  98. data/app/assets/javascripts/gaku/gaku_core.js +35 -0
  99. data/app/assets/javascripts/gaku/slide.js.erb +14 -0
  100. data/app/assets/javascripts/gaku/students.js.coffee +36 -0
  101. data/app/assets/javascripts/gaku/syllabuses.js.coffee +26 -0
  102. data/app/assets/javascripts/gaku/teachers.js.coffee +12 -0
  103. data/app/assets/stylesheets/gaku/admin/disposals.css.scss +14 -0
  104. data/app/assets/stylesheets/gaku/class_groups.css.scss +19 -0
  105. data/app/assets/stylesheets/gaku/course_groups.css.scss +14 -0
  106. data/app/assets/stylesheets/gaku/courses.css.scss +19 -0
  107. data/app/assets/stylesheets/gaku/exams.css.scss +72 -0
  108. data/app/assets/stylesheets/gaku/gaku.css.scss +172 -0
  109. data/app/assets/stylesheets/gaku/gaku_core.css +10 -0
  110. data/app/assets/stylesheets/gaku/gaku_import.scss +2 -0
  111. data/app/assets/stylesheets/gaku/students.css.scss +22 -0
  112. data/app/assets/templates/roster.xls +0 -0
  113. data/app/controllers/concerns/enrollments_controller.rb +84 -0
  114. data/app/controllers/concerns/polymorphic_resource_concern.rb +47 -0
  115. data/app/controllers/concerns/student_chooser_controller.rb +52 -0
  116. data/app/controllers/gaku/addresses_controller.rb +105 -0
  117. data/app/controllers/gaku/admin/achievements_controller.rb +64 -0
  118. data/app/controllers/gaku/admin/attendance_types_controller.rb +60 -0
  119. data/app/controllers/gaku/admin/base_controller.rb +40 -0
  120. data/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +14 -0
  121. data/app/controllers/gaku/admin/changes/student_changes_controller.rb +13 -0
  122. data/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +13 -0
  123. data/app/controllers/gaku/admin/commute_method_types_controller.rb +54 -0
  124. data/app/controllers/gaku/admin/contact_types_controller.rb +55 -0
  125. data/app/controllers/gaku/admin/disposals_controller.rb +82 -0
  126. data/app/controllers/gaku/admin/enrollment_statuses_controller.rb +58 -0
  127. data/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +70 -0
  128. data/app/controllers/gaku/admin/grading_method_sets_controller.rb +69 -0
  129. data/app/controllers/gaku/admin/grading_methods_controller.rb +58 -0
  130. data/app/controllers/gaku/admin/presets_controller.rb +40 -0
  131. data/app/controllers/gaku/admin/roles_controller.rb +54 -0
  132. data/app/controllers/gaku/admin/school_years/semesters_controller.rb +31 -0
  133. data/app/controllers/gaku/admin/school_years_controller.rb +30 -0
  134. data/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +53 -0
  135. data/app/controllers/gaku/admin/schools/campuses_controller.rb +46 -0
  136. data/app/controllers/gaku/admin/schools/programs_controller.rb +48 -0
  137. data/app/controllers/gaku/admin/schools_controller.rb +59 -0
  138. data/app/controllers/gaku/admin/specialties_controller.rb +58 -0
  139. data/app/controllers/gaku/admin/states_controller.rb +49 -0
  140. data/app/controllers/gaku/admin/system_tools_controller.rb +8 -0
  141. data/app/controllers/gaku/admin/templates_controller.rb +49 -0
  142. data/app/controllers/gaku/admin/users_controller.rb +82 -0
  143. data/app/controllers/gaku/assignments_controller.rb +15 -0
  144. data/app/controllers/gaku/attachments_controller.rb +88 -0
  145. data/app/controllers/gaku/attendances_controller.rb +29 -0
  146. data/app/controllers/gaku/class_group_enrollments_controller.rb +15 -0
  147. data/app/controllers/gaku/class_groups/courses_controller.rb +44 -0
  148. data/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +38 -0
  149. data/app/controllers/gaku/class_groups/students_controller.rb +43 -0
  150. data/app/controllers/gaku/class_groups_controller.rb +59 -0
  151. data/app/controllers/gaku/contacts_controller.rb +103 -0
  152. data/app/controllers/gaku/course_enrollments_controller.rb +10 -0
  153. data/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +50 -0
  154. data/app/controllers/gaku/course_groups_controller.rb +81 -0
  155. data/app/controllers/gaku/courses/enrollments_controller.rb +55 -0
  156. data/app/controllers/gaku/courses/semester_courses_controller.rb +37 -0
  157. data/app/controllers/gaku/courses_controller.rb +73 -0
  158. data/app/controllers/gaku/devise/passwords_controller.rb +4 -0
  159. data/app/controllers/gaku/devise/registrations_controller.rb +60 -0
  160. data/app/controllers/gaku/devise/sessions_controller.rb +4 -0
  161. data/app/controllers/gaku/exam_portion_scores_controller.rb +18 -0
  162. data/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +53 -0
  163. data/app/controllers/gaku/exams/exam_portions_controller.rb +55 -0
  164. data/app/controllers/gaku/exams_controller.rb +140 -0
  165. data/app/controllers/gaku/extracurricular_activities/students_controller.rb +55 -0
  166. data/app/controllers/gaku/extracurricular_activities_controller.rb +48 -0
  167. data/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +10 -0
  168. data/app/controllers/gaku/gaku_controller.rb +93 -0
  169. data/app/controllers/gaku/home_controller.rb +10 -0
  170. data/app/controllers/gaku/notes_controller.rb +72 -0
  171. data/app/controllers/gaku/schedules_controller.rb +11 -0
  172. data/app/controllers/gaku/states_controller.rb +17 -0
  173. data/app/controllers/gaku/students/class_group_enrollments_controller.rb +59 -0
  174. data/app/controllers/gaku/students/course_enrollments_controller.rb +43 -0
  175. data/app/controllers/gaku/students/guardians_controller.rb +85 -0
  176. data/app/controllers/gaku/students/importer_controller.rb +75 -0
  177. data/app/controllers/gaku/students/simple_grades_controller.rb +59 -0
  178. data/app/controllers/gaku/students/student_achievements_controller.rb +49 -0
  179. data/app/controllers/gaku/students/student_specialties_controller.rb +60 -0
  180. data/app/controllers/gaku/students_controller.rb +189 -0
  181. data/app/controllers/gaku/syllabuses/assignments_controller.rb +20 -0
  182. data/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +38 -0
  183. data/app/controllers/gaku/syllabuses/exams_controller.rb +53 -0
  184. data/app/controllers/gaku/syllabuses/importer_controller.rb +19 -0
  185. data/app/controllers/gaku/syllabuses_controller.rb +45 -0
  186. data/app/controllers/gaku/teachers_controller.rb +113 -0
  187. data/app/decorators/gaku/guardian_decorator.rb +6 -0
  188. data/app/decorators/gaku/person_decorator.rb +63 -0
  189. data/app/decorators/gaku/student_decorator.rb +29 -0
  190. data/app/decorators/gaku/teacher_decorator.rb +6 -0
  191. data/app/helpers/gaku/autocomplete_helper.rb +31 -0
  192. data/app/helpers/gaku/count_helper.rb +13 -0
  193. data/app/helpers/gaku/flash_helper.rb +16 -0
  194. data/app/helpers/gaku/gaku_helper.rb +138 -0
  195. data/app/helpers/gaku/icon_helper.rb +26 -0
  196. data/app/helpers/gaku/person_helper.rb +55 -0
  197. data/app/helpers/gaku/presets_helper.rb +41 -0
  198. data/app/helpers/gaku/sort_helper.rb +17 -0
  199. data/app/helpers/gaku/student_chooser_helper.rb +12 -0
  200. data/app/helpers/gaku/students_helper.rb +42 -0
  201. data/app/helpers/gaku/translations_helper.rb +181 -0
  202. data/app/models/concerns/addresses.rb +17 -0
  203. data/app/models/concerns/contacts.rb +17 -0
  204. data/app/models/concerns/notes.rb +8 -0
  205. data/app/models/concerns/person.rb +18 -0
  206. data/app/models/concerns/picture.rb +9 -0
  207. data/app/models/concerns/trashable.rb +17 -0
  208. data/app/models/gaku/ability.rb +59 -0
  209. data/app/models/gaku/achievement.rb +17 -0
  210. data/app/models/gaku/address.rb +107 -0
  211. data/app/models/gaku/admin_ability.rb +21 -0
  212. data/app/models/gaku/assignment.rb +15 -0
  213. data/app/models/gaku/assignment_score.rb +13 -0
  214. data/app/models/gaku/attachment.rb +21 -0
  215. data/app/models/gaku/attendance.rb +16 -0
  216. data/app/models/gaku/attendance_type.rb +15 -0
  217. data/app/models/gaku/campus.rb +18 -0
  218. data/app/models/gaku/class_group.rb +27 -0
  219. data/app/models/gaku/class_group_course_enrollment.rb +17 -0
  220. data/app/models/gaku/class_group_enrollment.rb +30 -0
  221. data/app/models/gaku/commute_method_type.rb +15 -0
  222. data/app/models/gaku/contact.rb +107 -0
  223. data/app/models/gaku/contact_type.rb +13 -0
  224. data/app/models/gaku/country.rb +22 -0
  225. data/app/models/gaku/course.rb +57 -0
  226. data/app/models/gaku/course_enrollment.rb +17 -0
  227. data/app/models/gaku/course_group.rb +16 -0
  228. data/app/models/gaku/course_group_enrollment.rb +16 -0
  229. data/app/models/gaku/enrollment_status.rb +25 -0
  230. data/app/models/gaku/exam.rb +109 -0
  231. data/app/models/gaku/exam_portion.rb +86 -0
  232. data/app/models/gaku/exam_portion_score.rb +12 -0
  233. data/app/models/gaku/exam_schedule.rb +10 -0
  234. data/app/models/gaku/exam_score.rb +9 -0
  235. data/app/models/gaku/exam_syllabus.rb +17 -0
  236. data/app/models/gaku/external_school_record.rb +15 -0
  237. data/app/models/gaku/extracurricular_activity.rb +14 -0
  238. data/app/models/gaku/extracurricular_activity_enrollment.rb +15 -0
  239. data/app/models/gaku/faculty.rb +12 -0
  240. data/app/models/gaku/grading_method.rb +18 -0
  241. data/app/models/gaku/grading_method_set.rb +31 -0
  242. data/app/models/gaku/grading_method_set_item.rb +32 -0
  243. data/app/models/gaku/guardian.rb +22 -0
  244. data/app/models/gaku/import_file.rb +5 -0
  245. data/app/models/gaku/install.rb +8 -0
  246. data/app/models/gaku/lesson.rb +9 -0
  247. data/app/models/gaku/lesson_plan.rb +13 -0
  248. data/app/models/gaku/level.rb +16 -0
  249. data/app/models/gaku/note.rb +7 -0
  250. data/app/models/gaku/preset.rb +75 -0
  251. data/app/models/gaku/program.rb +27 -0
  252. data/app/models/gaku/program_level.rb +10 -0
  253. data/app/models/gaku/program_specialty.rb +10 -0
  254. data/app/models/gaku/program_syllabus.rb +11 -0
  255. data/app/models/gaku/role.rb +14 -0
  256. data/app/models/gaku/schedule.rb +5 -0
  257. data/app/models/gaku/scholarship_status.rb +15 -0
  258. data/app/models/gaku/school.rb +48 -0
  259. data/app/models/gaku/school_role.rb +13 -0
  260. data/app/models/gaku/school_year.rb +18 -0
  261. data/app/models/gaku/semester.rb +37 -0
  262. data/app/models/gaku/semester_class_group.rb +21 -0
  263. data/app/models/gaku/semester_course.rb +21 -0
  264. data/app/models/gaku/simple_grade.rb +14 -0
  265. data/app/models/gaku/specialty.rb +17 -0
  266. data/app/models/gaku/state.rb +35 -0
  267. data/app/models/gaku/student.rb +94 -0
  268. data/app/models/gaku/student_achievement.rb +10 -0
  269. data/app/models/gaku/student_guardian.rb +8 -0
  270. data/app/models/gaku/student_specialty.rb +19 -0
  271. data/app/models/gaku/syllabus.rb +22 -0
  272. data/app/models/gaku/teacher.rb +9 -0
  273. data/app/models/gaku/template.rb +20 -0
  274. data/app/models/gaku/user.rb +46 -0
  275. data/app/models/gaku/user_role.rb +8 -0
  276. data/app/models/gaku/versioning/address_version.rb +9 -0
  277. data/app/models/gaku/versioning/contact_version.rb +7 -0
  278. data/app/models/gaku/versioning/student_version.rb +54 -0
  279. data/app/views/gaku/addresses/_address.html.slim +5 -0
  280. data/app/views/gaku/addresses/_addresses.html.slim +27 -0
  281. data/app/views/gaku/addresses/_fields.html.slim +14 -0
  282. data/app/views/gaku/addresses/_form.html.slim +3 -0
  283. data/app/views/gaku/addresses/_form_fields.html.slim +26 -0
  284. data/app/views/gaku/addresses/_modal.html.slim +6 -0
  285. data/app/views/gaku/addresses/_primary_field.html.slim +13 -0
  286. data/app/views/gaku/addresses/create.js.erb +12 -0
  287. data/app/views/gaku/addresses/destroy.js.erb +8 -0
  288. data/app/views/gaku/addresses/edit.js.erb +4 -0
  289. data/app/views/gaku/addresses/make_primary.js.erb +7 -0
  290. data/app/views/gaku/addresses/new.js.erb +4 -0
  291. data/app/views/gaku/addresses/recovery.js.erb +1 -0
  292. data/app/views/gaku/addresses/soft_delete.js.erb +8 -0
  293. data/app/views/gaku/addresses/update.js.erb +5 -0
  294. data/app/views/gaku/admin/achievements/_achievement.html.slim +2 -0
  295. data/app/views/gaku/admin/achievements/_fields.html.slim +7 -0
  296. data/app/views/gaku/admin/achievements/_form.html.slim +3 -0
  297. data/app/views/gaku/admin/achievements/_form_fields.html.slim +4 -0
  298. data/app/views/gaku/admin/achievements/_modal.html.slim +6 -0
  299. data/app/views/gaku/admin/achievements/destroy.js.erb +2 -0
  300. data/app/views/gaku/admin/achievements/edit.js.erb +3 -0
  301. data/app/views/gaku/admin/achievements/index.html.slim +22 -0
  302. data/app/views/gaku/admin/achievements/new.js.erb +3 -0
  303. data/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +2 -0
  304. data/app/views/gaku/admin/attendance_types/_fields.html.slim +9 -0
  305. data/app/views/gaku/admin/attendance_types/_form.html.slim +3 -0
  306. data/app/views/gaku/admin/attendance_types/_form_fields.html.slim +6 -0
  307. data/app/views/gaku/admin/attendance_types/_modal.html.slim +6 -0
  308. data/app/views/gaku/admin/attendance_types/create.js.erb +7 -0
  309. data/app/views/gaku/admin/attendance_types/destroy.js.erb +2 -0
  310. data/app/views/gaku/admin/attendance_types/edit.js.erb +4 -0
  311. data/app/views/gaku/admin/attendance_types/index.html.slim +24 -0
  312. data/app/views/gaku/admin/attendance_types/index.json.rb +1 -0
  313. data/app/views/gaku/admin/attendance_types/new.js.erb +4 -0
  314. data/app/views/gaku/admin/attendance_types/update.js.erb +4 -0
  315. data/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +10 -0
  316. data/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +19 -0
  317. data/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +9 -0
  318. data/app/views/gaku/admin/changes/student_address_changes/index.html.slim +11 -0
  319. data/app/views/gaku/admin/changes/student_changes/_change.html.slim +10 -0
  320. data/app/views/gaku/admin/changes/student_changes/_changes.html.slim +18 -0
  321. data/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +9 -0
  322. data/app/views/gaku/admin/changes/student_changes/index.html.slim +13 -0
  323. data/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +10 -0
  324. data/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +19 -0
  325. data/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +9 -0
  326. data/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +11 -0
  327. data/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +2 -0
  328. data/app/views/gaku/admin/commute_method_types/_fields.html.slim +4 -0
  329. data/app/views/gaku/admin/commute_method_types/_form.html.slim +3 -0
  330. data/app/views/gaku/admin/commute_method_types/_modal.html.slim +6 -0
  331. data/app/views/gaku/admin/commute_method_types/create.js.erb +7 -0
  332. data/app/views/gaku/admin/commute_method_types/destroy.js.erb +2 -0
  333. data/app/views/gaku/admin/commute_method_types/edit.js.erb +3 -0
  334. data/app/views/gaku/admin/commute_method_types/index.html.slim +18 -0
  335. data/app/views/gaku/admin/commute_method_types/new.js.erb +3 -0
  336. data/app/views/gaku/admin/commute_method_types/update.js.erb +3 -0
  337. data/app/views/gaku/admin/contact_types/_contact_type.html.slim +2 -0
  338. data/app/views/gaku/admin/contact_types/_fields.html.slim +4 -0
  339. data/app/views/gaku/admin/contact_types/_form.html.slim +3 -0
  340. data/app/views/gaku/admin/contact_types/_modal.html.slim +6 -0
  341. data/app/views/gaku/admin/contact_types/create.js.erb +7 -0
  342. data/app/views/gaku/admin/contact_types/destroy.js.erb +2 -0
  343. data/app/views/gaku/admin/contact_types/edit.js.erb +3 -0
  344. data/app/views/gaku/admin/contact_types/index.html.slim +18 -0
  345. data/app/views/gaku/admin/contact_types/new.js.erb +3 -0
  346. data/app/views/gaku/admin/contact_types/update.js.erb +3 -0
  347. data/app/views/gaku/admin/disposals/_address.html.slim +12 -0
  348. data/app/views/gaku/admin/disposals/_addresses.html.slim +17 -0
  349. data/app/views/gaku/admin/disposals/_contact.html.slim +9 -0
  350. data/app/views/gaku/admin/disposals/_contacts.html.slim +14 -0
  351. data/app/views/gaku/admin/disposals/_course_group.html.slim +3 -0
  352. data/app/views/gaku/admin/disposals/_course_groups.html.slim +12 -0
  353. data/app/views/gaku/admin/disposals/_exam.html.slim +10 -0
  354. data/app/views/gaku/admin/disposals/_guardian.html.slim +10 -0
  355. data/app/views/gaku/admin/disposals/_student.html.slim +10 -0
  356. data/app/views/gaku/admin/disposals/_tabs.html.slim +17 -0
  357. data/app/views/gaku/admin/disposals/_teacher.html.slim +10 -0
  358. data/app/views/gaku/admin/disposals/addresses.html.slim +2 -0
  359. data/app/views/gaku/admin/disposals/attachments.html.slim +30 -0
  360. data/app/views/gaku/admin/disposals/contacts.html.slim +2 -0
  361. data/app/views/gaku/admin/disposals/course_groups.html.slim +12 -0
  362. data/app/views/gaku/admin/disposals/exams.html.slim +16 -0
  363. data/app/views/gaku/admin/disposals/guardians.html.slim +16 -0
  364. data/app/views/gaku/admin/disposals/index.html.slim +1 -0
  365. data/app/views/gaku/admin/disposals/students.html.slim +16 -0
  366. data/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +19 -0
  367. data/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +19 -0
  368. data/app/views/gaku/admin/disposals/teachers.html.slim +16 -0
  369. data/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +2 -0
  370. data/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +6 -0
  371. data/app/views/gaku/admin/enrollment_statuses/_form.html.slim +3 -0
  372. data/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +3 -0
  373. data/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +6 -0
  374. data/app/views/gaku/admin/enrollment_statuses/create.js.erb +7 -0
  375. data/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +2 -0
  376. data/app/views/gaku/admin/enrollment_statuses/edit.js.erb +3 -0
  377. data/app/views/gaku/admin/enrollment_statuses/index.html.slim +21 -0
  378. data/app/views/gaku/admin/enrollment_statuses/new.js.erb +3 -0
  379. data/app/views/gaku/admin/enrollment_statuses/update.js.erb +4 -0
  380. data/app/views/gaku/admin/grading_method_sets/_fields.html.slim +9 -0
  381. data/app/views/gaku/admin/grading_method_sets/_form.html.slim +3 -0
  382. data/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +4 -0
  383. data/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +4 -0
  384. data/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +4 -0
  385. data/app/views/gaku/admin/grading_method_sets/_modal.html.slim +6 -0
  386. data/app/views/gaku/admin/grading_method_sets/create.js.erb +7 -0
  387. data/app/views/gaku/admin/grading_method_sets/destroy.js.erb +7 -0
  388. data/app/views/gaku/admin/grading_method_sets/edit.js.erb +3 -0
  389. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +9 -0
  390. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +3 -0
  391. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +1 -0
  392. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +4 -0
  393. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +23 -0
  394. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +6 -0
  395. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +7 -0
  396. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +2 -0
  397. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +3 -0
  398. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +3 -0
  399. data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +3 -0
  400. data/app/views/gaku/admin/grading_method_sets/index.html.slim +23 -0
  401. data/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +6 -0
  402. data/app/views/gaku/admin/grading_method_sets/new.js.erb +3 -0
  403. data/app/views/gaku/admin/grading_method_sets/show.html.slim +13 -0
  404. data/app/views/gaku/admin/grading_method_sets/update.js.erb +3 -0
  405. data/app/views/gaku/admin/grading_methods/_fields.html.slim +6 -0
  406. data/app/views/gaku/admin/grading_methods/_form.html.slim +3 -0
  407. data/app/views/gaku/admin/grading_methods/_form_fields.html.slim +3 -0
  408. data/app/views/gaku/admin/grading_methods/_grading_method.html.slim +2 -0
  409. data/app/views/gaku/admin/grading_methods/_modal.html.slim +6 -0
  410. data/app/views/gaku/admin/grading_methods/create.js.erb +7 -0
  411. data/app/views/gaku/admin/grading_methods/destroy.js.erb +2 -0
  412. data/app/views/gaku/admin/grading_methods/edit.js.erb +3 -0
  413. data/app/views/gaku/admin/grading_methods/index.html.slim +20 -0
  414. data/app/views/gaku/admin/grading_methods/new.js.erb +3 -0
  415. data/app/views/gaku/admin/grading_methods/update.js.erb +3 -0
  416. data/app/views/gaku/admin/presets/defaults.html.slim +50 -0
  417. data/app/views/gaku/admin/presets/grading.html.slim +12 -0
  418. data/app/views/gaku/admin/presets/locale.html.slim +10 -0
  419. data/app/views/gaku/admin/presets/names.html.slim +20 -0
  420. data/app/views/gaku/admin/presets/output_formats.html.slim +19 -0
  421. data/app/views/gaku/admin/presets/pagination.html.slim +19 -0
  422. data/app/views/gaku/admin/presets/students.html.slim +21 -0
  423. data/app/views/gaku/admin/roles/_fields.html.slim +5 -0
  424. data/app/views/gaku/admin/roles/_form.html.slim +3 -0
  425. data/app/views/gaku/admin/roles/_form_fields.html.slim +1 -0
  426. data/app/views/gaku/admin/roles/_modal.html.slim +6 -0
  427. data/app/views/gaku/admin/roles/_role.html.slim +2 -0
  428. data/app/views/gaku/admin/roles/create.js.erb +7 -0
  429. data/app/views/gaku/admin/roles/destroy.js.erb +2 -0
  430. data/app/views/gaku/admin/roles/edit.js.erb +3 -0
  431. data/app/views/gaku/admin/roles/index.html.slim +20 -0
  432. data/app/views/gaku/admin/roles/new.js.erb +3 -0
  433. data/app/views/gaku/admin/roles/update.js.erb +3 -0
  434. data/app/views/gaku/admin/school_years/_fields.html.slim +7 -0
  435. data/app/views/gaku/admin/school_years/_form.html.slim +3 -0
  436. data/app/views/gaku/admin/school_years/_form_fields.html.slim +5 -0
  437. data/app/views/gaku/admin/school_years/_modal.html.slim +7 -0
  438. data/app/views/gaku/admin/school_years/_school_year.html.slim +3 -0
  439. data/app/views/gaku/admin/school_years/_show_table.html.slim +10 -0
  440. data/app/views/gaku/admin/school_years/create.js.erb +10 -0
  441. data/app/views/gaku/admin/school_years/destroy.js.erb +2 -0
  442. data/app/views/gaku/admin/school_years/edit.js.erb +5 -0
  443. data/app/views/gaku/admin/school_years/index.html.slim +21 -0
  444. data/app/views/gaku/admin/school_years/new.js.erb +5 -0
  445. data/app/views/gaku/admin/school_years/semesters/_fields.html.slim +7 -0
  446. data/app/views/gaku/admin/school_years/semesters/_form.html.slim +3 -0
  447. data/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +5 -0
  448. data/app/views/gaku/admin/school_years/semesters/_modal.html.slim +7 -0
  449. data/app/views/gaku/admin/school_years/semesters/_semester.html.slim +3 -0
  450. data/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +22 -0
  451. data/app/views/gaku/admin/school_years/semesters/create.js.erb +10 -0
  452. data/app/views/gaku/admin/school_years/semesters/destroy.js.erb +2 -0
  453. data/app/views/gaku/admin/school_years/semesters/edit.js.erb +6 -0
  454. data/app/views/gaku/admin/school_years/semesters/new.js.erb +5 -0
  455. data/app/views/gaku/admin/school_years/semesters/update.js.erb +8 -0
  456. data/app/views/gaku/admin/school_years/show.html.slim +15 -0
  457. data/app/views/gaku/admin/school_years/update.js.erb +8 -0
  458. data/app/views/gaku/admin/schools/_fields.html.slim +9 -0
  459. data/app/views/gaku/admin/schools/_form.html.slim +3 -0
  460. data/app/views/gaku/admin/schools/_form_fields.html.slim +25 -0
  461. data/app/views/gaku/admin/schools/_modal.html.slim +6 -0
  462. data/app/views/gaku/admin/schools/_school.html.slim +2 -0
  463. data/app/views/gaku/admin/schools/_school_unit.html.slim +6 -0
  464. data/app/views/gaku/admin/schools/_show_table.html.slim +35 -0
  465. data/app/views/gaku/admin/schools/campuses/_campus.html.slim +7 -0
  466. data/app/views/gaku/admin/schools/campuses/_campus_unit.html.slim +6 -0
  467. data/app/views/gaku/admin/schools/campuses/_campuses.html.slim +20 -0
  468. data/app/views/gaku/admin/schools/campuses/_form.html.slim +3 -0
  469. data/app/views/gaku/admin/schools/campuses/_modal.html.slim +6 -0
  470. data/app/views/gaku/admin/schools/campuses/_picture.html.slim +10 -0
  471. data/app/views/gaku/admin/schools/campuses/_show_table.html.slim +10 -0
  472. data/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +7 -0
  473. data/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +6 -0
  474. data/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +4 -0
  475. data/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +24 -0
  476. data/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +3 -0
  477. data/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +7 -0
  478. data/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +6 -0
  479. data/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb +2 -0
  480. data/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +4 -0
  481. data/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +4 -0
  482. data/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +4 -0
  483. data/app/views/gaku/admin/schools/campuses/create.js.erb +7 -0
  484. data/app/views/gaku/admin/schools/campuses/destroy.js.erb +2 -0
  485. data/app/views/gaku/admin/schools/campuses/edit.js.erb +3 -0
  486. data/app/views/gaku/admin/schools/campuses/new.js.erb +3 -0
  487. data/app/views/gaku/admin/schools/campuses/show.html.slim +21 -0
  488. data/app/views/gaku/admin/schools/campuses/update.js.erb +3 -0
  489. data/app/views/gaku/admin/schools/create.js.erb +7 -0
  490. data/app/views/gaku/admin/schools/destroy.js.erb +2 -0
  491. data/app/views/gaku/admin/schools/edit.js.erb +3 -0
  492. data/app/views/gaku/admin/schools/edit_master.html.slim +17 -0
  493. data/app/views/gaku/admin/schools/index.html.slim +29 -0
  494. data/app/views/gaku/admin/schools/new.js.erb +3 -0
  495. data/app/views/gaku/admin/schools/programs/_fields.html.slim +9 -0
  496. data/app/views/gaku/admin/schools/programs/_form.html.slim +20 -0
  497. data/app/views/gaku/admin/schools/programs/_form_fields.html.slim +6 -0
  498. data/app/views/gaku/admin/schools/programs/_modal.html.slim +5 -0
  499. data/app/views/gaku/admin/schools/programs/_program.html.slim +2 -0
  500. data/app/views/gaku/admin/schools/programs/_programs.html.slim +25 -0
  501. data/app/views/gaku/admin/schools/programs/create.js.erb +7 -0
  502. data/app/views/gaku/admin/schools/programs/destroy.js.erb +2 -0
  503. data/app/views/gaku/admin/schools/programs/edit.js.erb +3 -0
  504. data/app/views/gaku/admin/schools/programs/new.js.erb +3 -0
  505. data/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +8 -0
  506. data/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +10 -0
  507. data/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +7 -0
  508. data/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +10 -0
  509. data/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +6 -0
  510. data/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +10 -0
  511. data/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +3 -0
  512. data/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +3 -0
  513. data/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +3 -0
  514. data/app/views/gaku/admin/schools/programs/update.js.erb +3 -0
  515. data/app/views/gaku/admin/schools/show.html.slim +26 -0
  516. data/app/views/gaku/admin/schools/update.js.erb +7 -0
  517. data/app/views/gaku/admin/shared/_picture.html.slim +10 -0
  518. data/app/views/gaku/admin/shared/_upload_picture.html.slim +7 -0
  519. data/app/views/gaku/admin/specialties/_fields.html.slim +6 -0
  520. data/app/views/gaku/admin/specialties/_form.html.slim +3 -0
  521. data/app/views/gaku/admin/specialties/_form_fields.html.slim +3 -0
  522. data/app/views/gaku/admin/specialties/_modal.html.slim +6 -0
  523. data/app/views/gaku/admin/specialties/_specialty.html.slim +2 -0
  524. data/app/views/gaku/admin/specialties/create.js.erb +7 -0
  525. data/app/views/gaku/admin/specialties/destroy.js.erb +2 -0
  526. data/app/views/gaku/admin/specialties/edit.js.erb +3 -0
  527. data/app/views/gaku/admin/specialties/index.html.slim +20 -0
  528. data/app/views/gaku/admin/specialties/new.js.erb +3 -0
  529. data/app/views/gaku/admin/specialties/update.js.erb +3 -0
  530. data/app/views/gaku/admin/states/_country_select_form.html.slim +4 -0
  531. data/app/views/gaku/admin/states/_country_table.html.slim +11 -0
  532. data/app/views/gaku/admin/states/_fields.html.slim +8 -0
  533. data/app/views/gaku/admin/states/_form.html.slim +4 -0
  534. data/app/views/gaku/admin/states/_form_fields.html.slim +14 -0
  535. data/app/views/gaku/admin/states/_modal.html.slim +6 -0
  536. data/app/views/gaku/admin/states/_state.html.slim +2 -0
  537. data/app/views/gaku/admin/states/country_states.js.erb +1 -0
  538. data/app/views/gaku/admin/states/create.js.erb +7 -0
  539. data/app/views/gaku/admin/states/destroy.js.erb +2 -0
  540. data/app/views/gaku/admin/states/edit.js.erb +3 -0
  541. data/app/views/gaku/admin/states/index.html.slim +15 -0
  542. data/app/views/gaku/admin/states/new.js.erb +3 -0
  543. data/app/views/gaku/admin/states/update.js.erb +3 -0
  544. data/app/views/gaku/admin/system_tools/index.html.slim +1 -0
  545. data/app/views/gaku/admin/templates/_fields.html.slim +8 -0
  546. data/app/views/gaku/admin/templates/_form.html.slim +3 -0
  547. data/app/views/gaku/admin/templates/_form_fields.html.slim +4 -0
  548. data/app/views/gaku/admin/templates/_modal.html.slim +6 -0
  549. data/app/views/gaku/admin/templates/_template.html.slim +2 -0
  550. data/app/views/gaku/admin/templates/destroy.js.erb +2 -0
  551. data/app/views/gaku/admin/templates/edit.js.erb +4 -0
  552. data/app/views/gaku/admin/templates/index.html.slim +20 -0
  553. data/app/views/gaku/admin/templates/new.js.erb +3 -0
  554. data/app/views/gaku/admin/users/_fields.html.slim +5 -0
  555. data/app/views/gaku/admin/users/_form.html.slim +3 -0
  556. data/app/views/gaku/admin/users/_form_fields.html.slim +14 -0
  557. data/app/views/gaku/admin/users/_modal.html.slim +6 -0
  558. data/app/views/gaku/admin/users/_user.html.slim +2 -0
  559. data/app/views/gaku/admin/users/create.js.erb +7 -0
  560. data/app/views/gaku/admin/users/destroy.js.erb +2 -0
  561. data/app/views/gaku/admin/users/edit.js.erb +3 -0
  562. data/app/views/gaku/admin/users/index.html.slim +21 -0
  563. data/app/views/gaku/admin/users/new.js.erb +3 -0
  564. data/app/views/gaku/admin/users/update.js.erb +4 -0
  565. data/app/views/gaku/attachments/destroy.js.erb +1 -0
  566. data/app/views/gaku/attachments/edit.js.erb +3 -0
  567. data/app/views/gaku/attachments/new.js.erb +1 -0
  568. data/app/views/gaku/attachments/recover_attachment.js.erb +1 -0
  569. data/app/views/gaku/attachments/soft_delete.js.erb +3 -0
  570. data/app/views/gaku/class_groups/_class_group.html.slim +7 -0
  571. data/app/views/gaku/class_groups/_class_group_modal.html.slim +7 -0
  572. data/app/views/gaku/class_groups/_class_group_unit.html.slim +5 -0
  573. data/app/views/gaku/class_groups/_class_groups.html.slim +25 -0
  574. data/app/views/gaku/class_groups/_form.html.slim +8 -0
  575. data/app/views/gaku/class_groups/_form_fields.html.slim +6 -0
  576. data/app/views/gaku/class_groups/_tabs.html.slim +32 -0
  577. data/app/views/gaku/class_groups/courses/_course.html.slim +4 -0
  578. data/app/views/gaku/class_groups/courses/_courses.html.slim +19 -0
  579. data/app/views/gaku/class_groups/courses/_form.html.slim +5 -0
  580. data/app/views/gaku/class_groups/courses/create.js.erb +8 -0
  581. data/app/views/gaku/class_groups/courses/destroy.js.erb +3 -0
  582. data/app/views/gaku/class_groups/courses/new.js.erb +3 -0
  583. data/app/views/gaku/class_groups/create.js.erb +6 -0
  584. data/app/views/gaku/class_groups/destroy.js.erb +6 -0
  585. data/app/views/gaku/class_groups/edit.js.erb +3 -0
  586. data/app/views/gaku/class_groups/index.html.slim +14 -0
  587. data/app/views/gaku/class_groups/new.js.erb +3 -0
  588. data/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +4 -0
  589. data/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +4 -0
  590. data/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +3 -0
  591. data/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +5 -0
  592. data/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +3 -0
  593. data/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +6 -0
  594. data/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +19 -0
  595. data/app/views/gaku/class_groups/semester_class_groups/create.js.erb +6 -0
  596. data/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +3 -0
  597. data/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +3 -0
  598. data/app/views/gaku/class_groups/semester_class_groups/new.js.erb +3 -0
  599. data/app/views/gaku/class_groups/semester_class_groups/update.js.erb +3 -0
  600. data/app/views/gaku/class_groups/show.html.slim +25 -0
  601. data/app/views/gaku/class_groups/student_chooser.js.erb +2 -0
  602. data/app/views/gaku/class_groups/students/_student.html.slim +5 -0
  603. data/app/views/gaku/class_groups/students/_students.html.slim +19 -0
  604. data/app/views/gaku/class_groups/students/destroy.js.erb +3 -0
  605. data/app/views/gaku/class_groups/students/enroll_students.js.erb +11 -0
  606. data/app/views/gaku/class_groups/students/new.js.erb +3 -0
  607. data/app/views/gaku/class_groups/update.js.erb +8 -0
  608. data/app/views/gaku/contacts/_contact.html.slim +5 -0
  609. data/app/views/gaku/contacts/_contacts.html.slim +24 -0
  610. data/app/views/gaku/contacts/_fields.html.slim +13 -0
  611. data/app/views/gaku/contacts/_form.html.slim +4 -0
  612. data/app/views/gaku/contacts/_form_fields.html.slim +14 -0
  613. data/app/views/gaku/contacts/_modal.html.slim +6 -0
  614. data/app/views/gaku/contacts/_primary_field.html.slim +13 -0
  615. data/app/views/gaku/contacts/create.js.erb +21 -0
  616. data/app/views/gaku/contacts/destroy.js.erb +9 -0
  617. data/app/views/gaku/contacts/edit.js.erb +4 -0
  618. data/app/views/gaku/contacts/make_primary.js.erb +6 -0
  619. data/app/views/gaku/contacts/new.js.erb +3 -0
  620. data/app/views/gaku/contacts/recovery.js.erb +1 -0
  621. data/app/views/gaku/contacts/soft_delete.js.erb +8 -0
  622. data/app/views/gaku/contacts/update.js.erb +14 -0
  623. data/app/views/gaku/course_groups/_course_group.html.slim +3 -0
  624. data/app/views/gaku/course_groups/_course_group_unit.html.slim +4 -0
  625. data/app/views/gaku/course_groups/_course_groups.html.slim +7 -0
  626. data/app/views/gaku/course_groups/_delete_confirm.html.slim +11 -0
  627. data/app/views/gaku/course_groups/_fields.html.slim +1 -0
  628. data/app/views/gaku/course_groups/_form.html.slim +3 -0
  629. data/app/views/gaku/course_groups/_form_fields.html.slim +1 -0
  630. data/app/views/gaku/course_groups/_modal.html.slim +6 -0
  631. data/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +4 -0
  632. data/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +23 -0
  633. data/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +4 -0
  634. data/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +7 -0
  635. data/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +2 -0
  636. data/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +3 -0
  637. data/app/views/gaku/course_groups/create.js.erb +10 -0
  638. data/app/views/gaku/course_groups/destroy.js.erb +2 -0
  639. data/app/views/gaku/course_groups/edit.js.erb +3 -0
  640. data/app/views/gaku/course_groups/index.html.slim +15 -0
  641. data/app/views/gaku/course_groups/index.js.erb +1 -0
  642. data/app/views/gaku/course_groups/new.js.erb +3 -0
  643. data/app/views/gaku/course_groups/recovery.js.erb +2 -0
  644. data/app/views/gaku/course_groups/show.html.slim +30 -0
  645. data/app/views/gaku/course_groups/update.js.erb +7 -0
  646. data/app/views/gaku/courses/_course.html.slim +2 -0
  647. data/app/views/gaku/courses/_course_unit.html.slim +5 -0
  648. data/app/views/gaku/courses/_courses.html.slim +27 -0
  649. data/app/views/gaku/courses/_form.html.slim +7 -0
  650. data/app/views/gaku/courses/_form_fields.html.slim +4 -0
  651. data/app/views/gaku/courses/_modal.html.slim +6 -0
  652. data/app/views/gaku/courses/_tabs.html.slim +25 -0
  653. data/app/views/gaku/courses/assignments/_assignments.html.slim +2 -0
  654. data/app/views/gaku/courses/create.js.erb +7 -0
  655. data/app/views/gaku/courses/destroy.js.erb +7 -0
  656. data/app/views/gaku/courses/edit.js.erb +4 -0
  657. data/app/views/gaku/courses/enrollments/_enrolled.html.slim +7 -0
  658. data/app/views/gaku/courses/enrollments/_enrollments.html.slim +29 -0
  659. data/app/views/gaku/courses/enrollments/_errors_modal.html.slim +11 -0
  660. data/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +3 -0
  661. data/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +16 -0
  662. data/app/views/gaku/courses/enrollments/class_groups/new.js.erb +4 -0
  663. data/app/views/gaku/courses/enrollments/error.js.erb +2 -0
  664. data/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +11 -0
  665. data/app/views/gaku/courses/exams/_exam.html.slim +5 -0
  666. data/app/views/gaku/courses/exams/_exams.html.slim +14 -0
  667. data/app/views/gaku/courses/index.html.slim +14 -0
  668. data/app/views/gaku/courses/new.js.erb +3 -0
  669. data/app/views/gaku/courses/semester_courses/_fields.html.slim +4 -0
  670. data/app/views/gaku/courses/semester_courses/_form.html.slim +4 -0
  671. data/app/views/gaku/courses/semester_courses/_form_fields.html.slim +3 -0
  672. data/app/views/gaku/courses/semester_courses/_modal.html.slim +6 -0
  673. data/app/views/gaku/courses/semester_courses/_semester_course.html.slim +3 -0
  674. data/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +18 -0
  675. data/app/views/gaku/courses/semester_courses/create.js.erb +6 -0
  676. data/app/views/gaku/courses/semester_courses/destroy.js.erb +3 -0
  677. data/app/views/gaku/courses/semester_courses/edit.js.erb +3 -0
  678. data/app/views/gaku/courses/semester_courses/new.js.erb +3 -0
  679. data/app/views/gaku/courses/semester_courses/update.js.erb +3 -0
  680. data/app/views/gaku/courses/show.html.slim +32 -0
  681. data/app/views/gaku/courses/student_chooser.js.erb +2 -0
  682. data/app/views/gaku/courses/update.js.erb +16 -0
  683. data/app/views/gaku/devise/confirmations/new.html.slim +9 -0
  684. data/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +4 -0
  685. data/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +6 -0
  686. data/app/views/gaku/devise/mailer/unlock_instructions.html.slim +5 -0
  687. data/app/views/gaku/devise/passwords/edit.html.slim +14 -0
  688. data/app/views/gaku/devise/passwords/new.html.slim +8 -0
  689. data/app/views/gaku/devise/registrations/edit.html.slim +31 -0
  690. data/app/views/gaku/devise/registrations/new.html.slim +29 -0
  691. data/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +27 -0
  692. data/app/views/gaku/devise/sessions/new.html.slim +27 -0
  693. data/app/views/gaku/devise/shared/_links.html.erb +25 -0
  694. data/app/views/gaku/devise/unlocks/new.html.slim +9 -0
  695. data/app/views/gaku/exam_divisions/_form.html.erb +29 -0
  696. data/app/views/gaku/exam_divisions/edit.html.erb +6 -0
  697. data/app/views/gaku/exam_divisions/index.html.erb +27 -0
  698. data/app/views/gaku/exam_divisions/new.html.erb +5 -0
  699. data/app/views/gaku/exam_divisions/show.html.erb +20 -0
  700. data/app/views/gaku/exams/_exam.html.slim +2 -0
  701. data/app/views/gaku/exams/_fields.html.slim +8 -0
  702. data/app/views/gaku/exams/_form.html.slim +19 -0
  703. data/app/views/gaku/exams/_form_fields.html.slim +13 -0
  704. data/app/views/gaku/exams/_modal.html.slim +6 -0
  705. data/app/views/gaku/exams/_show_table.html.slim +15 -0
  706. data/app/views/gaku/exams/_weight_check_widget.html.slim +20 -0
  707. data/app/views/gaku/exams/create.js.erb +6 -0
  708. data/app/views/gaku/exams/destroy.js.erb +2 -0
  709. data/app/views/gaku/exams/edit.js +3 -0
  710. data/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +4 -0
  711. data/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +3 -0
  712. data/app/views/gaku/exams/exam_portions/_exam_portion_unit.html.slim +3 -0
  713. data/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +3 -0
  714. data/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +14 -0
  715. data/app/views/gaku/exams/exam_portions/_form.html.slim +3 -0
  716. data/app/views/gaku/exams/exam_portions/_modal.html.slim +8 -0
  717. data/app/views/gaku/exams/exam_portions/_show_table.html.slim +12 -0
  718. data/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +2 -0
  719. data/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +23 -0
  720. data/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +6 -0
  721. data/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +3 -0
  722. data/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +6 -0
  723. data/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
  724. data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD +0 -0
  725. data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD_0 +0 -0
  726. data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master +0 -0
  727. data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master_0 +0 -0
  728. data/app/views/gaku/exams/exam_portions/attachments/new.js.erb +3 -0
  729. data/app/views/gaku/exams/exam_portions/create.js.erb +48 -0
  730. data/app/views/gaku/exams/exam_portions/destroy.js.erb +8 -0
  731. data/app/views/gaku/exams/exam_portions/edit.js.erb +3 -0
  732. data/app/views/gaku/exams/exam_portions/new.js.erb +3 -0
  733. data/app/views/gaku/exams/exam_portions/show.html.slim +8 -0
  734. data/app/views/gaku/exams/exam_portions/update.js.erb +27 -0
  735. data/app/views/gaku/exams/export.xls.rb +67 -0
  736. data/app/views/gaku/exams/grading.html.slim +34 -0
  737. data/app/views/gaku/exams/index.html.slim +21 -0
  738. data/app/views/gaku/exams/new.js.erb +3 -0
  739. data/app/views/gaku/exams/recovery.js.erb +1 -0
  740. data/app/views/gaku/exams/show.html.slim +33 -0
  741. data/app/views/gaku/exams/update.js.erb +5 -0
  742. data/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +9 -0
  743. data/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +6 -0
  744. data/app/views/gaku/extracurricular_activities/_fields.html.slim +1 -0
  745. data/app/views/gaku/extracurricular_activities/_form.html.slim +3 -0
  746. data/app/views/gaku/extracurricular_activities/_form_fields.html.slim +3 -0
  747. data/app/views/gaku/extracurricular_activities/_modal.html.slim +7 -0
  748. data/app/views/gaku/extracurricular_activities/_tabs.html.slim +14 -0
  749. data/app/views/gaku/extracurricular_activities/create.js.erb +6 -0
  750. data/app/views/gaku/extracurricular_activities/destroy.js.erb +2 -0
  751. data/app/views/gaku/extracurricular_activities/edit.js.erb +3 -0
  752. data/app/views/gaku/extracurricular_activities/index.html.slim +14 -0
  753. data/app/views/gaku/extracurricular_activities/index.js.erb +2 -0
  754. data/app/views/gaku/extracurricular_activities/new.js.erb +3 -0
  755. data/app/views/gaku/extracurricular_activities/show.html.slim +20 -0
  756. data/app/views/gaku/extracurricular_activities/student_chooser.js.erb +2 -0
  757. data/app/views/gaku/extracurricular_activities/students/_student.html.slim +5 -0
  758. data/app/views/gaku/extracurricular_activities/students/_students.html.slim +19 -0
  759. data/app/views/gaku/extracurricular_activities/students/destroy.js.erb +3 -0
  760. data/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +11 -0
  761. data/app/views/gaku/extracurricular_activities/update.js.erb +6 -0
  762. data/app/views/gaku/home/_user_info.html.slim +7 -0
  763. data/app/views/gaku/home/_user_menu.html.slim +2 -0
  764. data/app/views/gaku/home/index.html.slim +13 -0
  765. data/app/views/gaku/layouts/admin/index.html.slim +15 -0
  766. data/app/views/gaku/layouts/edit.html.slim +9 -0
  767. data/app/views/gaku/layouts/gaku.html.slim +23 -0
  768. data/app/views/gaku/layouts/index.html.slim +14 -0
  769. data/app/views/gaku/layouts/show.html.slim +10 -0
  770. data/app/views/gaku/notes/_buttons.html.slim +5 -0
  771. data/app/views/gaku/notes/_fields.html.slim +2 -0
  772. data/app/views/gaku/notes/_form.html.slim +6 -0
  773. data/app/views/gaku/notes/_form_fields.html.slim +6 -0
  774. data/app/views/gaku/notes/_modal.html.slim +6 -0
  775. data/app/views/gaku/notes/_note.html.slim +4 -0
  776. data/app/views/gaku/notes/_notes.html.slim +19 -0
  777. data/app/views/gaku/notes/_show_modal.html.slim +4 -0
  778. data/app/views/gaku/notes/create.js.erb +11 -0
  779. data/app/views/gaku/notes/destroy.js.erb +4 -0
  780. data/app/views/gaku/notes/edit.js.erb +3 -0
  781. data/app/views/gaku/notes/new.js.erb +3 -0
  782. data/app/views/gaku/notes/show.js.erb +3 -0
  783. data/app/views/gaku/notes/update.js.erb +4 -0
  784. data/app/views/gaku/shared/_delete_modal.html.slim +7 -0
  785. data/app/views/gaku/shared/_delete_modal_remote.html.slim +7 -0
  786. data/app/views/gaku/shared/_errors.html.slim +6 -0
  787. data/app/views/gaku/shared/_external_school_record.html.slim +36 -0
  788. data/app/views/gaku/shared/_flash.html.slim +4 -0
  789. data/app/views/gaku/shared/_language_bar.html.slim +8 -0
  790. data/app/views/gaku/shared/_login_widget.html.slim +27 -0
  791. data/app/views/gaku/shared/_manage_buttons.html.slim +4 -0
  792. data/app/views/gaku/shared/_menubar.html.slim +8 -0
  793. data/app/views/gaku/shared/_modal_config.html.slim +37 -0
  794. data/app/views/gaku/shared/_multi_errors.html.slim +6 -0
  795. data/app/views/gaku/shared/_picture.html.slim +12 -0
  796. data/app/views/gaku/shared/_upload_picture.html.slim +7 -0
  797. data/app/views/gaku/shared/error.js.erb +2 -0
  798. data/app/views/gaku/shared/fields/_address_fields.html.slim +7 -0
  799. data/app/views/gaku/shared/fields/_attachment_fields.html.slim +10 -0
  800. data/app/views/gaku/shared/fields/_class_group_fields.html.slim +3 -0
  801. data/app/views/gaku/shared/fields/_course_fields.html.slim +4 -0
  802. data/app/views/gaku/shared/fields/_course_show_fields.html.slim +3 -0
  803. data/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +8 -0
  804. data/app/views/gaku/shared/fields/_person_edit_table.html.slim +7 -0
  805. data/app/views/gaku/shared/fields/_person_fields.html.slim +4 -0
  806. data/app/views/gaku/shared/fields/_person_show_table.html.slim +3 -0
  807. data/app/views/gaku/shared/fields/_semester_fields.html.slim +1 -0
  808. data/app/views/gaku/shared/fields/_student_fields.html.slim +22 -0
  809. data/app/views/gaku/shared/fields/_syllabus_fields.html.slim +5 -0
  810. data/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +15 -0
  811. data/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +16 -0
  812. data/app/views/gaku/shared/menu/_admin.html.erb +104 -0
  813. data/app/views/gaku/shared/menu/_global.html.erb +26 -0
  814. data/app/views/gaku/shared/multi_error.js.erb +2 -0
  815. data/app/views/gaku/shared/notice.js.erb +2 -0
  816. data/app/views/gaku/shared/student/_academic.html.slim +18 -0
  817. data/app/views/gaku/shared/student/_edit.html.slim +20 -0
  818. data/app/views/gaku/shared/student/_personal.html.slim +6 -0
  819. data/app/views/gaku/shared/student/_show.html.slim +14 -0
  820. data/app/views/gaku/shared/student/_show_table.html.slim +51 -0
  821. data/app/views/gaku/shared/student/_tabs.html.slim +36 -0
  822. data/app/views/gaku/shared/student_chooser/_chooser.html.slim +36 -0
  823. data/app/views/gaku/shared/student_chooser/_class_group.html.slim +5 -0
  824. data/app/views/gaku/shared/student_chooser/_course.html.slim +5 -0
  825. data/app/views/gaku/shared/student_chooser/_extracurricular_activity.html.slim +5 -0
  826. data/app/views/gaku/shared/student_chooser/_modal.html.slim +4 -0
  827. data/app/views/gaku/shared/student_chooser/_student.html.slim +18 -0
  828. data/app/views/gaku/states/_no_states_select.html.slim +1 -0
  829. data/app/views/gaku/states/_states_select.html.slim +1 -0
  830. data/app/views/gaku/states/index.js.erb +5 -0
  831. data/app/views/gaku/students/_delete_modal.html.slim +5 -0
  832. data/app/views/gaku/students/_form.html.slim +3 -0
  833. data/app/views/gaku/students/_form_fields.html.slim +19 -0
  834. data/app/views/gaku/students/_modal.html.slim +6 -0
  835. data/app/views/gaku/students/_student.html.slim +6 -0
  836. data/app/views/gaku/students/_student_unit.html.slim +5 -0
  837. data/app/views/gaku/students/_students.html.slim +17 -0
  838. data/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +28 -0
  839. data/app/views/gaku/students/class_group_enrollments/create.js.erb +11 -0
  840. data/app/views/gaku/students/class_group_enrollments/new.js.erb +2 -0
  841. data/app/views/gaku/students/commute_methods/_commute_method.html.slim +6 -0
  842. data/app/views/gaku/students/commute_methods/_modal.html.slim +6 -0
  843. data/app/views/gaku/students/commute_methods/create.js.erb +3 -0
  844. data/app/views/gaku/students/commute_methods/edit.js.erb +5 -0
  845. data/app/views/gaku/students/commute_methods/new.js.erb +4 -0
  846. data/app/views/gaku/students/commute_methods/update.js.erb +3 -0
  847. data/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +5 -0
  848. data/app/views/gaku/students/course_enrollments/_course_enrollment_unit.html.slim +3 -0
  849. data/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +21 -0
  850. data/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +11 -0
  851. data/app/views/gaku/students/course_enrollments/_form.html.slim +5 -0
  852. data/app/views/gaku/students/course_enrollments/create.js.erb +10 -0
  853. data/app/views/gaku/students/course_enrollments/destroy.js.erb +3 -0
  854. data/app/views/gaku/students/course_enrollments/error.js.erb +2 -0
  855. data/app/views/gaku/students/course_enrollments/new.js.erb +3 -0
  856. data/app/views/gaku/students/create.js.erb +8 -0
  857. data/app/views/gaku/students/destroy.js.erb +2 -0
  858. data/app/views/gaku/students/edit.html.slim +9 -0
  859. data/app/views/gaku/students/edit.js.erb +3 -0
  860. data/app/views/gaku/students/guardians/_edit_table.html.slim +9 -0
  861. data/app/views/gaku/students/guardians/_form.html.slim +3 -0
  862. data/app/views/gaku/students/guardians/_form_fields.html.slim +4 -0
  863. data/app/views/gaku/students/guardians/_guardian.html.slim +2 -0
  864. data/app/views/gaku/students/guardians/_guardian_unit.html.slim +12 -0
  865. data/app/views/gaku/students/guardians/_guardians.html.slim +26 -0
  866. data/app/views/gaku/students/guardians/_modal.html.slim +7 -0
  867. data/app/views/gaku/students/guardians/_picture.html.slim +12 -0
  868. data/app/views/gaku/students/guardians/_show_table.html.slim +13 -0
  869. data/app/views/gaku/students/guardians/_tabs.html.slim +15 -0
  870. data/app/views/gaku/students/guardians/_upload_picture.html.slim +7 -0
  871. data/app/views/gaku/students/guardians/create.js.erb +7 -0
  872. data/app/views/gaku/students/guardians/destroy.js.erb +4 -0
  873. data/app/views/gaku/students/guardians/edit.html.slim +7 -0
  874. data/app/views/gaku/students/guardians/edit.js.erb +3 -0
  875. data/app/views/gaku/students/guardians/new.js.erb +3 -0
  876. data/app/views/gaku/students/guardians/recovery.js.erb +1 -0
  877. data/app/views/gaku/students/guardians/show.html.slim +14 -0
  878. data/app/views/gaku/students/guardians/update.js.erb +4 -0
  879. data/app/views/gaku/students/importer/index.html.slim +26 -0
  880. data/app/views/gaku/students/importer/roster_import_preview.html.slim +4 -0
  881. data/app/views/gaku/students/index.html.slim +16 -0
  882. data/app/views/gaku/students/index.js.erb +13 -0
  883. data/app/views/gaku/students/index.pdf.thinreports +17 -0
  884. data/app/views/gaku/students/new.js.erb +3 -0
  885. data/app/views/gaku/students/recovery.js.erb +1 -0
  886. data/app/views/gaku/students/search/_address.html.slim +36 -0
  887. data/app/views/gaku/students/search/_extended.slim +134 -0
  888. data/app/views/gaku/students/search/_form.html.slim +25 -0
  889. data/app/views/gaku/students/search/_student.html.slim +24 -0
  890. data/app/views/gaku/students/show.html.slim +1 -0
  891. data/app/views/gaku/students/show.pdf.thinreports +8 -0
  892. data/app/views/gaku/students/simple_grades/_edit.html.slim +8 -0
  893. data/app/views/gaku/students/simple_grades/_fields.html.slim +6 -0
  894. data/app/views/gaku/students/simple_grades/_form.html.slim +6 -0
  895. data/app/views/gaku/students/simple_grades/_form_fields.html.slim +3 -0
  896. data/app/views/gaku/students/simple_grades/_index.html.slim +19 -0
  897. data/app/views/gaku/students/simple_grades/_index_modal.html.slim +4 -0
  898. data/app/views/gaku/students/simple_grades/_simple_grade.html.slim +3 -0
  899. data/app/views/gaku/students/simple_grades/_simple_grades.html.slim +2 -0
  900. data/app/views/gaku/students/simple_grades/create.js.erb +10 -0
  901. data/app/views/gaku/students/simple_grades/destroy.js.erb +4 -0
  902. data/app/views/gaku/students/simple_grades/edit.js.erb +2 -0
  903. data/app/views/gaku/students/simple_grades/index.js.erb +5 -0
  904. data/app/views/gaku/students/simple_grades/new.js.erb +3 -0
  905. data/app/views/gaku/students/simple_grades/update.js.erb +4 -0
  906. data/app/views/gaku/students/student_achievements/_achievements_tab.html.slim +12 -0
  907. data/app/views/gaku/students/student_achievements/_edit.html.slim +8 -0
  908. data/app/views/gaku/students/student_achievements/_fields.html.slim +8 -0
  909. data/app/views/gaku/students/student_achievements/_form.html.slim +6 -0
  910. data/app/views/gaku/students/student_achievements/_form_fields.html.slim +1 -0
  911. data/app/views/gaku/students/student_achievements/_index.html.slim +20 -0
  912. data/app/views/gaku/students/student_achievements/_index_modal.html.slim +4 -0
  913. data/app/views/gaku/students/student_achievements/_student_achievement.html.slim +3 -0
  914. data/app/views/gaku/students/student_achievements/_student_achievements.html.slim +2 -0
  915. data/app/views/gaku/students/student_achievements/create.js.erb +10 -0
  916. data/app/views/gaku/students/student_achievements/destroy.js.erb +4 -0
  917. data/app/views/gaku/students/student_achievements/edit.js.erb +2 -0
  918. data/app/views/gaku/students/student_achievements/index.js.erb +3 -0
  919. data/app/views/gaku/students/student_achievements/new.js.erb +3 -0
  920. data/app/views/gaku/students/student_achievements/update.js.erb +5 -0
  921. data/app/views/gaku/students/student_specialties/_edit.html.slim +8 -0
  922. data/app/views/gaku/students/student_specialties/_fields.html.slim +5 -0
  923. data/app/views/gaku/students/student_specialties/_form.html.slim +6 -0
  924. data/app/views/gaku/students/student_specialties/_form_fields.html.slim +2 -0
  925. data/app/views/gaku/students/student_specialties/_index.html.slim +18 -0
  926. data/app/views/gaku/students/student_specialties/_index_modal.html.slim +4 -0
  927. data/app/views/gaku/students/student_specialties/_specialties_list.html.slim +0 -0
  928. data/app/views/gaku/students/student_specialties/_student_specialties.html.slim +2 -0
  929. data/app/views/gaku/students/student_specialties/_student_specialty.html.slim +3 -0
  930. data/app/views/gaku/students/student_specialties/create.js.erb +11 -0
  931. data/app/views/gaku/students/student_specialties/destroy.js.erb +5 -0
  932. data/app/views/gaku/students/student_specialties/edit.js.erb +2 -0
  933. data/app/views/gaku/students/student_specialties/index.js.erb +5 -0
  934. data/app/views/gaku/students/student_specialties/new.js.erb +3 -0
  935. data/app/views/gaku/students/student_specialties/update.js.erb +4 -0
  936. data/app/views/gaku/students/update.js.erb +3 -0
  937. data/app/views/gaku/syllabuses/_form.html.slim +3 -0
  938. data/app/views/gaku/syllabuses/_form_fields.html.slim +10 -0
  939. data/app/views/gaku/syllabuses/_modal.html.slim +7 -0
  940. data/app/views/gaku/syllabuses/_syllabus.html.slim +2 -0
  941. data/app/views/gaku/syllabuses/_syllabus_fields.html.slim +5 -0
  942. data/app/views/gaku/syllabuses/_syllabuses.html.slim +11 -0
  943. data/app/views/gaku/syllabuses/assignments/_assignment.html.slim +9 -0
  944. data/app/views/gaku/syllabuses/assignments/_assignments.html.slim +19 -0
  945. data/app/views/gaku/syllabuses/assignments/_form.html.slim +17 -0
  946. data/app/views/gaku/syllabuses/assignments/create.js.erb +7 -0
  947. data/app/views/gaku/syllabuses/create.js.erb +6 -0
  948. data/app/views/gaku/syllabuses/destroy.js.erb +2 -0
  949. data/app/views/gaku/syllabuses/edit.js.erb +3 -0
  950. data/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +11 -0
  951. data/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +6 -0
  952. data/app/views/gaku/syllabuses/exams/_exam.html.slim +4 -0
  953. data/app/views/gaku/syllabuses/exams/_exams.html.slim +16 -0
  954. data/app/views/gaku/syllabuses/exams/_fields.html.slim +9 -0
  955. data/app/views/gaku/syllabuses/exams/_form.html.slim +15 -0
  956. data/app/views/gaku/syllabuses/exams/_form_fields.html.slim +10 -0
  957. data/app/views/gaku/syllabuses/exams/_modal.html.slim +6 -0
  958. data/app/views/gaku/syllabuses/exams/_select_form.html.slim +6 -0
  959. data/app/views/gaku/syllabuses/exams/create.js.erb +10 -0
  960. data/app/views/gaku/syllabuses/exams/destroy.js.erb +2 -0
  961. data/app/views/gaku/syllabuses/exams/edit.js.erb +3 -0
  962. data/app/views/gaku/syllabuses/exams/new.js.erb +3 -0
  963. data/app/views/gaku/syllabuses/exams/update.js.erb +4 -0
  964. data/app/views/gaku/syllabuses/importer/index.html.slim +14 -0
  965. data/app/views/gaku/syllabuses/index.html.slim +14 -0
  966. data/app/views/gaku/syllabuses/new.js.erb +3 -0
  967. data/app/views/gaku/syllabuses/show.html.slim +59 -0
  968. data/app/views/gaku/syllabuses/update.js.erb +4 -0
  969. data/app/views/gaku/teachers/_delete_modal.html.slim +5 -0
  970. data/app/views/gaku/teachers/_edit_table.html.slim +5 -0
  971. data/app/views/gaku/teachers/_fields.html.slim +1 -0
  972. data/app/views/gaku/teachers/_form.html.slim +3 -0
  973. data/app/views/gaku/teachers/_form_fields.html.slim +1 -0
  974. data/app/views/gaku/teachers/_modal.html.slim +6 -0
  975. data/app/views/gaku/teachers/_show_table.html.slim +7 -0
  976. data/app/views/gaku/teachers/_tabs.html.slim +21 -0
  977. data/app/views/gaku/teachers/_teacher.html.slim +6 -0
  978. data/app/views/gaku/teachers/_teacher_unit.html.slim +4 -0
  979. data/app/views/gaku/teachers/_teachers.html.slim +11 -0
  980. data/app/views/gaku/teachers/create.js.erb +8 -0
  981. data/app/views/gaku/teachers/destroy.js.erb +2 -0
  982. data/app/views/gaku/teachers/edit.html.slim +23 -0
  983. data/app/views/gaku/teachers/edit.js.erb +3 -0
  984. data/app/views/gaku/teachers/index.html.slim +16 -0
  985. data/app/views/gaku/teachers/index.js.erb +2 -0
  986. data/app/views/gaku/teachers/new.js.erb +3 -0
  987. data/app/views/gaku/teachers/recovery.js.erb +1 -0
  988. data/app/views/gaku/teachers/show.html.slim +14 -0
  989. data/app/views/gaku/teachers/update.js.erb +4 -0
  990. data/app/views/kaminari/_first_page.html.erb +11 -0
  991. data/app/views/kaminari/_gap.html.erb +8 -0
  992. data/app/views/kaminari/_last_page.html.erb +11 -0
  993. data/app/views/kaminari/_next_page.html.erb +11 -0
  994. data/app/views/kaminari/_page.html.erb +12 -0
  995. data/app/views/kaminari/_paginator.html.erb +25 -0
  996. data/app/views/kaminari/_prev_page.html.erb +11 -0
  997. data/app/workers/gaku/importers/students/roster_worker.rb +18 -0
  998. data/app/workers/gaku/importers/students/school_station_zaikousei_worker.rb +15 -0
  999. data/config/initializers/active_record.rb +41 -0
  1000. data/config/initializers/client_side_validations.rb +9 -0
  1001. data/config/initializers/devise.rb +213 -0
  1002. data/config/initializers/i18n.rb +26 -0
  1003. data/config/initializers/inflections.rb +19 -0
  1004. data/config/initializers/kaminari_config.rb +10 -0
  1005. data/config/initializers/locale.rb +2 -0
  1006. data/config/initializers/mime_types.rb +1 -0
  1007. data/config/initializers/paper_trail.rb +3 -0
  1008. data/config/initializers/ruby_template_handler.rb +1 -0
  1009. data/config/initializers/sidekiq.rb +6 -0
  1010. data/config/initializers/translation_missing.rb +11 -0
  1011. data/config/initializers/wrap_parameters.rb +14 -0
  1012. data/config/locales/bg.yml +906 -0
  1013. data/config/locales/en.yml +908 -0
  1014. data/config/locales/ja.yml +908 -0
  1015. data/config/locales/pt-BR.yml +904 -0
  1016. data/config/locales/zh-CN.yml +904 -0
  1017. data/config/routes.rb +321 -0
  1018. data/db/default/gaku/attendance_types.rb +77 -0
  1019. data/db/default/gaku/commute_method_types.rb +29 -0
  1020. data/db/default/gaku/contact_types.yml +20 -0
  1021. data/db/default/gaku/countries.yml +1357 -0
  1022. data/db/default/gaku/enrollment_status.rb +37 -0
  1023. data/db/default/gaku/master_school.rb +6 -0
  1024. data/db/default/gaku/roles.yml +2 -0
  1025. data/db/default/gaku/scholarship_statuses.rb +19 -0
  1026. data/db/default/gaku/states.yml +494 -0
  1027. data/db/migrate/20120202111850_gaku_core.rb +771 -0
  1028. data/db/schema.rb +481 -0
  1029. data/db/seeds.rb +5 -0
  1030. data/lib/gaku/app_responder.rb +6 -0
  1031. data/lib/gaku/class_name_detector.rb +23 -0
  1032. data/lib/gaku/core.rb +45 -0
  1033. data/lib/gaku/core/console_colors.rb +22 -0
  1034. data/lib/gaku/core/engine.rb +45 -0
  1035. data/lib/gaku/core/url_helpers.rb +5 -0
  1036. data/lib/gaku/core/version.rb +5 -0
  1037. data/lib/gaku/exporters/roster_exporter.rb +36 -0
  1038. data/lib/gaku/grading/calculations.rb +279 -0
  1039. data/lib/gaku/grading/grade.rb +17 -0
  1040. data/lib/gaku/grading/japanese_hs_standard.rb +8 -0
  1041. data/lib/gaku/importers/key_mapper.rb +19 -0
  1042. data/lib/gaku/importers/logger.rb +10 -0
  1043. data/lib/gaku/importers/students/guardians.rb +89 -0
  1044. data/lib/gaku/importers/students/personal_information.rb +65 -0
  1045. data/lib/gaku/importers/students/roster.rb +50 -0
  1046. data/lib/gaku/importers/students/roster_to_student.rb +67 -0
  1047. data/lib/gaku/importers/students/school_station_zaikousei.rb +109 -0
  1048. data/lib/gaku/importers/students/student_identity.rb +17 -0
  1049. data/lib/gaku/testing/auth_helpers.rb +25 -0
  1050. data/lib/gaku/testing/common_rake.rb +27 -0
  1051. data/lib/gaku/testing/controller_helpers.rb +100 -0
  1052. data/lib/gaku/testing/env.rb +10 -0
  1053. data/lib/gaku/testing/factories.rb +5 -0
  1054. data/lib/gaku/testing/factories/achievement_factory.rb +12 -0
  1055. data/lib/gaku/testing/factories/address_factory.rb +22 -0
  1056. data/lib/gaku/testing/factories/assignment_factory.rb +11 -0
  1057. data/lib/gaku/testing/factories/assignment_score_factory.rb +8 -0
  1058. data/lib/gaku/testing/factories/attachment_factory.rb +15 -0
  1059. data/lib/gaku/testing/factories/attendance_factory.rb +11 -0
  1060. data/lib/gaku/testing/factories/attendance_type_factory.rb +14 -0
  1061. data/lib/gaku/testing/factories/campus_factory.rb +15 -0
  1062. data/lib/gaku/testing/factories/class_group_enrollment_factory.rb +9 -0
  1063. data/lib/gaku/testing/factories/class_group_factory.rb +18 -0
  1064. data/lib/gaku/testing/factories/commute_method_type_factory.rb +11 -0
  1065. data/lib/gaku/testing/factories/contact_factory.rb +19 -0
  1066. data/lib/gaku/testing/factories/contact_type_factory.rb +11 -0
  1067. data/lib/gaku/testing/factories/country_factory.rb +11 -0
  1068. data/lib/gaku/testing/factories/course_enrollment_factory.rb +8 -0
  1069. data/lib/gaku/testing/factories/course_factory.rb +7 -0
  1070. data/lib/gaku/testing/factories/course_group_enrollment_factory.rb +8 -0
  1071. data/lib/gaku/testing/factories/course_group_factory.rb +7 -0
  1072. data/lib/gaku/testing/factories/enrollment_status_factory.rb +28 -0
  1073. data/lib/gaku/testing/factories/exam_factory.rb +20 -0
  1074. data/lib/gaku/testing/factories/exam_portion_factory.rb +11 -0
  1075. data/lib/gaku/testing/factories/exam_portion_score_factory.rb +9 -0
  1076. data/lib/gaku/testing/factories/exam_schedule_factory.rb +9 -0
  1077. data/lib/gaku/testing/factories/exam_score_factory.rb +9 -0
  1078. data/lib/gaku/testing/factories/extracurricular_activity_factory.rb +7 -0
  1079. data/lib/gaku/testing/factories/faculty_factory.rb +6 -0
  1080. data/lib/gaku/testing/factories/grading_method_factory.rb +13 -0
  1081. data/lib/gaku/testing/factories/grading_method_set_factory.rb +11 -0
  1082. data/lib/gaku/testing/factories/grading_method_set_item_factory.rb +12 -0
  1083. data/lib/gaku/testing/factories/guardian_factory.rb +10 -0
  1084. data/lib/gaku/testing/factories/import_file_factory.rb +8 -0
  1085. data/lib/gaku/testing/factories/lesson_factory.rb +7 -0
  1086. data/lib/gaku/testing/factories/lesson_plan_factory.rb +9 -0
  1087. data/lib/gaku/testing/factories/level_factory.rb +8 -0
  1088. data/lib/gaku/testing/factories/note_factory.rb +8 -0
  1089. data/lib/gaku/testing/factories/program_factory.rb +39 -0
  1090. data/lib/gaku/testing/factories/program_level_factory.rb +8 -0
  1091. data/lib/gaku/testing/factories/program_specialty.rb +8 -0
  1092. data/lib/gaku/testing/factories/program_syllabus_factory.rb +9 -0
  1093. data/lib/gaku/testing/factories/role_factory.rb +43 -0
  1094. data/lib/gaku/testing/factories/schedule_factory.rb +9 -0
  1095. data/lib/gaku/testing/factories/scholarship_status_factory.rb +8 -0
  1096. data/lib/gaku/testing/factories/school_factory.rb +28 -0
  1097. data/lib/gaku/testing/factories/school_role_factory.rb +7 -0
  1098. data/lib/gaku/testing/factories/school_year_factory.rb +8 -0
  1099. data/lib/gaku/testing/factories/semester_class_group_factory.rb +8 -0
  1100. data/lib/gaku/testing/factories/semester_course.rb +8 -0
  1101. data/lib/gaku/testing/factories/semester_factory.rb +8 -0
  1102. data/lib/gaku/testing/factories/simple_grade_factory.rb +10 -0
  1103. data/lib/gaku/testing/factories/specialty_factory.rb +13 -0
  1104. data/lib/gaku/testing/factories/state_factory.rb +13 -0
  1105. data/lib/gaku/testing/factories/student_achievement_factory.rb +8 -0
  1106. data/lib/gaku/testing/factories/student_factory.rb +51 -0
  1107. data/lib/gaku/testing/factories/student_specialty_factory.rb +9 -0
  1108. data/lib/gaku/testing/factories/syllabus_factory.rb +16 -0
  1109. data/lib/gaku/testing/factories/teacher_factory.rb +15 -0
  1110. data/lib/gaku/testing/factories/template_factory.rb +11 -0
  1111. data/lib/gaku/testing/factories/traits.rb +68 -0
  1112. data/lib/gaku/testing/factories/user_factory.rb +42 -0
  1113. data/lib/gaku/testing/factories/user_role_factory.rb +8 -0
  1114. data/lib/gaku/testing/flash_helpers.rb +35 -0
  1115. data/lib/gaku/testing/request_helpers.rb +207 -0
  1116. data/lib/gaku_core.rb +1 -0
  1117. data/lib/generators/gaku/dummy/dummy_generator.rb +102 -0
  1118. data/lib/generators/gaku/dummy/templates/rails/application.rb +10 -0
  1119. data/lib/generators/gaku/dummy/templates/rails/boot.rb +6 -0
  1120. data/lib/generators/gaku/dummy/templates/rails/database.yml +15 -0
  1121. data/lib/generators/gaku/dummy/templates/rails/routes.rb +3 -0
  1122. data/lib/generators/gaku/dummy/templates/rails/script/rails +7 -0
  1123. data/lib/generators/gaku/install/install_generator.rb +162 -0
  1124. data/lib/generators/gaku/install/templates/Procfile +2 -0
  1125. data/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/all.js +14 -0
  1126. data/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/all.css +12 -0
  1127. data/lib/generators/gaku/install/templates/config/sidekiq.yml +8 -0
  1128. data/lib/generators/gaku/install/templates/log/sidekiq.log +0 -0
  1129. data/lib/tasks/admin_user.rake +104 -0
  1130. data/lib/tasks/core.rake +65 -0
  1131. data/lib/tasks/reset.rake +37 -0
  1132. data/vendor/assets/javascripts/backbone.js +1431 -0
  1133. data/vendor/assets/javascripts/tablefix.js.coffee +109 -0
  1134. metadata +1713 -0
@@ -0,0 +1,771 @@
1
+ class GakuCore < ActiveRecord::Migration
2
+ def change
3
+
4
+ create_table 'gaku_achievements' do |t|
5
+ t.string 'name'
6
+ t.text 'description'
7
+ t.string 'authority'
8
+ t.string 'badge_file_name'
9
+ t.string 'badge_content_type'
10
+ t.integer 'badge_file_size'
11
+ t.datetime 'badge_updated_at'
12
+ t.integer 'external_school_record_id'
13
+ t.datetime 'created_at'
14
+ t.datetime 'updated_at'
15
+ end
16
+
17
+ create_table 'gaku_addresses' do |t|
18
+ t.string 'address1'
19
+ t.string 'address2'
20
+ t.string 'city'
21
+ t.string 'zipcode'
22
+ t.string 'title'
23
+ t.boolean 'deleted', default: false
24
+ t.boolean 'primary', default: false
25
+ t.integer 'addressable_id'
26
+ t.string 'addressable_type'
27
+ t.integer 'country_id'
28
+ t.integer 'state_id'
29
+ t.datetime 'created_at'
30
+ t.datetime 'updated_at'
31
+ end
32
+
33
+ create_table 'gaku_assignment_scores' do |t|
34
+ t.float 'score'
35
+ t.integer 'student_id'
36
+ t.datetime 'created_at'
37
+ t.datetime 'updated_at'
38
+ end
39
+
40
+ create_table 'gaku_assignments' do |t|
41
+ t.string 'name'
42
+ t.text 'description'
43
+ t.integer 'max_score'
44
+ t.integer 'syllabus_id'
45
+ t.integer 'grading_method_id'
46
+ t.datetime 'created_at'
47
+ t.datetime 'updated_at'
48
+ end
49
+
50
+ create_table 'gaku_attachments' do |t|
51
+ t.string 'name'
52
+ t.text 'description'
53
+ t.boolean 'deleted', default: false
54
+ t.integer 'attachable_id'
55
+ t.string 'attachable_type'
56
+ t.string 'asset_file_name'
57
+ t.string 'asset_content_type'
58
+ t.integer 'asset_file_size'
59
+ t.datetime 'asset_updated_at'
60
+ end
61
+
62
+ create_table 'gaku_attendance_type_translations' do |t|
63
+ t.integer 'gaku_attendance_type_id', null: false
64
+ t.string 'locale', null: false
65
+ t.datetime 'created_at'
66
+ t.datetime 'updated_at'
67
+ t.string 'name'
68
+ end
69
+
70
+ add_index 'gaku_attendance_type_translations', ['gaku_attendance_type_id'], name: 'index_144d49f40337496bacec02aefc694f93f07d0581', using: :btree
71
+ add_index 'gaku_attendance_type_translations', ['locale'], name: 'index_gaku_attendance_type_translations_on_locale', using: :btree
72
+
73
+ create_table 'gaku_attendance_types' do |t|
74
+ t.string 'name'
75
+ t.string 'color_code'
76
+ t.boolean 'counted_absent'
77
+ t.boolean 'disable_credit'
78
+ t.float 'credit_rate'
79
+ t.boolean 'auto_credit'
80
+ t.datetime 'created_at'
81
+ t.datetime 'updated_at'
82
+ end
83
+
84
+ create_table 'gaku_attendances' do |t|
85
+ t.text 'reason'
86
+ t.integer 'attendancable_id'
87
+ t.string 'attendancable_type'
88
+ t.integer 'student_id'
89
+ t.integer 'attendance_type_id'
90
+ t.datetime 'created_at'
91
+ t.datetime 'updated_at'
92
+ end
93
+
94
+ create_table 'gaku_campuses' do |t|
95
+ t.string 'name'
96
+ t.boolean 'master', default: false
97
+ t.integer 'school_id'
98
+ t.datetime 'created_at'
99
+ t.datetime 'updated_at'
100
+ t.string 'picture_file_name'
101
+ t.string 'picture_content_type'
102
+ t.integer 'picture_file_size'
103
+ t.datetime 'picture_updated_at'
104
+ t.integer 'contacts_count', default: 0
105
+ t.integer 'addresses_count', default: 0
106
+ end
107
+
108
+ create_table 'gaku_class_group_course_enrollments' do |t|
109
+ t.integer 'class_group_id'
110
+ t.integer 'course_id'
111
+ t.datetime 'created_at'
112
+ t.datetime 'updated_at'
113
+ end
114
+
115
+ create_table 'gaku_class_group_enrollments' do |t|
116
+ t.integer 'seat_number'
117
+ t.integer 'class_group_id'
118
+ t.integer 'student_id'
119
+ t.datetime 'created_at'
120
+ t.datetime 'updated_at'
121
+ end
122
+
123
+ create_table 'gaku_class_groups' do |t|
124
+ t.string 'name'
125
+ t.integer 'grade'
126
+ t.string 'homeroom'
127
+ t.integer 'faculty_id'
128
+ t.datetime 'created_at'
129
+ t.datetime 'updated_at'
130
+ t.integer 'notes_count', default: 0
131
+ end
132
+
133
+ create_table 'gaku_commute_method_type_translations' do |t|
134
+ t.integer 'gaku_commute_method_type_id', null: false
135
+ t.string 'locale', null: false
136
+ t.datetime 'created_at'
137
+ t.datetime 'updated_at'
138
+ t.string 'name'
139
+ end
140
+
141
+ add_index 'gaku_commute_method_type_translations', ['gaku_commute_method_type_id'], name: 'index_27960af5d7e19e965cc26c8f98c7d21e3a0ce580', using: :btree
142
+ add_index 'gaku_commute_method_type_translations', ['locale'], name: 'index_gaku_commute_method_type_translations_on_locale', using: :btree
143
+
144
+ create_table 'gaku_commute_method_types' do |t|
145
+ t.string 'name'
146
+ t.datetime 'created_at'
147
+ t.datetime 'updated_at'
148
+ end
149
+
150
+ create_table 'gaku_contact_types' do |t|
151
+ t.string 'name'
152
+ end
153
+
154
+ create_table 'gaku_contacts' do |t|
155
+ t.string 'data'
156
+ t.text 'details'
157
+ t.boolean 'primary', default: false
158
+ t.boolean 'emergency', default: false
159
+ t.boolean 'deleted', default: false
160
+ t.integer 'contactable_id'
161
+ t.string 'contactable_type'
162
+ t.integer 'contact_type_id'
163
+ t.datetime 'created_at'
164
+ t.datetime 'updated_at'
165
+ end
166
+
167
+ create_table 'gaku_countries' do |t|
168
+ t.string 'iso_name'
169
+ t.string 'iso'
170
+ t.string 'iso3'
171
+ t.string 'name'
172
+ t.integer 'numcode'
173
+ end
174
+
175
+ create_table 'gaku_course_enrollments' do |t|
176
+ t.integer 'student_id'
177
+ t.integer 'course_id'
178
+ t.datetime 'created_at'
179
+ t.datetime 'updated_at'
180
+ end
181
+
182
+ create_table 'gaku_course_group_enrollments' do |t|
183
+ t.integer 'course_id'
184
+ t.integer 'course_group_id'
185
+ end
186
+
187
+ create_table 'gaku_course_groups' do |t|
188
+ t.string 'name'
189
+ t.boolean 'deleted', default: false
190
+ t.datetime 'created_at'
191
+ t.datetime 'updated_at'
192
+ end
193
+
194
+ create_table 'gaku_courses' do |t|
195
+ t.string 'name'
196
+ t.string 'code'
197
+ t.integer 'faculty_id'
198
+ t.integer 'syllabus_id'
199
+ t.integer 'class_group_id'
200
+ t.datetime 'created_at'
201
+ t.datetime 'updated_at'
202
+ t.integer 'notes_count', default: 0
203
+ t.integer 'students_count', default: 0
204
+ end
205
+
206
+ create_table 'gaku_enrollment_status_translations' do |t|
207
+ t.integer 'gaku_enrollment_status_id', null: false
208
+ t.string 'locale', null: false
209
+ t.datetime 'created_at'
210
+ t.datetime 'updated_at'
211
+ t.string 'name'
212
+ end
213
+
214
+ add_index 'gaku_enrollment_status_translations', ['gaku_enrollment_status_id'], name: 'index_7865fd45090cea7b7810b5288a698bba41d45b8e', using: :btree
215
+ add_index 'gaku_enrollment_status_translations', ['locale'], name: 'index_gaku_enrollment_status_translations_on_locale', using: :btree
216
+
217
+ create_table 'gaku_enrollment_statuses' do |t|
218
+ t.string 'code'
219
+ t.string 'name'
220
+ t.boolean 'active'
221
+ t.boolean 'immutable'
222
+ t.datetime 'created_at'
223
+ t.datetime 'updated_at'
224
+ end
225
+
226
+ create_table 'gaku_exam_portion_scores' do |t|
227
+ t.float 'score'
228
+ t.string 'entry_number'
229
+ t.integer 'exam_portion_id'
230
+ t.integer 'student_id'
231
+ t.datetime 'created_at'
232
+ t.datetime 'updated_at'
233
+ end
234
+
235
+ create_table 'gaku_exam_portions' do |t|
236
+ t.string 'name'
237
+ t.float 'max_score'
238
+ t.float 'weight'
239
+ t.integer 'problem_count'
240
+ t.text 'description'
241
+ t.text 'adjustments'
242
+ t.integer 'position'
243
+ t.integer 'exam_id'
244
+ t.integer 'grading_method_id'
245
+ t.datetime 'created_at'
246
+ t.datetime 'updated_at'
247
+ end
248
+
249
+ create_table 'gaku_exam_schedules' do |t|
250
+ t.integer 'exam_portion_id'
251
+ t.integer 'schedule_id'
252
+ t.integer 'course_id'
253
+ end
254
+
255
+ create_table 'gaku_exam_scores' do |t|
256
+ t.float 'score'
257
+ t.text 'comment'
258
+ t.integer 'exam_id'
259
+ t.datetime 'created_at'
260
+ t.datetime 'updated_at'
261
+ end
262
+
263
+ create_table 'gaku_exam_syllabuses' do |t|
264
+ t.integer 'exam_id'
265
+ t.integer 'syllabus_id'
266
+ t.datetime 'created_at'
267
+ t.datetime 'updated_at'
268
+ end
269
+
270
+ create_table 'gaku_exams' do |t|
271
+ t.string 'name'
272
+ t.text 'description'
273
+ t.text 'adjustments'
274
+ t.float 'weight'
275
+ t.boolean 'use_weighting', default: false
276
+ t.boolean 'standalone', default: false
277
+ t.boolean 'deleted', default: false
278
+ t.boolean 'has_entry_numbers', default: false
279
+ t.integer 'grading_method_id'
280
+ t.datetime 'created_at'
281
+ t.datetime 'updated_at'
282
+ t.integer 'notes_count', default: 0
283
+ end
284
+
285
+ create_table 'gaku_external_school_records' do |t|
286
+ t.date 'beginning'
287
+ t.date 'ending'
288
+ t.string 'student_id_number'
289
+ t.integer 'absences'
290
+ t.float 'attendance_rate'
291
+ t.boolean 'graduated'
292
+ t.text 'data'
293
+ t.integer 'school_id'
294
+ t.integer 'student_id'
295
+ t.datetime 'created_at'
296
+ t.datetime 'updated_at'
297
+ end
298
+
299
+ create_table 'gaku_extracurricular_activities' do |t|
300
+ t.string 'name'
301
+ t.datetime 'created_at'
302
+ t.datetime 'updated_at'
303
+ end
304
+
305
+ create_table 'gaku_extracurricular_activity_enrollments' do |t|
306
+ t.integer 'extracurricular_activity_id'
307
+ t.integer 'student_id'
308
+ t.datetime 'created_at'
309
+ t.datetime 'updated_at'
310
+ end
311
+
312
+ create_table 'gaku_faculties' do |t|
313
+ t.integer 'user_id'
314
+ t.datetime 'created_at'
315
+ t.datetime 'updated_at'
316
+ end
317
+
318
+ create_table 'gaku_grading_method_set_items' do |t|
319
+ t.integer 'grading_method_id'
320
+ t.integer 'grading_method_set_id'
321
+ t.integer 'position'
322
+ t.datetime 'created_at'
323
+ t.datetime 'updated_at'
324
+ end
325
+
326
+ add_index 'gaku_grading_method_set_items', ['grading_method_id'], name: 'index_gaku_grading_method_set_items_on_grading_method_id', using: :btree
327
+ add_index 'gaku_grading_method_set_items', ['grading_method_set_id'], name: 'index_gaku_grading_method_set_items_on_grading_method_set_id', using: :btree
328
+
329
+ create_table 'gaku_grading_method_sets' do |t|
330
+ t.string 'name'
331
+ t.boolean 'primary', default: false
332
+ t.boolean 'display_deviation', default: true
333
+ t.boolean 'display_rank', default: true
334
+ t.boolean 'rank_order', default: true
335
+ t.datetime 'created_at'
336
+ t.datetime 'updated_at'
337
+ end
338
+
339
+ create_table 'gaku_grading_methods' do |t|
340
+ t.string 'name'
341
+ t.text 'description'
342
+ t.text 'method'
343
+ t.text 'arguments'
344
+ t.boolean 'curved', default: true
345
+ t.datetime 'created_at'
346
+ t.datetime 'updated_at'
347
+ end
348
+
349
+ create_table 'gaku_guardians' do |t|
350
+ t.string 'name'
351
+ t.string 'surname'
352
+ t.string 'middle_name'
353
+ t.string 'name_reading', default: ''
354
+ t.string 'middle_name_reading', default: ''
355
+ t.string 'surname_reading', default: ''
356
+ t.boolean 'gender'
357
+ t.date 'birth_date'
358
+ t.string 'relationship'
359
+ t.boolean 'deleted', default: false
360
+ t.integer 'user_id'
361
+ t.datetime 'created_at'
362
+ t.datetime 'updated_at'
363
+ t.string 'picture_file_name'
364
+ t.string 'picture_content_type'
365
+ t.integer 'picture_file_size'
366
+ t.datetime 'picture_updated_at'
367
+ t.integer 'addresses_count', default: 0
368
+ t.integer 'contacts_count', default: 0
369
+ end
370
+
371
+ create_table 'gaku_import_files' do |t|
372
+ t.string 'context'
373
+ t.string 'importer_type'
374
+ t.string 'data_file_file_name'
375
+ t.string 'data_file_content_type'
376
+ t.integer 'data_file_file_size'
377
+ t.datetime 'data_file_updated_at'
378
+ end
379
+
380
+ create_table 'gaku_installs' do |t|
381
+ t.string 'email', default: '', null: false
382
+ t.string 'encrypted_password', default: '', null: false
383
+ t.string 'reset_password_token'
384
+ t.datetime 'reset_password_sent_at'
385
+ t.datetime 'remember_created_at'
386
+ t.integer 'sign_in_count', default: 0
387
+ t.datetime 'current_sign_in_at'
388
+ t.datetime 'last_sign_in_at'
389
+ t.string 'current_sign_in_ip'
390
+ t.string 'last_sign_in_ip'
391
+ t.datetime 'created_at'
392
+ t.datetime 'updated_at'
393
+ end
394
+
395
+ add_index 'gaku_installs', ['email'], name: 'index_gaku_installs_on_email', unique: true, using: :btree
396
+ add_index 'gaku_installs', ['reset_password_token'], name: 'index_gaku_installs_on_reset_password_token', unique: true, using: :btree
397
+
398
+ create_table 'gaku_lesson_plans' do |t|
399
+ t.string 'title'
400
+ t.text 'description'
401
+ t.integer 'syllabus_id'
402
+ t.datetime 'created_at'
403
+ t.datetime 'updated_at'
404
+ t.integer 'notes_count', default: 0
405
+ end
406
+
407
+ create_table 'gaku_lessons' do |t|
408
+ t.integer 'lesson_plan_id'
409
+ t.datetime 'created_at'
410
+ t.datetime 'updated_at'
411
+ end
412
+
413
+ create_table 'gaku_levels' do |t|
414
+ t.string 'name'
415
+ t.integer 'school_id'
416
+ t.datetime 'created_at'
417
+ t.datetime 'updated_at'
418
+ end
419
+
420
+ create_table 'gaku_notes' do |t|
421
+ t.string 'title'
422
+ t.text 'content'
423
+ t.integer 'notable_id'
424
+ t.string 'notable_type'
425
+ t.datetime 'created_at'
426
+ t.datetime 'updated_at'
427
+ end
428
+
429
+ add_index 'gaku_notes', ['notable_id', 'notable_type'], name: 'index_gaku_notes_on_notable_id_and_notable_type', using: :btree
430
+
431
+ create_table 'gaku_presets' do |t|
432
+ t.string 'name'
433
+ t.string 'content'
434
+ t.datetime 'created_at'
435
+ t.datetime 'updated_at'
436
+ end
437
+
438
+ create_table 'gaku_program_levels' do |t|
439
+ t.integer 'program_id'
440
+ t.integer 'level_id'
441
+ end
442
+
443
+ create_table 'gaku_program_specialties' do |t|
444
+ t.integer 'program_id'
445
+ t.integer 'specialty_id'
446
+ end
447
+
448
+ create_table 'gaku_program_syllabuses' do |t|
449
+ t.integer 'program_id'
450
+ t.integer 'syllabus_id'
451
+ t.integer 'level_id'
452
+ end
453
+
454
+ create_table 'gaku_programs' do |t|
455
+ t.string 'name'
456
+ t.text 'description'
457
+ t.integer 'school_id'
458
+ t.datetime 'created_at'
459
+ t.datetime 'updated_at'
460
+ end
461
+
462
+ create_table 'gaku_roles' do |t|
463
+ t.string 'name'
464
+ t.integer 'class_group_enrollment_id'
465
+ t.integer 'faculty_id'
466
+ t.datetime 'created_at'
467
+ t.datetime 'updated_at'
468
+ t.integer 'extracurricular_activity_enrollment_id'
469
+ end
470
+
471
+ create_table 'gaku_schedules' do |t|
472
+ t.datetime 'starting'
473
+ t.datetime 'ending'
474
+ t.string 'repeat'
475
+ t.datetime 'created_at'
476
+ t.datetime 'updated_at'
477
+ end
478
+
479
+ create_table 'gaku_scholarship_status_translations' do |t|
480
+ t.integer 'gaku_scholarship_status_id', null: false
481
+ t.string 'locale', null: false
482
+ t.datetime 'created_at'
483
+ t.datetime 'updated_at'
484
+ t.string 'name'
485
+ end
486
+
487
+ add_index 'gaku_scholarship_status_translations', ['gaku_scholarship_status_id'], name: 'index_fd3bb92292a989ddcdc49aabf021ceb1ce5f0d04', using: :btree
488
+ add_index 'gaku_scholarship_status_translations', ['locale'], name: 'index_gaku_scholarship_status_translations_on_locale', using: :btree
489
+
490
+ create_table 'gaku_scholarship_statuses' do |t|
491
+ t.string 'name'
492
+ t.datetime 'created_at'
493
+ t.datetime 'updated_at'
494
+ t.boolean 'default'
495
+ end
496
+
497
+ create_table 'gaku_school_histories' do |t|
498
+ t.date 'beginning'
499
+ t.date 'ending'
500
+ t.string 'specialty'
501
+ t.boolean 'graduated'
502
+ t.integer 'school_id'
503
+ t.integer 'student_id'
504
+ t.datetime 'created_at'
505
+ t.datetime 'updated_at'
506
+ end
507
+
508
+ create_table 'gaku_school_roles' do |t|
509
+ t.string 'name'
510
+ t.integer 'school_rolable_id'
511
+ t.string 'school_rolable_type'
512
+ t.integer 'school_role_type_id'
513
+ t.datetime 'created_at'
514
+ t.datetime 'updated_at'
515
+ end
516
+
517
+ create_table 'gaku_school_years' do |t|
518
+ t.date 'starting'
519
+ t.date 'ending'
520
+ t.datetime 'created_at'
521
+ t.datetime 'updated_at'
522
+ end
523
+
524
+ create_table 'gaku_schools' do |t|
525
+ t.string 'name'
526
+ t.boolean 'primary', default: false
527
+ t.text 'slogan'
528
+ t.text 'description'
529
+ t.date 'founded'
530
+ t.string 'principal'
531
+ t.string 'vice_principal'
532
+ t.text 'grades'
533
+ t.string 'code'
534
+ t.datetime 'created_at'
535
+ t.datetime 'updated_at'
536
+ t.string 'picture_file_name'
537
+ t.string 'picture_content_type'
538
+ t.integer 'picture_file_size'
539
+ t.datetime 'picture_updated_at'
540
+ end
541
+
542
+ create_table 'gaku_semester_class_groups' do |t|
543
+ t.integer 'semester_id'
544
+ t.integer 'class_group_id'
545
+ t.datetime 'created_at'
546
+ t.datetime 'updated_at'
547
+ end
548
+
549
+ add_index 'gaku_semester_class_groups', ['class_group_id'], name: 'index_gaku_semester_class_groups_on_class_group_id', using: :btree
550
+ add_index 'gaku_semester_class_groups', ['semester_id'], name: 'index_gaku_semester_class_groups_on_semester_id', using: :btree
551
+
552
+ create_table 'gaku_semester_courses' do |t|
553
+ t.integer 'semester_id'
554
+ t.integer 'course_id'
555
+ t.datetime 'created_at'
556
+ t.datetime 'updated_at'
557
+ end
558
+
559
+ add_index 'gaku_semester_courses', ['course_id'], name: 'index_gaku_semester_courses_on_course_id', using: :btree
560
+ add_index 'gaku_semester_courses', ['semester_id'], name: 'index_gaku_semester_courses_on_semester_id', using: :btree
561
+
562
+ create_table 'gaku_semesters' do |t|
563
+ t.date 'starting'
564
+ t.date 'ending'
565
+ t.integer 'school_year_id'
566
+ t.datetime 'created_at'
567
+ t.datetime 'updated_at'
568
+ end
569
+
570
+ create_table 'gaku_simple_grades' do |t|
571
+ t.string 'name'
572
+ t.string 'grade'
573
+ t.integer 'school_id'
574
+ t.integer 'student_id'
575
+ t.integer 'external_school_record_id'
576
+ t.datetime 'created_at'
577
+ t.datetime 'updated_at'
578
+ end
579
+
580
+ create_table 'gaku_specialties' do |t|
581
+ t.string 'name'
582
+ t.text 'description'
583
+ t.boolean 'major_only', default: false
584
+ t.datetime 'created_at'
585
+ t.datetime 'updated_at'
586
+ end
587
+
588
+ create_table 'gaku_states' do |t|
589
+ t.string 'name'
590
+ t.string 'abbr'
591
+ t.string 'name_ascii'
592
+ t.integer 'code'
593
+ t.string 'country_iso'
594
+ end
595
+
596
+ create_table 'gaku_student_achievements' do |t|
597
+ t.integer 'student_id'
598
+ t.integer 'achievement_id'
599
+ t.string 'assertion'
600
+ t.datetime 'created_at'
601
+ t.datetime 'updated_at'
602
+ end
603
+
604
+ create_table 'gaku_student_guardians' do |t|
605
+ t.integer 'student_id'
606
+ t.integer 'guardian_id'
607
+ t.datetime 'created_at'
608
+ t.datetime 'updated_at'
609
+ end
610
+
611
+ create_table 'gaku_student_specialties' do |t|
612
+ t.integer 'student_id'
613
+ t.integer 'specialty_id'
614
+ t.boolean 'major', default: true
615
+ t.datetime 'created_at'
616
+ t.datetime 'updated_at'
617
+ end
618
+
619
+ create_table 'gaku_students' do |t|
620
+ t.string 'name'
621
+ t.string 'middle_name'
622
+ t.string 'surname'
623
+ t.string 'name_reading', default: ''
624
+ t.string 'middle_name_reading', default: ''
625
+ t.string 'surname_reading', default: ''
626
+ t.boolean 'gender'
627
+ t.date 'birth_date'
628
+ t.date 'admitted'
629
+ t.date 'graduated'
630
+ t.string 'student_id_number'
631
+ t.string 'student_foreign_id_number'
632
+ t.string 'national_registration_number'
633
+ t.boolean 'deleted', default: false
634
+ t.string 'enrollment_status_code'
635
+ t.string 'picture_file_name'
636
+ t.string 'picture_content_type'
637
+ t.integer 'picture_file_size'
638
+ t.datetime 'picture_updated_at'
639
+ t.integer 'user_id'
640
+ t.integer 'faculty_id'
641
+ t.integer 'commute_method_type_id'
642
+ t.integer 'scholarship_status_id'
643
+ t.datetime 'created_at'
644
+ t.datetime 'updated_at'
645
+ t.integer 'addresses_count', default: 0
646
+ t.integer 'contacts_count', default: 0
647
+ t.integer 'notes_count', default: 0
648
+ t.integer 'courses_count', default: 0
649
+ t.integer 'guardians_count', default: 0
650
+ t.string 'primary_address'
651
+ t.string 'primary_contact'
652
+ t.string 'class_and_number'
653
+ end
654
+
655
+ create_table 'gaku_syllabuses' do |t|
656
+ t.string 'name'
657
+ t.string 'code'
658
+ t.text 'description'
659
+ t.integer 'credits'
660
+ t.integer 'hours'
661
+ t.datetime 'created_at'
662
+ t.datetime 'updated_at'
663
+ t.integer 'notes_count', default: 0
664
+ t.integer 'exams_count', default: 0
665
+ end
666
+
667
+ create_table 'gaku_teachers' do |t|
668
+ t.string 'name'
669
+ t.string 'surname'
670
+ t.string 'middle_name'
671
+ t.string 'name_reading', default: ''
672
+ t.string 'middle_name_reading', default: ''
673
+ t.string 'surname_reading', default: ''
674
+ t.boolean 'gender'
675
+ t.date 'birth_date'
676
+ t.boolean 'deleted', default: false
677
+ t.string 'picture_file_name'
678
+ t.string 'picture_content_type'
679
+ t.integer 'picture_file_size'
680
+ t.datetime 'picture_updated_at'
681
+ t.integer 'user_id'
682
+ t.datetime 'created_at'
683
+ t.datetime 'updated_at'
684
+ t.integer 'addresses_count', default: 0
685
+ t.integer 'contacts_count', default: 0
686
+ t.integer 'notes_count', default: 0
687
+ end
688
+
689
+ create_table 'gaku_templates' do |t|
690
+ t.string 'file_file_name'
691
+ t.string 'file_content_type'
692
+ t.integer 'file_file_size'
693
+ t.datetime 'file_updated_at'
694
+ t.string 'name'
695
+ t.string 'context'
696
+ t.boolean 'locked', default: false
697
+ end
698
+
699
+ create_table 'gaku_user_roles' do |t|
700
+ t.integer 'user_id'
701
+ t.integer 'role_id'
702
+ t.datetime 'created_at'
703
+ t.datetime 'updated_at'
704
+ end
705
+
706
+ create_table 'gaku_users' do |t|
707
+ t.boolean 'admin', default: false
708
+ t.text 'settings'
709
+ t.string 'locale'
710
+ t.integer 'sign_in_count', default: 0
711
+ t.datetime 'current_sign_in_at'
712
+ t.datetime 'last_sign_in_at'
713
+ t.string 'current_sign_in_ip'
714
+ t.string 'last_sign_in_ip'
715
+ t.string 'reset_password_token'
716
+ t.datetime 'reset_password_sent_at'
717
+ t.datetime 'remember_created_at'
718
+ t.string 'username'
719
+ t.string 'email'
720
+ t.string 'encrypted_password'
721
+ t.datetime 'created_at'
722
+ t.datetime 'updated_at'
723
+ end
724
+
725
+ add_index 'gaku_users', ['email'], name: 'index_gaku_users_on_email', unique: true, using: :btree
726
+ add_index 'gaku_users', ['reset_password_token'], name: 'index_gaku_users_on_reset_password_token', unique: true, using: :btree
727
+ add_index 'gaku_users', ['username'], name: 'index_gaku_users_on_username', unique: true, using: :btree
728
+
729
+ create_table 'gaku_versioning_address_versions' do |t|
730
+ t.string 'item_type', null: false
731
+ t.integer 'item_id', null: false
732
+ t.string 'event', null: false
733
+ t.string 'whodunnit'
734
+ t.text 'object'
735
+ t.text 'object_changes'
736
+ t.string 'join_model'
737
+ t.integer 'joined_resource_id'
738
+ t.datetime 'created_at'
739
+ end
740
+
741
+ add_index 'gaku_versioning_address_versions', ['item_type', 'item_id'], name: 'index_gaku_versioning_address_versions_on_item_fields', using: :btree
742
+
743
+ create_table 'gaku_versioning_contact_versions' do |t|
744
+ t.string 'item_type', null: false
745
+ t.integer 'item_id', null: false
746
+ t.string 'event', null: false
747
+ t.string 'whodunnit'
748
+ t.text 'object'
749
+ t.text 'object_changes'
750
+ t.string 'join_model'
751
+ t.integer 'joined_resource_id'
752
+ t.datetime 'created_at'
753
+ end
754
+
755
+ add_index 'gaku_versioning_contact_versions', ['item_type', 'item_id'], name: 'index_gaku_versioning_contact_versions_on_item_fields', using: :btree
756
+
757
+ create_table 'gaku_versioning_student_versions' do |t|
758
+ t.string 'item_type', null: false
759
+ t.integer 'item_id', null: false
760
+ t.string 'event', null: false
761
+ t.string 'whodunnit'
762
+ t.text 'object'
763
+ t.text 'object_changes'
764
+ t.text 'human_changes'
765
+ t.datetime 'created_at'
766
+ end
767
+
768
+ add_index 'gaku_versioning_student_versions', ['item_type', 'item_id'], name: 'index_gaku_versioning_student_versions_on_item_fields', using: :btree
769
+
770
+ end
771
+ end