gaku 0.2.4 → 0.3.0.pre.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1646) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +66 -0
  3. data/VERSION +1 -1
  4. data/bin/.gaku.swp +0 -0
  5. data/bin/gaku +91 -0
  6. data/common_gaku_dependencies.rb +3 -2
  7. data/common_gaku_gemspec_mixin.rb +2 -4
  8. data/docker-compose.yml +30 -0
  9. data/gaku.gemspec +23 -8
  10. data/lib/gaku.rb +3 -2
  11. data/lib/gaku/container.rb +39 -0
  12. data/wait-for-it.sh +177 -0
  13. metadata +24 -1670
  14. data/.gitignore +0 -88
  15. data/.hound.yml +0 -36
  16. data/.rspec +0 -2
  17. data/.rubocop.yml +0 -36
  18. data/.travis.yml +0 -44
  19. data/LICENSE.md +0 -19
  20. data/README.md +0 -203
  21. data/admin/.rspec +0 -2
  22. data/admin/Gemfile +0 -7
  23. data/admin/Guardfile +0 -40
  24. data/admin/Rakefile +0 -17
  25. data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.eot +0 -0
  26. data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.svg +0 -228
  27. data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.ttf +0 -0
  28. data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.woff +0 -0
  29. data/admin/app/assets/javascripts/gaku/admin.js.coffee +0 -49
  30. data/admin/app/assets/javascripts/gaku/admin/admin.coffee +0 -51
  31. data/admin/app/assets/javascripts/gaku/admin/base.js.coffee +0 -138
  32. data/admin/app/assets/javascripts/gaku/admin/slide.js.erb +0 -14
  33. data/admin/app/assets/stylesheets/gaku/admin.css +0 -12
  34. data/admin/app/assets/stylesheets/gaku/admin/bootstrap_and_theme.css.scss +0 -586
  35. data/admin/app/assets/stylesheets/gaku/admin/disposals.css.scss +0 -14
  36. data/admin/app/assets/stylesheets/gaku/admin/gaku.css.scss +0 -216
  37. data/admin/app/assets/templates/roster.xls +0 -0
  38. data/admin/app/controllers/concerns/admin_picture_controller.rb +0 -28
  39. data/admin/app/controllers/gaku/admin/attendance_types_controller.rb +0 -60
  40. data/admin/app/controllers/gaku/admin/badge_types_controller.rb +0 -62
  41. data/admin/app/controllers/gaku/admin/base_controller.rb +0 -43
  42. data/admin/app/controllers/gaku/admin/campuses/addresses_controller.rb +0 -60
  43. data/admin/app/controllers/gaku/admin/campuses/contacts_controller.rb +0 -73
  44. data/admin/app/controllers/gaku/admin/campuses_controller.rb +0 -68
  45. data/admin/app/controllers/gaku/admin/commute_method_types_controller.rb +0 -55
  46. data/admin/app/controllers/gaku/admin/contact_types_controller.rb +0 -55
  47. data/admin/app/controllers/gaku/admin/departments_controller.rb +0 -55
  48. data/admin/app/controllers/gaku/admin/enrollment_statuses_controller.rb +0 -59
  49. data/admin/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +0 -70
  50. data/admin/app/controllers/gaku/admin/grading_method_sets_controller.rb +0 -69
  51. data/admin/app/controllers/gaku/admin/grading_methods_controller.rb +0 -61
  52. data/admin/app/controllers/gaku/admin/home_controller.rb +0 -11
  53. data/admin/app/controllers/gaku/admin/presets_controller.rb +0 -90
  54. data/admin/app/controllers/gaku/admin/roles_controller.rb +0 -55
  55. data/admin/app/controllers/gaku/admin/school_years/semesters_controller.rb +0 -57
  56. data/admin/app/controllers/gaku/admin/school_years_controller.rb +0 -59
  57. data/admin/app/controllers/gaku/admin/schools/programs_controller.rb +0 -86
  58. data/admin/app/controllers/gaku/admin/schools_controller.rb +0 -87
  59. data/admin/app/controllers/gaku/admin/simple_grade_types_controller.rb +0 -71
  60. data/admin/app/controllers/gaku/admin/specialties_controller.rb +0 -60
  61. data/admin/app/controllers/gaku/admin/states_controller.rb +0 -92
  62. data/admin/app/controllers/gaku/admin/states_list_controller.rb +0 -20
  63. data/admin/app/controllers/gaku/admin/student_review_categories_controller.rb +0 -57
  64. data/admin/app/controllers/gaku/admin/system_tools_controller.rb +0 -8
  65. data/admin/app/controllers/gaku/admin/templates_controller.rb +0 -69
  66. data/admin/app/controllers/gaku/admin/users_controller.rb +0 -80
  67. data/admin/app/helpers/gaku/admin_helper.rb +0 -27
  68. data/admin/app/helpers/gaku/presets_helper.rb +0 -10
  69. data/admin/app/helpers/gaku/shared_helper.rb +0 -35
  70. data/admin/app/overrides/admin_menu.rb +0 -7
  71. data/admin/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +0 -2
  72. data/admin/app/views/gaku/admin/attendance_types/_attendance_types.html.slim +0 -25
  73. data/admin/app/views/gaku/admin/attendance_types/_fields.html.slim +0 -9
  74. data/admin/app/views/gaku/admin/attendance_types/_form.html.slim +0 -3
  75. data/admin/app/views/gaku/admin/attendance_types/_form_fields.html.slim +0 -6
  76. data/admin/app/views/gaku/admin/attendance_types/_modal.html.slim +0 -4
  77. data/admin/app/views/gaku/admin/attendance_types/create.js.erb +0 -7
  78. data/admin/app/views/gaku/admin/attendance_types/destroy.js.erb +0 -2
  79. data/admin/app/views/gaku/admin/attendance_types/edit.js.erb +0 -4
  80. data/admin/app/views/gaku/admin/attendance_types/index.js.erb +0 -1
  81. data/admin/app/views/gaku/admin/attendance_types/index.json.rb +0 -1
  82. data/admin/app/views/gaku/admin/attendance_types/new.js.erb +0 -4
  83. data/admin/app/views/gaku/admin/attendance_types/update.js.erb +0 -4
  84. data/admin/app/views/gaku/admin/badge_types/_badge_type.html.slim +0 -2
  85. data/admin/app/views/gaku/admin/badge_types/_badge_types.html.slim +0 -23
  86. data/admin/app/views/gaku/admin/badge_types/_fields.html.slim +0 -7
  87. data/admin/app/views/gaku/admin/badge_types/_form.html.slim +0 -3
  88. data/admin/app/views/gaku/admin/badge_types/_form_fields.html.slim +0 -7
  89. data/admin/app/views/gaku/admin/badge_types/_modal.html.slim +0 -4
  90. data/admin/app/views/gaku/admin/badge_types/create.js.erb +0 -7
  91. data/admin/app/views/gaku/admin/badge_types/destroy.js.erb +0 -2
  92. data/admin/app/views/gaku/admin/badge_types/edit.js.erb +0 -3
  93. data/admin/app/views/gaku/admin/badge_types/index.js.erb +0 -1
  94. data/admin/app/views/gaku/admin/badge_types/new.js.erb +0 -3
  95. data/admin/app/views/gaku/admin/badge_types/update.js.erb +0 -3
  96. data/admin/app/views/gaku/admin/campuses/_campus.html.slim +0 -4
  97. data/admin/app/views/gaku/admin/campuses/_campuses.html.slim +0 -21
  98. data/admin/app/views/gaku/admin/campuses/_edit_form.html.slim +0 -3
  99. data/admin/app/views/gaku/admin/campuses/_form.html.slim +0 -3
  100. data/admin/app/views/gaku/admin/campuses/_form_fields.html.slim +0 -1
  101. data/admin/app/views/gaku/admin/campuses/addresses/_address.html.slim +0 -6
  102. data/admin/app/views/gaku/admin/campuses/addresses/_address_row_fields.html.slim +0 -4
  103. data/admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim +0 -23
  104. data/admin/app/views/gaku/admin/campuses/addresses/_fields.html.slim +0 -7
  105. data/admin/app/views/gaku/admin/campuses/addresses/_form.html.slim +0 -3
  106. data/admin/app/views/gaku/admin/campuses/addresses/_form_fields.html.slim +0 -25
  107. data/admin/app/views/gaku/admin/campuses/addresses/_modal.html.slim +0 -5
  108. data/admin/app/views/gaku/admin/campuses/addresses/create.js.erb +0 -6
  109. data/admin/app/views/gaku/admin/campuses/addresses/destroy.js.erb +0 -2
  110. data/admin/app/views/gaku/admin/campuses/addresses/edit.js.erb +0 -4
  111. data/admin/app/views/gaku/admin/campuses/addresses/index.js.erb +0 -1
  112. data/admin/app/views/gaku/admin/campuses/addresses/new.js.erb +0 -4
  113. data/admin/app/views/gaku/admin/campuses/addresses/update.js.erb +0 -4
  114. data/admin/app/views/gaku/admin/campuses/contacts/_contact.html.slim +0 -3
  115. data/admin/app/views/gaku/admin/campuses/contacts/_contacts.html.slim +0 -22
  116. data/admin/app/views/gaku/admin/campuses/contacts/_delete_link.html.slim +0 -1
  117. data/admin/app/views/gaku/admin/campuses/contacts/_fields.html.slim +0 -11
  118. data/admin/app/views/gaku/admin/campuses/contacts/_form.html.slim +0 -3
  119. data/admin/app/views/gaku/admin/campuses/contacts/_form_fields.html.slim +0 -14
  120. data/admin/app/views/gaku/admin/campuses/contacts/_modal.html.slim +0 -5
  121. data/admin/app/views/gaku/admin/campuses/contacts/_primary_field.html.slim +0 -6
  122. data/admin/app/views/gaku/admin/campuses/contacts/create.js.erb +0 -20
  123. data/admin/app/views/gaku/admin/campuses/contacts/destroy.js.erb +0 -8
  124. data/admin/app/views/gaku/admin/campuses/contacts/edit.js.erb +0 -4
  125. data/admin/app/views/gaku/admin/campuses/contacts/index.js.erb +0 -1
  126. data/admin/app/views/gaku/admin/campuses/contacts/make_primary.js.erb +0 -6
  127. data/admin/app/views/gaku/admin/campuses/contacts/new.js.erb +0 -3
  128. data/admin/app/views/gaku/admin/campuses/contacts/soft_delete.js.erb +0 -8
  129. data/admin/app/views/gaku/admin/campuses/contacts/update.js.erb +0 -14
  130. data/admin/app/views/gaku/admin/campuses/create.js.erb +0 -9
  131. data/admin/app/views/gaku/admin/campuses/destroy.js.erb +0 -2
  132. data/admin/app/views/gaku/admin/campuses/edit.html.slim +0 -34
  133. data/admin/app/views/gaku/admin/campuses/edit.js.erb +0 -1
  134. data/admin/app/views/gaku/admin/campuses/index.js.erb +0 -1
  135. data/admin/app/views/gaku/admin/campuses/new.js.erb +0 -3
  136. data/admin/app/views/gaku/admin/campuses/update.js.erb +0 -2
  137. data/admin/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +0 -2
  138. data/admin/app/views/gaku/admin/commute_method_types/_commute_method_types.html.slim +0 -18
  139. data/admin/app/views/gaku/admin/commute_method_types/_fields.html.slim +0 -4
  140. data/admin/app/views/gaku/admin/commute_method_types/_form.html.slim +0 -3
  141. data/admin/app/views/gaku/admin/commute_method_types/_modal.html.slim +0 -4
  142. data/admin/app/views/gaku/admin/commute_method_types/create.js.erb +0 -7
  143. data/admin/app/views/gaku/admin/commute_method_types/destroy.js.erb +0 -2
  144. data/admin/app/views/gaku/admin/commute_method_types/edit.js.erb +0 -3
  145. data/admin/app/views/gaku/admin/commute_method_types/index.js.erb +0 -1
  146. data/admin/app/views/gaku/admin/commute_method_types/new.js.erb +0 -3
  147. data/admin/app/views/gaku/admin/commute_method_types/update.js.erb +0 -3
  148. data/admin/app/views/gaku/admin/contact_types/_contact_type.html.slim +0 -2
  149. data/admin/app/views/gaku/admin/contact_types/_contact_types.html.slim +0 -18
  150. data/admin/app/views/gaku/admin/contact_types/_fields.html.slim +0 -4
  151. data/admin/app/views/gaku/admin/contact_types/_form.html.slim +0 -3
  152. data/admin/app/views/gaku/admin/contact_types/_modal.html.slim +0 -4
  153. data/admin/app/views/gaku/admin/contact_types/create.js.erb +0 -7
  154. data/admin/app/views/gaku/admin/contact_types/destroy.js.erb +0 -2
  155. data/admin/app/views/gaku/admin/contact_types/edit.js.erb +0 -3
  156. data/admin/app/views/gaku/admin/contact_types/index.js.erb +0 -1
  157. data/admin/app/views/gaku/admin/contact_types/new.js.erb +0 -3
  158. data/admin/app/views/gaku/admin/contact_types/update.js.erb +0 -3
  159. data/admin/app/views/gaku/admin/departments/_department.html.slim +0 -2
  160. data/admin/app/views/gaku/admin/departments/_departments.html.slim +0 -21
  161. data/admin/app/views/gaku/admin/departments/_form.html.slim +0 -3
  162. data/admin/app/views/gaku/admin/departments/_form_fields.html.slim +0 -1
  163. data/admin/app/views/gaku/admin/departments/_modal.html.slim +0 -4
  164. data/admin/app/views/gaku/admin/departments/_table_fields.html.slim +0 -5
  165. data/admin/app/views/gaku/admin/departments/create.js.erb +0 -7
  166. data/admin/app/views/gaku/admin/departments/destroy.js.erb +0 -2
  167. data/admin/app/views/gaku/admin/departments/edit.js.erb +0 -3
  168. data/admin/app/views/gaku/admin/departments/index.js.erb +0 -1
  169. data/admin/app/views/gaku/admin/departments/new.js.erb +0 -3
  170. data/admin/app/views/gaku/admin/departments/update.js.erb +0 -4
  171. data/admin/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +0 -2
  172. data/admin/app/views/gaku/admin/enrollment_statuses/_enrollment_statuses.html.slim +0 -20
  173. data/admin/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +0 -6
  174. data/admin/app/views/gaku/admin/enrollment_statuses/_form.html.slim +0 -3
  175. data/admin/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +0 -3
  176. data/admin/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +0 -4
  177. data/admin/app/views/gaku/admin/enrollment_statuses/create.js.erb +0 -7
  178. data/admin/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +0 -2
  179. data/admin/app/views/gaku/admin/enrollment_statuses/edit.js.erb +0 -3
  180. data/admin/app/views/gaku/admin/enrollment_statuses/index.js.erb +0 -1
  181. data/admin/app/views/gaku/admin/enrollment_statuses/new.js.erb +0 -3
  182. data/admin/app/views/gaku/admin/enrollment_statuses/update.js.erb +0 -4
  183. data/admin/app/views/gaku/admin/grading_method_sets/_fields.html.slim +0 -9
  184. data/admin/app/views/gaku/admin/grading_method_sets/_form.html.slim +0 -3
  185. data/admin/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +0 -4
  186. data/admin/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +0 -4
  187. data/admin/app/views/gaku/admin/grading_method_sets/_grading_method_sets.html.slim +0 -24
  188. data/admin/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +0 -4
  189. data/admin/app/views/gaku/admin/grading_method_sets/_modal.html.slim +0 -4
  190. data/admin/app/views/gaku/admin/grading_method_sets/_show.html.slim +0 -4
  191. data/admin/app/views/gaku/admin/grading_method_sets/create.js.erb +0 -7
  192. data/admin/app/views/gaku/admin/grading_method_sets/destroy.js.erb +0 -7
  193. data/admin/app/views/gaku/admin/grading_method_sets/edit.js.erb +0 -3
  194. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +0 -9
  195. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +0 -3
  196. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +0 -1
  197. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +0 -4
  198. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +0 -23
  199. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +0 -4
  200. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +0 -7
  201. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +0 -2
  202. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +0 -3
  203. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +0 -3
  204. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +0 -3
  205. data/admin/app/views/gaku/admin/grading_method_sets/index.js.erb +0 -1
  206. data/admin/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +0 -6
  207. data/admin/app/views/gaku/admin/grading_method_sets/new.js.erb +0 -3
  208. data/admin/app/views/gaku/admin/grading_method_sets/show.js.erb +0 -1
  209. data/admin/app/views/gaku/admin/grading_method_sets/update.js.erb +0 -3
  210. data/admin/app/views/gaku/admin/grading_methods/_criteria_form_fields.html.slim +0 -19
  211. data/admin/app/views/gaku/admin/grading_methods/_criteria_template.html.slim +0 -11
  212. data/admin/app/views/gaku/admin/grading_methods/_fields.html.slim +0 -6
  213. data/admin/app/views/gaku/admin/grading_methods/_form.html.slim +0 -3
  214. data/admin/app/views/gaku/admin/grading_methods/_form_fields.html.slim +0 -5
  215. data/admin/app/views/gaku/admin/grading_methods/_grading_method.html.slim +0 -2
  216. data/admin/app/views/gaku/admin/grading_methods/_grading_methods.html.slim +0 -21
  217. data/admin/app/views/gaku/admin/grading_methods/_modal.html.slim +0 -4
  218. data/admin/app/views/gaku/admin/grading_methods/create.js.erb +0 -7
  219. data/admin/app/views/gaku/admin/grading_methods/destroy.js.erb +0 -2
  220. data/admin/app/views/gaku/admin/grading_methods/edit.js.erb +0 -3
  221. data/admin/app/views/gaku/admin/grading_methods/index.js.erb +0 -1
  222. data/admin/app/views/gaku/admin/grading_methods/new.js.erb +0 -3
  223. data/admin/app/views/gaku/admin/grading_methods/update.js.erb +0 -3
  224. data/admin/app/views/gaku/admin/home/index.html.slim +0 -6
  225. data/admin/app/views/gaku/admin/presets/_address.html.slim +0 -22
  226. data/admin/app/views/gaku/admin/presets/_chooser_fields.html.slim +0 -91
  227. data/admin/app/views/gaku/admin/presets/_export_formats.html.slim +0 -20
  228. data/admin/app/views/gaku/admin/presets/_fields.html.slim +0 -5
  229. data/admin/app/views/gaku/admin/presets/_grading.html.slim +0 -15
  230. data/admin/app/views/gaku/admin/presets/_locale.html.slim +0 -6
  231. data/admin/app/views/gaku/admin/presets/_names_order.html.slim +0 -15
  232. data/admin/app/views/gaku/admin/presets/_no_states_select.html.slim +0 -1
  233. data/admin/app/views/gaku/admin/presets/_pagination.html.slim +0 -26
  234. data/admin/app/views/gaku/admin/presets/_person.html.slim +0 -9
  235. data/admin/app/views/gaku/admin/presets/_preset.html.slim +0 -2
  236. data/admin/app/views/gaku/admin/presets/_presets.html.slim +0 -19
  237. data/admin/app/views/gaku/admin/presets/_states_select.html.slim +0 -3
  238. data/admin/app/views/gaku/admin/presets/_student.html.slim +0 -19
  239. data/admin/app/views/gaku/admin/presets/_tabs.html.slim +0 -50
  240. data/admin/app/views/gaku/admin/presets/edit.html.slim +0 -1
  241. data/admin/app/views/gaku/admin/presets/edit.js.erb +0 -7
  242. data/admin/app/views/gaku/admin/presets/index.js.erb +0 -1
  243. data/admin/app/views/gaku/admin/presets/states_list.js.erb +0 -5
  244. data/admin/app/views/gaku/admin/presets/update.js.erb +0 -1
  245. data/admin/app/views/gaku/admin/roles/_fields.html.slim +0 -5
  246. data/admin/app/views/gaku/admin/roles/_form.html.slim +0 -3
  247. data/admin/app/views/gaku/admin/roles/_form_fields.html.slim +0 -1
  248. data/admin/app/views/gaku/admin/roles/_modal.html.slim +0 -4
  249. data/admin/app/views/gaku/admin/roles/_role.html.slim +0 -2
  250. data/admin/app/views/gaku/admin/roles/_roles.html.slim +0 -21
  251. data/admin/app/views/gaku/admin/roles/create.js.erb +0 -7
  252. data/admin/app/views/gaku/admin/roles/destroy.js.erb +0 -2
  253. data/admin/app/views/gaku/admin/roles/edit.js.erb +0 -3
  254. data/admin/app/views/gaku/admin/roles/index.js.erb +0 -1
  255. data/admin/app/views/gaku/admin/roles/new.js.erb +0 -3
  256. data/admin/app/views/gaku/admin/roles/update.js.erb +0 -3
  257. data/admin/app/views/gaku/admin/school_years/_edit_form.html.slim +0 -4
  258. data/admin/app/views/gaku/admin/school_years/_fields.html.slim +0 -6
  259. data/admin/app/views/gaku/admin/school_years/_form.html.slim +0 -3
  260. data/admin/app/views/gaku/admin/school_years/_form_fields.html.slim +0 -5
  261. data/admin/app/views/gaku/admin/school_years/_modal.html.slim +0 -5
  262. data/admin/app/views/gaku/admin/school_years/_school_year.html.slim +0 -3
  263. data/admin/app/views/gaku/admin/school_years/_school_years.html.slim +0 -23
  264. data/admin/app/views/gaku/admin/school_years/_show_table.html.slim +0 -10
  265. data/admin/app/views/gaku/admin/school_years/create.js.erb +0 -10
  266. data/admin/app/views/gaku/admin/school_years/destroy.js.erb +0 -2
  267. data/admin/app/views/gaku/admin/school_years/edit.html.slim +0 -20
  268. data/admin/app/views/gaku/admin/school_years/edit.js.erb +0 -7
  269. data/admin/app/views/gaku/admin/school_years/index.js.erb +0 -1
  270. data/admin/app/views/gaku/admin/school_years/new.js.erb +0 -5
  271. data/admin/app/views/gaku/admin/school_years/semesters/_fields.html.slim +0 -7
  272. data/admin/app/views/gaku/admin/school_years/semesters/_form.html.slim +0 -3
  273. data/admin/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +0 -5
  274. data/admin/app/views/gaku/admin/school_years/semesters/_modal.html.slim +0 -5
  275. data/admin/app/views/gaku/admin/school_years/semesters/_semester.html.slim +0 -3
  276. data/admin/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +0 -22
  277. data/admin/app/views/gaku/admin/school_years/semesters/create.js.erb +0 -10
  278. data/admin/app/views/gaku/admin/school_years/semesters/destroy.js.erb +0 -2
  279. data/admin/app/views/gaku/admin/school_years/semesters/edit.js.erb +0 -6
  280. data/admin/app/views/gaku/admin/school_years/semesters/index.js.erb +0 -1
  281. data/admin/app/views/gaku/admin/school_years/semesters/new.js.erb +0 -4
  282. data/admin/app/views/gaku/admin/school_years/semesters/update.js.erb +0 -8
  283. data/admin/app/views/gaku/admin/school_years/update.js.erb +0 -8
  284. data/admin/app/views/gaku/admin/schools/_edit_form.html.slim +0 -3
  285. data/admin/app/views/gaku/admin/schools/_edit_master_form.html.slim +0 -10
  286. data/admin/app/views/gaku/admin/schools/_fields.html.slim +0 -9
  287. data/admin/app/views/gaku/admin/schools/_form.html.slim +0 -3
  288. data/admin/app/views/gaku/admin/schools/_form_fields.html.slim +0 -25
  289. data/admin/app/views/gaku/admin/schools/_school.html.slim +0 -8
  290. data/admin/app/views/gaku/admin/schools/_schools.html.slim +0 -26
  291. data/admin/app/views/gaku/admin/schools/_show_table.html.slim +0 -35
  292. data/admin/app/views/gaku/admin/schools/_tabs.html.slim +0 -15
  293. data/admin/app/views/gaku/admin/schools/create.js.erb +0 -7
  294. data/admin/app/views/gaku/admin/schools/destroy.js.erb +0 -1
  295. data/admin/app/views/gaku/admin/schools/edit.html.slim +0 -42
  296. data/admin/app/views/gaku/admin/schools/edit.js.erb +0 -1
  297. data/admin/app/views/gaku/admin/schools/edit_master.html.slim +0 -42
  298. data/admin/app/views/gaku/admin/schools/index.js.erb +0 -1
  299. data/admin/app/views/gaku/admin/schools/new.js.erb +0 -3
  300. data/admin/app/views/gaku/admin/schools/programs/_fields.html.slim +0 -9
  301. data/admin/app/views/gaku/admin/schools/programs/_form.html.slim +0 -14
  302. data/admin/app/views/gaku/admin/schools/programs/_form_fields.html.slim +0 -6
  303. data/admin/app/views/gaku/admin/schools/programs/_modal.html.slim +0 -3
  304. data/admin/app/views/gaku/admin/schools/programs/_program.html.slim +0 -2
  305. data/admin/app/views/gaku/admin/schools/programs/_programs.html.slim +0 -23
  306. data/admin/app/views/gaku/admin/schools/programs/create.js.erb +0 -8
  307. data/admin/app/views/gaku/admin/schools/programs/destroy.js.erb +0 -3
  308. data/admin/app/views/gaku/admin/schools/programs/edit.js.erb +0 -3
  309. data/admin/app/views/gaku/admin/schools/programs/index.js.erb +0 -1
  310. data/admin/app/views/gaku/admin/schools/programs/new.js.erb +0 -3
  311. data/admin/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +0 -6
  312. data/admin/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +0 -11
  313. data/admin/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +0 -7
  314. data/admin/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +0 -10
  315. data/admin/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +0 -5
  316. data/admin/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +0 -10
  317. data/admin/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +0 -3
  318. data/admin/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +0 -3
  319. data/admin/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +0 -3
  320. data/admin/app/views/gaku/admin/schools/programs/update.js.erb +0 -3
  321. data/admin/app/views/gaku/admin/schools/update.js.erb +0 -1
  322. data/admin/app/views/gaku/admin/shared/_ajax_picture.html.slim +0 -8
  323. data/admin/app/views/gaku/admin/shared/_ajax_upload_picture.html.slim +0 -14
  324. data/admin/app/views/gaku/admin/shared/_picture.html.slim +0 -6
  325. data/admin/app/views/gaku/admin/shared/_upload_picture.html.slim +0 -7
  326. data/admin/app/views/gaku/admin/shared/remove_picture.js.erb +0 -3
  327. data/admin/app/views/gaku/admin/shared/set_picture.js.erb +0 -3
  328. data/admin/app/views/gaku/admin/simple_grade_types/_fields.html.slim +0 -8
  329. data/admin/app/views/gaku/admin/simple_grade_types/_form.html.slim +0 -3
  330. data/admin/app/views/gaku/admin/simple_grade_types/_form_fields.html.slim +0 -7
  331. data/admin/app/views/gaku/admin/simple_grade_types/_modal.html.slim +0 -4
  332. data/admin/app/views/gaku/admin/simple_grade_types/_simple_grade_type.html.slim +0 -2
  333. data/admin/app/views/gaku/admin/simple_grade_types/_simple_grade_types.html.slim +0 -24
  334. data/admin/app/views/gaku/admin/simple_grade_types/create.js.erb +0 -7
  335. data/admin/app/views/gaku/admin/simple_grade_types/destroy.js.erb +0 -2
  336. data/admin/app/views/gaku/admin/simple_grade_types/edit.js.erb +0 -3
  337. data/admin/app/views/gaku/admin/simple_grade_types/index.js.erb +0 -1
  338. data/admin/app/views/gaku/admin/simple_grade_types/new.js.erb +0 -3
  339. data/admin/app/views/gaku/admin/simple_grade_types/update.js.erb +0 -4
  340. data/admin/app/views/gaku/admin/specialties/_fields.html.slim +0 -7
  341. data/admin/app/views/gaku/admin/specialties/_form.html.slim +0 -3
  342. data/admin/app/views/gaku/admin/specialties/_form_fields.html.slim +0 -4
  343. data/admin/app/views/gaku/admin/specialties/_modal.html.slim +0 -4
  344. data/admin/app/views/gaku/admin/specialties/_specialties.html.slim +0 -22
  345. data/admin/app/views/gaku/admin/specialties/_specialty.html.slim +0 -2
  346. data/admin/app/views/gaku/admin/specialties/create.js.erb +0 -7
  347. data/admin/app/views/gaku/admin/specialties/destroy.js.erb +0 -2
  348. data/admin/app/views/gaku/admin/specialties/edit.js.erb +0 -3
  349. data/admin/app/views/gaku/admin/specialties/index.js.erb +0 -1
  350. data/admin/app/views/gaku/admin/specialties/new.js.erb +0 -3
  351. data/admin/app/views/gaku/admin/specialties/update.js.erb +0 -3
  352. data/admin/app/views/gaku/admin/states/_country_select_form.html.slim +0 -3
  353. data/admin/app/views/gaku/admin/states/_country_table.html.slim +0 -11
  354. data/admin/app/views/gaku/admin/states/_fields.html.slim +0 -8
  355. data/admin/app/views/gaku/admin/states/_form.html.slim +0 -4
  356. data/admin/app/views/gaku/admin/states/_form_fields.html.slim +0 -14
  357. data/admin/app/views/gaku/admin/states/_modal.html.slim +0 -4
  358. data/admin/app/views/gaku/admin/states/_state.html.slim +0 -2
  359. data/admin/app/views/gaku/admin/states/_states.html.slim +0 -16
  360. data/admin/app/views/gaku/admin/states/country_states.js.erb +0 -2
  361. data/admin/app/views/gaku/admin/states/create.js.erb +0 -7
  362. data/admin/app/views/gaku/admin/states/destroy.js.erb +0 -2
  363. data/admin/app/views/gaku/admin/states/edit.js.erb +0 -3
  364. data/admin/app/views/gaku/admin/states/index.js.erb +0 -1
  365. data/admin/app/views/gaku/admin/states/new.js.erb +0 -3
  366. data/admin/app/views/gaku/admin/states/update.js.erb +0 -3
  367. data/admin/app/views/gaku/admin/states_list/_no_states_select.html.slim +0 -4
  368. data/admin/app/views/gaku/admin/states_list/_states_select.html.slim +0 -3
  369. data/admin/app/views/gaku/admin/states_list/index.js.erb +0 -5
  370. data/admin/app/views/gaku/admin/student_review_categories/_form.html.slim +0 -3
  371. data/admin/app/views/gaku/admin/student_review_categories/_form_fields.html.slim +0 -1
  372. data/admin/app/views/gaku/admin/student_review_categories/_modal.html.slim +0 -4
  373. data/admin/app/views/gaku/admin/student_review_categories/_student_review_categories.html.slim +0 -18
  374. data/admin/app/views/gaku/admin/student_review_categories/_student_review_category.html.slim +0 -2
  375. data/admin/app/views/gaku/admin/student_review_categories/_table_fields.html.slim +0 -4
  376. data/admin/app/views/gaku/admin/student_review_categories/create.js.erb +0 -7
  377. data/admin/app/views/gaku/admin/student_review_categories/destroy.js.erb +0 -2
  378. data/admin/app/views/gaku/admin/student_review_categories/edit.js.erb +0 -3
  379. data/admin/app/views/gaku/admin/student_review_categories/index.js.erb +0 -1
  380. data/admin/app/views/gaku/admin/student_review_categories/new.js.erb +0 -3
  381. data/admin/app/views/gaku/admin/student_review_categories/update.js.erb +0 -3
  382. data/admin/app/views/gaku/admin/system_tools/index.html.slim +0 -1
  383. data/admin/app/views/gaku/admin/templates/_error_msg.html.slim +0 -8
  384. data/admin/app/views/gaku/admin/templates/_fields.html.slim +0 -8
  385. data/admin/app/views/gaku/admin/templates/_form.html.slim +0 -3
  386. data/admin/app/views/gaku/admin/templates/_form_fields.html.slim +0 -4
  387. data/admin/app/views/gaku/admin/templates/_modal.html.slim +0 -7
  388. data/admin/app/views/gaku/admin/templates/_template.html.slim +0 -2
  389. data/admin/app/views/gaku/admin/templates/_templates.html.slim +0 -21
  390. data/admin/app/views/gaku/admin/templates/create.js.erb +0 -7
  391. data/admin/app/views/gaku/admin/templates/destroy.js.erb +0 -2
  392. data/admin/app/views/gaku/admin/templates/edit.js.erb +0 -3
  393. data/admin/app/views/gaku/admin/templates/index.js.erb +0 -1
  394. data/admin/app/views/gaku/admin/templates/new.js.erb +0 -3
  395. data/admin/app/views/gaku/admin/templates/update.js.erb +0 -3
  396. data/admin/app/views/gaku/admin/users/_fields.html.slim +0 -5
  397. data/admin/app/views/gaku/admin/users/_form.html.slim +0 -3
  398. data/admin/app/views/gaku/admin/users/_form_fields.html.slim +0 -14
  399. data/admin/app/views/gaku/admin/users/_modal.html.slim +0 -4
  400. data/admin/app/views/gaku/admin/users/_user.html.slim +0 -2
  401. data/admin/app/views/gaku/admin/users/_users.html.slim +0 -22
  402. data/admin/app/views/gaku/admin/users/create.js.erb +0 -7
  403. data/admin/app/views/gaku/admin/users/destroy.js.erb +0 -2
  404. data/admin/app/views/gaku/admin/users/edit.js.erb +0 -3
  405. data/admin/app/views/gaku/admin/users/index.js.erb +0 -1
  406. data/admin/app/views/gaku/admin/users/new.js.erb +0 -3
  407. data/admin/app/views/gaku/admin/users/update.js.erb +0 -4
  408. data/admin/app/views/gaku/layouts/admin/edit.html.slim +0 -10
  409. data/admin/app/views/gaku/layouts/admin/gaku.html.slim +0 -27
  410. data/admin/app/views/gaku/layouts/admin/index.html.slim +0 -11
  411. data/admin/app/views/gaku/layouts/admin/show.html.slim +0 -10
  412. data/admin/app/views/gaku/shared/_delete_link.html.slim +0 -1
  413. data/admin/app/views/gaku/shared/_delete_modal.html.slim +0 -11
  414. data/admin/app/views/gaku/shared/_errors.html.slim +0 -6
  415. data/admin/app/views/gaku/shared/_flash.html.slim +0 -4
  416. data/admin/app/views/gaku/shared/_language_bar.html.slim +0 -8
  417. data/admin/app/views/gaku/shared/_login_widget.html.slim +0 -15
  418. data/admin/app/views/gaku/shared/_manage_buttons.html.slim +0 -4
  419. data/admin/app/views/gaku/shared/_modal_config.html.slim +0 -37
  420. data/admin/app/views/gaku/shared/_multi_errors.html.slim +0 -6
  421. data/admin/app/views/gaku/shared/_picture.html.slim +0 -8
  422. data/admin/app/views/gaku/shared/_upload_picture.html.slim +0 -7
  423. data/admin/app/views/gaku/shared/error.js.erb +0 -2
  424. data/admin/app/views/gaku/shared/menu/_admin.html.erb +0 -1
  425. data/admin/app/views/gaku/shared/menu/_admin_menu.html.erb +0 -154
  426. data/admin/app/views/gaku/shared/multi_error.js.erb +0 -2
  427. data/admin/app/views/gaku/shared/notice.js.erb +0 -2
  428. data/admin/config/initializers/wrap_parameters.rb +0 -14
  429. data/admin/config/routes.rb +0 -79
  430. data/admin/gaku_admin.gemspec +0 -46
  431. data/admin/lib/gaku/admin.rb +0 -32
  432. data/admin/lib/gaku/admin/engine.rb +0 -28
  433. data/admin/lib/gaku/app_responder.rb +0 -6
  434. data/admin/lib/gaku_admin.rb +0 -1
  435. data/admin/lib/tasks/admin_user.rake +0 -106
  436. data/admin/lib/tasks/core.rake +0 -65
  437. data/admin/lib/tasks/reset.rake +0 -37
  438. data/admin/spec/controllers/gaku/admin/badge_types_controller_spec.rb +0 -138
  439. data/admin/spec/controllers/gaku/admin/departments_controller_spec.rb +0 -151
  440. data/admin/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb +0 -177
  441. data/admin/spec/controllers/gaku/admin/grading/grading_method_sets_controller_spec.rb +0 -182
  442. data/admin/spec/controllers/gaku/admin/grading/grading_methods_controller_spec.rb +0 -153
  443. data/admin/spec/controllers/gaku/admin/presets_controller_spec.rb +0 -65
  444. data/admin/spec/controllers/gaku/admin/roles_controller_spec.rb +0 -151
  445. data/admin/spec/controllers/gaku/admin/school_years/school_years_controller_spec.rb +0 -158
  446. data/admin/spec/controllers/gaku/admin/school_years/semesters_controller_spec.rb +0 -142
  447. data/admin/spec/controllers/gaku/admin/schools/campuses/addresses_controller_spec.rb +0 -130
  448. data/admin/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb +0 -142
  449. data/admin/spec/controllers/gaku/admin/schools/schools_controller_spec.rb +0 -203
  450. data/admin/spec/controllers/gaku/admin/simple_grade_types_controller_spec.rb +0 -168
  451. data/admin/spec/controllers/gaku/admin/specialties_controller_spec.rb +0 -161
  452. data/admin/spec/controllers/gaku/admin/templates_controller_spec.rb +0 -149
  453. data/admin/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb +0 -175
  454. data/admin/spec/controllers/gaku/admin/types_and_methods/commute_method_types_controller_spec.rb +0 -157
  455. data/admin/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb +0 -151
  456. data/admin/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb +0 -152
  457. data/admin/spec/controllers/gaku/admin/users_controller_spec.rb +0 -151
  458. data/admin/spec/features/achievements/badge_types_spec.rb +0 -76
  459. data/admin/spec/features/achievements/simple_grade_types_spec.rb +0 -91
  460. data/admin/spec/features/departments_spec.rb +0 -77
  461. data/admin/spec/features/grading/grading_method_set_items_spec.rb +0 -90
  462. data/admin/spec/features/grading/grading_method_sets_spec.rb +0 -124
  463. data/admin/spec/features/grading/grading_methods_spec.rb +0 -105
  464. data/admin/spec/features/presets/address_preset_spec.rb +0 -37
  465. data/admin/spec/features/presets/chooser_fields_preset_spec.rb +0 -41
  466. data/admin/spec/features/presets/export_formats_spec.rb +0 -31
  467. data/admin/spec/features/presets/grading_preset_spec.rb +0 -32
  468. data/admin/spec/features/presets/locale_preset_spec.rb +0 -29
  469. data/admin/spec/features/presets/names_order_preset_spec.rb +0 -29
  470. data/admin/spec/features/presets/pagination_preset_spec.rb +0 -37
  471. data/admin/spec/features/presets/person_preset_spec.rb +0 -28
  472. data/admin/spec/features/presets/time_format_spec.rb +0 -29
  473. data/admin/spec/features/roles_spec.rb +0 -87
  474. data/admin/spec/features/school_years/school_years_spec.rb +0 -114
  475. data/admin/spec/features/school_years/semesters_spec.rb +0 -147
  476. data/admin/spec/features/schools/campuses/addresses_spec.rb +0 -114
  477. data/admin/spec/features/schools/campuses/campuses_spec.rb +0 -60
  478. data/admin/spec/features/schools/campuses/contacts_spec.rb +0 -56
  479. data/admin/spec/features/schools/campuses/picture_spec.rb +0 -48
  480. data/admin/spec/features/schools/picture_spec.rb +0 -46
  481. data/admin/spec/features/schools/programs_spec.rb +0 -123
  482. data/admin/spec/features/schools/school_details_spec.rb +0 -48
  483. data/admin/spec/features/schools/school_levels_spec.rb +0 -63
  484. data/admin/spec/features/schools/schools_spec.rb +0 -75
  485. data/admin/spec/features/specialties_spec.rb +0 -85
  486. data/admin/spec/features/system_tools/backup_spec.rb +0 -7
  487. data/admin/spec/features/templates_spec.rb +0 -100
  488. data/admin/spec/features/types_and_methods/attendance_types_spec.rb +0 -82
  489. data/admin/spec/features/types_and_methods/commute_method_types_spec.rb +0 -77
  490. data/admin/spec/features/types_and_methods/contact_types_spec.rb +0 -77
  491. data/admin/spec/features/types_and_methods/enrollment_statuses_spec.rb +0 -77
  492. data/admin/spec/features/types_and_methods/states_spec.rb +0 -114
  493. data/admin/spec/features/types_and_methods/student_review_categories_spec.rb +0 -77
  494. data/admin/spec/features/users_spec.rb +0 -90
  495. data/admin/spec/routing/admin/campuses/addresses_routes_spec.rb +0 -56
  496. data/admin/spec/routing/admin/campuses/campuses_routing_spec.rb +0 -80
  497. data/admin/spec/routing/admin/campuses/contacts_routing_spec.rb +0 -56
  498. data/admin/spec/routing/admin/school_years/school_years_routing_spec.rb +0 -67
  499. data/admin/spec/routing/admin/school_years/semesters_routing_spec.rb +0 -57
  500. data/admin/spec/routing/admin/schools/schools_routes_spec.rb +0 -79
  501. data/admin/spec/routing/admin/simple_grade_types_routing_spec.rb +0 -51
  502. data/admin/spec/routing/admin/templates_routing_spec.rb +0 -59
  503. data/admin/spec/spec_helper.rb +0 -5
  504. data/admin/spec/spec_helper_controllers.rb +0 -5
  505. data/admin/spec/spec_helper_routing.rb +0 -4
  506. data/admin/spec/support/120x120.jpg +0 -0
  507. data/admin/spec/support/controllers/matchers/have_attributes_matcher.rb +0 -8
  508. data/admin/spec/support/controllers/shared_examples/allow.rb +0 -10
  509. data/admin/spec/support/controllers/shared_examples/deny.rb +0 -27
  510. data/admin/spec/support/features/shared_examples/addresses_spec.rb +0 -160
  511. data/admin/spec/support/features/shared_examples/avatarable_spec.rb +0 -16
  512. data/admin/spec/support/features/shared_examples/contacts_spec.rb +0 -121
  513. data/admin/spec/support/features/uploaded_file.rb +0 -6
  514. data/admin/spec/support/sample_roster.ods +0 -0
  515. data/admin/spec/support/test.txt +0 -1
  516. data/core/.rspec +0 -2
  517. data/core/Gemfile +0 -3
  518. data/core/Guardfile +0 -40
  519. data/core/Rakefile +0 -17
  520. data/core/app/assets/images/background.jpg +0 -0
  521. data/core/app/assets/images/check.png +0 -0
  522. data/core/app/assets/images/cross.png +0 -0
  523. data/core/app/assets/images/down_arrow.gif +0 -0
  524. data/core/app/assets/images/elements/highlight.png +0 -0
  525. data/core/app/assets/images/elements/toolbar1.png +0 -0
  526. data/core/app/assets/images/gaku-logo-gear.png +0 -0
  527. data/core/app/assets/images/gaku-logo-gear.svg +0 -188
  528. data/core/app/assets/images/gaku-logo.png +0 -0
  529. data/core/app/assets/images/gaku-logo.svg +0 -69
  530. data/core/app/assets/images/gakuengine.png +0 -0
  531. data/core/app/assets/images/gakuengine20.png +0 -0
  532. data/core/app/assets/images/icon-chair.png +0 -0
  533. data/core/app/assets/images/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  534. data/core/app/assets/images/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  535. data/core/app/assets/images/images/ui-bg_glass_20_555555_1x400.png +0 -0
  536. data/core/app/assets/images/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  537. data/core/app/assets/images/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  538. data/core/app/assets/images/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  539. data/core/app/assets/images/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  540. data/core/app/assets/images/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  541. data/core/app/assets/images/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  542. data/core/app/assets/images/images/ui-icons_222222_256x240.png +0 -0
  543. data/core/app/assets/images/images/ui-icons_4b8e0b_256x240.png +0 -0
  544. data/core/app/assets/images/images/ui-icons_a83300_256x240.png +0 -0
  545. data/core/app/assets/images/images/ui-icons_cccccc_256x240.png +0 -0
  546. data/core/app/assets/images/images/ui-icons_ffffff_256x240.png +0 -0
  547. data/core/app/assets/images/missing_original.png +0 -0
  548. data/core/app/assets/images/missing_thumb.png +0 -0
  549. data/core/app/assets/images/rails.png +0 -0
  550. data/core/app/assets/images/raw/GAKU Colors.png +0 -0
  551. data/core/app/assets/images/raw/GAKU Engine G Logo + Text Logo [#87CAF3](900x816px).svg +0 -75
  552. data/core/app/assets/images/raw/GAKU Engine Gear + Text Logo.svg +0 -200
  553. data/core/app/assets/images/raw/top-logo.svg +0 -188
  554. data/core/app/assets/images/themes/gakuengine/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  555. data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  556. data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  557. data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  558. data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_40_111111_1x100.png +0 -0
  559. data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  560. data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_55_165e83_1x100.png +0 -0
  561. data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_55_00a3af_1x100.png +0 -0
  562. data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_99_00a3af_1x100.png +0 -0
  563. data/core/app/assets/images/themes/gakuengine/images/ui-icons_222222_256x240.png +0 -0
  564. data/core/app/assets/images/themes/gakuengine/images/ui-icons_70f000_256x240.png +0 -0
  565. data/core/app/assets/images/themes/gakuengine/images/ui-icons_bbbbbb_256x240.png +0 -0
  566. data/core/app/assets/images/themes/gakuengine/images/ui-icons_ededed_256x240.png +0 -0
  567. data/core/app/assets/images/themes/gakuengine/images/ui-icons_ffcf29_256x240.png +0 -0
  568. data/core/app/assets/images/themes/gakuengine/images/ui-icons_ffffff_256x240.png +0 -0
  569. data/core/app/assets/images/tick.png +0 -0
  570. data/core/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  571. data/core/app/assets/images/up_arrow.gif +0 -0
  572. data/core/app/controllers/gaku/core_controller.rb +0 -62
  573. data/core/app/decorators/gaku/course_decorator.rb +0 -14
  574. data/core/app/decorators/gaku/guardian_decorator.rb +0 -6
  575. data/core/app/decorators/gaku/person_decorator.rb +0 -59
  576. data/core/app/decorators/gaku/student_decorator.rb +0 -44
  577. data/core/app/decorators/gaku/teacher_decorator.rb +0 -6
  578. data/core/app/models/concerns/addresses.rb +0 -17
  579. data/core/app/models/concerns/contacts.rb +0 -17
  580. data/core/app/models/concerns/enrollmentable.rb +0 -9
  581. data/core/app/models/concerns/gradable.rb +0 -14
  582. data/core/app/models/concerns/notes.rb +0 -7
  583. data/core/app/models/concerns/pagination.rb +0 -7
  584. data/core/app/models/concerns/person.rb +0 -27
  585. data/core/app/models/concerns/picture.rb +0 -7
  586. data/core/app/models/concerns/semesterable.rb +0 -12
  587. data/core/app/models/concerns/student_reviewable.rb +0 -7
  588. data/core/app/models/gaku/ability.rb +0 -57
  589. data/core/app/models/gaku/address.rb +0 -90
  590. data/core/app/models/gaku/admin_ability.rb +0 -20
  591. data/core/app/models/gaku/assignment.rb +0 -13
  592. data/core/app/models/gaku/assignment_score.rb +0 -12
  593. data/core/app/models/gaku/attachment.rb +0 -16
  594. data/core/app/models/gaku/attendance.rb +0 -14
  595. data/core/app/models/gaku/attendance_type.rb +0 -13
  596. data/core/app/models/gaku/badge.rb +0 -8
  597. data/core/app/models/gaku/badge_type.rb +0 -14
  598. data/core/app/models/gaku/campus.rb +0 -18
  599. data/core/app/models/gaku/class_group.rb +0 -27
  600. data/core/app/models/gaku/commute_method_type.rb +0 -13
  601. data/core/app/models/gaku/contact.rb +0 -62
  602. data/core/app/models/gaku/contact_type.rb +0 -11
  603. data/core/app/models/gaku/country.rb +0 -30
  604. data/core/app/models/gaku/course.rb +0 -43
  605. data/core/app/models/gaku/course_group.rb +0 -12
  606. data/core/app/models/gaku/course_group_enrollment.rb +0 -15
  607. data/core/app/models/gaku/department.rb +0 -15
  608. data/core/app/models/gaku/enrollment.rb +0 -85
  609. data/core/app/models/gaku/enrollment_status.rb +0 -23
  610. data/core/app/models/gaku/exam.rb +0 -106
  611. data/core/app/models/gaku/exam_portion.rb +0 -82
  612. data/core/app/models/gaku/exam_portion_score.rb +0 -10
  613. data/core/app/models/gaku/exam_schedule.rb +0 -9
  614. data/core/app/models/gaku/exam_score.rb +0 -9
  615. data/core/app/models/gaku/exam_session.rb +0 -14
  616. data/core/app/models/gaku/exam_syllabus.rb +0 -13
  617. data/core/app/models/gaku/external_school_record.rb +0 -22
  618. data/core/app/models/gaku/extracurricular_activity.rb +0 -13
  619. data/core/app/models/gaku/faculty.rb +0 -10
  620. data/core/app/models/gaku/grading_method.rb +0 -31
  621. data/core/app/models/gaku/grading_method_connector.rb +0 -35
  622. data/core/app/models/gaku/grading_method_set.rb +0 -33
  623. data/core/app/models/gaku/grading_method_set_item.rb +0 -31
  624. data/core/app/models/gaku/guardian.rb +0 -20
  625. data/core/app/models/gaku/install.rb +0 -6
  626. data/core/app/models/gaku/lesson.rb +0 -8
  627. data/core/app/models/gaku/lesson_plan.rb +0 -11
  628. data/core/app/models/gaku/level.rb +0 -15
  629. data/core/app/models/gaku/note.rb +0 -7
  630. data/core/app/models/gaku/preset.rb +0 -65
  631. data/core/app/models/gaku/program.rb +0 -26
  632. data/core/app/models/gaku/program_level.rb +0 -8
  633. data/core/app/models/gaku/program_specialty.rb +0 -8
  634. data/core/app/models/gaku/program_syllabus.rb +0 -9
  635. data/core/app/models/gaku/role.rb +0 -12
  636. data/core/app/models/gaku/schedule.rb +0 -4
  637. data/core/app/models/gaku/scholarship_status.rb +0 -13
  638. data/core/app/models/gaku/school.rb +0 -51
  639. data/core/app/models/gaku/school_role.rb +0 -11
  640. data/core/app/models/gaku/school_year.rb +0 -20
  641. data/core/app/models/gaku/semester.rb +0 -55
  642. data/core/app/models/gaku/semester_attendance.rb +0 -14
  643. data/core/app/models/gaku/semester_connector.rb +0 -27
  644. data/core/app/models/gaku/simple_grade.rb +0 -16
  645. data/core/app/models/gaku/simple_grade_type.rb +0 -13
  646. data/core/app/models/gaku/specialty.rb +0 -17
  647. data/core/app/models/gaku/state.rb +0 -45
  648. data/core/app/models/gaku/student.rb +0 -137
  649. data/core/app/models/gaku/student_exam_session.rb +0 -11
  650. data/core/app/models/gaku/student_guardian.rb +0 -6
  651. data/core/app/models/gaku/student_review.rb +0 -11
  652. data/core/app/models/gaku/student_review_category.rb +0 -13
  653. data/core/app/models/gaku/student_specialty.rb +0 -15
  654. data/core/app/models/gaku/syllabus.rb +0 -20
  655. data/core/app/models/gaku/teacher.rb +0 -7
  656. data/core/app/models/gaku/template.rb +0 -16
  657. data/core/app/models/gaku/user.rb +0 -42
  658. data/core/app/models/gaku/user_role.rb +0 -6
  659. data/core/app/services/gaku/contact_creation.rb +0 -49
  660. data/core/app/services/gaku/contact_updation.rb +0 -41
  661. data/core/app/services/gaku/student_selection.rb +0 -57
  662. data/core/app/services/gaku/user_creator.rb +0 -31
  663. data/core/app/views/gaku/admin/grading_methods/_arguments_form_fields.html.slim +0 -19
  664. data/core/app/views/gaku/admin/grading_methods/_arguments_template.html.slim +0 -11
  665. data/core/app/views/gaku/shared/menu/_global.html.erb +0 -2
  666. data/core/config/initializers/active_record.rb +0 -41
  667. data/core/config/initializers/devise.rb +0 -216
  668. data/core/config/initializers/i18n.rb +0 -26
  669. data/core/config/initializers/inflections.rb +0 -19
  670. data/core/config/initializers/kaminari.rb +0 -10
  671. data/core/config/initializers/locale.rb +0 -2
  672. data/core/config/initializers/redis.rb +0 -5
  673. data/core/config/initializers/translation_missing.rb +0 -11
  674. data/core/config/routes.rb +0 -12
  675. data/core/core_dependencies.rb +0 -24
  676. data/core/db/default/gaku/attendance_types.rb +0 -85
  677. data/core/db/default/gaku/commute_method_types.rb +0 -19
  678. data/core/db/default/gaku/contact_types.yml +0 -20
  679. data/core/db/default/gaku/countries.rb +0 -14
  680. data/core/db/default/gaku/departments.rb +0 -14
  681. data/core/db/default/gaku/enrollment_status.rb +0 -40
  682. data/core/db/default/gaku/master_school.rb +0 -7
  683. data/core/db/default/gaku/presets.rb +0 -30
  684. data/core/db/default/gaku/roles.yml +0 -2
  685. data/core/db/default/gaku/scholarship_statuses.rb +0 -22
  686. data/core/db/default/gaku/states.rb +0 -9
  687. data/core/db/migrate/20120202111850_presets.rb +0 -30
  688. data/core/db/migrate/20131014065028_translations.rb +0 -77
  689. data/core/db/migrate/20131025073352_gaku_core.rb +0 -628
  690. data/core/db/migrate/20140128141752_change_grading_methods_arguments_field.rb +0 -5
  691. data/core/db/migrate/20140130182100_change_fields_external_school_record.rb +0 -7
  692. data/core/db/migrate/20140131113337_create_student_configs.rb +0 -21
  693. data/core/db/migrate/20140207093618_drop_student_configs.rb +0 -5
  694. data/core/db/migrate/20140213113405_create_grading_method_connectors_table.rb +0 -9
  695. data/core/db/migrate/20140304094422_create_gaku_exam_sessions_table.rb +0 -10
  696. data/core/db/migrate/20140304101025_create_gaku_student_exam_session_table.rb +0 -8
  697. data/core/db/migrate/20140325073941_add_time_format_24_to_presets_table.rb +0 -5
  698. data/core/db/migrate/20140408111314_remove_semester_join_tables.rb +0 -6
  699. data/core/db/migrate/20140408111358_create_semester_connectors_table.rb +0 -8
  700. data/core/db/migrate/20140423093155_create_enrollments_table.rb +0 -11
  701. data/core/db/migrate/20140423100114_clean_enrollments_join_models.rb +0 -8
  702. data/core/db/migrate/20140429112725_add_counters_to_enrollmentable.rb +0 -11
  703. data/core/db/migrate/20140604104210_rename_method_to_grading_method.rb +0 -5
  704. data/core/db/migrate/20140604113045_add_default_value_to_curved.rb +0 -5
  705. data/core/db/migrate/20140610091053_add_seat_number_to_enrollments.rb +0 -5
  706. data/core/db/migrate/20140701104700_change_hstore_to_string_criteria.rb +0 -5
  707. data/core/db/migrate/20140715135152_create_semester_attendance_table.rb +0 -16
  708. data/core/db/migrate/20140718105226_create_student_review_categories_table.rb +0 -13
  709. data/core/db/migrate/20140728121353_create_student_review_table.rb +0 -12
  710. data/core/db/migrate/20150213095508_improve_countries_and_states.rb +0 -5
  711. data/core/db/schema.rb +0 -481
  712. data/core/db/seeds.rb +0 -5
  713. data/core/gaku_core.gemspec +0 -40
  714. data/core/lib/gaku/class_name_detector.rb +0 -23
  715. data/core/lib/gaku/core.rb +0 -28
  716. data/core/lib/gaku/core/console_colors.rb +0 -22
  717. data/core/lib/gaku/core/engine.rb +0 -31
  718. data/core/lib/gaku/core/url_helpers.rb +0 -5
  719. data/core/lib/gaku/grading/collection/base_method.rb +0 -30
  720. data/core/lib/gaku/grading/collection/calculations.rb +0 -36
  721. data/core/lib/gaku/grading/collection/interval.rb +0 -55
  722. data/core/lib/gaku/grading/collection/ordinal.rb +0 -10
  723. data/core/lib/gaku/grading/collection/percentage.rb +0 -10
  724. data/core/lib/gaku/grading/collection/result.rb +0 -18
  725. data/core/lib/gaku/grading/collection/score.rb +0 -10
  726. data/core/lib/gaku/grading/single/base_method.rb +0 -30
  727. data/core/lib/gaku/grading/single/calculations.rb +0 -42
  728. data/core/lib/gaku/grading/single/interval.rb +0 -7
  729. data/core/lib/gaku/grading/single/ordinal.rb +0 -30
  730. data/core/lib/gaku/grading/single/pass_fail.rb +0 -2
  731. data/core/lib/gaku/grading/single/percentage.rb +0 -26
  732. data/core/lib/gaku/grading/single/ratio.rb +0 -2
  733. data/core/lib/gaku/grading/single/result.rb +0 -18
  734. data/core/lib/gaku/grading/single/score.rb +0 -15
  735. data/core/lib/gaku/migrations.rb +0 -30
  736. data/core/lib/gaku/streamer/sse.rb +0 -22
  737. data/core/lib/gaku/testing/auth_helpers.rb +0 -29
  738. data/core/lib/gaku/testing/common_rake.rb +0 -33
  739. data/core/lib/gaku/testing/controller_helpers.rb +0 -105
  740. data/core/lib/gaku/testing/coverage.rb +0 -20
  741. data/core/lib/gaku/testing/deferred_garbage_collection.rb +0 -20
  742. data/core/lib/gaku/testing/factories.rb +0 -5
  743. data/core/lib/gaku/testing/factories/address_factory.rb +0 -22
  744. data/core/lib/gaku/testing/factories/assignment_factory.rb +0 -11
  745. data/core/lib/gaku/testing/factories/assignment_score_factory.rb +0 -8
  746. data/core/lib/gaku/testing/factories/attachment_factory.rb +0 -15
  747. data/core/lib/gaku/testing/factories/attendance_factory.rb +0 -11
  748. data/core/lib/gaku/testing/factories/attendance_type_factory.rb +0 -14
  749. data/core/lib/gaku/testing/factories/badge_factory.rb +0 -12
  750. data/core/lib/gaku/testing/factories/badge_type_factory.rb +0 -12
  751. data/core/lib/gaku/testing/factories/campus_factory.rb +0 -19
  752. data/core/lib/gaku/testing/factories/class_group_factory.rb +0 -24
  753. data/core/lib/gaku/testing/factories/commute_method_type_factory.rb +0 -11
  754. data/core/lib/gaku/testing/factories/contact_creation_factory.rb +0 -18
  755. data/core/lib/gaku/testing/factories/contact_factory.rb +0 -19
  756. data/core/lib/gaku/testing/factories/contact_type_factory.rb +0 -11
  757. data/core/lib/gaku/testing/factories/country_factory.rb +0 -11
  758. data/core/lib/gaku/testing/factories/course_enrollment_factory.rb +0 -12
  759. data/core/lib/gaku/testing/factories/course_factory.rb +0 -9
  760. data/core/lib/gaku/testing/factories/course_group_enrollment_factory.rb +0 -8
  761. data/core/lib/gaku/testing/factories/course_group_factory.rb +0 -9
  762. data/core/lib/gaku/testing/factories/department_factory.rb +0 -11
  763. data/core/lib/gaku/testing/factories/enrollment_factory.rb +0 -10
  764. data/core/lib/gaku/testing/factories/enrollment_status_factory.rb +0 -28
  765. data/core/lib/gaku/testing/factories/exam_factory.rb +0 -28
  766. data/core/lib/gaku/testing/factories/exam_portion_factory.rb +0 -13
  767. data/core/lib/gaku/testing/factories/exam_portion_score_factory.rb +0 -9
  768. data/core/lib/gaku/testing/factories/exam_schedule_factory.rb +0 -9
  769. data/core/lib/gaku/testing/factories/exam_score_factory.rb +0 -9
  770. data/core/lib/gaku/testing/factories/exam_session_factory.rb +0 -14
  771. data/core/lib/gaku/testing/factories/external_school_record_factory.rb +0 -14
  772. data/core/lib/gaku/testing/factories/extracurricular_activity_factory.rb +0 -11
  773. data/core/lib/gaku/testing/factories/faculty_factory.rb +0 -6
  774. data/core/lib/gaku/testing/factories/grading_method_connector_factory.rb +0 -11
  775. data/core/lib/gaku/testing/factories/grading_method_factory.rb +0 -14
  776. data/core/lib/gaku/testing/factories/grading_method_set_factory.rb +0 -11
  777. data/core/lib/gaku/testing/factories/grading_method_set_item_factory.rb +0 -12
  778. data/core/lib/gaku/testing/factories/guardian_factory.rb +0 -11
  779. data/core/lib/gaku/testing/factories/lesson_factory.rb +0 -7
  780. data/core/lib/gaku/testing/factories/lesson_plan_factory.rb +0 -9
  781. data/core/lib/gaku/testing/factories/level_factory.rb +0 -8
  782. data/core/lib/gaku/testing/factories/note_factory.rb +0 -12
  783. data/core/lib/gaku/testing/factories/preset_factory.rb +0 -17
  784. data/core/lib/gaku/testing/factories/program_factory.rb +0 -38
  785. data/core/lib/gaku/testing/factories/program_level_factory.rb +0 -8
  786. data/core/lib/gaku/testing/factories/program_specialty.rb +0 -8
  787. data/core/lib/gaku/testing/factories/program_syllabus_factory.rb +0 -9
  788. data/core/lib/gaku/testing/factories/role_factory.rb +0 -43
  789. data/core/lib/gaku/testing/factories/schedule_factory.rb +0 -9
  790. data/core/lib/gaku/testing/factories/scholarship_status_factory.rb +0 -8
  791. data/core/lib/gaku/testing/factories/school_factory.rb +0 -32
  792. data/core/lib/gaku/testing/factories/school_role_factory.rb +0 -7
  793. data/core/lib/gaku/testing/factories/school_year_factory.rb +0 -13
  794. data/core/lib/gaku/testing/factories/semester_attendance_factory.rb +0 -8
  795. data/core/lib/gaku/testing/factories/semester_connectors_factory.rb +0 -11
  796. data/core/lib/gaku/testing/factories/semester_factory.rb +0 -29
  797. data/core/lib/gaku/testing/factories/simple_grade_factory.rb +0 -14
  798. data/core/lib/gaku/testing/factories/simple_grade_type_factory.rb +0 -13
  799. data/core/lib/gaku/testing/factories/specialty_factory.rb +0 -13
  800. data/core/lib/gaku/testing/factories/state_factory.rb +0 -14
  801. data/core/lib/gaku/testing/factories/student_exam_session_factory.rb +0 -8
  802. data/core/lib/gaku/testing/factories/student_factory.rb +0 -61
  803. data/core/lib/gaku/testing/factories/student_review_category_factory.rb +0 -7
  804. data/core/lib/gaku/testing/factories/student_review_factory.rb +0 -13
  805. data/core/lib/gaku/testing/factories/student_specialty_factory.rb +0 -13
  806. data/core/lib/gaku/testing/factories/syllabus_factory.rb +0 -20
  807. data/core/lib/gaku/testing/factories/teacher_factory.rb +0 -15
  808. data/core/lib/gaku/testing/factories/template_factory.rb +0 -16
  809. data/core/lib/gaku/testing/factories/traits.rb +0 -104
  810. data/core/lib/gaku/testing/factories/user_factory.rb +0 -41
  811. data/core/lib/gaku/testing/factories/user_role_factory.rb +0 -8
  812. data/core/lib/gaku_core.rb +0 -1
  813. data/core/lib/generators/gaku/dummy/dummy_generator.rb +0 -103
  814. data/core/lib/generators/gaku/dummy/templates/rails/application.rb +0 -10
  815. data/core/lib/generators/gaku/dummy/templates/rails/boot.rb +0 -6
  816. data/core/lib/generators/gaku/dummy/templates/rails/database.yml +0 -17
  817. data/core/lib/generators/gaku/dummy/templates/rails/routes.rb +0 -3
  818. data/core/lib/generators/gaku/dummy/templates/rails/script/rails +0 -7
  819. data/core/lib/generators/gaku/install/install_generator.rb +0 -150
  820. data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/admin/all.js +0 -10
  821. data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/archive/all.js +0 -10
  822. data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/frontend/all.js +0 -10
  823. data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/admin/all.css +0 -9
  824. data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/archive/all.css +0 -9
  825. data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/frontend/all.css +0 -9
  826. data/core/lib/tasks/admin_user.rake +0 -105
  827. data/core/lib/tasks/core.rake +0 -65
  828. data/core/lib/tasks/reset.rake +0 -37
  829. data/core/spec/lib/gaku/grading/collection/calculations_spec.rb +0 -52
  830. data/core/spec/lib/gaku/grading/collection/interval_spec.rb +0 -56
  831. data/core/spec/lib/gaku/grading/collection/ordinal_spec.rb +0 -36
  832. data/core/spec/lib/gaku/grading/collection/percentage_spec.rb +0 -31
  833. data/core/spec/lib/gaku/grading/collection/result_spec.rb +0 -13
  834. data/core/spec/lib/gaku/grading/collection/score_spec.rb +0 -31
  835. data/core/spec/lib/gaku/grading/single/calculations_spec.rb +0 -88
  836. data/core/spec/lib/gaku/grading/single/ordinal_spec.rb +0 -95
  837. data/core/spec/lib/gaku/grading/single/percentage_spec.rb +0 -52
  838. data/core/spec/lib/gaku/grading/single/result_spec.rb +0 -12
  839. data/core/spec/lib/gaku/grading/single/score_spec.rb +0 -54
  840. data/core/spec/models/address_spec.rb +0 -124
  841. data/core/spec/models/assignment_score_spec.rb +0 -19
  842. data/core/spec/models/assignment_spec.rb +0 -19
  843. data/core/spec/models/attachment_spec.rb +0 -20
  844. data/core/spec/models/attendance_spec.rb +0 -21
  845. data/core/spec/models/attendance_type_spec.rb +0 -19
  846. data/core/spec/models/badge_spec.rb +0 -15
  847. data/core/spec/models/badge_type_spec.rb +0 -20
  848. data/core/spec/models/campus_spec.rb +0 -71
  849. data/core/spec/models/class_group_spec.rb +0 -91
  850. data/core/spec/models/commute_method_type_spec.rb +0 -19
  851. data/core/spec/models/contact_spec.rb +0 -30
  852. data/core/spec/models/contact_type_spec.rb +0 -19
  853. data/core/spec/models/country_spec.rb +0 -21
  854. data/core/spec/models/course_group_enrollment_spec.rb +0 -19
  855. data/core/spec/models/course_group_spec.rb +0 -19
  856. data/core/spec/models/course_spec.rb +0 -82
  857. data/core/spec/models/department_spec.rb +0 -22
  858. data/core/spec/models/enrollment_spec.rb +0 -44
  859. data/core/spec/models/enrollment_status_spec.rb +0 -24
  860. data/core/spec/models/exam_portion_score_spec.rb +0 -16
  861. data/core/spec/models/exam_portion_spec.rb +0 -46
  862. data/core/spec/models/exam_schedule_spec.rb +0 -17
  863. data/core/spec/models/exam_score_spec.rb +0 -15
  864. data/core/spec/models/exam_session_spec.rb +0 -20
  865. data/core/spec/models/exam_spec.rb +0 -99
  866. data/core/spec/models/exam_syllabus_spec.rb +0 -16
  867. data/core/spec/models/external_school_record_spec.rb +0 -32
  868. data/core/spec/models/extracurricular_activity_spec.rb +0 -45
  869. data/core/spec/models/factories_spec.rb +0 -12
  870. data/core/spec/models/faculty_spec.rb +0 -17
  871. data/core/spec/models/grading_method_connector_spec.rb +0 -19
  872. data/core/spec/models/grading_method_set_item_spec.rb +0 -20
  873. data/core/spec/models/grading_method_set_spec.rb +0 -33
  874. data/core/spec/models/grading_method_spec.rb +0 -30
  875. data/core/spec/models/guardian_spec.rb +0 -66
  876. data/core/spec/models/lesson_plan_spec.rb +0 -43
  877. data/core/spec/models/lesson_spec.rb +0 -14
  878. data/core/spec/models/level_spec.rb +0 -22
  879. data/core/spec/models/note_spec.rb +0 -14
  880. data/core/spec/models/preset_spec.rb +0 -21
  881. data/core/spec/models/program_level_spec.rb +0 -15
  882. data/core/spec/models/program_spec.rb +0 -35
  883. data/core/spec/models/program_specialty_spec.rb +0 -15
  884. data/core/spec/models/program_syllabus_spec.rb +0 -16
  885. data/core/spec/models/role_spec.rb +0 -20
  886. data/core/spec/models/scholarship_status_spec.rb +0 -19
  887. data/core/spec/models/school_role_spec.rb +0 -19
  888. data/core/spec/models/school_spec.rb +0 -22
  889. data/core/spec/models/school_year_spec.rb +0 -20
  890. data/core/spec/models/semester_attendance_spec.rb +0 -15
  891. data/core/spec/models/semester_connector_spec.rb +0 -23
  892. data/core/spec/models/semester_spec.rb +0 -73
  893. data/core/spec/models/simple_grade_spec.rb +0 -16
  894. data/core/spec/models/simple_grade_type_spec.rb +0 -19
  895. data/core/spec/models/specialty_spec.rb +0 -25
  896. data/core/spec/models/state_spec.rb +0 -26
  897. data/core/spec/models/student_exam_session_spec.rb +0 -16
  898. data/core/spec/models/student_guardian_spec.rb +0 -10
  899. data/core/spec/models/student_review_category_spec.rb +0 -18
  900. data/core/spec/models/student_review_spec.rb +0 -23
  901. data/core/spec/models/student_spec.rb +0 -285
  902. data/core/spec/models/student_speciality_spec.rb +0 -16
  903. data/core/spec/models/syllabus_spec.rb +0 -72
  904. data/core/spec/models/teacher_spec.rb +0 -85
  905. data/core/spec/models/template_spec.rb +0 -19
  906. data/core/spec/models/user_role_spec.rb +0 -10
  907. data/core/spec/models/user_spec.rb +0 -68
  908. data/core/spec/services/contact_creation_spec.rb +0 -90
  909. data/core/spec/services/contact_updation_spec.rb +0 -78
  910. data/core/spec/services/student_selection_spec.rb +0 -65
  911. data/core/spec/services/user_creator_spec.rb +0 -58
  912. data/core/spec/spec_helper_base.rb +0 -24
  913. data/core/spec/spec_helper_models.rb +0 -39
  914. data/core/spec/support/120x120.jpg +0 -0
  915. data/core/spec/support/models/matchers/accept_nested_attributes_for_matcher.rb +0 -43
  916. data/core/spec/support/models/shared_examples/addressable.rb +0 -3
  917. data/core/spec/support/models/shared_examples/avatarable.rb +0 -3
  918. data/core/spec/support/models/shared_examples/contactable.rb +0 -3
  919. data/core/spec/support/models/shared_examples/enrollmentable.rb +0 -4
  920. data/core/spec/support/models/shared_examples/gradable.rb +0 -4
  921. data/core/spec/support/models/shared_examples/notable.rb +0 -3
  922. data/core/spec/support/models/shared_examples/person.rb +0 -4
  923. data/core/spec/support/models/shared_examples/semesterable.rb +0 -4
  924. data/core/spec/support/models/shared_examples/student_reviewable.rb +0 -3
  925. data/core/spec/support/sample_roster.ods +0 -0
  926. data/doc/authorized_service_providers/Genshin/genshin_okazaki_office.geojson +0 -13
  927. data/frontend/.gitignore +0 -3
  928. data/frontend/.rspec +0 -2
  929. data/frontend/Gemfile +0 -9
  930. data/frontend/Guardfile +0 -40
  931. data/frontend/Rakefile +0 -17
  932. data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.eot +0 -0
  933. data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.svg +0 -228
  934. data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.ttf +0 -0
  935. data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.woff +0 -0
  936. data/frontend/app/assets/javascripts/gaku/frontend.js.coffee +0 -49
  937. data/frontend/app/assets/javascripts/gaku/frontend/base.js.coffee +0 -231
  938. data/frontend/app/assets/javascripts/gaku/frontend/class_groups.js.coffee +0 -21
  939. data/frontend/app/assets/javascripts/gaku/frontend/courses.js.coffee +0 -36
  940. data/frontend/app/assets/javascripts/gaku/frontend/exams.js.coffee +0 -25
  941. data/frontend/app/assets/javascripts/gaku/frontend/extracurricular_activities.js.coffee +0 -12
  942. data/frontend/app/assets/javascripts/gaku/frontend/guardians.js.coffee +0 -14
  943. data/frontend/app/assets/javascripts/gaku/frontend/slide.js.erb +0 -14
  944. data/frontend/app/assets/javascripts/gaku/frontend/students.js.coffee +0 -45
  945. data/frontend/app/assets/javascripts/gaku/frontend/syllabuses.js.coffee +0 -9
  946. data/frontend/app/assets/javascripts/gaku/frontend/teachers.js.coffee +0 -14
  947. data/frontend/app/assets/stylesheets/gaku/bootstrap_and_theme.css.scss +0 -582
  948. data/frontend/app/assets/stylesheets/gaku/frontend.css +0 -14
  949. data/frontend/app/assets/stylesheets/gaku/frontend/class_groups.css.scss +0 -19
  950. data/frontend/app/assets/stylesheets/gaku/frontend/course_groups.css.scss +0 -14
  951. data/frontend/app/assets/stylesheets/gaku/frontend/courses.css.scss +0 -19
  952. data/frontend/app/assets/stylesheets/gaku/frontend/exams.css.scss +0 -72
  953. data/frontend/app/assets/stylesheets/gaku/frontend/gaku.css.scss +0 -216
  954. data/frontend/app/assets/stylesheets/gaku/frontend/students.css.scss +0 -22
  955. data/frontend/app/assets/templates/roster.xls +0 -0
  956. data/frontend/app/controllers/concerns/picture_controller.rb +0 -29
  957. data/frontend/app/controllers/concerns/poly_controller.rb +0 -49
  958. data/frontend/app/controllers/concerns/polymorphic_resource_concern.rb +0 -48
  959. data/frontend/app/controllers/concerns/student_chooser_controller.rb +0 -41
  960. data/frontend/app/controllers/gaku/addresses_controller.rb +0 -103
  961. data/frontend/app/controllers/gaku/attachments_controller.rb +0 -82
  962. data/frontend/app/controllers/gaku/attendances_controller.rb +0 -28
  963. data/frontend/app/controllers/gaku/class_groups/enrollments_controller.rb +0 -30
  964. data/frontend/app/controllers/gaku/class_groups/semester_attendances_controller.rb +0 -53
  965. data/frontend/app/controllers/gaku/class_groups/student_reviews_controller.rb +0 -60
  966. data/frontend/app/controllers/gaku/class_groups_controller.rb +0 -128
  967. data/frontend/app/controllers/gaku/contacts_controller.rb +0 -84
  968. data/frontend/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +0 -63
  969. data/frontend/app/controllers/gaku/course_groups_controller.rb +0 -90
  970. data/frontend/app/controllers/gaku/courses/exams_controller.rb +0 -36
  971. data/frontend/app/controllers/gaku/courses_controller.rb +0 -110
  972. data/frontend/app/controllers/gaku/devise/passwords_controller.rb +0 -4
  973. data/frontend/app/controllers/gaku/devise/registrations_controller.rb +0 -60
  974. data/frontend/app/controllers/gaku/devise/sessions_controller.rb +0 -15
  975. data/frontend/app/controllers/gaku/enrollments_controller.rb +0 -130
  976. data/frontend/app/controllers/gaku/exam_portion_scores_controller.rb +0 -49
  977. data/frontend/app/controllers/gaku/exams/exam_portions_controller.rb +0 -84
  978. data/frontend/app/controllers/gaku/exams/exam_sessions_controller.rb +0 -58
  979. data/frontend/app/controllers/gaku/exams_controller.rb +0 -127
  980. data/frontend/app/controllers/gaku/extracurricular_activities_controller.rb +0 -72
  981. data/frontend/app/controllers/gaku/gaku_controller.rb +0 -34
  982. data/frontend/app/controllers/gaku/grading_method_connectors_controller.rb +0 -109
  983. data/frontend/app/controllers/gaku/guardians_controller.rb +0 -66
  984. data/frontend/app/controllers/gaku/home_controller.rb +0 -11
  985. data/frontend/app/controllers/gaku/notes_controller.rb +0 -86
  986. data/frontend/app/controllers/gaku/realtime_controller.rb +0 -28
  987. data/frontend/app/controllers/gaku/search_controller.rb +0 -16
  988. data/frontend/app/controllers/gaku/semester_connectors_controller.rb +0 -66
  989. data/frontend/app/controllers/gaku/states_list_controller.rb +0 -21
  990. data/frontend/app/controllers/gaku/student_selection_controller.rb +0 -58
  991. data/frontend/app/controllers/gaku/students/badges_controller.rb +0 -65
  992. data/frontend/app/controllers/gaku/students/class_group_enrollments_controller.rb +0 -53
  993. data/frontend/app/controllers/gaku/students/course_enrollments_controller.rb +0 -53
  994. data/frontend/app/controllers/gaku/students/external_school_records_controller.rb +0 -63
  995. data/frontend/app/controllers/gaku/students/extracurricular_activity_enrollments_controller.rb +0 -53
  996. data/frontend/app/controllers/gaku/students/simple_grades_controller.rb +0 -69
  997. data/frontend/app/controllers/gaku/students/student_specialties_controller.rb +0 -68
  998. data/frontend/app/controllers/gaku/students_controller.rb +0 -182
  999. data/frontend/app/controllers/gaku/syllabuses/assignments_controller.rb +0 -20
  1000. data/frontend/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +0 -43
  1001. data/frontend/app/controllers/gaku/syllabuses/exams_controller.rb +0 -69
  1002. data/frontend/app/controllers/gaku/syllabuses_controller.rb +0 -75
  1003. data/frontend/app/controllers/gaku/teachers_controller.rb +0 -79
  1004. data/frontend/app/helpers/gaku/autocomplete_helper.rb +0 -31
  1005. data/frontend/app/helpers/gaku/exam_helper.rb +0 -13
  1006. data/frontend/app/helpers/gaku/frontend_helper.rb +0 -58
  1007. data/frontend/app/helpers/gaku/person_helper.rb +0 -78
  1008. data/frontend/app/helpers/gaku/shared_helper.rb +0 -25
  1009. data/frontend/app/helpers/gaku/student_chooser_helper.rb +0 -11
  1010. data/frontend/app/helpers/gaku/students_helper.rb +0 -29
  1011. data/frontend/app/overrides/frontend_menu.rb +0 -6
  1012. data/frontend/app/views/gaku/addresses/_address.html.slim +0 -5
  1013. data/frontend/app/views/gaku/addresses/_addresses.html.slim +0 -26
  1014. data/frontend/app/views/gaku/addresses/_delete_link.html.slim +0 -1
  1015. data/frontend/app/views/gaku/addresses/_fields.html.slim +0 -13
  1016. data/frontend/app/views/gaku/addresses/_form.html.slim +0 -3
  1017. data/frontend/app/views/gaku/addresses/_form_fields.html.slim +0 -23
  1018. data/frontend/app/views/gaku/addresses/_modal.html.slim +0 -4
  1019. data/frontend/app/views/gaku/addresses/_primary_field.html.slim +0 -5
  1020. data/frontend/app/views/gaku/addresses/create.js.erb +0 -13
  1021. data/frontend/app/views/gaku/addresses/destroy.js.erb +0 -9
  1022. data/frontend/app/views/gaku/addresses/edit.js.erb +0 -4
  1023. data/frontend/app/views/gaku/addresses/index.js.erb +0 -1
  1024. data/frontend/app/views/gaku/addresses/make_primary.js.erb +0 -7
  1025. data/frontend/app/views/gaku/addresses/new.js.erb +0 -4
  1026. data/frontend/app/views/gaku/addresses/recovery.js.erb +0 -1
  1027. data/frontend/app/views/gaku/addresses/show/_address.html.slim +0 -9
  1028. data/frontend/app/views/gaku/addresses/show/_addresses.html.slim +0 -19
  1029. data/frontend/app/views/gaku/addresses/soft_delete.js.erb +0 -9
  1030. data/frontend/app/views/gaku/addresses/update.js.erb +0 -5
  1031. data/frontend/app/views/gaku/attachments/_attachment.html.slim +0 -2
  1032. data/frontend/app/views/gaku/attachments/_attachments.html.slim +0 -20
  1033. data/frontend/app/views/gaku/attachments/_form.html.slim +0 -3
  1034. data/frontend/app/views/gaku/attachments/_form_fields.html.slim +0 -3
  1035. data/frontend/app/views/gaku/attachments/_modal.html.slim +0 -4
  1036. data/frontend/app/views/gaku/attachments/_table_fields.html.slim +0 -9
  1037. data/frontend/app/views/gaku/attachments/create.js.erb +0 -8
  1038. data/frontend/app/views/gaku/attachments/destroy.js.erb +0 -1
  1039. data/frontend/app/views/gaku/attachments/edit.js.erb +0 -3
  1040. data/frontend/app/views/gaku/attachments/new.js.erb +0 -3
  1041. data/frontend/app/views/gaku/attachments/recovery.js.erb +0 -1
  1042. data/frontend/app/views/gaku/attachments/soft_delete.js.erb +0 -3
  1043. data/frontend/app/views/gaku/attachments/update.js.erb +0 -5
  1044. data/frontend/app/views/gaku/class_groups/_class_group.html.slim +0 -4
  1045. data/frontend/app/views/gaku/class_groups/_class_groups.html.slim +0 -11
  1046. data/frontend/app/views/gaku/class_groups/_class_groups_with_semester.html.slim +0 -12
  1047. data/frontend/app/views/gaku/class_groups/_edit_form.html.slim +0 -9
  1048. data/frontend/app/views/gaku/class_groups/_fields.html.slim +0 -3
  1049. data/frontend/app/views/gaku/class_groups/_form.html.slim +0 -3
  1050. data/frontend/app/views/gaku/class_groups/_form_fields.html.slim +0 -7
  1051. data/frontend/app/views/gaku/class_groups/advanced_search.js.erb +0 -30
  1052. data/frontend/app/views/gaku/class_groups/create.js.erb +0 -6
  1053. data/frontend/app/views/gaku/class_groups/destroy.js.erb +0 -1
  1054. data/frontend/app/views/gaku/class_groups/edit.html.slim +0 -18
  1055. data/frontend/app/views/gaku/class_groups/edit.js.erb +0 -1
  1056. data/frontend/app/views/gaku/class_groups/enrollments/_enrollment.html.slim +0 -2
  1057. data/frontend/app/views/gaku/class_groups/enrollments/_enrollments.html.slim +0 -21
  1058. data/frontend/app/views/gaku/class_groups/enrollments/_form.html.slim +0 -4
  1059. data/frontend/app/views/gaku/class_groups/enrollments/_form_fields.html.slim +0 -3
  1060. data/frontend/app/views/gaku/class_groups/enrollments/_table_fields.html.slim +0 -5
  1061. data/frontend/app/views/gaku/class_groups/enrollments/create.js.erb +0 -11
  1062. data/frontend/app/views/gaku/class_groups/enrollments/create_from_selection.js.erb +0 -7
  1063. data/frontend/app/views/gaku/class_groups/enrollments/destroy.js.erb +0 -9
  1064. data/frontend/app/views/gaku/class_groups/enrollments/index.js.erb +0 -2
  1065. data/frontend/app/views/gaku/class_groups/enrollments/new.js.erb +0 -3
  1066. data/frontend/app/views/gaku/class_groups/enrollments/sort.js.erb +0 -3
  1067. data/frontend/app/views/gaku/class_groups/enrollments/student_selection.js.erb +0 -2
  1068. data/frontend/app/views/gaku/class_groups/index.html.slim +0 -25
  1069. data/frontend/app/views/gaku/class_groups/new.js.erb +0 -3
  1070. data/frontend/app/views/gaku/class_groups/search/_form.html.slim +0 -18
  1071. data/frontend/app/views/gaku/class_groups/search/_semester_form.html.slim +0 -23
  1072. data/frontend/app/views/gaku/class_groups/semester_advanced_search.js.erb +0 -30
  1073. data/frontend/app/views/gaku/class_groups/semester_attendances/_semester_attendances.html.slim +0 -27
  1074. data/frontend/app/views/gaku/class_groups/semester_attendances/index.js.erb +0 -1
  1075. data/frontend/app/views/gaku/class_groups/student_reviews/_edit_modal.html.slim +0 -4
  1076. data/frontend/app/views/gaku/class_groups/student_reviews/_form_fields.html.slim +0 -3
  1077. data/frontend/app/views/gaku/class_groups/student_reviews/_new_modal.html.slim +0 -4
  1078. data/frontend/app/views/gaku/class_groups/student_reviews/_show_modal.html.slim +0 -11
  1079. data/frontend/app/views/gaku/class_groups/student_reviews/create.js.erb +0 -2
  1080. data/frontend/app/views/gaku/class_groups/student_reviews/destroy.js.erb +0 -2
  1081. data/frontend/app/views/gaku/class_groups/student_reviews/edit.js.erb +0 -5
  1082. data/frontend/app/views/gaku/class_groups/student_reviews/index.js.erb +0 -8
  1083. data/frontend/app/views/gaku/class_groups/student_reviews/update.js.erb +0 -2
  1084. data/frontend/app/views/gaku/class_groups/update.js.erb +0 -1
  1085. data/frontend/app/views/gaku/class_groups/with_semester.html.slim +0 -26
  1086. data/frontend/app/views/gaku/class_groups/with_semester.js.erb +0 -2
  1087. data/frontend/app/views/gaku/class_groups/without_semester.html.slim +0 -26
  1088. data/frontend/app/views/gaku/class_groups/without_semester.js.erb +0 -2
  1089. data/frontend/app/views/gaku/contacts/_contact.html.slim +0 -5
  1090. data/frontend/app/views/gaku/contacts/_contacts.html.slim +0 -22
  1091. data/frontend/app/views/gaku/contacts/_delete_link.html.slim +0 -1
  1092. data/frontend/app/views/gaku/contacts/_fields.html.slim +0 -12
  1093. data/frontend/app/views/gaku/contacts/_form.html.slim +0 -4
  1094. data/frontend/app/views/gaku/contacts/_form_fields.html.slim +0 -14
  1095. data/frontend/app/views/gaku/contacts/_modal.html.slim +0 -4
  1096. data/frontend/app/views/gaku/contacts/_primary_field.html.slim +0 -5
  1097. data/frontend/app/views/gaku/contacts/create.js.erb +0 -22
  1098. data/frontend/app/views/gaku/contacts/destroy.js.erb +0 -10
  1099. data/frontend/app/views/gaku/contacts/edit.js.erb +0 -4
  1100. data/frontend/app/views/gaku/contacts/index.js.erb +0 -2
  1101. data/frontend/app/views/gaku/contacts/make_primary.js.erb +0 -6
  1102. data/frontend/app/views/gaku/contacts/new.js.erb +0 -3
  1103. data/frontend/app/views/gaku/contacts/recovery.js.erb +0 -1
  1104. data/frontend/app/views/gaku/contacts/show/_contact.html.slim +0 -7
  1105. data/frontend/app/views/gaku/contacts/show/_contacts.html.slim +0 -15
  1106. data/frontend/app/views/gaku/contacts/soft_delete.js.erb +0 -8
  1107. data/frontend/app/views/gaku/contacts/update.js.erb +0 -14
  1108. data/frontend/app/views/gaku/course_groups/_course_group.html.slim +0 -4
  1109. data/frontend/app/views/gaku/course_groups/_course_groups.html.slim +0 -7
  1110. data/frontend/app/views/gaku/course_groups/_edit_form.html.slim +0 -9
  1111. data/frontend/app/views/gaku/course_groups/_fields.html.slim +0 -1
  1112. data/frontend/app/views/gaku/course_groups/_form.html.slim +0 -3
  1113. data/frontend/app/views/gaku/course_groups/_form_fields.html.slim +0 -1
  1114. data/frontend/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +0 -4
  1115. data/frontend/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +0 -22
  1116. data/frontend/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +0 -4
  1117. data/frontend/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +0 -8
  1118. data/frontend/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +0 -3
  1119. data/frontend/app/views/gaku/course_groups/course_group_enrollments/index.js.erb +0 -1
  1120. data/frontend/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +0 -3
  1121. data/frontend/app/views/gaku/course_groups/create.js.erb +0 -6
  1122. data/frontend/app/views/gaku/course_groups/destroy.js.erb +0 -1
  1123. data/frontend/app/views/gaku/course_groups/edit.html.slim +0 -17
  1124. data/frontend/app/views/gaku/course_groups/edit.js.erb +0 -1
  1125. data/frontend/app/views/gaku/course_groups/index.html.slim +0 -14
  1126. data/frontend/app/views/gaku/course_groups/new.js.erb +0 -3
  1127. data/frontend/app/views/gaku/course_groups/update.js.erb +0 -1
  1128. data/frontend/app/views/gaku/courses/_course.html.slim +0 -7
  1129. data/frontend/app/views/gaku/courses/_courses.html.slim +0 -24
  1130. data/frontend/app/views/gaku/courses/_edit_form.html.slim +0 -9
  1131. data/frontend/app/views/gaku/courses/_form.html.slim +0 -3
  1132. data/frontend/app/views/gaku/courses/_form_fields.html.slim +0 -5
  1133. data/frontend/app/views/gaku/courses/create.js.erb +0 -6
  1134. data/frontend/app/views/gaku/courses/destroy.js.erb +0 -1
  1135. data/frontend/app/views/gaku/courses/edit.html.slim +0 -27
  1136. data/frontend/app/views/gaku/courses/edit.js.erb +0 -1
  1137. data/frontend/app/views/gaku/courses/exams/_exam.html.slim +0 -5
  1138. data/frontend/app/views/gaku/courses/exams/_exam_portion_head.html.slim +0 -5
  1139. data/frontend/app/views/gaku/courses/exams/_exams.html.slim +0 -14
  1140. data/frontend/app/views/gaku/courses/exams/_grading_table_head.html.slim +0 -12
  1141. data/frontend/app/views/gaku/courses/exams/_grading_table_student_field.html.slim +0 -15
  1142. data/frontend/app/views/gaku/courses/exams/grading.html.slim +0 -7
  1143. data/frontend/app/views/gaku/courses/exams/index.js.erb +0 -1
  1144. data/frontend/app/views/gaku/courses/index.html.slim +0 -14
  1145. data/frontend/app/views/gaku/courses/new.js.erb +0 -3
  1146. data/frontend/app/views/gaku/courses/update.js.erb +0 -1
  1147. data/frontend/app/views/gaku/devise/confirmations/new.html.slim +0 -9
  1148. data/frontend/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +0 -4
  1149. data/frontend/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +0 -6
  1150. data/frontend/app/views/gaku/devise/mailer/unlock_instructions.html.slim +0 -5
  1151. data/frontend/app/views/gaku/devise/passwords/edit.html.slim +0 -14
  1152. data/frontend/app/views/gaku/devise/passwords/new.html.slim +0 -8
  1153. data/frontend/app/views/gaku/devise/registrations/edit.html.slim +0 -31
  1154. data/frontend/app/views/gaku/devise/registrations/new.html.slim +0 -27
  1155. data/frontend/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +0 -26
  1156. data/frontend/app/views/gaku/devise/sessions/new.html.slim +0 -24
  1157. data/frontend/app/views/gaku/devise/shared/_links.html.erb +0 -25
  1158. data/frontend/app/views/gaku/devise/unlocks/new.html.slim +0 -9
  1159. data/frontend/app/views/gaku/enrollments/_enrollment.html.slim +0 -2
  1160. data/frontend/app/views/gaku/enrollments/_enrollments.html.slim +0 -19
  1161. data/frontend/app/views/gaku/enrollments/_form.html.slim +0 -3
  1162. data/frontend/app/views/gaku/enrollments/_form_fields.html.slim +0 -3
  1163. data/frontend/app/views/gaku/enrollments/_table_fields.html.slim +0 -3
  1164. data/frontend/app/views/gaku/enrollments/create.js.erb +0 -6
  1165. data/frontend/app/views/gaku/enrollments/create_from_selection.js.erb +0 -7
  1166. data/frontend/app/views/gaku/enrollments/destroy.js.erb +0 -4
  1167. data/frontend/app/views/gaku/enrollments/index.js.erb +0 -1
  1168. data/frontend/app/views/gaku/enrollments/new.js.erb +0 -3
  1169. data/frontend/app/views/gaku/enrollments/student_selection.js.erb +0 -2
  1170. data/frontend/app/views/gaku/exam_divisions/_form.html.erb +0 -29
  1171. data/frontend/app/views/gaku/exam_divisions/edit.html.erb +0 -6
  1172. data/frontend/app/views/gaku/exam_divisions/index.html.erb +0 -27
  1173. data/frontend/app/views/gaku/exam_divisions/new.html.erb +0 -5
  1174. data/frontend/app/views/gaku/exam_divisions/show.html.erb +0 -20
  1175. data/frontend/app/views/gaku/exams/_edit_form.html.slim +0 -9
  1176. data/frontend/app/views/gaku/exams/_exam.html.slim +0 -2
  1177. data/frontend/app/views/gaku/exams/_exams.html.slim +0 -21
  1178. data/frontend/app/views/gaku/exams/_form.html.slim +0 -16
  1179. data/frontend/app/views/gaku/exams/_form_fields.html.slim +0 -17
  1180. data/frontend/app/views/gaku/exams/_table_fields.html.slim +0 -8
  1181. data/frontend/app/views/gaku/exams/_tabs.html.slim +0 -20
  1182. data/frontend/app/views/gaku/exams/_weight_check_widget.html.slim +0 -20
  1183. data/frontend/app/views/gaku/exams/create.js.erb +0 -7
  1184. data/frontend/app/views/gaku/exams/destroy.js.erb +0 -1
  1185. data/frontend/app/views/gaku/exams/edit.html.slim +0 -26
  1186. data/frontend/app/views/gaku/exams/edit.js.erb +0 -1
  1187. data/frontend/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +0 -4
  1188. data/frontend/app/views/gaku/exams/exam_portions/_edit_form.html.slim +0 -14
  1189. data/frontend/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +0 -2
  1190. data/frontend/app/views/gaku/exams/exam_portions/_exam_portion_menu_link.html.slim +0 -1
  1191. data/frontend/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +0 -3
  1192. data/frontend/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +0 -24
  1193. data/frontend/app/views/gaku/exams/exam_portions/_form.html.slim +0 -3
  1194. data/frontend/app/views/gaku/exams/exam_portions/_table_fields.slim +0 -4
  1195. data/frontend/app/views/gaku/exams/exam_portions/_tabs.html.slim +0 -11
  1196. data/frontend/app/views/gaku/exams/exam_portions/create.js.erb +0 -53
  1197. data/frontend/app/views/gaku/exams/exam_portions/destroy.js.erb +0 -10
  1198. data/frontend/app/views/gaku/exams/exam_portions/edit.html.slim +0 -1
  1199. data/frontend/app/views/gaku/exams/exam_portions/edit.js.erb +0 -1
  1200. data/frontend/app/views/gaku/exams/exam_portions/index.js.erb +0 -1
  1201. data/frontend/app/views/gaku/exams/exam_portions/new.js.erb +0 -3
  1202. data/frontend/app/views/gaku/exams/exam_portions/show.html.slim +0 -30
  1203. data/frontend/app/views/gaku/exams/exam_portions/update.js.erb +0 -2
  1204. data/frontend/app/views/gaku/exams/exam_sessions/_exam_session.html.slim +0 -2
  1205. data/frontend/app/views/gaku/exams/exam_sessions/_exam_sessions.html.slim +0 -20
  1206. data/frontend/app/views/gaku/exams/exam_sessions/_form.html.slim +0 -3
  1207. data/frontend/app/views/gaku/exams/exam_sessions/_form_fields.html.slim +0 -10
  1208. data/frontend/app/views/gaku/exams/exam_sessions/_students.html.slim +0 -1
  1209. data/frontend/app/views/gaku/exams/exam_sessions/_table_fields.html.slim +0 -6
  1210. data/frontend/app/views/gaku/exams/exam_sessions/_tabs.html.slim +0 -10
  1211. data/frontend/app/views/gaku/exams/exam_sessions/create.js.erb +0 -7
  1212. data/frontend/app/views/gaku/exams/exam_sessions/destroy.js.erb +0 -0
  1213. data/frontend/app/views/gaku/exams/exam_sessions/edit.html.slim +0 -16
  1214. data/frontend/app/views/gaku/exams/exam_sessions/new.js.erb +0 -4
  1215. data/frontend/app/views/gaku/exams/exam_sessions/update.js.erb +0 -0
  1216. data/frontend/app/views/gaku/exams/export.xls.rb +0 -66
  1217. data/frontend/app/views/gaku/exams/index.html.slim +0 -21
  1218. data/frontend/app/views/gaku/exams/new.js.erb +0 -3
  1219. data/frontend/app/views/gaku/exams/show.html.slim +0 -28
  1220. data/frontend/app/views/gaku/extracurricular_activities/_edit_form.html.slim +0 -9
  1221. data/frontend/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +0 -7
  1222. data/frontend/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +0 -4
  1223. data/frontend/app/views/gaku/extracurricular_activities/_fields.html.slim +0 -1
  1224. data/frontend/app/views/gaku/extracurricular_activities/_form.html.slim +0 -3
  1225. data/frontend/app/views/gaku/extracurricular_activities/_form_fields.html.slim +0 -3
  1226. data/frontend/app/views/gaku/extracurricular_activities/create.js.erb +0 -6
  1227. data/frontend/app/views/gaku/extracurricular_activities/destroy.js.erb +0 -2
  1228. data/frontend/app/views/gaku/extracurricular_activities/edit.html.slim +0 -16
  1229. data/frontend/app/views/gaku/extracurricular_activities/edit.js.erb +0 -1
  1230. data/frontend/app/views/gaku/extracurricular_activities/index.html.slim +0 -15
  1231. data/frontend/app/views/gaku/extracurricular_activities/new.js.erb +0 -3
  1232. data/frontend/app/views/gaku/extracurricular_activities/update.js.erb +0 -1
  1233. data/frontend/app/views/gaku/grading_method_connectors/_form.html.slim +0 -3
  1234. data/frontend/app/views/gaku/grading_method_connectors/_form_fields.html.slim +0 -1
  1235. data/frontend/app/views/gaku/grading_method_connectors/_grading_method_connector.html.slim +0 -2
  1236. data/frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim +0 -23
  1237. data/frontend/app/views/gaku/grading_method_connectors/_set_form.html.slim +0 -6
  1238. data/frontend/app/views/gaku/grading_method_connectors/_table_fields.html.slim +0 -4
  1239. data/frontend/app/views/gaku/grading_method_connectors/add_set.js.erb +0 -12
  1240. data/frontend/app/views/gaku/grading_method_connectors/create.js.erb +0 -10
  1241. data/frontend/app/views/gaku/grading_method_connectors/destroy.js.erb +0 -5
  1242. data/frontend/app/views/gaku/grading_method_connectors/index.js.erb +0 -1
  1243. data/frontend/app/views/gaku/grading_method_connectors/new.js.erb +0 -7
  1244. data/frontend/app/views/gaku/grading_method_connectors/new_set.js.erb +0 -6
  1245. data/frontend/app/views/gaku/guardians/_delete_modal.html.slim +0 -11
  1246. data/frontend/app/views/gaku/guardians/_edit_form.html.slim +0 -10
  1247. data/frontend/app/views/gaku/guardians/_form.html.slim +0 -3
  1248. data/frontend/app/views/gaku/guardians/_form_fields.html.slim +0 -4
  1249. data/frontend/app/views/gaku/guardians/_guardian.html.slim +0 -6
  1250. data/frontend/app/views/gaku/guardians/_guardians.html.slim +0 -21
  1251. data/frontend/app/views/gaku/guardians/create.js.erb +0 -7
  1252. data/frontend/app/views/gaku/guardians/destroy.js.erb +0 -2
  1253. data/frontend/app/views/gaku/guardians/edit.html.slim +0 -32
  1254. data/frontend/app/views/gaku/guardians/edit.js.erb +0 -1
  1255. data/frontend/app/views/gaku/guardians/index.js.erb +0 -1
  1256. data/frontend/app/views/gaku/guardians/new.js.erb +0 -3
  1257. data/frontend/app/views/gaku/guardians/recovery.js.erb +0 -1
  1258. data/frontend/app/views/gaku/home/_user_info.html.slim +0 -7
  1259. data/frontend/app/views/gaku/home/_user_menu.html.slim +0 -4
  1260. data/frontend/app/views/gaku/home/index.html.slim +0 -8
  1261. data/frontend/app/views/gaku/layouts/edit.html.slim +0 -10
  1262. data/frontend/app/views/gaku/layouts/gaku.html.slim +0 -22
  1263. data/frontend/app/views/gaku/layouts/home.html.slim +0 -1
  1264. data/frontend/app/views/gaku/layouts/index.html.slim +0 -12
  1265. data/frontend/app/views/gaku/layouts/show.html.slim +0 -10
  1266. data/frontend/app/views/gaku/notes/_buttons.html.slim +0 -4
  1267. data/frontend/app/views/gaku/notes/_fields.html.slim +0 -2
  1268. data/frontend/app/views/gaku/notes/_form.html.slim +0 -6
  1269. data/frontend/app/views/gaku/notes/_form_fields.html.slim +0 -6
  1270. data/frontend/app/views/gaku/notes/_modal.html.slim +0 -4
  1271. data/frontend/app/views/gaku/notes/_note.html.slim +0 -4
  1272. data/frontend/app/views/gaku/notes/_notes.html.slim +0 -19
  1273. data/frontend/app/views/gaku/notes/_show_modal.html.slim +0 -4
  1274. data/frontend/app/views/gaku/notes/create.js.erb +0 -13
  1275. data/frontend/app/views/gaku/notes/destroy.js.erb +0 -5
  1276. data/frontend/app/views/gaku/notes/edit.js.erb +0 -3
  1277. data/frontend/app/views/gaku/notes/index.js.erb +0 -1
  1278. data/frontend/app/views/gaku/notes/new.js.erb +0 -3
  1279. data/frontend/app/views/gaku/notes/show.js.erb +0 -2
  1280. data/frontend/app/views/gaku/notes/show/_notes.html.slim +0 -17
  1281. data/frontend/app/views/gaku/notes/update.js.erb +0 -4
  1282. data/frontend/app/views/gaku/semester_connectors/_form.html.slim +0 -4
  1283. data/frontend/app/views/gaku/semester_connectors/_form_fields.html.slim +0 -3
  1284. data/frontend/app/views/gaku/semester_connectors/_modal.html.slim +0 -4
  1285. data/frontend/app/views/gaku/semester_connectors/_semester_connector.html.slim +0 -2
  1286. data/frontend/app/views/gaku/semester_connectors/_semester_connectors.html.slim +0 -17
  1287. data/frontend/app/views/gaku/semester_connectors/_table_fields.html.slim +0 -4
  1288. data/frontend/app/views/gaku/semester_connectors/create.js.erb +0 -8
  1289. data/frontend/app/views/gaku/semester_connectors/destroy.js.erb +0 -4
  1290. data/frontend/app/views/gaku/semester_connectors/edit.js.erb +0 -3
  1291. data/frontend/app/views/gaku/semester_connectors/index.js.erb +0 -1
  1292. data/frontend/app/views/gaku/semester_connectors/new.js.erb +0 -4
  1293. data/frontend/app/views/gaku/semester_connectors/update.js.erb +0 -3
  1294. data/frontend/app/views/gaku/shared/_ajax_picture.html.slim +0 -8
  1295. data/frontend/app/views/gaku/shared/_ajax_upload_picture.html.slim +0 -14
  1296. data/frontend/app/views/gaku/shared/_delete_link.html.slim +0 -1
  1297. data/frontend/app/views/gaku/shared/_delete_modal.html.slim +0 -11
  1298. data/frontend/app/views/gaku/shared/_delete_modal_without_soft.html.slim +0 -11
  1299. data/frontend/app/views/gaku/shared/_errors.html.slim +0 -6
  1300. data/frontend/app/views/gaku/shared/_flash.html.slim +0 -4
  1301. data/frontend/app/views/gaku/shared/_language_bar.html.slim +0 -8
  1302. data/frontend/app/views/gaku/shared/_login_widget.html.slim +0 -15
  1303. data/frontend/app/views/gaku/shared/_manage_buttons.html.slim +0 -4
  1304. data/frontend/app/views/gaku/shared/_menubar.html.slim +0 -7
  1305. data/frontend/app/views/gaku/shared/_modal_config.html.slim +0 -37
  1306. data/frontend/app/views/gaku/shared/_multi_errors.html.slim +0 -6
  1307. data/frontend/app/views/gaku/shared/error.js.erb +0 -2
  1308. data/frontend/app/views/gaku/shared/fields/_address_and_contact_show_table.html.slim +0 -6
  1309. data/frontend/app/views/gaku/shared/fields/_attachment_fields.html.slim +0 -9
  1310. data/frontend/app/views/gaku/shared/fields/_course_fields.html.slim +0 -4
  1311. data/frontend/app/views/gaku/shared/fields/_course_show_fields.html.slim +0 -3
  1312. data/frontend/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +0 -7
  1313. data/frontend/app/views/gaku/shared/fields/_person_edit_table.html.slim +0 -7
  1314. data/frontend/app/views/gaku/shared/fields/_person_show_table.html.slim +0 -15
  1315. data/frontend/app/views/gaku/shared/fields/_semester_fields.html.slim +0 -1
  1316. data/frontend/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +0 -14
  1317. data/frontend/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +0 -17
  1318. data/frontend/app/views/gaku/shared/js/remove_picture.js.erb +0 -3
  1319. data/frontend/app/views/gaku/shared/js/set_picture.js.erb +0 -3
  1320. data/frontend/app/views/gaku/shared/menu/_frontend.html.erb +0 -22
  1321. data/frontend/app/views/gaku/shared/multi_error.js.erb +0 -2
  1322. data/frontend/app/views/gaku/shared/notice.js.erb +0 -2
  1323. data/frontend/app/views/gaku/shared/overrides/students/_import_link.html.slim +0 -0
  1324. data/frontend/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim +0 -0
  1325. data/frontend/app/views/gaku/shared/student_chooser/_chooser.html.slim +0 -7
  1326. data/frontend/app/views/gaku/shared/student_chooser/_chooser_widget.html.slim +0 -10
  1327. data/frontend/app/views/gaku/shared/student_chooser/_modal.html.slim +0 -3
  1328. data/frontend/app/views/gaku/shared/student_selection/_chooser.html.slim +0 -16
  1329. data/frontend/app/views/gaku/shared/student_selection/_modal.html.slim +0 -3
  1330. data/frontend/app/views/gaku/states_list/_no_states_select.html.slim +0 -4
  1331. data/frontend/app/views/gaku/states_list/_states_select.html.slim +0 -3
  1332. data/frontend/app/views/gaku/states_list/index.js.erb +0 -5
  1333. data/frontend/app/views/gaku/student_selection/_selected_student.html.slim +0 -4
  1334. data/frontend/app/views/gaku/student_selection/add.js.erb +0 -3
  1335. data/frontend/app/views/gaku/student_selection/clear.js.erb +0 -2
  1336. data/frontend/app/views/gaku/student_selection/collection.js.erb +0 -0
  1337. data/frontend/app/views/gaku/student_selection/index.js.erb +0 -10
  1338. data/frontend/app/views/gaku/student_selection/remove.js.erb +0 -8
  1339. data/frontend/app/views/gaku/students/_chooser_widget.html.slim +0 -18
  1340. data/frontend/app/views/gaku/students/_edit_form.html.slim +0 -9
  1341. data/frontend/app/views/gaku/students/_form.html.slim +0 -3
  1342. data/frontend/app/views/gaku/students/_form_fields.html.slim +0 -22
  1343. data/frontend/app/views/gaku/students/_student.html.slim +0 -4
  1344. data/frontend/app/views/gaku/students/_student_unit.html.slim +0 -4
  1345. data/frontend/app/views/gaku/students/_students.html.slim +0 -64
  1346. data/frontend/app/views/gaku/students/_table_fields.html.slim +0 -63
  1347. data/frontend/app/views/gaku/students/advanced_search.js.erb +0 -66
  1348. data/frontend/app/views/gaku/students/badges/_badge.html.slim +0 -2
  1349. data/frontend/app/views/gaku/students/badges/_badges.html.slim +0 -20
  1350. data/frontend/app/views/gaku/students/badges/_edit.html.slim +0 -9
  1351. data/frontend/app/views/gaku/students/badges/_fields.html.slim +0 -8
  1352. data/frontend/app/views/gaku/students/badges/_form.html.slim +0 -3
  1353. data/frontend/app/views/gaku/students/badges/_form_fields.html.slim +0 -1
  1354. data/frontend/app/views/gaku/students/badges/create.js.erb +0 -9
  1355. data/frontend/app/views/gaku/students/badges/destroy.js.erb +0 -4
  1356. data/frontend/app/views/gaku/students/badges/edit.js.erb +0 -3
  1357. data/frontend/app/views/gaku/students/badges/index.js.erb +0 -1
  1358. data/frontend/app/views/gaku/students/badges/new.js.erb +0 -3
  1359. data/frontend/app/views/gaku/students/badges/update.js.erb +0 -3
  1360. data/frontend/app/views/gaku/students/chosen.js.erb +0 -10
  1361. data/frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollment.html.slim +0 -5
  1362. data/frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollments.html.slim +0 -19
  1363. data/frontend/app/views/gaku/students/class_group_enrollments/_form.html.slim +0 -4
  1364. data/frontend/app/views/gaku/students/class_group_enrollments/create.js.erb +0 -13
  1365. data/frontend/app/views/gaku/students/class_group_enrollments/destroy.js.erb +0 -3
  1366. data/frontend/app/views/gaku/students/class_group_enrollments/index.js.erb +0 -1
  1367. data/frontend/app/views/gaku/students/class_group_enrollments/new.js.erb +0 -3
  1368. data/frontend/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +0 -3
  1369. data/frontend/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +0 -17
  1370. data/frontend/app/views/gaku/students/course_enrollments/_form.html.slim +0 -3
  1371. data/frontend/app/views/gaku/students/course_enrollments/create.js.erb +0 -9
  1372. data/frontend/app/views/gaku/students/course_enrollments/destroy.js.erb +0 -3
  1373. data/frontend/app/views/gaku/students/course_enrollments/index.js.erb +0 -1
  1374. data/frontend/app/views/gaku/students/course_enrollments/new.js.erb +0 -3
  1375. data/frontend/app/views/gaku/students/create.js.erb +0 -8
  1376. data/frontend/app/views/gaku/students/destroy.js.erb +0 -2
  1377. data/frontend/app/views/gaku/students/edit.html.slim +0 -67
  1378. data/frontend/app/views/gaku/students/edit.js.erb +0 -1
  1379. data/frontend/app/views/gaku/students/external_school_records/_external_school_record.html.slim +0 -2
  1380. data/frontend/app/views/gaku/students/external_school_records/_external_school_records.html.slim +0 -24
  1381. data/frontend/app/views/gaku/students/external_school_records/_fields.html.slim +0 -10
  1382. data/frontend/app/views/gaku/students/external_school_records/_form.html.slim +0 -3
  1383. data/frontend/app/views/gaku/students/external_school_records/_form_fields.html.slim +0 -17
  1384. data/frontend/app/views/gaku/students/external_school_records/_modal.html.slim +0 -4
  1385. data/frontend/app/views/gaku/students/external_school_records/create.js.erb +0 -9
  1386. data/frontend/app/views/gaku/students/external_school_records/destroy.js.erb +0 -4
  1387. data/frontend/app/views/gaku/students/external_school_records/edit.js.erb +0 -4
  1388. data/frontend/app/views/gaku/students/external_school_records/index.js.erb +0 -1
  1389. data/frontend/app/views/gaku/students/external_school_records/new.js.erb +0 -4
  1390. data/frontend/app/views/gaku/students/external_school_records/update.js.erb +0 -3
  1391. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollment.html.slim +0 -3
  1392. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollments.html.slim +0 -17
  1393. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_form.html.slim +0 -3
  1394. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/create.js.erb +0 -9
  1395. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/destroy.js.erb +0 -3
  1396. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/index.js.erb +0 -1
  1397. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/new.js.erb +0 -3
  1398. data/frontend/app/views/gaku/students/importer/index.html.slim +0 -26
  1399. data/frontend/app/views/gaku/students/index.html.slim +0 -21
  1400. data/frontend/app/views/gaku/students/index.js.erb +0 -2
  1401. data/frontend/app/views/gaku/students/new.html.slim +0 -3
  1402. data/frontend/app/views/gaku/students/new.js.erb +0 -3
  1403. data/frontend/app/views/gaku/students/search/_academic.html.slim +0 -22
  1404. data/frontend/app/views/gaku/students/search/_address.html.slim +0 -34
  1405. data/frontend/app/views/gaku/students/search/_advanced_form.html.slim +0 -36
  1406. data/frontend/app/views/gaku/students/search/_extended.slim +0 -108
  1407. data/frontend/app/views/gaku/students/search/_form.html.slim +0 -8
  1408. data/frontend/app/views/gaku/students/search/_student.html.slim +0 -36
  1409. data/frontend/app/views/gaku/students/simple_grades/_edit.html.slim +0 -6
  1410. data/frontend/app/views/gaku/students/simple_grades/_fields.html.slim +0 -8
  1411. data/frontend/app/views/gaku/students/simple_grades/_form.html.slim +0 -3
  1412. data/frontend/app/views/gaku/students/simple_grades/_form_fields.html.slim +0 -7
  1413. data/frontend/app/views/gaku/students/simple_grades/_simple_grade.html.slim +0 -2
  1414. data/frontend/app/views/gaku/students/simple_grades/_simple_grades.html.slim +0 -21
  1415. data/frontend/app/views/gaku/students/simple_grades/create.js.erb +0 -10
  1416. data/frontend/app/views/gaku/students/simple_grades/destroy.js.erb +0 -3
  1417. data/frontend/app/views/gaku/students/simple_grades/edit.js.erb +0 -6
  1418. data/frontend/app/views/gaku/students/simple_grades/index.js.erb +0 -1
  1419. data/frontend/app/views/gaku/students/simple_grades/new.js.erb +0 -6
  1420. data/frontend/app/views/gaku/students/simple_grades/update.js.erb +0 -3
  1421. data/frontend/app/views/gaku/students/student_specialties/_edit.html.slim +0 -6
  1422. data/frontend/app/views/gaku/students/student_specialties/_fields.html.slim +0 -5
  1423. data/frontend/app/views/gaku/students/student_specialties/_form.html.slim +0 -3
  1424. data/frontend/app/views/gaku/students/student_specialties/_form_fields.html.slim +0 -2
  1425. data/frontend/app/views/gaku/students/student_specialties/_student_specialties.html.slim +0 -18
  1426. data/frontend/app/views/gaku/students/student_specialties/_student_specialty.html.slim +0 -2
  1427. data/frontend/app/views/gaku/students/student_specialties/create.js.erb +0 -10
  1428. data/frontend/app/views/gaku/students/student_specialties/destroy.js.erb +0 -4
  1429. data/frontend/app/views/gaku/students/student_specialties/edit.js.erb +0 -3
  1430. data/frontend/app/views/gaku/students/student_specialties/index.js.erb +0 -1
  1431. data/frontend/app/views/gaku/students/student_specialties/new.js.erb +0 -3
  1432. data/frontend/app/views/gaku/students/student_specialties/update.js.erb +0 -3
  1433. data/frontend/app/views/gaku/syllabuses/_edit_form.html.slim +0 -9
  1434. data/frontend/app/views/gaku/syllabuses/_fields.html.slim +0 -7
  1435. data/frontend/app/views/gaku/syllabuses/_form.html.slim +0 -3
  1436. data/frontend/app/views/gaku/syllabuses/_form_fields.html.slim +0 -12
  1437. data/frontend/app/views/gaku/syllabuses/_syllabus.html.slim +0 -2
  1438. data/frontend/app/views/gaku/syllabuses/_syllabuses.html.slim +0 -12
  1439. data/frontend/app/views/gaku/syllabuses/create.js.erb +0 -7
  1440. data/frontend/app/views/gaku/syllabuses/destroy.js.erb +0 -1
  1441. data/frontend/app/views/gaku/syllabuses/edit.html.slim +0 -16
  1442. data/frontend/app/views/gaku/syllabuses/edit.js.erb +0 -1
  1443. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/_form.html.slim +0 -6
  1444. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +0 -12
  1445. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +0 -6
  1446. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/new.js.erb +0 -8
  1447. data/frontend/app/views/gaku/syllabuses/exams/_exam.html.slim +0 -3
  1448. data/frontend/app/views/gaku/syllabuses/exams/_exams.html.slim +0 -29
  1449. data/frontend/app/views/gaku/syllabuses/exams/_fields.html.slim +0 -10
  1450. data/frontend/app/views/gaku/syllabuses/exams/_form.html.slim +0 -17
  1451. data/frontend/app/views/gaku/syllabuses/exams/_form_fields.html.slim +0 -10
  1452. data/frontend/app/views/gaku/syllabuses/exams/_modal.html.slim +0 -4
  1453. data/frontend/app/views/gaku/syllabuses/exams/create.js.erb +0 -9
  1454. data/frontend/app/views/gaku/syllabuses/exams/destroy.js.erb +0 -3
  1455. data/frontend/app/views/gaku/syllabuses/exams/edit.js.erb +0 -3
  1456. data/frontend/app/views/gaku/syllabuses/exams/index.js.erb +0 -1
  1457. data/frontend/app/views/gaku/syllabuses/exams/new.js.erb +0 -8
  1458. data/frontend/app/views/gaku/syllabuses/exams/update.js.erb +0 -4
  1459. data/frontend/app/views/gaku/syllabuses/importer/index.html.slim +0 -14
  1460. data/frontend/app/views/gaku/syllabuses/index.html.slim +0 -14
  1461. data/frontend/app/views/gaku/syllabuses/new.js.erb +0 -3
  1462. data/frontend/app/views/gaku/syllabuses/update.js.erb +0 -1
  1463. data/frontend/app/views/gaku/teachers/_edit_form.html.slim +0 -9
  1464. data/frontend/app/views/gaku/teachers/_fields.html.slim +0 -9
  1465. data/frontend/app/views/gaku/teachers/_form.html.slim +0 -3
  1466. data/frontend/app/views/gaku/teachers/_form_fields.html.slim +0 -1
  1467. data/frontend/app/views/gaku/teachers/_teacher.html.slim +0 -5
  1468. data/frontend/app/views/gaku/teachers/_teachers.html.slim +0 -11
  1469. data/frontend/app/views/gaku/teachers/create.js.erb +0 -8
  1470. data/frontend/app/views/gaku/teachers/destroy.js.erb +0 -1
  1471. data/frontend/app/views/gaku/teachers/edit.html.slim +0 -27
  1472. data/frontend/app/views/gaku/teachers/edit.js.erb +0 -1
  1473. data/frontend/app/views/gaku/teachers/index.html.slim +0 -16
  1474. data/frontend/app/views/gaku/teachers/new.js.erb +0 -3
  1475. data/frontend/app/views/gaku/teachers/show.html.slim +0 -11
  1476. data/frontend/app/views/kaminari/_first_page.html.erb +0 -11
  1477. data/frontend/app/views/kaminari/_gap.html.erb +0 -8
  1478. data/frontend/app/views/kaminari/_last_page.html.erb +0 -11
  1479. data/frontend/app/views/kaminari/_next_page.html.erb +0 -11
  1480. data/frontend/app/views/kaminari/_page.html.erb +0 -12
  1481. data/frontend/app/views/kaminari/_paginator.html.erb +0 -27
  1482. data/frontend/app/views/kaminari/_prev_page.html.erb +0 -11
  1483. data/frontend/config/initializers/wrap_parameters.rb +0 -14
  1484. data/frontend/config/routes.rb +0 -173
  1485. data/frontend/coverage/.last_run.json +0 -5
  1486. data/frontend/coverage/.resultset.json +0 -179
  1487. data/frontend/gaku_frontend.gemspec +0 -51
  1488. data/frontend/lib/gaku/app_responder.rb +0 -6
  1489. data/frontend/lib/gaku/class_name_detector.rb +0 -23
  1490. data/frontend/lib/gaku/frontend.rb +0 -36
  1491. data/frontend/lib/gaku/frontend/engine.rb +0 -30
  1492. data/frontend/lib/gaku_frontend.rb +0 -1
  1493. data/frontend/lib/tasks/admin_user.rake +0 -105
  1494. data/frontend/lib/tasks/core.rake +0 -65
  1495. data/frontend/lib/tasks/reset.rake +0 -37
  1496. data/frontend/spec/controllers/gaku/addresses_controller_spec.rb +0 -152
  1497. data/frontend/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb +0 -156
  1498. data/frontend/spec/controllers/gaku/contacts_controller_spec.rb +0 -152
  1499. data/frontend/spec/controllers/gaku/course_groups/course_group_enrollments_controller.rb +0 -98
  1500. data/frontend/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb +0 -142
  1501. data/frontend/spec/controllers/gaku/courses/courses_controller_spec.rb +0 -143
  1502. data/frontend/spec/controllers/gaku/exams/exam_portions_controller_spec.rb +0 -141
  1503. data/frontend/spec/controllers/gaku/exams/exam_sessions_controller_spec.rb +0 -147
  1504. data/frontend/spec/controllers/gaku/exams/exams_controller_spec.rb +0 -152
  1505. data/frontend/spec/controllers/gaku/extracurricular_activities_controller_spec.rb +0 -174
  1506. data/frontend/spec/controllers/gaku/guardians_controller_spec.rb +0 -125
  1507. data/frontend/spec/controllers/gaku/notes_controller_spec.rb +0 -143
  1508. data/frontend/spec/controllers/gaku/student_selection_controller_spec.rb +0 -66
  1509. data/frontend/spec/controllers/gaku/students/badges_controller_spec.rb +0 -134
  1510. data/frontend/spec/controllers/gaku/students/external_school_records_controller_spec.rb +0 -154
  1511. data/frontend/spec/controllers/gaku/students/simple_grades_controller_spec.rb +0 -154
  1512. data/frontend/spec/controllers/gaku/students/student_specialties_controller_spec.rb +0 -134
  1513. data/frontend/spec/controllers/gaku/students/students_controller_spec.rb +0 -481
  1514. data/frontend/spec/controllers/gaku/syllabuses_controller_spec.rb +0 -161
  1515. data/frontend/spec/controllers/gaku/teachers_controller_spec.rb +0 -159
  1516. data/frontend/spec/coverage/.last_run.json +0 -5
  1517. data/frontend/spec/coverage/.resultset.json +0 -103
  1518. data/frontend/spec/features/other/change_language_spec.rb +0 -25
  1519. data/frontend/spec/features/other/class_groups/class_groups_spec.rb +0 -96
  1520. data/frontend/spec/features/other/class_groups/enrollments_spec.rb +0 -109
  1521. data/frontend/spec/features/other/class_groups/notes_spec.rb +0 -32
  1522. data/frontend/spec/features/other/class_groups/semester_attendances_spec.rb +0 -52
  1523. data/frontend/spec/features/other/class_groups/semester_connectors_spec.rb +0 -106
  1524. data/frontend/spec/features/other/class_groups/student_reviews_spec.rb +0 -77
  1525. data/frontend/spec/features/other/course_groups/course_groups_spec.rb +0 -75
  1526. data/frontend/spec/features/other/course_groups/courses_spec.rb +0 -38
  1527. data/frontend/spec/features/other/courses/courses_spec.rb +0 -137
  1528. data/frontend/spec/features/other/courses/enrollments_spec.rb +0 -96
  1529. data/frontend/spec/features/other/courses/exams_spec.rb +0 -36
  1530. data/frontend/spec/features/other/courses/grading_method_connectors_spec.rb +0 -99
  1531. data/frontend/spec/features/other/courses/notes_spec.rb +0 -32
  1532. data/frontend/spec/features/other/courses/semester_connectors_spec.rb +0 -97
  1533. data/frontend/spec/features/other/exams/exam_portions/attachments_spec.rb +0 -90
  1534. data/frontend/spec/features/other/exams/exam_portions/exam_portions_spec.rb +0 -86
  1535. data/frontend/spec/features/other/exams/exam_sessions_spec.rb +0 -75
  1536. data/frontend/spec/features/other/exams/exams_spec.rb +0 -138
  1537. data/frontend/spec/features/other/exams/grading_method_connectors_spec.rb +0 -106
  1538. data/frontend/spec/features/other/exams/notes_spec.rb +0 -32
  1539. data/frontend/spec/features/other/extracurricular_activities/enrollments_spec.rb +0 -84
  1540. data/frontend/spec/features/other/extracurricular_activities/extracurricular_activities_spec.rb +0 -66
  1541. data/frontend/spec/features/other/sign_in_spec.rb +0 -78
  1542. data/frontend/spec/features/other/sign_out_spec.rb +0 -16
  1543. data/frontend/spec/features/other/sign_up_spec.rb +0 -70
  1544. data/frontend/spec/features/other/syllabuses/exams_spec.rb +0 -161
  1545. data/frontend/spec/features/other/syllabuses/notes_spec.rb +0 -32
  1546. data/frontend/spec/features/other/syllabuses/syllabuses_spec.rb +0 -72
  1547. data/frontend/spec/features/other/teachers/addresses_spec.rb +0 -62
  1548. data/frontend/spec/features/other/teachers/contacts_spec.rb +0 -55
  1549. data/frontend/spec/features/other/teachers/notes_spec.rb +0 -34
  1550. data/frontend/spec/features/other/teachers/picture_spec.rb +0 -54
  1551. data/frontend/spec/features/other/teachers/teachers_spec.rb +0 -81
  1552. data/frontend/spec/features/students/addresses_spec.rb +0 -62
  1553. data/frontend/spec/features/students/badges_spec.rb +0 -91
  1554. data/frontend/spec/features/students/class_group_enrollments_spec.rb +0 -91
  1555. data/frontend/spec/features/students/commute_methods_spec.rb +0 -22
  1556. data/frontend/spec/features/students/contacts_spec.rb +0 -59
  1557. data/frontend/spec/features/students/course_enrollments_spec.rb +0 -62
  1558. data/frontend/spec/features/students/enrollment_status_spec.rb +0 -22
  1559. data/frontend/spec/features/students/external_school_records_spec.rb +0 -70
  1560. data/frontend/spec/features/students/extracurricular_activity_enrollments_spec.rb +0 -64
  1561. data/frontend/spec/features/students/guardians/addresses_spec.rb +0 -67
  1562. data/frontend/spec/features/students/guardians/contacts_spec.rb +0 -53
  1563. data/frontend/spec/features/students/guardians/guardians_spec.rb +0 -74
  1564. data/frontend/spec/features/students/guardians/picture_spec.rb +0 -57
  1565. data/frontend/spec/features/students/notes_spec.rb +0 -33
  1566. data/frontend/spec/features/students/picture_spec.rb +0 -54
  1567. data/frontend/spec/features/students/preset_spec.rb +0 -473
  1568. data/frontend/spec/features/students/scholarship_status_spec.rb +0 -22
  1569. data/frontend/spec/features/students/simple_grades_spec.rb +0 -84
  1570. data/frontend/spec/features/students/student_specialties_spec.rb +0 -76
  1571. data/frontend/spec/features/students/students_selection_spec.rb +0 -150
  1572. data/frontend/spec/features/students/students_spec.rb +0 -245
  1573. data/frontend/spec/requests/class_groups/enrollments_spec.rb +0 -236
  1574. data/frontend/spec/requests/courses/enrollments_spec.rb +0 -242
  1575. data/frontend/spec/requests/extracurricular_activities/enrollments_spec.rb +0 -258
  1576. data/frontend/spec/routing/class_groups/enrollments_routing_spec.rb +0 -55
  1577. data/frontend/spec/routing/courses/enrollments_routing_spec.rb +0 -55
  1578. data/frontend/spec/routing/extracurricular_activities/enrollments_routing_spec.rb +0 -55
  1579. data/frontend/spec/routing/guardians_routing_spec.rb +0 -79
  1580. data/frontend/spec/routing/student_routes_spec.rb +0 -44
  1581. data/frontend/spec/routing/students/badges_routes_spec.rb +0 -62
  1582. data/frontend/spec/routing/students/external_school_records_routing_spec.rb +0 -62
  1583. data/frontend/spec/routing/students/simple_grades_routes_spec.rb +0 -62
  1584. data/frontend/spec/routing/students/student_specialties_routes_spec.rb +0 -62
  1585. data/frontend/spec/routing/teachers_routes_spec.rb +0 -75
  1586. data/frontend/spec/spec_helper.rb +0 -5
  1587. data/frontend/spec/spec_helper_controllers.rb +0 -4
  1588. data/frontend/spec/spec_helper_routing.rb +0 -4
  1589. data/frontend/spec/support/120x120.jpg +0 -0
  1590. data/frontend/spec/support/controllers/matchers/have_attributes_matcher.rb +0 -8
  1591. data/frontend/spec/support/controllers/shared_examples/allow.rb +0 -10
  1592. data/frontend/spec/support/controllers/shared_examples/deny.rb +0 -27
  1593. data/frontend/spec/support/features/shared_examples/addresses_spec.rb +0 -169
  1594. data/frontend/spec/support/features/shared_examples/avatarable_spec.rb +0 -20
  1595. data/frontend/spec/support/features/shared_examples/contacts_spec.rb +0 -121
  1596. data/frontend/spec/support/features/shared_examples/course_enrollable_spec.rb +0 -77
  1597. data/frontend/spec/support/features/shared_examples/notes_spec.rb +0 -85
  1598. data/frontend/spec/support/models/matchers/accept_nested_attributes_for_matcher.rb +0 -42
  1599. data/frontend/spec/support/models/shared_examples/addressable.rb +0 -3
  1600. data/frontend/spec/support/models/shared_examples/avatarable.rb +0 -3
  1601. data/frontend/spec/support/models/shared_examples/contactable.rb +0 -3
  1602. data/frontend/spec/support/models/shared_examples/notable.rb +0 -3
  1603. data/frontend/spec/support/models/shared_examples/person.rb +0 -4
  1604. data/frontend/spec/support/models/shared_examples/thrashable.rb +0 -6
  1605. data/sample/Rakefile +0 -4
  1606. data/sample/db/sample/gaku/01_syllabuses.rb +0 -128
  1607. data/sample/db/sample/gaku/02_courses.rb +0 -12
  1608. data/sample/db/sample/gaku/20-grading_methods.rb +0 -32
  1609. data/sample/db/sample/gaku/badge_types.rb +0 -8
  1610. data/sample/db/sample/gaku/changes/student_changes.rb +0 -33
  1611. data/sample/db/sample/gaku/class_groups.rb +0 -32
  1612. data/sample/db/sample/gaku/course_groups.rb +0 -7
  1613. data/sample/db/sample/gaku/disposals/address_and_contact_disposals.rb +0 -26
  1614. data/sample/db/sample/gaku/disposals/attachment_disposals.rb +0 -17
  1615. data/sample/db/sample/gaku/disposals/course_group_disposals.rb +0 -8
  1616. data/sample/db/sample/gaku/disposals/exam_disposals.rb +0 -8
  1617. data/sample/db/sample/gaku/disposals/student_disposals.rb +0 -10
  1618. data/sample/db/sample/gaku/disposals/teacher_disposals.rb +0 -8
  1619. data/sample/db/sample/gaku/exams.rb +0 -11
  1620. data/sample/db/sample/gaku/extracurricular_activities.rb +0 -4
  1621. data/sample/db/sample/gaku/grading_widget.rb +0 -25
  1622. data/sample/db/sample/gaku/images/120x120.jpg +0 -0
  1623. data/sample/db/sample/gaku/roles.rb +0 -6
  1624. data/sample/db/sample/gaku/schools.rb +0 -22
  1625. data/sample/db/sample/gaku/specialties.rb +0 -4
  1626. data/sample/db/sample/gaku/students.rb +0 -20
  1627. data/sample/db/sample/gaku/teachers.rb +0 -16
  1628. data/sample/db/sample/gaku/users.rb +0 -58
  1629. data/sample/gaku_sample.gemspec +0 -20
  1630. data/sample/lib/gaku_sample.rb +0 -10
  1631. data/sample/lib/sample_counters.rb +0 -23
  1632. data/sample/lib/shared_sample_data.rb +0 -142
  1633. data/sample/lib/tasks/sample.rake +0 -73
  1634. data/testing/Rakefile +0 -12
  1635. data/testing/gaku_testing.gemspec +0 -17
  1636. data/testing/lib/gaku/testing.rb +0 -10
  1637. data/testing/lib/gaku/testing/engine.rb +0 -10
  1638. data/testing/lib/gaku/testing/env.rb +0 -19
  1639. data/testing/lib/gaku/testing/feature_helpers.rb +0 -155
  1640. data/testing/lib/gaku/testing/flash_helpers.rb +0 -35
  1641. data/testing/lib/gaku/testing/spec_helpers/spec_helper.rb +0 -50
  1642. data/testing/lib/gaku/testing/spec_helpers/spec_helper_base.rb +0 -21
  1643. data/testing/lib/gaku/testing/spec_helpers/spec_helper_controllers.rb +0 -45
  1644. data/testing/lib/gaku/testing/spec_helpers/spec_helper_models.rb +0 -38
  1645. data/testing/lib/gaku/testing/spec_helpers/spec_helper_routing.rb +0 -6
  1646. data/testing/lib/gaku_testing.rb +0 -1
@@ -1,10 +0,0 @@
1
- <% if @exam.destroyed? %>
2
- window.location.href = '/exams'
3
- <% else %>
4
- $("#exam-portion-<%= @exam_portion.id %>").remove();
5
- $('.exam-portions-count').html("<%= @count %>");
6
- $('#exam-exam-portions-tab-link').html("<%= print_count(@count, t(:'exam_portion.plural')) %>");
7
- $('[data-id=<%= @exam_portion.id %>]').remove();
8
- $('#weight-total').text('<%= @exam.total_weight %>');
9
- showNotice("<%= render_flash %>");
10
- <% end %>
@@ -1 +0,0 @@
1
- = render 'edit_form'
@@ -1 +0,0 @@
1
- $('#ajax-load').html('<%=j render "edit_form" %>')
@@ -1 +0,0 @@
1
- $('#ajax-load').html('<%=j render "exam_portions" %>')
@@ -1,3 +0,0 @@
1
- $('#new-exam-exam-portion').html('<%= j render("form") %>').slide();
2
- $('#new-exam-exam-portion-link').hide();
3
- $('.remote-form').enableValidations();
@@ -1,30 +0,0 @@
1
- = panel_for 'exam-panel' do
2
- = panel_header 'Exam Portion information', @exam
3
-
4
- table.table.table-bordered.th-center
5
- tbody
6
- tr
7
- th.active
8
- = t(:'order')
9
- td
10
- h2 = drag_field
11
- tr
12
- th.active = t(:'exam_portion.name')
13
- td = @exam_portion.name
14
- tr
15
- th.active = t(:'exam_portion.max_score')
16
- td = @exam_portion.max_score
17
- tr
18
- th.active = t(:'exam_portion.weight')
19
- td
20
- - if @exam.use_weighting
21
- = @exam_portion.weight
22
- tr
23
- th.active = t(:'exam_portion.problem_count')
24
- td = @exam_portion.problem_count
25
-
26
- = render 'tabs'
27
-
28
- = footer do
29
- .col-md-12
30
- = link_to_index exams_path
@@ -1,2 +0,0 @@
1
- showNotice("<%= render_flash %>");
2
- $("#exam-portion-<%= @exam_portion.id %>").html('<%= j render("gaku/exams/exam_portions/exam_portion_menu_link", {exam_portion: @exam_portion}) %>' );
@@ -1,2 +0,0 @@
1
- =tr_for exam_session do
2
- = render 'gaku/exams/exam_sessions/table_fields', exam_session: exam_session
@@ -1,20 +0,0 @@
1
- #new-exam-session.d-none
2
-
3
- = index_header do
4
- .pull-left
5
- = count_div "exam-sessions-count" do
6
- = print_count @exam_sessions.count, t(:'exam_session.list')
7
- .pull-right
8
- = ajax_link_to_new t(:'exam_session.add'), [:new, :exam_session], {id: 'new-exam-session-link'}
9
-
10
- = index_body do
11
- = table_for 'exam-sessions-index' do
12
- thead
13
- tr
14
- = th t(:'exam_session.name')
15
- = th t(:'exam_session.session_time')
16
- = th t(:'exam.singular')
17
- = th t(:'exam_session.session_start')
18
- = th_actions 1
19
- tbody
20
- = render partial: 'gaku/exams/exam_sessions/exam_session', collection: @exam_sessions, as: :exam_session
@@ -1,3 +0,0 @@
1
- = remote_form_for @exam_session do |f|
2
- = render 'form_fields', f: f
3
- = buttons_for @exam_session
@@ -1,10 +0,0 @@
1
- .row
2
- .col-md-6
3
- = f.text_field :name, label: t(:'name')
4
- .col-md-6
5
- = f.number_field :session_time, label: t(:'exam_session.session_time')
6
- .row
7
- .col-md-6
8
- = f.select :exam_id, options_from_collection_for_select(@exams, :id, :name), {prompt: true}, class: 'span6', label: t(:'exam.singular')
9
- .col-md-6
10
- = f.text_field :session_start, class: 'datetimepicker', label: t(:'exam_session.session_start')
@@ -1 +0,0 @@
1
- / student chooser integration
@@ -1,6 +0,0 @@
1
- td = exam_session.name
2
- td = t('exam_session.minutes', time: exam_session.session_time ) if exam_session.session_time
3
- td = exam_session.exam
4
- td = I18n.l(exam_session.session_start) if exam_session.session_start
5
- td
6
- = link_to_edit [:edit, exam_session]
@@ -1,10 +0,0 @@
1
- .row
2
- .col-md-12
3
- ul.nav.nav-tabs.nav-justified
4
- li.active
5
- a#exam-session-students-tab-link data-toggle="tab" href="#exam-session-students"
6
- = print_count @exam_session.students.count, t(:'student.plural')
7
-
8
- .tab-content
9
- #exam-session-students.tab-pane.active
10
- = render "gaku/exams/exam_sessions/students"
@@ -1,7 +0,0 @@
1
- $('#exam-sessions-index tbody').append('<%= j render("gaku/exams/exam_sessions/exam_session", {exam_session: @exam_session}) %>');
2
- $('#new-exam-session').slide();
3
- $('#new-exam-session-link').show();
4
-
5
- $('.exam-sessions-count').html("<%= print_count(@count, t(:'exam_session.list')) %>");
6
- $('#exam-sessions-tab-link').html("<%= print_count(@count, t(:'exam_session.plural')) %>");
7
- showNotice("<%= render_flash %>");
@@ -1,16 +0,0 @@
1
- .row
2
- .col-md-12
3
- = normal_form_for @exam_session, label: 'nil' do |f|
4
- = render 'form_fields', f: f, exam_session: @exam_session
5
- = buttons_for @exam_session
6
-
7
- hr
8
-
9
- = render 'tabs'
10
-
11
- = footer do
12
- .col-md-9
13
- = link_to_index exams_path
14
- .col-md-3
15
- = link_to_modal_delete
16
- = render 'gaku/shared/delete_modal_without_soft', target: @exam_session
@@ -1,4 +0,0 @@
1
- $('#new-exam-session').html('<%= j render("form") %>').slide();
2
- $('#new-exam-session-link').hide();
3
- $('.remote-form').enableValidations();
4
- $('.datetimepicker').datetimepicker()
@@ -1,66 +0,0 @@
1
- require 'spreadsheet'
2
- require 'csv'
3
-
4
- response.headers['Content-Disposition'] = "attachment; filename='#{@course.code}.xls'"
5
-
6
- students = @course.students
7
-
8
- book = Spreadsheet::Workbook.new
9
- summary_sheet = book.create_worksheet
10
- summary_sheet.name = 'Exam Summary Sheet'
11
- exams = @course.syllabus.exams
12
- exams.each do |exam|
13
-
14
- # dynamicly merging cells
15
- exam_portion_count = exam.exam_portions.count
16
-
17
- # create worksheet for current exam
18
- exam_sheet = book.create_worksheet name: exam.name
19
-
20
- # formating and merging cells
21
- format = Spreadsheet::Format.new weight: :bold, align: :center
22
- exam_sheet.row(0).default_format = format
23
- exam_sheet.row(1).default_format = format
24
- exam_sheet.row(2).default_format = format
25
-
26
- exam_sheet.merge_cells(1, 0, 1, 3)
27
- exam_sheet.merge_cells(1, 4, 1, 3 + exam_portion_count)
28
-
29
- # first info row
30
- exam_sheet.row(0)[0] = 'Course Code:'
31
- exam_sheet.row(0)[1] = @course.code
32
- exam_sheet.row(0)[2] = 'Course ID:'
33
- exam_sheet.row(0)[3] = @course.id
34
- exam_sheet.row(0)[4] = 'Exam Name:'
35
- exam_sheet.row(0)[5] = exam.name
36
- exam_sheet.row(0)[6] = 'Exam ID:'
37
- exam_sheet.row(0)[7] = exam.id
38
-
39
- # table header cells
40
- exam_sheet.row(1).concat ['Student', '', '', '', "#{exam.name}"]
41
- exam_sheet.row(2).concat ['id', 'Class', 'Seat Number', 'Name']
42
- exam.exam_portions.each_with_index do |portion, index|
43
- exam_sheet.row(2)[4 + index] = portion.name
44
- end
45
-
46
- # students info section
47
- students.each_with_index do |student, index|
48
- exam_sheet.row(3 + index)[0] = student.id
49
- # exam_sheet.row(2 + index)[0] = ? - class
50
- # exam_sheet.row(2 + index)[1] = ? - seat number
51
- exam_sheet.row(3 + index)[3] = student
52
-
53
- # studens/exam_portion score matrix
54
- exam.exam_portions.each_with_index do |portion, portion_index|
55
-
56
- # this method should be improved. many queries to db
57
- portion_score = student.exam_portion_scores.where(exam_portion_id: portion.id).first
58
-
59
- exam_sheet.row(3 + index)[(4 + portion_index.to_i)] = portion_score.score rescue ''
60
- end
61
- end
62
- end
63
-
64
- spreadsheet = StringIO.new
65
- book.write spreadsheet
66
- spreadsheet.string
@@ -1,21 +0,0 @@
1
- .row
2
- .col-md-12
3
- ul.nav.nav-tabs.nav-justified
4
- li#class_group_students_tab.active
5
- a#exams-tab-link data-toggle="tab" href="#exams"
6
- = print_count @exams.count, t(:'exam.plural')
7
- li
8
- a#exam-sessions-tab-link data-toggle="tab" href="#exam-sessions"
9
- = print_count @exam_sessions.count, t(:'exam_session.plural')
10
-
11
-
12
- .tab-content
13
- #exams.tab-pane.active
14
- .row
15
- .col-md-12
16
- = render 'exams'
17
-
18
- #exam-sessions.tab-pane
19
- .row
20
- .col-md-12
21
- = render 'gaku/exams/exam_sessions/exam_sessions'
@@ -1,3 +0,0 @@
1
- $('#new-exam').html('<%= j render("form") %>').slide();
2
- $('#new-exam-link').hide();
3
- $('.remote-form').enableValidations();
@@ -1,28 +0,0 @@
1
- = panel_for 'exam-panel' do
2
- = panel_header 'Exam information', @exam
3
-
4
- table.table.table-bordered.th-center
5
- tbody
6
- tr
7
- th.active
8
- = t(:'exam.name')
9
- td
10
- h2 = @exam.name
11
- tr
12
- th.active = t(:'department.singular')
13
- td = @exam.department
14
- tr
15
- th.active = t(:'exam.weight')
16
- td = @exam.weight
17
- tr
18
- th.active = t(:'exam.description')
19
- td = @exam.description
20
- tr
21
- th.active = t(:'exam.adjustments')
22
- td = @exam.adjustments
23
-
24
- = render 'tabs'
25
-
26
- = footer do
27
- .col-md-12
28
- = link_to_index exams_path
@@ -1,9 +0,0 @@
1
- = remote_form_for @extracurricular_activity, label: t(:'extracurricular_activity.singular') do |f|
2
- = render 'form_fields', f: f, extracurricular_activity: @extracurricular_activity
3
- = buttons_for @extracurricular_activity
4
-
5
- = footer do
6
- .col-md-3.pull-right
7
- = link_to_modal_delete
8
- .delete_modal
9
- = render 'gaku/shared/delete_modal', target: @extracurricular_activity
@@ -1,7 +0,0 @@
1
- = table_for 'extracurricular-activities-index' do
2
- thead
3
- tr
4
- = th t(:'extracurricular_activity.name')
5
- = th_actions 1
6
- tbody
7
- = render @extracurricular_activities
@@ -1,4 +0,0 @@
1
- tr class="extracurricular-activity-#{extracurricular_activity.id}"
2
- = render 'fields', extracurricular_activity: extracurricular_activity
3
- td
4
- = link_to_edit [:edit, extracurricular_activity]
@@ -1 +0,0 @@
1
- td.name = extracurricular_activity.name
@@ -1,3 +0,0 @@
1
- = remote_form_for @extracurricular_activity do |f|
2
- = render 'form_fields', f: f
3
- = buttons_for @extracurricular_activity
@@ -1,3 +0,0 @@
1
- .row
2
- .col-md-12
3
- = f.text_field :name, label: t(:'extracurricular_activity.name')
@@ -1,6 +0,0 @@
1
- showNotice("<%= render_flash %>");
2
- $('table#extracurricular-activities-index tbody').append('<%= j render("extracurricular_activity", {extracurricular_activity: @extracurricular_activity}) %>');
3
- $('#new-extracurricular-activity form')[0].reset();
4
- $('#new-extracurricular-activity').slide();
5
- $('#new-extracurricular-activity-link').show();
6
- $('.extracurricular-activities-count').html("<%= print_count(@count, t(:'extracurricular_activity.list')) %>");
@@ -1,2 +0,0 @@
1
- showNotice("<%= render_flash %>");
2
- $('.extracurricular-activities-count').html("<%= print_count(@count, t(:'extracurricular_activity.list')) %>");
@@ -1,16 +0,0 @@
1
- .row
2
- .col-md-2
3
- .panel-group#accordion
4
-
5
- .panel.panel-default
6
- .panel-heading
7
- h4.panel-title
8
- = link_to t(:'edit'), [:edit, @extracurricular_activity], remote: true
9
-
10
- .panel-body
11
- ul.list-unstyled
12
- li#students-menu
13
- = link_to badge_count(@extracurricular_activity.enrollments_count, t(:'student.plural'), 'students-count'), [@extracurricular_activity, :enrollments], remote: true
14
-
15
- .col-md-10#ajax-load
16
- = render 'edit_form'
@@ -1 +0,0 @@
1
- $('#ajax-load').html("<%=j render('edit_form') %>");
@@ -1,15 +0,0 @@
1
- = content_for :title do
2
- = t(:'extracurricular_activity.plural')
3
-
4
- = content_for :new_form do
5
- #new-extracurricular-activity.d-none
6
-
7
- = content_for :index_header do
8
- .pull-left
9
- = count_div('extracurricular-activities-count') { print_count @count, t(:'extracurricular_activity.list') }
10
- .pull-right
11
- = ajax_link_to_new t(:'extracurricular_activity.new'), [:new, :extracurricular_activity], id: "new-extracurricular-activity-link"
12
-
13
- #extracurricular-activity-index
14
- = render 'extracurricular_activities'
15
- = paginate @extracurricular_activities
@@ -1,3 +0,0 @@
1
- $('#new-extracurricular-activity').html('<%= j render("form") %>').slide();
2
- $('#new-extracurricular-activity-link').hide();
3
- $('.remote-form').enableValidations();
@@ -1 +0,0 @@
1
- showNotice("<%= render_flash %>");
@@ -1,3 +0,0 @@
1
- = remote_form_for [@gradable, @grading_method_connector], { label: t('grading_method.singular'), resource: "#{@gradable_resource}-grading-method-connector" } do |f|
2
- = render 'form_fields', f: f
3
- = buttons_for @grading_method_connector, { resource: "#{@gradable_resource}-grading-method-connector" }
@@ -1 +0,0 @@
1
- = f.collection_select :grading_method_id, @grading_methods, :id, :name, { prompt: true }, label: t(:'grading_method.singular')
@@ -1,2 +0,0 @@
1
- = tr_for grading_method_connector do
2
- = render 'gaku/grading_method_connectors/table_fields', grading_method_connector: grading_method_connector
@@ -1,23 +0,0 @@
1
- .d-none *{id: 'new-' + @gradable_resource + '-grading-method-connector'}
2
-
3
- .d-none *{id: "new-set-#{@gradable_resource}-grading-method-connector"}
4
-
5
- = index_header do
6
- .pull-left
7
- = count_div "#{@gradable_resource}-grading-method-connectors-count" do
8
- = print_count @gradable.grading_methods.count, t(:'grading_method.list')
9
- .pull-right
10
- = ajax_link_to_new t(:'grading_method_set.add'), [:new_set, @gradable, :grading_method_connectors], {id: 'new-set-' + @gradable_resource + '-grading-method-connector-link', class: 'btn btn-primary'}
11
-
12
- = ajax_link_to_new t(:'grading_method.add'), [:new, @gradable, :grading_method_connector], {id: 'new-' + @gradable_resource + '-grading-method-connector-link', class: 'btn btn-primary'}
13
-
14
- = index_body do
15
- = table_for "#{@gradable_resource}-grading-method-connectors-index" do
16
- thead
17
- tr
18
- = th t(:'order')
19
- = th t(:'grading_method.name')
20
- = th t(:'grading_method.method')
21
- = th_actions 3
22
- = sortable_tbody [:sort, @gradable, :grading_method_connectors] do
23
- = render partial: 'gaku/grading_method_connectors/grading_method_connector', collection: @gradable.grading_method_connectors, as: :grading_method_connector
@@ -1,6 +0,0 @@
1
- = remote_form_for [:add_set, @gradable, @grading_method_connector], { label: t('grading_method.singular'), resource: "set-#{@gradable_resource}-grading-method-connector" } do |f|
2
- .form-group
3
- = label_tag :grading_method_set_id, t(:'grading_method_set.singular')
4
- = select_tag :grading_method_set_id, options_from_collection_for_select(@grading_method_sets, :id, :name), prompt: t(:'prompt'), class: 'form-control', validate: {presence: true }
5
-
6
- = buttons_for @grading_method_connector, { resource: "set-#{@gradable_resource}-grading-method-connector" }
@@ -1,4 +0,0 @@
1
- = sort_handler
2
- td = grading_method_connector.grading_method.name
3
- td = grading_method_connector.grading_method.grading_type
4
- td = ajax_link_to_delete [@gradable, grading_method_connector]
@@ -1,12 +0,0 @@
1
- <% if @grading_method_connectors && @grading_method_connectors.any? %>
2
- $('#<%= @gradable_resource %>-grading-method-connectors-index tbody')
3
- .append('<%= j render(partial: "grading_method_connector", collection: @grading_method_connectors, as: :grading_method_connector) %>');
4
-
5
- $('.<%= @gradable_resource %>-grading-method-connectors-count').html("<%= print_count(@count, t(:'grading_method.list')) %>");
6
- $('#<%= @gradable_resource %>-grading-method-connectors-tab-link').html("<%= print_count(@count, t(:'grading_method.list')) %>");
7
-
8
- <% end %>
9
- showNotice("<%= render_flash %>");
10
- $('#new-set-<%= @gradable_resource %>-grading-method-connector').slide()
11
- $('#new-set-<%= @gradable_resource %>-grading-method-connector-link').show()
12
-