gaku_core 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/images/background.jpg +0 -0
- data/app/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/app/assets/images/check.png +0 -0
- data/app/assets/images/cross.png +0 -0
- data/app/assets/images/dataTables/back_disabled.png +0 -0
- data/app/assets/images/dataTables/back_enabled.png +0 -0
- data/app/assets/images/dataTables/back_enabled_hover.png +0 -0
- data/app/assets/images/dataTables/forward_disabled.png +0 -0
- data/app/assets/images/dataTables/forward_enabled.png +0 -0
- data/app/assets/images/dataTables/forward_enabled_hover.png +0 -0
- data/app/assets/images/dataTables/sort_asc.png +0 -0
- data/app/assets/images/dataTables/sort_asc_disabled.png +0 -0
- data/app/assets/images/dataTables/sort_both.png +0 -0
- data/app/assets/images/dataTables/sort_desc.png +0 -0
- data/app/assets/images/dataTables/sort_desc_disabled.png +0 -0
- data/app/assets/images/down_arrow.gif +0 -0
- data/app/assets/images/elements/highlight.png +0 -0
- data/app/assets/images/elements/toolbar1.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/gaku-logo.png +0 -0
- data/app/assets/images/gakuengine.png +0 -0
- data/app/assets/images/gakuengine20.png +0 -0
- data/app/assets/images/icon-chair.png +0 -0
- data/app/assets/images/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/app/assets/images/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/app/assets/images/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/app/assets/images/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/app/assets/images/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/app/assets/images/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/app/assets/images/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/app/assets/images/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/app/assets/images/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/app/assets/images/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/app/assets/images/images/ui-icons_a83300_256x240.png +0 -0
- data/app/assets/images/images/ui-icons_cccccc_256x240.png +0 -0
- data/app/assets/images/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/images/pictures/thumb/missing.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/raw/Logo_GAKUEngine.eps +0 -0
- data/app/assets/images/raw/Logo_GAKUEngine.svg +82 -0
- data/app/assets/images/raw/gakuengine-logoset.svg +332 -0
- data/app/assets/images/tbs-img/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/tbs-img/glyphicons-halflings.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_40_111111_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_55_165e83_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_55_00a3af_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_99_00a3af_1x100.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_70f000_256x240.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_ededed_256x240.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_ffcf29_256x240.png +0 -0
- data/app/assets/images/themes/gakuengine/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/images/tick.png +0 -0
- data/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/up_arrow.gif +0 -0
- data/app/assets/javascripts/gaku/admin.coffee +30 -0
- data/app/assets/javascripts/gaku/backbone/collections/attendance_types.js.coffee +2 -0
- data/app/assets/javascripts/gaku/backbone/collections/courses.js.coffee +2 -0
- data/app/assets/javascripts/gaku/backbone/collections/exams.js.coffee +2 -0
- data/app/assets/javascripts/gaku/backbone/models/attendance.js.coffee +1 -0
- data/app/assets/javascripts/gaku/backbone/models/attendance_type.coffee +1 -0
- data/app/assets/javascripts/gaku/backbone/models/calculation.js.coffee +43 -0
- data/app/assets/javascripts/gaku/backbone/models/completed.js.coffee +1 -0
- data/app/assets/javascripts/gaku/backbone/models/course.js.coffee +2 -0
- data/app/assets/javascripts/gaku/backbone/models/exam.js.coffee +1 -0
- data/app/assets/javascripts/gaku/backbone/models/exam_attendance.js.coffee +4 -0
- data/app/assets/javascripts/gaku/backbone/models/exam_portion_score.js.coffee +18 -0
- data/app/assets/javascripts/gaku/backbone/routers/exams_router.js.coffee +22 -0
- data/app/assets/javascripts/gaku/backbone/templates/attendance_chooser.jst.eco +19 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/attendance_show.jst.eco +3 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_calculations.jst.eco +39 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_completion.jst.eco +1 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_score.jst.eco +53 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_table.jst.eco +32 -0
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_user.jst.eco +18 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_attendance.js.coffee +51 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_attendance_show.js.coffee +6 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_calculations.js.coffee +15 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_completion.js.coffee +7 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_portion_score.js.coffee +8 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_score_view.js.coffee +7 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_table_view.js.coffee +227 -0
- data/app/assets/javascripts/gaku/backbone/views/exam_user_view.js.coffee +8 -0
- data/app/assets/javascripts/gaku/class_groups.js.coffee +11 -0
- data/app/assets/javascripts/gaku/courses.js.coffee +12 -0
- data/app/assets/javascripts/gaku/exams.js.coffee +23 -0
- data/app/assets/javascripts/gaku/extracurricular_activities.js.coffee +12 -0
- data/app/assets/javascripts/gaku/gaku.js.coffee +174 -0
- data/app/assets/javascripts/gaku/gaku_core.js +35 -0
- data/app/assets/javascripts/gaku/slide.js.erb +14 -0
- data/app/assets/javascripts/gaku/students.js.coffee +36 -0
- data/app/assets/javascripts/gaku/syllabuses.js.coffee +26 -0
- data/app/assets/javascripts/gaku/teachers.js.coffee +12 -0
- data/app/assets/stylesheets/gaku/admin/disposals.css.scss +14 -0
- data/app/assets/stylesheets/gaku/class_groups.css.scss +19 -0
- data/app/assets/stylesheets/gaku/course_groups.css.scss +14 -0
- data/app/assets/stylesheets/gaku/courses.css.scss +19 -0
- data/app/assets/stylesheets/gaku/exams.css.scss +72 -0
- data/app/assets/stylesheets/gaku/gaku.css.scss +172 -0
- data/app/assets/stylesheets/gaku/gaku_core.css +10 -0
- data/app/assets/stylesheets/gaku/gaku_import.scss +2 -0
- data/app/assets/stylesheets/gaku/students.css.scss +22 -0
- data/app/assets/templates/roster.xls +0 -0
- data/app/controllers/concerns/enrollments_controller.rb +84 -0
- data/app/controllers/concerns/polymorphic_resource_concern.rb +47 -0
- data/app/controllers/concerns/student_chooser_controller.rb +52 -0
- data/app/controllers/gaku/addresses_controller.rb +105 -0
- data/app/controllers/gaku/admin/achievements_controller.rb +64 -0
- data/app/controllers/gaku/admin/attendance_types_controller.rb +60 -0
- data/app/controllers/gaku/admin/base_controller.rb +40 -0
- data/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +14 -0
- data/app/controllers/gaku/admin/changes/student_changes_controller.rb +13 -0
- data/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +13 -0
- data/app/controllers/gaku/admin/commute_method_types_controller.rb +54 -0
- data/app/controllers/gaku/admin/contact_types_controller.rb +55 -0
- data/app/controllers/gaku/admin/disposals_controller.rb +82 -0
- data/app/controllers/gaku/admin/enrollment_statuses_controller.rb +58 -0
- data/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +70 -0
- data/app/controllers/gaku/admin/grading_method_sets_controller.rb +69 -0
- data/app/controllers/gaku/admin/grading_methods_controller.rb +58 -0
- data/app/controllers/gaku/admin/presets_controller.rb +40 -0
- data/app/controllers/gaku/admin/roles_controller.rb +54 -0
- data/app/controllers/gaku/admin/school_years/semesters_controller.rb +31 -0
- data/app/controllers/gaku/admin/school_years_controller.rb +30 -0
- data/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +53 -0
- data/app/controllers/gaku/admin/schools/campuses_controller.rb +46 -0
- data/app/controllers/gaku/admin/schools/programs_controller.rb +48 -0
- data/app/controllers/gaku/admin/schools_controller.rb +59 -0
- data/app/controllers/gaku/admin/specialties_controller.rb +58 -0
- data/app/controllers/gaku/admin/states_controller.rb +49 -0
- data/app/controllers/gaku/admin/system_tools_controller.rb +8 -0
- data/app/controllers/gaku/admin/templates_controller.rb +49 -0
- data/app/controllers/gaku/admin/users_controller.rb +82 -0
- data/app/controllers/gaku/assignments_controller.rb +15 -0
- data/app/controllers/gaku/attachments_controller.rb +88 -0
- data/app/controllers/gaku/attendances_controller.rb +29 -0
- data/app/controllers/gaku/class_group_enrollments_controller.rb +15 -0
- data/app/controllers/gaku/class_groups/courses_controller.rb +44 -0
- data/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +38 -0
- data/app/controllers/gaku/class_groups/students_controller.rb +43 -0
- data/app/controllers/gaku/class_groups_controller.rb +59 -0
- data/app/controllers/gaku/contacts_controller.rb +103 -0
- data/app/controllers/gaku/course_enrollments_controller.rb +10 -0
- data/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +50 -0
- data/app/controllers/gaku/course_groups_controller.rb +81 -0
- data/app/controllers/gaku/courses/enrollments_controller.rb +55 -0
- data/app/controllers/gaku/courses/semester_courses_controller.rb +37 -0
- data/app/controllers/gaku/courses_controller.rb +73 -0
- data/app/controllers/gaku/devise/passwords_controller.rb +4 -0
- data/app/controllers/gaku/devise/registrations_controller.rb +60 -0
- data/app/controllers/gaku/devise/sessions_controller.rb +4 -0
- data/app/controllers/gaku/exam_portion_scores_controller.rb +18 -0
- data/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +53 -0
- data/app/controllers/gaku/exams/exam_portions_controller.rb +55 -0
- data/app/controllers/gaku/exams_controller.rb +140 -0
- data/app/controllers/gaku/extracurricular_activities/students_controller.rb +55 -0
- data/app/controllers/gaku/extracurricular_activities_controller.rb +48 -0
- data/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +10 -0
- data/app/controllers/gaku/gaku_controller.rb +93 -0
- data/app/controllers/gaku/home_controller.rb +10 -0
- data/app/controllers/gaku/notes_controller.rb +72 -0
- data/app/controllers/gaku/schedules_controller.rb +11 -0
- data/app/controllers/gaku/states_controller.rb +17 -0
- data/app/controllers/gaku/students/class_group_enrollments_controller.rb +59 -0
- data/app/controllers/gaku/students/course_enrollments_controller.rb +43 -0
- data/app/controllers/gaku/students/guardians_controller.rb +85 -0
- data/app/controllers/gaku/students/importer_controller.rb +75 -0
- data/app/controllers/gaku/students/simple_grades_controller.rb +59 -0
- data/app/controllers/gaku/students/student_achievements_controller.rb +49 -0
- data/app/controllers/gaku/students/student_specialties_controller.rb +60 -0
- data/app/controllers/gaku/students_controller.rb +189 -0
- data/app/controllers/gaku/syllabuses/assignments_controller.rb +20 -0
- data/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +38 -0
- data/app/controllers/gaku/syllabuses/exams_controller.rb +53 -0
- data/app/controllers/gaku/syllabuses/importer_controller.rb +19 -0
- data/app/controllers/gaku/syllabuses_controller.rb +45 -0
- data/app/controllers/gaku/teachers_controller.rb +113 -0
- data/app/decorators/gaku/guardian_decorator.rb +6 -0
- data/app/decorators/gaku/person_decorator.rb +63 -0
- data/app/decorators/gaku/student_decorator.rb +29 -0
- data/app/decorators/gaku/teacher_decorator.rb +6 -0
- data/app/helpers/gaku/autocomplete_helper.rb +31 -0
- data/app/helpers/gaku/count_helper.rb +13 -0
- data/app/helpers/gaku/flash_helper.rb +16 -0
- data/app/helpers/gaku/gaku_helper.rb +138 -0
- data/app/helpers/gaku/icon_helper.rb +26 -0
- data/app/helpers/gaku/person_helper.rb +55 -0
- data/app/helpers/gaku/presets_helper.rb +41 -0
- data/app/helpers/gaku/sort_helper.rb +17 -0
- data/app/helpers/gaku/student_chooser_helper.rb +12 -0
- data/app/helpers/gaku/students_helper.rb +42 -0
- data/app/helpers/gaku/translations_helper.rb +181 -0
- data/app/models/concerns/addresses.rb +17 -0
- data/app/models/concerns/contacts.rb +17 -0
- data/app/models/concerns/notes.rb +8 -0
- data/app/models/concerns/person.rb +18 -0
- data/app/models/concerns/picture.rb +9 -0
- data/app/models/concerns/trashable.rb +17 -0
- data/app/models/gaku/ability.rb +59 -0
- data/app/models/gaku/achievement.rb +17 -0
- data/app/models/gaku/address.rb +107 -0
- data/app/models/gaku/admin_ability.rb +21 -0
- data/app/models/gaku/assignment.rb +15 -0
- data/app/models/gaku/assignment_score.rb +13 -0
- data/app/models/gaku/attachment.rb +21 -0
- data/app/models/gaku/attendance.rb +16 -0
- data/app/models/gaku/attendance_type.rb +15 -0
- data/app/models/gaku/campus.rb +18 -0
- data/app/models/gaku/class_group.rb +27 -0
- data/app/models/gaku/class_group_course_enrollment.rb +17 -0
- data/app/models/gaku/class_group_enrollment.rb +30 -0
- data/app/models/gaku/commute_method_type.rb +15 -0
- data/app/models/gaku/contact.rb +107 -0
- data/app/models/gaku/contact_type.rb +13 -0
- data/app/models/gaku/country.rb +22 -0
- data/app/models/gaku/course.rb +57 -0
- data/app/models/gaku/course_enrollment.rb +17 -0
- data/app/models/gaku/course_group.rb +16 -0
- data/app/models/gaku/course_group_enrollment.rb +16 -0
- data/app/models/gaku/enrollment_status.rb +25 -0
- data/app/models/gaku/exam.rb +109 -0
- data/app/models/gaku/exam_portion.rb +86 -0
- data/app/models/gaku/exam_portion_score.rb +12 -0
- data/app/models/gaku/exam_schedule.rb +10 -0
- data/app/models/gaku/exam_score.rb +9 -0
- data/app/models/gaku/exam_syllabus.rb +17 -0
- data/app/models/gaku/external_school_record.rb +15 -0
- data/app/models/gaku/extracurricular_activity.rb +14 -0
- data/app/models/gaku/extracurricular_activity_enrollment.rb +15 -0
- data/app/models/gaku/faculty.rb +12 -0
- data/app/models/gaku/grading_method.rb +18 -0
- data/app/models/gaku/grading_method_set.rb +31 -0
- data/app/models/gaku/grading_method_set_item.rb +32 -0
- data/app/models/gaku/guardian.rb +22 -0
- data/app/models/gaku/import_file.rb +5 -0
- data/app/models/gaku/install.rb +8 -0
- data/app/models/gaku/lesson.rb +9 -0
- data/app/models/gaku/lesson_plan.rb +13 -0
- data/app/models/gaku/level.rb +16 -0
- data/app/models/gaku/note.rb +7 -0
- data/app/models/gaku/preset.rb +75 -0
- data/app/models/gaku/program.rb +27 -0
- data/app/models/gaku/program_level.rb +10 -0
- data/app/models/gaku/program_specialty.rb +10 -0
- data/app/models/gaku/program_syllabus.rb +11 -0
- data/app/models/gaku/role.rb +14 -0
- data/app/models/gaku/schedule.rb +5 -0
- data/app/models/gaku/scholarship_status.rb +15 -0
- data/app/models/gaku/school.rb +48 -0
- data/app/models/gaku/school_role.rb +13 -0
- data/app/models/gaku/school_year.rb +18 -0
- data/app/models/gaku/semester.rb +37 -0
- data/app/models/gaku/semester_class_group.rb +21 -0
- data/app/models/gaku/semester_course.rb +21 -0
- data/app/models/gaku/simple_grade.rb +14 -0
- data/app/models/gaku/specialty.rb +17 -0
- data/app/models/gaku/state.rb +35 -0
- data/app/models/gaku/student.rb +94 -0
- data/app/models/gaku/student_achievement.rb +10 -0
- data/app/models/gaku/student_guardian.rb +8 -0
- data/app/models/gaku/student_specialty.rb +19 -0
- data/app/models/gaku/syllabus.rb +22 -0
- data/app/models/gaku/teacher.rb +9 -0
- data/app/models/gaku/template.rb +20 -0
- data/app/models/gaku/user.rb +46 -0
- data/app/models/gaku/user_role.rb +8 -0
- data/app/models/gaku/versioning/address_version.rb +9 -0
- data/app/models/gaku/versioning/contact_version.rb +7 -0
- data/app/models/gaku/versioning/student_version.rb +54 -0
- data/app/views/gaku/addresses/_address.html.slim +5 -0
- data/app/views/gaku/addresses/_addresses.html.slim +27 -0
- data/app/views/gaku/addresses/_fields.html.slim +14 -0
- data/app/views/gaku/addresses/_form.html.slim +3 -0
- data/app/views/gaku/addresses/_form_fields.html.slim +26 -0
- data/app/views/gaku/addresses/_modal.html.slim +6 -0
- data/app/views/gaku/addresses/_primary_field.html.slim +13 -0
- data/app/views/gaku/addresses/create.js.erb +12 -0
- data/app/views/gaku/addresses/destroy.js.erb +8 -0
- data/app/views/gaku/addresses/edit.js.erb +4 -0
- data/app/views/gaku/addresses/make_primary.js.erb +7 -0
- data/app/views/gaku/addresses/new.js.erb +4 -0
- data/app/views/gaku/addresses/recovery.js.erb +1 -0
- data/app/views/gaku/addresses/soft_delete.js.erb +8 -0
- data/app/views/gaku/addresses/update.js.erb +5 -0
- data/app/views/gaku/admin/achievements/_achievement.html.slim +2 -0
- data/app/views/gaku/admin/achievements/_fields.html.slim +7 -0
- data/app/views/gaku/admin/achievements/_form.html.slim +3 -0
- data/app/views/gaku/admin/achievements/_form_fields.html.slim +4 -0
- data/app/views/gaku/admin/achievements/_modal.html.slim +6 -0
- data/app/views/gaku/admin/achievements/destroy.js.erb +2 -0
- data/app/views/gaku/admin/achievements/edit.js.erb +3 -0
- data/app/views/gaku/admin/achievements/index.html.slim +22 -0
- data/app/views/gaku/admin/achievements/new.js.erb +3 -0
- data/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +2 -0
- data/app/views/gaku/admin/attendance_types/_fields.html.slim +9 -0
- data/app/views/gaku/admin/attendance_types/_form.html.slim +3 -0
- data/app/views/gaku/admin/attendance_types/_form_fields.html.slim +6 -0
- data/app/views/gaku/admin/attendance_types/_modal.html.slim +6 -0
- data/app/views/gaku/admin/attendance_types/create.js.erb +7 -0
- data/app/views/gaku/admin/attendance_types/destroy.js.erb +2 -0
- data/app/views/gaku/admin/attendance_types/edit.js.erb +4 -0
- data/app/views/gaku/admin/attendance_types/index.html.slim +24 -0
- data/app/views/gaku/admin/attendance_types/index.json.rb +1 -0
- data/app/views/gaku/admin/attendance_types/new.js.erb +4 -0
- data/app/views/gaku/admin/attendance_types/update.js.erb +4 -0
- data/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +10 -0
- data/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +19 -0
- data/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +9 -0
- data/app/views/gaku/admin/changes/student_address_changes/index.html.slim +11 -0
- data/app/views/gaku/admin/changes/student_changes/_change.html.slim +10 -0
- data/app/views/gaku/admin/changes/student_changes/_changes.html.slim +18 -0
- data/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +9 -0
- data/app/views/gaku/admin/changes/student_changes/index.html.slim +13 -0
- data/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +10 -0
- data/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +19 -0
- data/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +9 -0
- data/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +11 -0
- data/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +2 -0
- data/app/views/gaku/admin/commute_method_types/_fields.html.slim +4 -0
- data/app/views/gaku/admin/commute_method_types/_form.html.slim +3 -0
- data/app/views/gaku/admin/commute_method_types/_modal.html.slim +6 -0
- data/app/views/gaku/admin/commute_method_types/create.js.erb +7 -0
- data/app/views/gaku/admin/commute_method_types/destroy.js.erb +2 -0
- data/app/views/gaku/admin/commute_method_types/edit.js.erb +3 -0
- data/app/views/gaku/admin/commute_method_types/index.html.slim +18 -0
- data/app/views/gaku/admin/commute_method_types/new.js.erb +3 -0
- data/app/views/gaku/admin/commute_method_types/update.js.erb +3 -0
- data/app/views/gaku/admin/contact_types/_contact_type.html.slim +2 -0
- data/app/views/gaku/admin/contact_types/_fields.html.slim +4 -0
- data/app/views/gaku/admin/contact_types/_form.html.slim +3 -0
- data/app/views/gaku/admin/contact_types/_modal.html.slim +6 -0
- data/app/views/gaku/admin/contact_types/create.js.erb +7 -0
- data/app/views/gaku/admin/contact_types/destroy.js.erb +2 -0
- data/app/views/gaku/admin/contact_types/edit.js.erb +3 -0
- data/app/views/gaku/admin/contact_types/index.html.slim +18 -0
- data/app/views/gaku/admin/contact_types/new.js.erb +3 -0
- data/app/views/gaku/admin/contact_types/update.js.erb +3 -0
- data/app/views/gaku/admin/disposals/_address.html.slim +12 -0
- data/app/views/gaku/admin/disposals/_addresses.html.slim +17 -0
- data/app/views/gaku/admin/disposals/_contact.html.slim +9 -0
- data/app/views/gaku/admin/disposals/_contacts.html.slim +14 -0
- data/app/views/gaku/admin/disposals/_course_group.html.slim +3 -0
- data/app/views/gaku/admin/disposals/_course_groups.html.slim +12 -0
- data/app/views/gaku/admin/disposals/_exam.html.slim +10 -0
- data/app/views/gaku/admin/disposals/_guardian.html.slim +10 -0
- data/app/views/gaku/admin/disposals/_student.html.slim +10 -0
- data/app/views/gaku/admin/disposals/_tabs.html.slim +17 -0
- data/app/views/gaku/admin/disposals/_teacher.html.slim +10 -0
- data/app/views/gaku/admin/disposals/addresses.html.slim +2 -0
- data/app/views/gaku/admin/disposals/attachments.html.slim +30 -0
- data/app/views/gaku/admin/disposals/contacts.html.slim +2 -0
- data/app/views/gaku/admin/disposals/course_groups.html.slim +12 -0
- data/app/views/gaku/admin/disposals/exams.html.slim +16 -0
- data/app/views/gaku/admin/disposals/guardians.html.slim +16 -0
- data/app/views/gaku/admin/disposals/index.html.slim +1 -0
- data/app/views/gaku/admin/disposals/students.html.slim +16 -0
- data/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +19 -0
- data/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +19 -0
- data/app/views/gaku/admin/disposals/teachers.html.slim +16 -0
- data/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +2 -0
- data/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +6 -0
- data/app/views/gaku/admin/enrollment_statuses/_form.html.slim +3 -0
- data/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +3 -0
- data/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +6 -0
- data/app/views/gaku/admin/enrollment_statuses/create.js.erb +7 -0
- data/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +2 -0
- data/app/views/gaku/admin/enrollment_statuses/edit.js.erb +3 -0
- data/app/views/gaku/admin/enrollment_statuses/index.html.slim +21 -0
- data/app/views/gaku/admin/enrollment_statuses/new.js.erb +3 -0
- data/app/views/gaku/admin/enrollment_statuses/update.js.erb +4 -0
- data/app/views/gaku/admin/grading_method_sets/_fields.html.slim +9 -0
- data/app/views/gaku/admin/grading_method_sets/_form.html.slim +3 -0
- data/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +4 -0
- data/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +4 -0
- data/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +4 -0
- data/app/views/gaku/admin/grading_method_sets/_modal.html.slim +6 -0
- data/app/views/gaku/admin/grading_method_sets/create.js.erb +7 -0
- data/app/views/gaku/admin/grading_method_sets/destroy.js.erb +7 -0
- data/app/views/gaku/admin/grading_method_sets/edit.js.erb +3 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +9 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +3 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +1 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +4 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +23 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +6 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +7 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +2 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +3 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +3 -0
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +3 -0
- data/app/views/gaku/admin/grading_method_sets/index.html.slim +23 -0
- data/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +6 -0
- data/app/views/gaku/admin/grading_method_sets/new.js.erb +3 -0
- data/app/views/gaku/admin/grading_method_sets/show.html.slim +13 -0
- data/app/views/gaku/admin/grading_method_sets/update.js.erb +3 -0
- data/app/views/gaku/admin/grading_methods/_fields.html.slim +6 -0
- data/app/views/gaku/admin/grading_methods/_form.html.slim +3 -0
- data/app/views/gaku/admin/grading_methods/_form_fields.html.slim +3 -0
- data/app/views/gaku/admin/grading_methods/_grading_method.html.slim +2 -0
- data/app/views/gaku/admin/grading_methods/_modal.html.slim +6 -0
- data/app/views/gaku/admin/grading_methods/create.js.erb +7 -0
- data/app/views/gaku/admin/grading_methods/destroy.js.erb +2 -0
- data/app/views/gaku/admin/grading_methods/edit.js.erb +3 -0
- data/app/views/gaku/admin/grading_methods/index.html.slim +20 -0
- data/app/views/gaku/admin/grading_methods/new.js.erb +3 -0
- data/app/views/gaku/admin/grading_methods/update.js.erb +3 -0
- data/app/views/gaku/admin/presets/defaults.html.slim +50 -0
- data/app/views/gaku/admin/presets/grading.html.slim +12 -0
- data/app/views/gaku/admin/presets/locale.html.slim +10 -0
- data/app/views/gaku/admin/presets/names.html.slim +20 -0
- data/app/views/gaku/admin/presets/output_formats.html.slim +19 -0
- data/app/views/gaku/admin/presets/pagination.html.slim +19 -0
- data/app/views/gaku/admin/presets/students.html.slim +21 -0
- data/app/views/gaku/admin/roles/_fields.html.slim +5 -0
- data/app/views/gaku/admin/roles/_form.html.slim +3 -0
- data/app/views/gaku/admin/roles/_form_fields.html.slim +1 -0
- data/app/views/gaku/admin/roles/_modal.html.slim +6 -0
- data/app/views/gaku/admin/roles/_role.html.slim +2 -0
- data/app/views/gaku/admin/roles/create.js.erb +7 -0
- data/app/views/gaku/admin/roles/destroy.js.erb +2 -0
- data/app/views/gaku/admin/roles/edit.js.erb +3 -0
- data/app/views/gaku/admin/roles/index.html.slim +20 -0
- data/app/views/gaku/admin/roles/new.js.erb +3 -0
- data/app/views/gaku/admin/roles/update.js.erb +3 -0
- data/app/views/gaku/admin/school_years/_fields.html.slim +7 -0
- data/app/views/gaku/admin/school_years/_form.html.slim +3 -0
- data/app/views/gaku/admin/school_years/_form_fields.html.slim +5 -0
- data/app/views/gaku/admin/school_years/_modal.html.slim +7 -0
- data/app/views/gaku/admin/school_years/_school_year.html.slim +3 -0
- data/app/views/gaku/admin/school_years/_show_table.html.slim +10 -0
- data/app/views/gaku/admin/school_years/create.js.erb +10 -0
- data/app/views/gaku/admin/school_years/destroy.js.erb +2 -0
- data/app/views/gaku/admin/school_years/edit.js.erb +5 -0
- data/app/views/gaku/admin/school_years/index.html.slim +21 -0
- data/app/views/gaku/admin/school_years/new.js.erb +5 -0
- data/app/views/gaku/admin/school_years/semesters/_fields.html.slim +7 -0
- data/app/views/gaku/admin/school_years/semesters/_form.html.slim +3 -0
- data/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +5 -0
- data/app/views/gaku/admin/school_years/semesters/_modal.html.slim +7 -0
- data/app/views/gaku/admin/school_years/semesters/_semester.html.slim +3 -0
- data/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +22 -0
- data/app/views/gaku/admin/school_years/semesters/create.js.erb +10 -0
- data/app/views/gaku/admin/school_years/semesters/destroy.js.erb +2 -0
- data/app/views/gaku/admin/school_years/semesters/edit.js.erb +6 -0
- data/app/views/gaku/admin/school_years/semesters/new.js.erb +5 -0
- data/app/views/gaku/admin/school_years/semesters/update.js.erb +8 -0
- data/app/views/gaku/admin/school_years/show.html.slim +15 -0
- data/app/views/gaku/admin/school_years/update.js.erb +8 -0
- data/app/views/gaku/admin/schools/_fields.html.slim +9 -0
- data/app/views/gaku/admin/schools/_form.html.slim +3 -0
- data/app/views/gaku/admin/schools/_form_fields.html.slim +25 -0
- data/app/views/gaku/admin/schools/_modal.html.slim +6 -0
- data/app/views/gaku/admin/schools/_school.html.slim +2 -0
- data/app/views/gaku/admin/schools/_school_unit.html.slim +6 -0
- data/app/views/gaku/admin/schools/_show_table.html.slim +35 -0
- data/app/views/gaku/admin/schools/campuses/_campus.html.slim +7 -0
- data/app/views/gaku/admin/schools/campuses/_campus_unit.html.slim +6 -0
- data/app/views/gaku/admin/schools/campuses/_campuses.html.slim +20 -0
- data/app/views/gaku/admin/schools/campuses/_form.html.slim +3 -0
- data/app/views/gaku/admin/schools/campuses/_modal.html.slim +6 -0
- data/app/views/gaku/admin/schools/campuses/_picture.html.slim +10 -0
- data/app/views/gaku/admin/schools/campuses/_show_table.html.slim +10 -0
- data/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +7 -0
- data/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +6 -0
- data/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +4 -0
- data/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +24 -0
- data/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +3 -0
- data/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +7 -0
- data/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +6 -0
- data/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb +2 -0
- data/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +4 -0
- data/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +4 -0
- data/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +4 -0
- data/app/views/gaku/admin/schools/campuses/create.js.erb +7 -0
- data/app/views/gaku/admin/schools/campuses/destroy.js.erb +2 -0
- data/app/views/gaku/admin/schools/campuses/edit.js.erb +3 -0
- data/app/views/gaku/admin/schools/campuses/new.js.erb +3 -0
- data/app/views/gaku/admin/schools/campuses/show.html.slim +21 -0
- data/app/views/gaku/admin/schools/campuses/update.js.erb +3 -0
- data/app/views/gaku/admin/schools/create.js.erb +7 -0
- data/app/views/gaku/admin/schools/destroy.js.erb +2 -0
- data/app/views/gaku/admin/schools/edit.js.erb +3 -0
- data/app/views/gaku/admin/schools/edit_master.html.slim +17 -0
- data/app/views/gaku/admin/schools/index.html.slim +29 -0
- data/app/views/gaku/admin/schools/new.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/_fields.html.slim +9 -0
- data/app/views/gaku/admin/schools/programs/_form.html.slim +20 -0
- data/app/views/gaku/admin/schools/programs/_form_fields.html.slim +6 -0
- data/app/views/gaku/admin/schools/programs/_modal.html.slim +5 -0
- data/app/views/gaku/admin/schools/programs/_program.html.slim +2 -0
- data/app/views/gaku/admin/schools/programs/_programs.html.slim +25 -0
- data/app/views/gaku/admin/schools/programs/create.js.erb +7 -0
- data/app/views/gaku/admin/schools/programs/destroy.js.erb +2 -0
- data/app/views/gaku/admin/schools/programs/edit.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/new.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +8 -0
- data/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +10 -0
- data/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +7 -0
- data/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +10 -0
- data/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +6 -0
- data/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +10 -0
- data/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +3 -0
- data/app/views/gaku/admin/schools/programs/update.js.erb +3 -0
- data/app/views/gaku/admin/schools/show.html.slim +26 -0
- data/app/views/gaku/admin/schools/update.js.erb +7 -0
- data/app/views/gaku/admin/shared/_picture.html.slim +10 -0
- data/app/views/gaku/admin/shared/_upload_picture.html.slim +7 -0
- data/app/views/gaku/admin/specialties/_fields.html.slim +6 -0
- data/app/views/gaku/admin/specialties/_form.html.slim +3 -0
- data/app/views/gaku/admin/specialties/_form_fields.html.slim +3 -0
- data/app/views/gaku/admin/specialties/_modal.html.slim +6 -0
- data/app/views/gaku/admin/specialties/_specialty.html.slim +2 -0
- data/app/views/gaku/admin/specialties/create.js.erb +7 -0
- data/app/views/gaku/admin/specialties/destroy.js.erb +2 -0
- data/app/views/gaku/admin/specialties/edit.js.erb +3 -0
- data/app/views/gaku/admin/specialties/index.html.slim +20 -0
- data/app/views/gaku/admin/specialties/new.js.erb +3 -0
- data/app/views/gaku/admin/specialties/update.js.erb +3 -0
- data/app/views/gaku/admin/states/_country_select_form.html.slim +4 -0
- data/app/views/gaku/admin/states/_country_table.html.slim +11 -0
- data/app/views/gaku/admin/states/_fields.html.slim +8 -0
- data/app/views/gaku/admin/states/_form.html.slim +4 -0
- data/app/views/gaku/admin/states/_form_fields.html.slim +14 -0
- data/app/views/gaku/admin/states/_modal.html.slim +6 -0
- data/app/views/gaku/admin/states/_state.html.slim +2 -0
- data/app/views/gaku/admin/states/country_states.js.erb +1 -0
- data/app/views/gaku/admin/states/create.js.erb +7 -0
- data/app/views/gaku/admin/states/destroy.js.erb +2 -0
- data/app/views/gaku/admin/states/edit.js.erb +3 -0
- data/app/views/gaku/admin/states/index.html.slim +15 -0
- data/app/views/gaku/admin/states/new.js.erb +3 -0
- data/app/views/gaku/admin/states/update.js.erb +3 -0
- data/app/views/gaku/admin/system_tools/index.html.slim +1 -0
- data/app/views/gaku/admin/templates/_fields.html.slim +8 -0
- data/app/views/gaku/admin/templates/_form.html.slim +3 -0
- data/app/views/gaku/admin/templates/_form_fields.html.slim +4 -0
- data/app/views/gaku/admin/templates/_modal.html.slim +6 -0
- data/app/views/gaku/admin/templates/_template.html.slim +2 -0
- data/app/views/gaku/admin/templates/destroy.js.erb +2 -0
- data/app/views/gaku/admin/templates/edit.js.erb +4 -0
- data/app/views/gaku/admin/templates/index.html.slim +20 -0
- data/app/views/gaku/admin/templates/new.js.erb +3 -0
- data/app/views/gaku/admin/users/_fields.html.slim +5 -0
- data/app/views/gaku/admin/users/_form.html.slim +3 -0
- data/app/views/gaku/admin/users/_form_fields.html.slim +14 -0
- data/app/views/gaku/admin/users/_modal.html.slim +6 -0
- data/app/views/gaku/admin/users/_user.html.slim +2 -0
- data/app/views/gaku/admin/users/create.js.erb +7 -0
- data/app/views/gaku/admin/users/destroy.js.erb +2 -0
- data/app/views/gaku/admin/users/edit.js.erb +3 -0
- data/app/views/gaku/admin/users/index.html.slim +21 -0
- data/app/views/gaku/admin/users/new.js.erb +3 -0
- data/app/views/gaku/admin/users/update.js.erb +4 -0
- data/app/views/gaku/attachments/destroy.js.erb +1 -0
- data/app/views/gaku/attachments/edit.js.erb +3 -0
- data/app/views/gaku/attachments/new.js.erb +1 -0
- data/app/views/gaku/attachments/recover_attachment.js.erb +1 -0
- data/app/views/gaku/attachments/soft_delete.js.erb +3 -0
- data/app/views/gaku/class_groups/_class_group.html.slim +7 -0
- data/app/views/gaku/class_groups/_class_group_modal.html.slim +7 -0
- data/app/views/gaku/class_groups/_class_group_unit.html.slim +5 -0
- data/app/views/gaku/class_groups/_class_groups.html.slim +25 -0
- data/app/views/gaku/class_groups/_form.html.slim +8 -0
- data/app/views/gaku/class_groups/_form_fields.html.slim +6 -0
- data/app/views/gaku/class_groups/_tabs.html.slim +32 -0
- data/app/views/gaku/class_groups/courses/_course.html.slim +4 -0
- data/app/views/gaku/class_groups/courses/_courses.html.slim +19 -0
- data/app/views/gaku/class_groups/courses/_form.html.slim +5 -0
- data/app/views/gaku/class_groups/courses/create.js.erb +8 -0
- data/app/views/gaku/class_groups/courses/destroy.js.erb +3 -0
- data/app/views/gaku/class_groups/courses/new.js.erb +3 -0
- data/app/views/gaku/class_groups/create.js.erb +6 -0
- data/app/views/gaku/class_groups/destroy.js.erb +6 -0
- data/app/views/gaku/class_groups/edit.js.erb +3 -0
- data/app/views/gaku/class_groups/index.html.slim +14 -0
- data/app/views/gaku/class_groups/new.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +4 -0
- data/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +4 -0
- data/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +5 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +6 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +19 -0
- data/app/views/gaku/class_groups/semester_class_groups/create.js.erb +6 -0
- data/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/new.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/update.js.erb +3 -0
- data/app/views/gaku/class_groups/show.html.slim +25 -0
- data/app/views/gaku/class_groups/student_chooser.js.erb +2 -0
- data/app/views/gaku/class_groups/students/_student.html.slim +5 -0
- data/app/views/gaku/class_groups/students/_students.html.slim +19 -0
- data/app/views/gaku/class_groups/students/destroy.js.erb +3 -0
- data/app/views/gaku/class_groups/students/enroll_students.js.erb +11 -0
- data/app/views/gaku/class_groups/students/new.js.erb +3 -0
- data/app/views/gaku/class_groups/update.js.erb +8 -0
- data/app/views/gaku/contacts/_contact.html.slim +5 -0
- data/app/views/gaku/contacts/_contacts.html.slim +24 -0
- data/app/views/gaku/contacts/_fields.html.slim +13 -0
- data/app/views/gaku/contacts/_form.html.slim +4 -0
- data/app/views/gaku/contacts/_form_fields.html.slim +14 -0
- data/app/views/gaku/contacts/_modal.html.slim +6 -0
- data/app/views/gaku/contacts/_primary_field.html.slim +13 -0
- data/app/views/gaku/contacts/create.js.erb +21 -0
- data/app/views/gaku/contacts/destroy.js.erb +9 -0
- data/app/views/gaku/contacts/edit.js.erb +4 -0
- data/app/views/gaku/contacts/make_primary.js.erb +6 -0
- data/app/views/gaku/contacts/new.js.erb +3 -0
- data/app/views/gaku/contacts/recovery.js.erb +1 -0
- data/app/views/gaku/contacts/soft_delete.js.erb +8 -0
- data/app/views/gaku/contacts/update.js.erb +14 -0
- data/app/views/gaku/course_groups/_course_group.html.slim +3 -0
- data/app/views/gaku/course_groups/_course_group_unit.html.slim +4 -0
- data/app/views/gaku/course_groups/_course_groups.html.slim +7 -0
- data/app/views/gaku/course_groups/_delete_confirm.html.slim +11 -0
- data/app/views/gaku/course_groups/_fields.html.slim +1 -0
- data/app/views/gaku/course_groups/_form.html.slim +3 -0
- data/app/views/gaku/course_groups/_form_fields.html.slim +1 -0
- data/app/views/gaku/course_groups/_modal.html.slim +6 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +4 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +23 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +4 -0
- data/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +7 -0
- data/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +2 -0
- data/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +3 -0
- data/app/views/gaku/course_groups/create.js.erb +10 -0
- data/app/views/gaku/course_groups/destroy.js.erb +2 -0
- data/app/views/gaku/course_groups/edit.js.erb +3 -0
- data/app/views/gaku/course_groups/index.html.slim +15 -0
- data/app/views/gaku/course_groups/index.js.erb +1 -0
- data/app/views/gaku/course_groups/new.js.erb +3 -0
- data/app/views/gaku/course_groups/recovery.js.erb +2 -0
- data/app/views/gaku/course_groups/show.html.slim +30 -0
- data/app/views/gaku/course_groups/update.js.erb +7 -0
- data/app/views/gaku/courses/_course.html.slim +2 -0
- data/app/views/gaku/courses/_course_unit.html.slim +5 -0
- data/app/views/gaku/courses/_courses.html.slim +27 -0
- data/app/views/gaku/courses/_form.html.slim +7 -0
- data/app/views/gaku/courses/_form_fields.html.slim +4 -0
- data/app/views/gaku/courses/_modal.html.slim +6 -0
- data/app/views/gaku/courses/_tabs.html.slim +25 -0
- data/app/views/gaku/courses/assignments/_assignments.html.slim +2 -0
- data/app/views/gaku/courses/create.js.erb +7 -0
- data/app/views/gaku/courses/destroy.js.erb +7 -0
- data/app/views/gaku/courses/edit.js.erb +4 -0
- data/app/views/gaku/courses/enrollments/_enrolled.html.slim +7 -0
- data/app/views/gaku/courses/enrollments/_enrollments.html.slim +29 -0
- data/app/views/gaku/courses/enrollments/_errors_modal.html.slim +11 -0
- data/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +3 -0
- data/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +16 -0
- data/app/views/gaku/courses/enrollments/class_groups/new.js.erb +4 -0
- data/app/views/gaku/courses/enrollments/error.js.erb +2 -0
- data/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +11 -0
- data/app/views/gaku/courses/exams/_exam.html.slim +5 -0
- data/app/views/gaku/courses/exams/_exams.html.slim +14 -0
- data/app/views/gaku/courses/index.html.slim +14 -0
- data/app/views/gaku/courses/new.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/_fields.html.slim +4 -0
- data/app/views/gaku/courses/semester_courses/_form.html.slim +4 -0
- data/app/views/gaku/courses/semester_courses/_form_fields.html.slim +3 -0
- data/app/views/gaku/courses/semester_courses/_modal.html.slim +6 -0
- data/app/views/gaku/courses/semester_courses/_semester_course.html.slim +3 -0
- data/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +18 -0
- data/app/views/gaku/courses/semester_courses/create.js.erb +6 -0
- data/app/views/gaku/courses/semester_courses/destroy.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/edit.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/new.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/update.js.erb +3 -0
- data/app/views/gaku/courses/show.html.slim +32 -0
- data/app/views/gaku/courses/student_chooser.js.erb +2 -0
- data/app/views/gaku/courses/update.js.erb +16 -0
- data/app/views/gaku/devise/confirmations/new.html.slim +9 -0
- data/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +4 -0
- data/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +6 -0
- data/app/views/gaku/devise/mailer/unlock_instructions.html.slim +5 -0
- data/app/views/gaku/devise/passwords/edit.html.slim +14 -0
- data/app/views/gaku/devise/passwords/new.html.slim +8 -0
- data/app/views/gaku/devise/registrations/edit.html.slim +31 -0
- data/app/views/gaku/devise/registrations/new.html.slim +29 -0
- data/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +27 -0
- data/app/views/gaku/devise/sessions/new.html.slim +27 -0
- data/app/views/gaku/devise/shared/_links.html.erb +25 -0
- data/app/views/gaku/devise/unlocks/new.html.slim +9 -0
- data/app/views/gaku/exam_divisions/_form.html.erb +29 -0
- data/app/views/gaku/exam_divisions/edit.html.erb +6 -0
- data/app/views/gaku/exam_divisions/index.html.erb +27 -0
- data/app/views/gaku/exam_divisions/new.html.erb +5 -0
- data/app/views/gaku/exam_divisions/show.html.erb +20 -0
- data/app/views/gaku/exams/_exam.html.slim +2 -0
- data/app/views/gaku/exams/_fields.html.slim +8 -0
- data/app/views/gaku/exams/_form.html.slim +19 -0
- data/app/views/gaku/exams/_form_fields.html.slim +13 -0
- data/app/views/gaku/exams/_modal.html.slim +6 -0
- data/app/views/gaku/exams/_show_table.html.slim +15 -0
- data/app/views/gaku/exams/_weight_check_widget.html.slim +20 -0
- data/app/views/gaku/exams/create.js.erb +6 -0
- data/app/views/gaku/exams/destroy.js.erb +2 -0
- data/app/views/gaku/exams/edit.js +3 -0
- data/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +4 -0
- data/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_exam_portion_unit.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +14 -0
- data/app/views/gaku/exams/exam_portions/_form.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_modal.html.slim +8 -0
- data/app/views/gaku/exams/exam_portions/_show_table.html.slim +12 -0
- data/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +2 -0
- data/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +23 -0
- data/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +6 -0
- data/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +6 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD_0 +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master_0 +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/new.js.erb +3 -0
- data/app/views/gaku/exams/exam_portions/create.js.erb +48 -0
- data/app/views/gaku/exams/exam_portions/destroy.js.erb +8 -0
- data/app/views/gaku/exams/exam_portions/edit.js.erb +3 -0
- data/app/views/gaku/exams/exam_portions/new.js.erb +3 -0
- data/app/views/gaku/exams/exam_portions/show.html.slim +8 -0
- data/app/views/gaku/exams/exam_portions/update.js.erb +27 -0
- data/app/views/gaku/exams/export.xls.rb +67 -0
- data/app/views/gaku/exams/grading.html.slim +34 -0
- data/app/views/gaku/exams/index.html.slim +21 -0
- data/app/views/gaku/exams/new.js.erb +3 -0
- data/app/views/gaku/exams/recovery.js.erb +1 -0
- data/app/views/gaku/exams/show.html.slim +33 -0
- data/app/views/gaku/exams/update.js.erb +5 -0
- data/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +9 -0
- data/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +6 -0
- data/app/views/gaku/extracurricular_activities/_fields.html.slim +1 -0
- data/app/views/gaku/extracurricular_activities/_form.html.slim +3 -0
- data/app/views/gaku/extracurricular_activities/_form_fields.html.slim +3 -0
- data/app/views/gaku/extracurricular_activities/_modal.html.slim +7 -0
- data/app/views/gaku/extracurricular_activities/_tabs.html.slim +14 -0
- data/app/views/gaku/extracurricular_activities/create.js.erb +6 -0
- data/app/views/gaku/extracurricular_activities/destroy.js.erb +2 -0
- data/app/views/gaku/extracurricular_activities/edit.js.erb +3 -0
- data/app/views/gaku/extracurricular_activities/index.html.slim +14 -0
- data/app/views/gaku/extracurricular_activities/index.js.erb +2 -0
- data/app/views/gaku/extracurricular_activities/new.js.erb +3 -0
- data/app/views/gaku/extracurricular_activities/show.html.slim +20 -0
- data/app/views/gaku/extracurricular_activities/student_chooser.js.erb +2 -0
- data/app/views/gaku/extracurricular_activities/students/_student.html.slim +5 -0
- data/app/views/gaku/extracurricular_activities/students/_students.html.slim +19 -0
- data/app/views/gaku/extracurricular_activities/students/destroy.js.erb +3 -0
- data/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +11 -0
- data/app/views/gaku/extracurricular_activities/update.js.erb +6 -0
- data/app/views/gaku/home/_user_info.html.slim +7 -0
- data/app/views/gaku/home/_user_menu.html.slim +2 -0
- data/app/views/gaku/home/index.html.slim +13 -0
- data/app/views/gaku/layouts/admin/index.html.slim +15 -0
- data/app/views/gaku/layouts/edit.html.slim +9 -0
- data/app/views/gaku/layouts/gaku.html.slim +23 -0
- data/app/views/gaku/layouts/index.html.slim +14 -0
- data/app/views/gaku/layouts/show.html.slim +10 -0
- data/app/views/gaku/notes/_buttons.html.slim +5 -0
- data/app/views/gaku/notes/_fields.html.slim +2 -0
- data/app/views/gaku/notes/_form.html.slim +6 -0
- data/app/views/gaku/notes/_form_fields.html.slim +6 -0
- data/app/views/gaku/notes/_modal.html.slim +6 -0
- data/app/views/gaku/notes/_note.html.slim +4 -0
- data/app/views/gaku/notes/_notes.html.slim +19 -0
- data/app/views/gaku/notes/_show_modal.html.slim +4 -0
- data/app/views/gaku/notes/create.js.erb +11 -0
- data/app/views/gaku/notes/destroy.js.erb +4 -0
- data/app/views/gaku/notes/edit.js.erb +3 -0
- data/app/views/gaku/notes/new.js.erb +3 -0
- data/app/views/gaku/notes/show.js.erb +3 -0
- data/app/views/gaku/notes/update.js.erb +4 -0
- data/app/views/gaku/shared/_delete_modal.html.slim +7 -0
- data/app/views/gaku/shared/_delete_modal_remote.html.slim +7 -0
- data/app/views/gaku/shared/_errors.html.slim +6 -0
- data/app/views/gaku/shared/_external_school_record.html.slim +36 -0
- data/app/views/gaku/shared/_flash.html.slim +4 -0
- data/app/views/gaku/shared/_language_bar.html.slim +8 -0
- data/app/views/gaku/shared/_login_widget.html.slim +27 -0
- data/app/views/gaku/shared/_manage_buttons.html.slim +4 -0
- data/app/views/gaku/shared/_menubar.html.slim +8 -0
- data/app/views/gaku/shared/_modal_config.html.slim +37 -0
- data/app/views/gaku/shared/_multi_errors.html.slim +6 -0
- data/app/views/gaku/shared/_picture.html.slim +12 -0
- data/app/views/gaku/shared/_upload_picture.html.slim +7 -0
- data/app/views/gaku/shared/error.js.erb +2 -0
- data/app/views/gaku/shared/fields/_address_fields.html.slim +7 -0
- data/app/views/gaku/shared/fields/_attachment_fields.html.slim +10 -0
- data/app/views/gaku/shared/fields/_class_group_fields.html.slim +3 -0
- data/app/views/gaku/shared/fields/_course_fields.html.slim +4 -0
- data/app/views/gaku/shared/fields/_course_show_fields.html.slim +3 -0
- data/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +8 -0
- data/app/views/gaku/shared/fields/_person_edit_table.html.slim +7 -0
- data/app/views/gaku/shared/fields/_person_fields.html.slim +4 -0
- data/app/views/gaku/shared/fields/_person_show_table.html.slim +3 -0
- data/app/views/gaku/shared/fields/_semester_fields.html.slim +1 -0
- data/app/views/gaku/shared/fields/_student_fields.html.slim +22 -0
- data/app/views/gaku/shared/fields/_syllabus_fields.html.slim +5 -0
- data/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +15 -0
- data/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +16 -0
- data/app/views/gaku/shared/menu/_admin.html.erb +104 -0
- data/app/views/gaku/shared/menu/_global.html.erb +26 -0
- data/app/views/gaku/shared/multi_error.js.erb +2 -0
- data/app/views/gaku/shared/notice.js.erb +2 -0
- data/app/views/gaku/shared/student/_academic.html.slim +18 -0
- data/app/views/gaku/shared/student/_edit.html.slim +20 -0
- data/app/views/gaku/shared/student/_personal.html.slim +6 -0
- data/app/views/gaku/shared/student/_show.html.slim +14 -0
- data/app/views/gaku/shared/student/_show_table.html.slim +51 -0
- data/app/views/gaku/shared/student/_tabs.html.slim +36 -0
- data/app/views/gaku/shared/student_chooser/_chooser.html.slim +36 -0
- data/app/views/gaku/shared/student_chooser/_class_group.html.slim +5 -0
- data/app/views/gaku/shared/student_chooser/_course.html.slim +5 -0
- data/app/views/gaku/shared/student_chooser/_extracurricular_activity.html.slim +5 -0
- data/app/views/gaku/shared/student_chooser/_modal.html.slim +4 -0
- data/app/views/gaku/shared/student_chooser/_student.html.slim +18 -0
- data/app/views/gaku/states/_no_states_select.html.slim +1 -0
- data/app/views/gaku/states/_states_select.html.slim +1 -0
- data/app/views/gaku/states/index.js.erb +5 -0
- data/app/views/gaku/students/_delete_modal.html.slim +5 -0
- data/app/views/gaku/students/_form.html.slim +3 -0
- data/app/views/gaku/students/_form_fields.html.slim +19 -0
- data/app/views/gaku/students/_modal.html.slim +6 -0
- data/app/views/gaku/students/_student.html.slim +6 -0
- data/app/views/gaku/students/_student_unit.html.slim +5 -0
- data/app/views/gaku/students/_students.html.slim +17 -0
- data/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +28 -0
- data/app/views/gaku/students/class_group_enrollments/create.js.erb +11 -0
- data/app/views/gaku/students/class_group_enrollments/new.js.erb +2 -0
- data/app/views/gaku/students/commute_methods/_commute_method.html.slim +6 -0
- data/app/views/gaku/students/commute_methods/_modal.html.slim +6 -0
- data/app/views/gaku/students/commute_methods/create.js.erb +3 -0
- data/app/views/gaku/students/commute_methods/edit.js.erb +5 -0
- data/app/views/gaku/students/commute_methods/new.js.erb +4 -0
- data/app/views/gaku/students/commute_methods/update.js.erb +3 -0
- data/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +5 -0
- data/app/views/gaku/students/course_enrollments/_course_enrollment_unit.html.slim +3 -0
- data/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +21 -0
- data/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +11 -0
- data/app/views/gaku/students/course_enrollments/_form.html.slim +5 -0
- data/app/views/gaku/students/course_enrollments/create.js.erb +10 -0
- data/app/views/gaku/students/course_enrollments/destroy.js.erb +3 -0
- data/app/views/gaku/students/course_enrollments/error.js.erb +2 -0
- data/app/views/gaku/students/course_enrollments/new.js.erb +3 -0
- data/app/views/gaku/students/create.js.erb +8 -0
- data/app/views/gaku/students/destroy.js.erb +2 -0
- data/app/views/gaku/students/edit.html.slim +9 -0
- data/app/views/gaku/students/edit.js.erb +3 -0
- data/app/views/gaku/students/guardians/_edit_table.html.slim +9 -0
- data/app/views/gaku/students/guardians/_form.html.slim +3 -0
- data/app/views/gaku/students/guardians/_form_fields.html.slim +4 -0
- data/app/views/gaku/students/guardians/_guardian.html.slim +2 -0
- data/app/views/gaku/students/guardians/_guardian_unit.html.slim +12 -0
- data/app/views/gaku/students/guardians/_guardians.html.slim +26 -0
- data/app/views/gaku/students/guardians/_modal.html.slim +7 -0
- data/app/views/gaku/students/guardians/_picture.html.slim +12 -0
- data/app/views/gaku/students/guardians/_show_table.html.slim +13 -0
- data/app/views/gaku/students/guardians/_tabs.html.slim +15 -0
- data/app/views/gaku/students/guardians/_upload_picture.html.slim +7 -0
- data/app/views/gaku/students/guardians/create.js.erb +7 -0
- data/app/views/gaku/students/guardians/destroy.js.erb +4 -0
- data/app/views/gaku/students/guardians/edit.html.slim +7 -0
- data/app/views/gaku/students/guardians/edit.js.erb +3 -0
- data/app/views/gaku/students/guardians/new.js.erb +3 -0
- data/app/views/gaku/students/guardians/recovery.js.erb +1 -0
- data/app/views/gaku/students/guardians/show.html.slim +14 -0
- data/app/views/gaku/students/guardians/update.js.erb +4 -0
- data/app/views/gaku/students/importer/index.html.slim +26 -0
- data/app/views/gaku/students/importer/roster_import_preview.html.slim +4 -0
- data/app/views/gaku/students/index.html.slim +16 -0
- data/app/views/gaku/students/index.js.erb +13 -0
- data/app/views/gaku/students/index.pdf.thinreports +17 -0
- data/app/views/gaku/students/new.js.erb +3 -0
- data/app/views/gaku/students/recovery.js.erb +1 -0
- data/app/views/gaku/students/search/_address.html.slim +36 -0
- data/app/views/gaku/students/search/_extended.slim +134 -0
- data/app/views/gaku/students/search/_form.html.slim +25 -0
- data/app/views/gaku/students/search/_student.html.slim +24 -0
- data/app/views/gaku/students/show.html.slim +1 -0
- data/app/views/gaku/students/show.pdf.thinreports +8 -0
- data/app/views/gaku/students/simple_grades/_edit.html.slim +8 -0
- data/app/views/gaku/students/simple_grades/_fields.html.slim +6 -0
- data/app/views/gaku/students/simple_grades/_form.html.slim +6 -0
- data/app/views/gaku/students/simple_grades/_form_fields.html.slim +3 -0
- data/app/views/gaku/students/simple_grades/_index.html.slim +19 -0
- data/app/views/gaku/students/simple_grades/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/simple_grades/_simple_grade.html.slim +3 -0
- data/app/views/gaku/students/simple_grades/_simple_grades.html.slim +2 -0
- data/app/views/gaku/students/simple_grades/create.js.erb +10 -0
- data/app/views/gaku/students/simple_grades/destroy.js.erb +4 -0
- data/app/views/gaku/students/simple_grades/edit.js.erb +2 -0
- data/app/views/gaku/students/simple_grades/index.js.erb +5 -0
- data/app/views/gaku/students/simple_grades/new.js.erb +3 -0
- data/app/views/gaku/students/simple_grades/update.js.erb +4 -0
- data/app/views/gaku/students/student_achievements/_achievements_tab.html.slim +12 -0
- data/app/views/gaku/students/student_achievements/_edit.html.slim +8 -0
- data/app/views/gaku/students/student_achievements/_fields.html.slim +8 -0
- data/app/views/gaku/students/student_achievements/_form.html.slim +6 -0
- data/app/views/gaku/students/student_achievements/_form_fields.html.slim +1 -0
- data/app/views/gaku/students/student_achievements/_index.html.slim +20 -0
- data/app/views/gaku/students/student_achievements/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/student_achievements/_student_achievement.html.slim +3 -0
- data/app/views/gaku/students/student_achievements/_student_achievements.html.slim +2 -0
- data/app/views/gaku/students/student_achievements/create.js.erb +10 -0
- data/app/views/gaku/students/student_achievements/destroy.js.erb +4 -0
- data/app/views/gaku/students/student_achievements/edit.js.erb +2 -0
- data/app/views/gaku/students/student_achievements/index.js.erb +3 -0
- data/app/views/gaku/students/student_achievements/new.js.erb +3 -0
- data/app/views/gaku/students/student_achievements/update.js.erb +5 -0
- data/app/views/gaku/students/student_specialties/_edit.html.slim +8 -0
- data/app/views/gaku/students/student_specialties/_fields.html.slim +5 -0
- data/app/views/gaku/students/student_specialties/_form.html.slim +6 -0
- data/app/views/gaku/students/student_specialties/_form_fields.html.slim +2 -0
- data/app/views/gaku/students/student_specialties/_index.html.slim +18 -0
- data/app/views/gaku/students/student_specialties/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/student_specialties/_specialties_list.html.slim +0 -0
- data/app/views/gaku/students/student_specialties/_student_specialties.html.slim +2 -0
- data/app/views/gaku/students/student_specialties/_student_specialty.html.slim +3 -0
- data/app/views/gaku/students/student_specialties/create.js.erb +11 -0
- data/app/views/gaku/students/student_specialties/destroy.js.erb +5 -0
- data/app/views/gaku/students/student_specialties/edit.js.erb +2 -0
- data/app/views/gaku/students/student_specialties/index.js.erb +5 -0
- data/app/views/gaku/students/student_specialties/new.js.erb +3 -0
- data/app/views/gaku/students/student_specialties/update.js.erb +4 -0
- data/app/views/gaku/students/update.js.erb +3 -0
- data/app/views/gaku/syllabuses/_form.html.slim +3 -0
- data/app/views/gaku/syllabuses/_form_fields.html.slim +10 -0
- data/app/views/gaku/syllabuses/_modal.html.slim +7 -0
- data/app/views/gaku/syllabuses/_syllabus.html.slim +2 -0
- data/app/views/gaku/syllabuses/_syllabus_fields.html.slim +5 -0
- data/app/views/gaku/syllabuses/_syllabuses.html.slim +11 -0
- data/app/views/gaku/syllabuses/assignments/_assignment.html.slim +9 -0
- data/app/views/gaku/syllabuses/assignments/_assignments.html.slim +19 -0
- data/app/views/gaku/syllabuses/assignments/_form.html.slim +17 -0
- data/app/views/gaku/syllabuses/assignments/create.js.erb +7 -0
- data/app/views/gaku/syllabuses/create.js.erb +6 -0
- data/app/views/gaku/syllabuses/destroy.js.erb +2 -0
- data/app/views/gaku/syllabuses/edit.js.erb +3 -0
- data/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +11 -0
- data/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +6 -0
- data/app/views/gaku/syllabuses/exams/_exam.html.slim +4 -0
- data/app/views/gaku/syllabuses/exams/_exams.html.slim +16 -0
- data/app/views/gaku/syllabuses/exams/_fields.html.slim +9 -0
- data/app/views/gaku/syllabuses/exams/_form.html.slim +15 -0
- data/app/views/gaku/syllabuses/exams/_form_fields.html.slim +10 -0
- data/app/views/gaku/syllabuses/exams/_modal.html.slim +6 -0
- data/app/views/gaku/syllabuses/exams/_select_form.html.slim +6 -0
- data/app/views/gaku/syllabuses/exams/create.js.erb +10 -0
- data/app/views/gaku/syllabuses/exams/destroy.js.erb +2 -0
- data/app/views/gaku/syllabuses/exams/edit.js.erb +3 -0
- data/app/views/gaku/syllabuses/exams/new.js.erb +3 -0
- data/app/views/gaku/syllabuses/exams/update.js.erb +4 -0
- data/app/views/gaku/syllabuses/importer/index.html.slim +14 -0
- data/app/views/gaku/syllabuses/index.html.slim +14 -0
- data/app/views/gaku/syllabuses/new.js.erb +3 -0
- data/app/views/gaku/syllabuses/show.html.slim +59 -0
- data/app/views/gaku/syllabuses/update.js.erb +4 -0
- data/app/views/gaku/teachers/_delete_modal.html.slim +5 -0
- data/app/views/gaku/teachers/_edit_table.html.slim +5 -0
- data/app/views/gaku/teachers/_fields.html.slim +1 -0
- data/app/views/gaku/teachers/_form.html.slim +3 -0
- data/app/views/gaku/teachers/_form_fields.html.slim +1 -0
- data/app/views/gaku/teachers/_modal.html.slim +6 -0
- data/app/views/gaku/teachers/_show_table.html.slim +7 -0
- data/app/views/gaku/teachers/_tabs.html.slim +21 -0
- data/app/views/gaku/teachers/_teacher.html.slim +6 -0
- data/app/views/gaku/teachers/_teacher_unit.html.slim +4 -0
- data/app/views/gaku/teachers/_teachers.html.slim +11 -0
- data/app/views/gaku/teachers/create.js.erb +8 -0
- data/app/views/gaku/teachers/destroy.js.erb +2 -0
- data/app/views/gaku/teachers/edit.html.slim +23 -0
- data/app/views/gaku/teachers/edit.js.erb +3 -0
- data/app/views/gaku/teachers/index.html.slim +16 -0
- data/app/views/gaku/teachers/index.js.erb +2 -0
- data/app/views/gaku/teachers/new.js.erb +3 -0
- data/app/views/gaku/teachers/recovery.js.erb +1 -0
- data/app/views/gaku/teachers/show.html.slim +14 -0
- data/app/views/gaku/teachers/update.js.erb +4 -0
- data/app/views/kaminari/_first_page.html.erb +11 -0
- data/app/views/kaminari/_gap.html.erb +8 -0
- data/app/views/kaminari/_last_page.html.erb +11 -0
- data/app/views/kaminari/_next_page.html.erb +11 -0
- data/app/views/kaminari/_page.html.erb +12 -0
- data/app/views/kaminari/_paginator.html.erb +25 -0
- data/app/views/kaminari/_prev_page.html.erb +11 -0
- data/app/workers/gaku/importers/students/roster_worker.rb +18 -0
- data/app/workers/gaku/importers/students/school_station_zaikousei_worker.rb +15 -0
- data/config/initializers/active_record.rb +41 -0
- data/config/initializers/client_side_validations.rb +9 -0
- data/config/initializers/devise.rb +213 -0
- data/config/initializers/i18n.rb +26 -0
- data/config/initializers/inflections.rb +19 -0
- data/config/initializers/kaminari_config.rb +10 -0
- data/config/initializers/locale.rb +2 -0
- data/config/initializers/mime_types.rb +1 -0
- data/config/initializers/paper_trail.rb +3 -0
- data/config/initializers/ruby_template_handler.rb +1 -0
- data/config/initializers/sidekiq.rb +6 -0
- data/config/initializers/translation_missing.rb +11 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/bg.yml +906 -0
- data/config/locales/en.yml +908 -0
- data/config/locales/ja.yml +908 -0
- data/config/locales/pt-BR.yml +904 -0
- data/config/locales/zh-CN.yml +904 -0
- data/config/routes.rb +321 -0
- data/db/default/gaku/attendance_types.rb +77 -0
- data/db/default/gaku/commute_method_types.rb +29 -0
- data/db/default/gaku/contact_types.yml +20 -0
- data/db/default/gaku/countries.yml +1357 -0
- data/db/default/gaku/enrollment_status.rb +37 -0
- data/db/default/gaku/master_school.rb +6 -0
- data/db/default/gaku/roles.yml +2 -0
- data/db/default/gaku/scholarship_statuses.rb +19 -0
- data/db/default/gaku/states.yml +494 -0
- data/db/migrate/20120202111850_gaku_core.rb +771 -0
- data/db/schema.rb +481 -0
- data/db/seeds.rb +5 -0
- data/lib/gaku/app_responder.rb +6 -0
- data/lib/gaku/class_name_detector.rb +23 -0
- data/lib/gaku/core.rb +45 -0
- data/lib/gaku/core/console_colors.rb +22 -0
- data/lib/gaku/core/engine.rb +45 -0
- data/lib/gaku/core/url_helpers.rb +5 -0
- data/lib/gaku/core/version.rb +5 -0
- data/lib/gaku/exporters/roster_exporter.rb +36 -0
- data/lib/gaku/grading/calculations.rb +279 -0
- data/lib/gaku/grading/grade.rb +17 -0
- data/lib/gaku/grading/japanese_hs_standard.rb +8 -0
- data/lib/gaku/importers/key_mapper.rb +19 -0
- data/lib/gaku/importers/logger.rb +10 -0
- data/lib/gaku/importers/students/guardians.rb +89 -0
- data/lib/gaku/importers/students/personal_information.rb +65 -0
- data/lib/gaku/importers/students/roster.rb +50 -0
- data/lib/gaku/importers/students/roster_to_student.rb +67 -0
- data/lib/gaku/importers/students/school_station_zaikousei.rb +109 -0
- data/lib/gaku/importers/students/student_identity.rb +17 -0
- data/lib/gaku/testing/auth_helpers.rb +25 -0
- data/lib/gaku/testing/common_rake.rb +27 -0
- data/lib/gaku/testing/controller_helpers.rb +100 -0
- data/lib/gaku/testing/env.rb +10 -0
- data/lib/gaku/testing/factories.rb +5 -0
- data/lib/gaku/testing/factories/achievement_factory.rb +12 -0
- data/lib/gaku/testing/factories/address_factory.rb +22 -0
- data/lib/gaku/testing/factories/assignment_factory.rb +11 -0
- data/lib/gaku/testing/factories/assignment_score_factory.rb +8 -0
- data/lib/gaku/testing/factories/attachment_factory.rb +15 -0
- data/lib/gaku/testing/factories/attendance_factory.rb +11 -0
- data/lib/gaku/testing/factories/attendance_type_factory.rb +14 -0
- data/lib/gaku/testing/factories/campus_factory.rb +15 -0
- data/lib/gaku/testing/factories/class_group_enrollment_factory.rb +9 -0
- data/lib/gaku/testing/factories/class_group_factory.rb +18 -0
- data/lib/gaku/testing/factories/commute_method_type_factory.rb +11 -0
- data/lib/gaku/testing/factories/contact_factory.rb +19 -0
- data/lib/gaku/testing/factories/contact_type_factory.rb +11 -0
- data/lib/gaku/testing/factories/country_factory.rb +11 -0
- data/lib/gaku/testing/factories/course_enrollment_factory.rb +8 -0
- data/lib/gaku/testing/factories/course_factory.rb +7 -0
- data/lib/gaku/testing/factories/course_group_enrollment_factory.rb +8 -0
- data/lib/gaku/testing/factories/course_group_factory.rb +7 -0
- data/lib/gaku/testing/factories/enrollment_status_factory.rb +28 -0
- data/lib/gaku/testing/factories/exam_factory.rb +20 -0
- data/lib/gaku/testing/factories/exam_portion_factory.rb +11 -0
- data/lib/gaku/testing/factories/exam_portion_score_factory.rb +9 -0
- data/lib/gaku/testing/factories/exam_schedule_factory.rb +9 -0
- data/lib/gaku/testing/factories/exam_score_factory.rb +9 -0
- data/lib/gaku/testing/factories/extracurricular_activity_factory.rb +7 -0
- data/lib/gaku/testing/factories/faculty_factory.rb +6 -0
- data/lib/gaku/testing/factories/grading_method_factory.rb +13 -0
- data/lib/gaku/testing/factories/grading_method_set_factory.rb +11 -0
- data/lib/gaku/testing/factories/grading_method_set_item_factory.rb +12 -0
- data/lib/gaku/testing/factories/guardian_factory.rb +10 -0
- data/lib/gaku/testing/factories/import_file_factory.rb +8 -0
- data/lib/gaku/testing/factories/lesson_factory.rb +7 -0
- data/lib/gaku/testing/factories/lesson_plan_factory.rb +9 -0
- data/lib/gaku/testing/factories/level_factory.rb +8 -0
- data/lib/gaku/testing/factories/note_factory.rb +8 -0
- data/lib/gaku/testing/factories/program_factory.rb +39 -0
- data/lib/gaku/testing/factories/program_level_factory.rb +8 -0
- data/lib/gaku/testing/factories/program_specialty.rb +8 -0
- data/lib/gaku/testing/factories/program_syllabus_factory.rb +9 -0
- data/lib/gaku/testing/factories/role_factory.rb +43 -0
- data/lib/gaku/testing/factories/schedule_factory.rb +9 -0
- data/lib/gaku/testing/factories/scholarship_status_factory.rb +8 -0
- data/lib/gaku/testing/factories/school_factory.rb +28 -0
- data/lib/gaku/testing/factories/school_role_factory.rb +7 -0
- data/lib/gaku/testing/factories/school_year_factory.rb +8 -0
- data/lib/gaku/testing/factories/semester_class_group_factory.rb +8 -0
- data/lib/gaku/testing/factories/semester_course.rb +8 -0
- data/lib/gaku/testing/factories/semester_factory.rb +8 -0
- data/lib/gaku/testing/factories/simple_grade_factory.rb +10 -0
- data/lib/gaku/testing/factories/specialty_factory.rb +13 -0
- data/lib/gaku/testing/factories/state_factory.rb +13 -0
- data/lib/gaku/testing/factories/student_achievement_factory.rb +8 -0
- data/lib/gaku/testing/factories/student_factory.rb +51 -0
- data/lib/gaku/testing/factories/student_specialty_factory.rb +9 -0
- data/lib/gaku/testing/factories/syllabus_factory.rb +16 -0
- data/lib/gaku/testing/factories/teacher_factory.rb +15 -0
- data/lib/gaku/testing/factories/template_factory.rb +11 -0
- data/lib/gaku/testing/factories/traits.rb +68 -0
- data/lib/gaku/testing/factories/user_factory.rb +42 -0
- data/lib/gaku/testing/factories/user_role_factory.rb +8 -0
- data/lib/gaku/testing/flash_helpers.rb +35 -0
- data/lib/gaku/testing/request_helpers.rb +207 -0
- data/lib/gaku_core.rb +1 -0
- data/lib/generators/gaku/dummy/dummy_generator.rb +102 -0
- data/lib/generators/gaku/dummy/templates/rails/application.rb +10 -0
- data/lib/generators/gaku/dummy/templates/rails/boot.rb +6 -0
- data/lib/generators/gaku/dummy/templates/rails/database.yml +15 -0
- data/lib/generators/gaku/dummy/templates/rails/routes.rb +3 -0
- data/lib/generators/gaku/dummy/templates/rails/script/rails +7 -0
- data/lib/generators/gaku/install/install_generator.rb +162 -0
- data/lib/generators/gaku/install/templates/Procfile +2 -0
- data/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/all.js +14 -0
- data/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/all.css +12 -0
- data/lib/generators/gaku/install/templates/config/sidekiq.yml +8 -0
- data/lib/generators/gaku/install/templates/log/sidekiq.log +0 -0
- data/lib/tasks/admin_user.rake +104 -0
- data/lib/tasks/core.rake +65 -0
- data/lib/tasks/reset.rake +37 -0
- data/vendor/assets/javascripts/backbone.js +1431 -0
- data/vendor/assets/javascripts/tablefix.js.coffee +109 -0
- metadata +1713 -0
data/db/schema.rb
ADDED
@@ -0,0 +1,481 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20121013102921) do
|
15
|
+
|
16
|
+
create_table 'gaku_addresses', force: true do |t|
|
17
|
+
t.string 'address1'
|
18
|
+
t.string 'address2'
|
19
|
+
t.string 'city'
|
20
|
+
t.string 'zipcode'
|
21
|
+
t.string 'state_name'
|
22
|
+
t.string 'title'
|
23
|
+
t.string 'state'
|
24
|
+
t.boolean 'past', default: false
|
25
|
+
t.integer 'country_id'
|
26
|
+
t.integer 'state_id'
|
27
|
+
t.integer 'faculty_id'
|
28
|
+
t.datetime 'created_at', null: false
|
29
|
+
t.datetime 'updated_at', null: false
|
30
|
+
end
|
31
|
+
|
32
|
+
create_table 'gaku_assignment_scores', force: true do |t|
|
33
|
+
t.integer 'score'
|
34
|
+
t.integer 'student_id'
|
35
|
+
t.datetime 'created_at', null: false
|
36
|
+
t.datetime 'updated_at', null: false
|
37
|
+
end
|
38
|
+
|
39
|
+
create_table 'gaku_assignments', force: true do |t|
|
40
|
+
t.string 'name'
|
41
|
+
t.text 'description'
|
42
|
+
t.integer 'max_score'
|
43
|
+
t.integer 'syllabus_id'
|
44
|
+
t.integer 'grading_method_id'
|
45
|
+
t.datetime 'created_at', null: false
|
46
|
+
t.datetime 'updated_at', null: false
|
47
|
+
end
|
48
|
+
|
49
|
+
create_table 'gaku_attachments', force: true do |t|
|
50
|
+
t.string 'name'
|
51
|
+
t.text 'description'
|
52
|
+
t.boolean 'deleted', default: false
|
53
|
+
t.integer 'attachable_id'
|
54
|
+
t.string 'attachable_type'
|
55
|
+
t.string 'asset_file_name'
|
56
|
+
t.string 'asset_content_type'
|
57
|
+
t.integer 'asset_file_size'
|
58
|
+
t.datetime 'asset_updated_at'
|
59
|
+
end
|
60
|
+
|
61
|
+
create_table 'gaku_attendances', force: true do |t|
|
62
|
+
t.string 'reason'
|
63
|
+
t.text 'description'
|
64
|
+
t.integer 'attendancable_id'
|
65
|
+
t.string 'attendancable_type'
|
66
|
+
t.integer 'student_id'
|
67
|
+
t.datetime 'created_at', null: false
|
68
|
+
t.datetime 'updated_at', null: false
|
69
|
+
end
|
70
|
+
|
71
|
+
create_table 'gaku_audits', force: true do |t|
|
72
|
+
t.integer 'auditable_id'
|
73
|
+
t.string 'auditable_type'
|
74
|
+
t.integer 'associated_id'
|
75
|
+
t.string 'associated_type'
|
76
|
+
t.integer 'user_id'
|
77
|
+
t.string 'user_type'
|
78
|
+
t.string 'username'
|
79
|
+
t.string 'action'
|
80
|
+
t.text 'audited_changes'
|
81
|
+
t.integer 'version', default: 0
|
82
|
+
t.string 'comment'
|
83
|
+
t.string 'remote_address'
|
84
|
+
t.datetime 'created_at'
|
85
|
+
end
|
86
|
+
|
87
|
+
add_index 'gaku_audits', ['associated_id', 'associated_type'], name: 'associated_index'
|
88
|
+
add_index 'gaku_audits', ['auditable_id', 'auditable_type'], name: 'auditable_index'
|
89
|
+
add_index 'gaku_audits', ['created_at'], name: 'index_audits_on_created_at'
|
90
|
+
add_index 'gaku_audits', ['user_id', 'user_type'], name: 'user_index'
|
91
|
+
|
92
|
+
create_table 'gaku_campuses', force: true do |t|
|
93
|
+
t.string 'name'
|
94
|
+
t.integer 'school_id'
|
95
|
+
t.integer 'address_id'
|
96
|
+
t.boolean 'master', default: false
|
97
|
+
t.datetime 'created_at', null: false
|
98
|
+
t.datetime 'updated_at', null: false
|
99
|
+
end
|
100
|
+
|
101
|
+
create_table 'gaku_class_group_course_enrollments', force: true do |t|
|
102
|
+
t.integer 'class_group_id'
|
103
|
+
t.integer 'course_id'
|
104
|
+
t.datetime 'created_at', null: false
|
105
|
+
t.datetime 'updated_at', null: false
|
106
|
+
end
|
107
|
+
|
108
|
+
add_index 'gaku_class_group_course_enrollments', ['class_group_id'], name: 'index_class_group_course_enrollments_on_class_group_id'
|
109
|
+
add_index 'gaku_class_group_course_enrollments', ['course_id'], name: 'index_class_group_course_enrollments_on_course_id'
|
110
|
+
|
111
|
+
create_table 'gaku_class_group_enrollments', force: true do |t|
|
112
|
+
t.integer 'class_group_id'
|
113
|
+
t.integer 'student_id'
|
114
|
+
t.integer 'seat_number'
|
115
|
+
t.datetime 'created_at', null: false
|
116
|
+
t.datetime 'updated_at', null: false
|
117
|
+
end
|
118
|
+
|
119
|
+
add_index 'gaku_class_group_enrollments', ['class_group_id'], name: 'index_class_group_enrollments_on_class_group_id'
|
120
|
+
add_index 'gaku_class_group_enrollments', ['student_id'], name: 'index_class_group_enrollments_on_student_id'
|
121
|
+
|
122
|
+
create_table 'gaku_class_groups', force: true do |t|
|
123
|
+
t.string 'name'
|
124
|
+
t.integer 'grade'
|
125
|
+
t.string 'homeroom'
|
126
|
+
t.integer 'faculty_id'
|
127
|
+
t.datetime 'created_at', null: false
|
128
|
+
t.datetime 'updated_at', null: false
|
129
|
+
end
|
130
|
+
|
131
|
+
create_table 'gaku_commute_method_types', force: true do |t|
|
132
|
+
t.string 'name'
|
133
|
+
end
|
134
|
+
|
135
|
+
create_table 'gaku_commute_methods', force: true do |t|
|
136
|
+
t.text 'details'
|
137
|
+
t.integer 'commute_method_type_id'
|
138
|
+
end
|
139
|
+
|
140
|
+
create_table 'gaku_contact_types', force: true do |t|
|
141
|
+
t.string 'name'
|
142
|
+
end
|
143
|
+
|
144
|
+
create_table 'gaku_contacts', force: true do |t|
|
145
|
+
t.string 'data'
|
146
|
+
t.text 'details'
|
147
|
+
t.boolean 'primary', default: false
|
148
|
+
t.boolean 'emergency', default: false
|
149
|
+
t.integer 'contact_type_id'
|
150
|
+
t.integer 'student_id'
|
151
|
+
t.integer 'guardian_id'
|
152
|
+
t.integer 'faculty_id'
|
153
|
+
t.integer 'campus_id'
|
154
|
+
t.datetime 'created_at', null: false
|
155
|
+
t.datetime 'updated_at', null: false
|
156
|
+
end
|
157
|
+
|
158
|
+
create_table 'gaku_countries', force: true do |t|
|
159
|
+
t.string 'iso_name'
|
160
|
+
t.string 'iso'
|
161
|
+
t.string 'iso3'
|
162
|
+
t.string 'name'
|
163
|
+
t.integer 'numcode'
|
164
|
+
end
|
165
|
+
|
166
|
+
create_table 'gaku_course_enrollments', force: true do |t|
|
167
|
+
t.integer 'student_id'
|
168
|
+
t.integer 'course_id'
|
169
|
+
t.datetime 'created_at', null: false
|
170
|
+
t.datetime 'updated_at', null: false
|
171
|
+
end
|
172
|
+
|
173
|
+
add_index 'gaku_course_enrollments', ['course_id'], name: 'index_course_enrollments_on_course_id'
|
174
|
+
add_index 'gaku_course_enrollments', ['student_id'], name: 'index_course_enrollments_on_student_id'
|
175
|
+
|
176
|
+
create_table 'gaku_course_group_enrollments', force: true do |t|
|
177
|
+
t.integer 'course_id'
|
178
|
+
t.integer 'course_group_id'
|
179
|
+
end
|
180
|
+
|
181
|
+
create_table 'gaku_course_groups', force: true do |t|
|
182
|
+
t.string 'name'
|
183
|
+
t.boolean 'deleted', default: false
|
184
|
+
t.datetime 'created_at', null: false
|
185
|
+
t.datetime 'updated_at', null: false
|
186
|
+
end
|
187
|
+
|
188
|
+
create_table 'gaku_courses', force: true do |t|
|
189
|
+
t.string 'code'
|
190
|
+
t.integer 'faculty_id'
|
191
|
+
t.integer 'syllabus_id'
|
192
|
+
t.integer 'class_group_id'
|
193
|
+
t.datetime 'created_at', null: false
|
194
|
+
t.datetime 'updated_at', null: false
|
195
|
+
end
|
196
|
+
|
197
|
+
create_table 'gaku_enrollment_status_types', force: true do |t|
|
198
|
+
t.string 'name'
|
199
|
+
t.boolean 'active'
|
200
|
+
t.datetime 'created_at', null: false
|
201
|
+
t.datetime 'updated_at', null: false
|
202
|
+
end
|
203
|
+
|
204
|
+
create_table 'gaku_enrollment_statuses', force: true do |t|
|
205
|
+
t.integer 'enrollment_status_type_id'
|
206
|
+
t.integer 'student_id'
|
207
|
+
t.datetime 'created_at', null: false
|
208
|
+
t.datetime 'updated_at', null: false
|
209
|
+
end
|
210
|
+
|
211
|
+
create_table 'gaku_exam_portion_scores', force: true do |t|
|
212
|
+
t.float 'score'
|
213
|
+
t.integer 'exam_portion_id'
|
214
|
+
t.integer 'student_id'
|
215
|
+
t.datetime 'created_at', null: false
|
216
|
+
t.datetime 'updated_at', null: false
|
217
|
+
end
|
218
|
+
|
219
|
+
create_table 'gaku_exam_portions', force: true do |t|
|
220
|
+
t.string 'name'
|
221
|
+
t.float 'max_score'
|
222
|
+
t.float 'weight', default: 100.0
|
223
|
+
t.integer 'problem_count'
|
224
|
+
t.text 'description'
|
225
|
+
t.text 'adjustments'
|
226
|
+
t.boolean 'master', default: false
|
227
|
+
t.integer 'exam_id'
|
228
|
+
t.integer 'grading_method_id'
|
229
|
+
t.datetime 'created_at', null: false
|
230
|
+
t.datetime 'updated_at', null: false
|
231
|
+
end
|
232
|
+
|
233
|
+
create_table 'gaku_exam_schedules', force: true do |t|
|
234
|
+
t.integer 'exam_portion_id'
|
235
|
+
t.integer 'schedule_id'
|
236
|
+
t.integer 'course_id'
|
237
|
+
end
|
238
|
+
|
239
|
+
create_table 'gaku_exam_scores', force: true do |t|
|
240
|
+
t.float 'score'
|
241
|
+
t.text 'comment'
|
242
|
+
t.integer 'exam_id'
|
243
|
+
t.datetime 'created_at', null: false
|
244
|
+
t.datetime 'updated_at', null: false
|
245
|
+
end
|
246
|
+
|
247
|
+
create_table 'gaku_exam_syllabuses', force: true do |t|
|
248
|
+
t.integer 'exam_id'
|
249
|
+
t.integer 'syllabus_id'
|
250
|
+
t.datetime 'created_at', null: false
|
251
|
+
t.datetime 'updated_at', null: false
|
252
|
+
end
|
253
|
+
|
254
|
+
create_table 'gaku_exams', force: true do |t|
|
255
|
+
t.string 'name'
|
256
|
+
t.text 'description'
|
257
|
+
t.text 'adjustments'
|
258
|
+
t.float 'weight'
|
259
|
+
t.boolean 'use_weighting', default: false
|
260
|
+
t.boolean 'standalone', default: false
|
261
|
+
t.integer 'grading_method_id'
|
262
|
+
t.datetime 'created_at', null: false
|
263
|
+
t.datetime 'updated_at', null: false
|
264
|
+
end
|
265
|
+
|
266
|
+
create_table 'gaku_faculties', force: true do |t|
|
267
|
+
t.integer 'user_id'
|
268
|
+
end
|
269
|
+
|
270
|
+
create_table 'gaku_grading_methods', force: true do |t|
|
271
|
+
t.string 'name'
|
272
|
+
t.text 'description'
|
273
|
+
t.text 'method'
|
274
|
+
t.datetime 'created_at', null: false
|
275
|
+
t.datetime 'updated_at', null: false
|
276
|
+
end
|
277
|
+
|
278
|
+
create_table 'gaku_guardian_addresses', force: true do |t|
|
279
|
+
t.integer 'guardian_id'
|
280
|
+
t.integer 'address_id'
|
281
|
+
t.boolean 'primary', default: false
|
282
|
+
t.datetime 'created_at', null: false
|
283
|
+
t.datetime 'updated_at', null: false
|
284
|
+
end
|
285
|
+
|
286
|
+
create_table 'gaku_guardians', force: true do |t|
|
287
|
+
t.string 'name'
|
288
|
+
t.string 'surname'
|
289
|
+
t.string 'name_reading'
|
290
|
+
t.string 'surname_reading'
|
291
|
+
t.string 'relationship'
|
292
|
+
t.integer 'user_id'
|
293
|
+
t.datetime 'created_at', null: false
|
294
|
+
t.datetime 'updated_at', null: false
|
295
|
+
end
|
296
|
+
|
297
|
+
create_table 'gaku_guardians_students', force: true do |t|
|
298
|
+
t.integer 'guardian_id'
|
299
|
+
t.integer 'student_id'
|
300
|
+
end
|
301
|
+
|
302
|
+
create_table 'gaku_import_files', force: true do |t|
|
303
|
+
t.string 'context'
|
304
|
+
t.string 'importer_type'
|
305
|
+
t.string 'data_file_file_name'
|
306
|
+
t.string 'data_file_content_type'
|
307
|
+
t.integer 'data_file_file_size'
|
308
|
+
t.datetime 'data_file_updated_at'
|
309
|
+
end
|
310
|
+
|
311
|
+
create_table 'gaku_installs', force: true do |t|
|
312
|
+
t.string 'email', default: '', null: false
|
313
|
+
t.string 'encrypted_password', default: '', null: false
|
314
|
+
t.string 'reset_password_token'
|
315
|
+
t.datetime 'reset_password_sent_at'
|
316
|
+
t.datetime 'remember_created_at'
|
317
|
+
t.integer 'sign_in_count', default: 0
|
318
|
+
t.datetime 'current_sign_in_at'
|
319
|
+
t.datetime 'last_sign_in_at'
|
320
|
+
t.string 'current_sign_in_ip'
|
321
|
+
t.string 'last_sign_in_ip'
|
322
|
+
t.datetime 'created_at', null: false
|
323
|
+
t.datetime 'updated_at', null: false
|
324
|
+
end
|
325
|
+
|
326
|
+
add_index 'gaku_installs', ['email'], name: 'index_installs_on_email', unique: true
|
327
|
+
add_index 'gaku_installs', ['reset_password_token'], name: 'index_installs_on_reset_password_token', unique: true
|
328
|
+
|
329
|
+
create_table 'gaku_lesson_plans', force: true do |t|
|
330
|
+
t.string 'title'
|
331
|
+
t.text 'description'
|
332
|
+
t.integer 'syllabus_id'
|
333
|
+
t.datetime 'created_at', null: false
|
334
|
+
t.datetime 'updated_at', null: false
|
335
|
+
end
|
336
|
+
|
337
|
+
create_table 'gaku_lessons', force: true do |t|
|
338
|
+
t.integer 'lesson_plan_id'
|
339
|
+
t.datetime 'created_at', null: false
|
340
|
+
t.datetime 'updated_at', null: false
|
341
|
+
end
|
342
|
+
|
343
|
+
create_table 'gaku_notes', force: true do |t|
|
344
|
+
t.string 'title'
|
345
|
+
t.text 'content'
|
346
|
+
t.integer 'notable_id'
|
347
|
+
t.string 'notable_type'
|
348
|
+
t.datetime 'created_at', null: false
|
349
|
+
t.datetime 'updated_at', null: false
|
350
|
+
end
|
351
|
+
|
352
|
+
add_index 'gaku_notes', ['notable_id', 'notable_type'], name: 'index_notes_on_notable_id_and_notable_type'
|
353
|
+
|
354
|
+
create_table 'gaku_presets', force: true do |t|
|
355
|
+
t.string 'name'
|
356
|
+
t.string 'content'
|
357
|
+
t.datetime 'created_at', null: false
|
358
|
+
t.datetime 'updated_at', null: false
|
359
|
+
end
|
360
|
+
|
361
|
+
create_table 'gaku_roles', force: true do |t|
|
362
|
+
t.string 'name'
|
363
|
+
t.integer 'class_group_enrollment_id'
|
364
|
+
t.integer 'faculty_id'
|
365
|
+
end
|
366
|
+
|
367
|
+
create_table 'gaku_schedules', force: true do |t|
|
368
|
+
t.datetime 'starting'
|
369
|
+
t.datetime 'ending'
|
370
|
+
t.string 'repeat'
|
371
|
+
t.datetime 'created_at', null: false
|
372
|
+
t.datetime 'updated_at', null: false
|
373
|
+
end
|
374
|
+
|
375
|
+
create_table 'gaku_schools', force: true do |t|
|
376
|
+
t.string 'name'
|
377
|
+
t.boolean 'primary', default: false
|
378
|
+
t.text 'slogan'
|
379
|
+
t.text 'description'
|
380
|
+
t.date 'founded'
|
381
|
+
t.string 'principal'
|
382
|
+
t.string 'vice_principal'
|
383
|
+
t.text 'grades'
|
384
|
+
t.datetime 'created_at', null: false
|
385
|
+
t.datetime 'updated_at', null: false
|
386
|
+
end
|
387
|
+
|
388
|
+
create_table 'gaku_semesters', force: true do |t|
|
389
|
+
t.date 'starting'
|
390
|
+
t.date 'ending'
|
391
|
+
t.integer 'class_group_id'
|
392
|
+
t.datetime 'created_at', null: false
|
393
|
+
t.datetime 'updated_at', null: false
|
394
|
+
end
|
395
|
+
|
396
|
+
create_table 'gaku_specialties', force: true do |t|
|
397
|
+
t.string 'name'
|
398
|
+
t.text 'description'
|
399
|
+
t.boolean 'mayor_only', default: false
|
400
|
+
end
|
401
|
+
|
402
|
+
create_table 'gaku_states', force: true do |t|
|
403
|
+
t.string 'name'
|
404
|
+
t.string 'abbr'
|
405
|
+
t.string 'name_ascii'
|
406
|
+
t.integer 'code'
|
407
|
+
t.integer 'country_numcode'
|
408
|
+
end
|
409
|
+
|
410
|
+
create_table 'gaku_student_addresses', force: true do |t|
|
411
|
+
t.integer 'student_id'
|
412
|
+
t.integer 'address_id'
|
413
|
+
t.boolean 'primary', default: false
|
414
|
+
t.datetime 'created_at', null: false
|
415
|
+
t.datetime 'updated_at', null: false
|
416
|
+
end
|
417
|
+
|
418
|
+
create_table 'gaku_student_specialties', force: true do |t|
|
419
|
+
t.integer 'student_id'
|
420
|
+
t.integer 'specialty_id'
|
421
|
+
t.boolean 'mayor', default: true
|
422
|
+
end
|
423
|
+
|
424
|
+
create_table 'gaku_students', force: true do |t|
|
425
|
+
t.string 'name'
|
426
|
+
t.string 'middle_name'
|
427
|
+
t.string 'surname'
|
428
|
+
t.string 'name_reading', default: ''
|
429
|
+
t.string 'surname_reading', default: ''
|
430
|
+
t.boolean 'gender'
|
431
|
+
t.string 'phone'
|
432
|
+
t.string 'email'
|
433
|
+
t.date 'birth_date'
|
434
|
+
t.date 'admitted'
|
435
|
+
t.date 'graduated'
|
436
|
+
t.string 'student_id_number'
|
437
|
+
t.string 'student_foreign_id_number'
|
438
|
+
t.string 'national_registration_number'
|
439
|
+
t.integer 'user_id'
|
440
|
+
t.integer 'faculty_id'
|
441
|
+
t.integer 'commute_method_id'
|
442
|
+
t.datetime 'created_at', null: false
|
443
|
+
t.datetime 'updated_at', null: false
|
444
|
+
t.string 'picture_file_name'
|
445
|
+
t.string 'picture_content_type'
|
446
|
+
t.integer 'picture_file_size'
|
447
|
+
t.datetime 'picture_updated_at'
|
448
|
+
end
|
449
|
+
|
450
|
+
create_table 'gaku_syllabuses', force: true do |t|
|
451
|
+
t.string 'name'
|
452
|
+
t.string 'code'
|
453
|
+
t.text 'description'
|
454
|
+
t.integer 'credits'
|
455
|
+
t.integer 'hours'
|
456
|
+
t.datetime 'created_at', null: false
|
457
|
+
t.datetime 'updated_at', null: false
|
458
|
+
end
|
459
|
+
|
460
|
+
create_table 'gaku_users', force: true do |t|
|
461
|
+
t.boolean 'admin', default: false
|
462
|
+
t.text 'settings'
|
463
|
+
t.string 'locale'
|
464
|
+
t.integer 'sign_in_count', default: 0
|
465
|
+
t.datetime 'current_sign_in_at'
|
466
|
+
t.datetime 'last_sign_in_at'
|
467
|
+
t.string 'current_sign_in_ip'
|
468
|
+
t.string 'last_sign_in_ip'
|
469
|
+
t.string 'reset_password_token'
|
470
|
+
t.datetime 'reset_password_sent_at'
|
471
|
+
t.datetime 'remember_created_at'
|
472
|
+
t.string 'email'
|
473
|
+
t.string 'encrypted_password'
|
474
|
+
t.datetime 'created_at', null: false
|
475
|
+
t.datetime 'updated_at', null: false
|
476
|
+
end
|
477
|
+
|
478
|
+
add_index 'gaku_users', ['email'], name: 'index_users_on_email', unique: true
|
479
|
+
add_index 'gaku_users', ['reset_password_token'], name: 'index_users_on_reset_password_token', unique: true
|
480
|
+
|
481
|
+
end
|