gaku 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/.travis.yml +17 -7
- data/Gemfile +1 -1
- data/README.md +44 -3
- data/Rakefile +8 -12
- data/VERSION +1 -1
- data/admin/.rspec +2 -0
- data/admin/.ruby-gemset +1 -0
- data/admin/.ruby-version +1 -0
- data/admin/Gemfile +7 -0
- data/admin/Guardfile +40 -0
- data/admin/Rakefile +31 -0
- data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.eot +0 -0
- data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.svg +228 -0
- data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.ttf +0 -0
- data/admin/app/assets/fonts/gaku/admin/glyphicons-halflings-regular.woff +0 -0
- data/admin/app/assets/javascripts/gaku/admin.js.coffee +43 -0
- data/admin/app/assets/javascripts/gaku/admin/admin.coffee +51 -0
- data/admin/app/assets/javascripts/gaku/admin/base.js.coffee +118 -0
- data/admin/app/assets/javascripts/gaku/admin/slide.js.erb +14 -0
- data/admin/app/assets/stylesheets/gaku/admin.css +13 -0
- data/admin/app/assets/stylesheets/gaku/admin/bootstrap_and_theme.css.scss +571 -0
- data/{core → admin}/app/assets/stylesheets/gaku/admin/disposals.css.scss +0 -0
- data/admin/app/assets/stylesheets/gaku/admin/gaku.css.scss +216 -0
- data/{core → admin}/app/assets/templates/roster.xls +0 -0
- data/admin/app/controllers/gaku/admin/achievements/simple_grade_types_controller.rb +70 -0
- data/{core → admin}/app/controllers/gaku/admin/attendance_types_controller.rb +0 -0
- data/admin/app/controllers/gaku/admin/badge_types_controller.rb +69 -0
- data/admin/app/controllers/gaku/admin/base_controller.rb +43 -0
- data/{core → admin}/app/controllers/gaku/admin/commute_method_types_controller.rb +0 -0
- data/{core → admin}/app/controllers/gaku/admin/contact_types_controller.rb +0 -0
- data/admin/app/controllers/gaku/admin/departments_controller.rb +55 -0
- data/{core → admin}/app/controllers/gaku/admin/enrollment_statuses_controller.rb +0 -0
- data/{core → admin}/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +0 -0
- data/{core → admin}/app/controllers/gaku/admin/grading_method_sets_controller.rb +0 -0
- data/admin/app/controllers/gaku/admin/grading_methods_controller.rb +60 -0
- data/admin/app/controllers/gaku/admin/presets_controller.rb +75 -0
- data/{core → admin}/app/controllers/gaku/admin/roles_controller.rb +0 -0
- data/admin/app/controllers/gaku/admin/school_years/semesters_controller.rb +58 -0
- data/admin/app/controllers/gaku/admin/school_years_controller.rb +63 -0
- data/admin/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +64 -0
- data/admin/app/controllers/gaku/admin/schools/campuses/contacts_controller.rb +77 -0
- data/admin/app/controllers/gaku/admin/schools/campuses_controller.rb +72 -0
- data/admin/app/controllers/gaku/admin/schools/programs_controller.rb +79 -0
- data/admin/app/controllers/gaku/admin/schools_controller.rb +84 -0
- data/admin/app/controllers/gaku/admin/specialties_controller.rb +63 -0
- data/admin/app/controllers/gaku/admin/states_controller.rb +92 -0
- data/{core → admin}/app/controllers/gaku/admin/system_tools_controller.rb +0 -0
- data/admin/app/controllers/gaku/admin/templates_controller.rb +72 -0
- data/admin/app/controllers/gaku/admin/users_controller.rb +82 -0
- data/admin/app/controllers/gaku/states_controller.rb +17 -0
- data/admin/app/helpers/gaku/admin_helper.rb +12 -0
- data/admin/app/helpers/gaku/presets_helper.rb +10 -0
- data/admin/app/helpers/gaku/shared_helper.rb +25 -0
- data/admin/app/overrides/admin_menu.rb +6 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/_fields.html.slim +8 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/_form_fields.html.slim +7 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/_simple_grade_type.html.slim +2 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/index.html.slim +23 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/achievements/simple_grade_types/update.js.erb +4 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/attendance_types/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/_form_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/attendance_types/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/attendance_types/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/attendance_types/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/attendance_types/index.html.slim +24 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/index.json.rb +0 -0
- data/admin/app/views/gaku/admin/attendance_types/new.js.erb +4 -0
- data/{core → admin}/app/views/gaku/admin/attendance_types/update.js.erb +0 -0
- data/admin/app/views/gaku/admin/badge_types/_badge_type.html.slim +2 -0
- data/admin/app/views/gaku/admin/badge_types/_fields.html.slim +7 -0
- data/admin/app/views/gaku/admin/badge_types/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/badge_types/_form_fields.html.slim +7 -0
- data/admin/app/views/gaku/admin/badge_types/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/badge_types/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/badge_types/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/badge_types/index.html.slim +22 -0
- data/admin/app/views/gaku/admin/badge_types/new.js.erb +3 -0
- data/{core → admin}/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/commute_method_types/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/commute_method_types/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/commute_method_types/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/commute_method_types/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/commute_method_types/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/commute_method_types/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/commute_method_types/index.html.slim +18 -0
- data/{core → admin}/app/views/gaku/admin/commute_method_types/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/commute_method_types/update.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/contact_types/_contact_type.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/contact_types/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/contact_types/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/contact_types/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/contact_types/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/contact_types/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/contact_types/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/contact_types/index.html.slim +18 -0
- data/{core → admin}/app/views/gaku/admin/contact_types/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/contact_types/update.js.erb +0 -0
- data/admin/app/views/gaku/admin/departments/_department.html.slim +2 -0
- data/admin/app/views/gaku/admin/departments/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/departments/_form_fields.html.slim +1 -0
- data/admin/app/views/gaku/admin/departments/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/departments/_table_fields.html.slim +5 -0
- data/admin/app/views/gaku/admin/departments/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/departments/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/departments/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/departments/index.html.slim +20 -0
- data/admin/app/views/gaku/admin/departments/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/departments/update.js.erb +4 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/enrollment_statuses/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/enrollment_statuses/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/enrollment_statuses/index.html.slim +21 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/enrollment_statuses/update.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +4 -0
- data/admin/app/views/gaku/admin/grading_method_sets/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/grading_method_sets/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/grading_method_sets/destroy.js.erb +7 -0
- data/admin/app/views/gaku/admin/grading_method_sets/edit.js.erb +3 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +23 -0
- data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/index.html.slim +23 -0
- data/{core → admin}/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +0 -0
- data/admin/app/views/gaku/admin/grading_method_sets/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/grading_method_sets/show.html.slim +13 -0
- data/admin/app/views/gaku/admin/grading_method_sets/update.js.erb +3 -0
- data/{core → admin}/app/views/gaku/admin/grading_methods/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_methods/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/grading_methods/_form_fields.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/grading_methods/_grading_method.html.slim +0 -0
- data/admin/app/views/gaku/admin/grading_methods/_modal.html.slim +4 -0
- data/admin/app/views/gaku/admin/grading_methods/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/grading_methods/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/grading_methods/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/grading_methods/index.html.slim +20 -0
- data/{core → admin}/app/views/gaku/admin/grading_methods/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/grading_methods/update.js.erb +0 -0
- data/admin/app/views/gaku/admin/presets/_address.html.slim +19 -0
- data/admin/app/views/gaku/admin/presets/_chooser_fields.html.slim +91 -0
- data/admin/app/views/gaku/admin/presets/_export_formats.html.slim +19 -0
- data/admin/app/views/gaku/admin/presets/_fields.html.slim +5 -0
- data/admin/app/views/gaku/admin/presets/_grading.html.slim +14 -0
- data/admin/app/views/gaku/admin/presets/_locale.html.slim +3 -0
- data/admin/app/views/gaku/admin/presets/_names_order.html.slim +15 -0
- data/admin/app/views/gaku/admin/presets/_pagination.html.slim +25 -0
- data/admin/app/views/gaku/admin/presets/_person.html.slim +8 -0
- data/admin/app/views/gaku/admin/presets/_preset.html.slim +2 -0
- data/admin/app/views/gaku/admin/presets/_student.html.slim +19 -0
- data/admin/app/views/gaku/admin/presets/_tabs.html.slim +51 -0
- data/{core/app/views/gaku/admin/disposals/index.html.slim → admin/app/views/gaku/admin/presets/edit.html.slim} +0 -0
- data/admin/app/views/gaku/admin/presets/index.html.slim +16 -0
- data/{core → admin}/app/views/gaku/admin/roles/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/roles/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/roles/_form_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/roles/_modal.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/roles/_role.html.slim +0 -0
- data/admin/app/views/gaku/admin/roles/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/roles/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/roles/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/roles/index.html.slim +20 -0
- data/{core → admin}/app/views/gaku/admin/roles/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/roles/update.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/school_years/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/school_years/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/school_years/_form_fields.html.slim +5 -0
- data/admin/app/views/gaku/admin/school_years/_modal.html.slim +5 -0
- data/{core → admin}/app/views/gaku/admin/school_years/_school_year.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/school_years/_show_table.html.slim +0 -0
- data/admin/app/views/gaku/admin/school_years/create.js.erb +10 -0
- data/admin/app/views/gaku/admin/school_years/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/school_years/edit.js.erb +5 -0
- data/admin/app/views/gaku/admin/school_years/index.html.slim +21 -0
- data/admin/app/views/gaku/admin/school_years/new.js.erb +5 -0
- data/{core → admin}/app/views/gaku/admin/school_years/semesters/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/school_years/semesters/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +5 -0
- data/admin/app/views/gaku/admin/school_years/semesters/_modal.html.slim +5 -0
- data/{core → admin}/app/views/gaku/admin/school_years/semesters/_semester.html.slim +0 -0
- data/admin/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +22 -0
- data/admin/app/views/gaku/admin/school_years/semesters/create.js.erb +10 -0
- data/admin/app/views/gaku/admin/school_years/semesters/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/school_years/semesters/edit.js.erb +6 -0
- data/admin/app/views/gaku/admin/school_years/semesters/new.js.erb +4 -0
- data/admin/app/views/gaku/admin/school_years/semesters/update.js.erb +8 -0
- data/admin/app/views/gaku/admin/school_years/show.html.slim +15 -0
- data/admin/app/views/gaku/admin/school_years/update.js.erb +8 -0
- data/{core → admin}/app/views/gaku/admin/schools/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/schools/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/schools/_form_fields.html.slim +25 -0
- data/admin/app/views/gaku/admin/schools/_school.html.slim +6 -0
- data/admin/app/views/gaku/admin/schools/_show_table.html.slim +35 -0
- data/admin/app/views/gaku/admin/schools/_tabs.html.slim +15 -0
- data/admin/app/views/gaku/admin/schools/campuses/_campus.html.slim +6 -0
- data/admin/app/views/gaku/admin/schools/campuses/_campuses.html.slim +23 -0
- data/admin/app/views/gaku/admin/schools/campuses/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/_form_fields.html.slim +1 -0
- data/admin/app/views/gaku/admin/schools/campuses/_picture.html.slim +8 -0
- data/admin/app/views/gaku/admin/schools/campuses/_show_table.html.slim +10 -0
- data/admin/app/views/gaku/admin/schools/campuses/_tabs.html.slim +15 -0
- data/admin/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +7 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +7 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +4 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +24 -0
- data/{core/app/views/gaku/shared/fields/_address_fields.html.slim → admin/app/views/gaku/admin/schools/campuses/addresses/_fields.html.slim} +0 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_form_fields.html.slim +26 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +5 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +6 -0
- data/{core → admin}/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb +0 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +4 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +4 -0
- data/admin/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +4 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_contact.html.slim +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_contacts.html.slim +22 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_delete_link.html.slim +1 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_fields.html.slim +12 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_form_fields.html.slim +14 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_modal.html.slim +5 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/_primary_field.html.slim +13 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/create.js.erb +20 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/destroy.js.erb +8 -0
- data/{core/app/views/gaku → admin/app/views/gaku/admin/schools/campuses}/contacts/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/make_primary.js.erb +6 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/soft_delete.js.erb +8 -0
- data/admin/app/views/gaku/admin/schools/campuses/contacts/update.js.erb +14 -0
- data/admin/app/views/gaku/admin/schools/campuses/create.js.erb +9 -0
- data/admin/app/views/gaku/admin/schools/campuses/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/schools/campuses/edit.html.slim +19 -0
- data/admin/app/views/gaku/admin/schools/campuses/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/campuses/show.html.slim +13 -0
- data/admin/app/views/gaku/admin/schools/create.js.erb +7 -0
- data/{core/app/views/gaku/attachments/recover_attachment.js.erb → admin/app/views/gaku/admin/schools/destroy.js.erb} +0 -0
- data/admin/app/views/gaku/admin/schools/edit.html.slim +19 -0
- data/admin/app/views/gaku/admin/schools/edit_master.html.slim +22 -0
- data/admin/app/views/gaku/admin/schools/index.html.slim +25 -0
- data/admin/app/views/gaku/admin/schools/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/_fields.html.slim +10 -0
- data/admin/app/views/gaku/admin/schools/programs/_form.html.slim +14 -0
- data/admin/app/views/gaku/admin/schools/programs/_form_fields.html.slim +6 -0
- data/admin/app/views/gaku/admin/schools/programs/_modal.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/schools/programs/_program.html.slim +0 -0
- data/admin/app/views/gaku/admin/schools/programs/_programs.html.slim +23 -0
- data/admin/app/views/gaku/admin/schools/programs/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/schools/programs/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/schools/programs/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +6 -0
- data/admin/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +11 -0
- data/admin/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +7 -0
- data/admin/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +10 -0
- data/admin/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +5 -0
- data/admin/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +10 -0
- data/admin/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/programs/update.js.erb +3 -0
- data/admin/app/views/gaku/admin/schools/show.html.slim +13 -0
- data/admin/app/views/gaku/admin/schools/show_master.html.slim +14 -0
- data/admin/app/views/gaku/admin/shared/_picture.html.slim +6 -0
- data/admin/app/views/gaku/admin/shared/_upload_picture.html.slim +7 -0
- data/admin/app/views/gaku/admin/specialties/_fields.html.slim +7 -0
- data/admin/app/views/gaku/admin/specialties/_form.html.slim +3 -0
- data/admin/app/views/gaku/admin/specialties/_form_fields.html.slim +4 -0
- data/admin/app/views/gaku/admin/specialties/_modal.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/specialties/_specialty.html.slim +0 -0
- data/admin/app/views/gaku/admin/specialties/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/specialties/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/specialties/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/specialties/index.html.slim +21 -0
- data/{core → admin}/app/views/gaku/admin/specialties/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/specialties/update.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/states/_country_select_form.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/states/_country_table.html.slim +0 -0
- data/{core → admin}/app/views/gaku/admin/states/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/states/_form.html.slim +4 -0
- data/admin/app/views/gaku/admin/states/_form_fields.html.slim +14 -0
- data/admin/app/views/gaku/admin/states/_modal.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/states/_state.html.slim +0 -0
- data/admin/app/views/gaku/admin/states/country_states.js.erb +2 -0
- data/admin/app/views/gaku/admin/states/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/states/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/states/edit.js.erb +3 -0
- data/admin/app/views/gaku/admin/states/index.html.slim +15 -0
- data/admin/app/views/gaku/admin/states/new.js.erb +3 -0
- data/admin/app/views/gaku/admin/states/update.js.erb +3 -0
- data/{core → admin}/app/views/gaku/admin/system_tools/index.html.slim +0 -0
- data/admin/app/views/gaku/admin/templates/_error_msg.html.slim +8 -0
- data/admin/app/views/gaku/admin/templates/_fields.html.slim +8 -0
- data/admin/app/views/gaku/admin/templates/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/templates/_form_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/templates/_modal.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/templates/_template.html.slim +0 -0
- data/admin/app/views/gaku/admin/templates/destroy.js.erb +2 -0
- data/admin/app/views/gaku/admin/templates/edit.html.slim +1 -0
- data/admin/app/views/gaku/admin/templates/index.html.slim +20 -0
- data/admin/app/views/gaku/admin/templates/new.html.slim +1 -0
- data/{core → admin}/app/views/gaku/admin/users/_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/users/_form.html.slim +3 -0
- data/{core → admin}/app/views/gaku/admin/users/_form_fields.html.slim +0 -0
- data/admin/app/views/gaku/admin/users/_modal.html.slim +4 -0
- data/{core → admin}/app/views/gaku/admin/users/_user.html.slim +0 -0
- data/admin/app/views/gaku/admin/users/create.js.erb +7 -0
- data/admin/app/views/gaku/admin/users/destroy.js.erb +2 -0
- data/{core → admin}/app/views/gaku/admin/users/edit.js.erb +0 -0
- data/admin/app/views/gaku/admin/users/index.html.slim +21 -0
- data/{core → admin}/app/views/gaku/admin/users/new.js.erb +0 -0
- data/{core → admin}/app/views/gaku/admin/users/update.js.erb +0 -0
- data/admin/app/views/gaku/layouts/admin/edit.html.slim +10 -0
- data/admin/app/views/gaku/layouts/admin/gaku.html.slim +27 -0
- data/admin/app/views/gaku/layouts/admin/index.html.slim +12 -0
- data/admin/app/views/gaku/layouts/admin/show.html.slim +10 -0
- data/admin/app/views/gaku/shared/_delete_link.html.slim +1 -0
- data/admin/app/views/gaku/shared/_delete_modal.html.slim +11 -0
- data/admin/app/views/gaku/shared/_errors.html.slim +6 -0
- data/admin/app/views/gaku/shared/_flash.html.slim +4 -0
- data/{core → admin}/app/views/gaku/shared/_language_bar.html.slim +0 -0
- data/admin/app/views/gaku/shared/_login_widget.html.slim +15 -0
- data/{core → admin}/app/views/gaku/shared/_manage_buttons.html.slim +0 -0
- data/admin/app/views/gaku/shared/_modal_config.html.slim +37 -0
- data/admin/app/views/gaku/shared/_multi_errors.html.slim +6 -0
- data/admin/app/views/gaku/shared/_picture.html.slim +8 -0
- data/admin/app/views/gaku/shared/_upload_picture.html.slim +7 -0
- data/{core → admin}/app/views/gaku/shared/error.js.erb +0 -0
- data/admin/app/views/gaku/shared/menu/_admin.html.erb +71 -0
- data/{core → admin}/app/views/gaku/shared/multi_error.js.erb +0 -0
- data/{core → admin}/app/views/gaku/shared/notice.js.erb +0 -0
- data/{core → admin}/app/views/gaku/states/_no_states_select.html.slim +0 -0
- data/{core → admin}/app/views/gaku/states/_states_select.html.slim +0 -0
- data/{core → admin}/app/views/gaku/states/index.js.erb +0 -0
- data/{core → admin}/config/initializers/client_side_validations.rb +0 -0
- data/{core → admin}/config/initializers/wrap_parameters.rb +0 -0
- data/admin/config/routes.rb +67 -0
- data/admin/gaku_admin.gemspec +49 -0
- data/admin/lib/gaku/admin.rb +31 -0
- data/admin/lib/gaku/admin/engine.rb +30 -0
- data/{core → admin}/lib/gaku/app_responder.rb +0 -0
- data/admin/lib/gaku_admin.rb +1 -0
- data/admin/lib/tasks/admin_user.rake +104 -0
- data/admin/lib/tasks/core.rake +65 -0
- data/admin/lib/tasks/reset.rake +37 -0
- data/admin/spec/controllers/gaku/admin/achievements/simple_grade_types_controller_spec.rb +168 -0
- data/admin/spec/controllers/gaku/admin/badge_types_controller_spec.rb +139 -0
- data/admin/spec/controllers/gaku/admin/departments_controller_spec.rb +154 -0
- data/admin/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb +165 -0
- data/admin/spec/controllers/gaku/admin/grading/grading_method_sets_controller_spec.rb +183 -0
- data/admin/spec/controllers/gaku/admin/grading/grading_methods_controller_spec.rb +154 -0
- data/admin/spec/controllers/gaku/admin/presets_controller_spec.rb +68 -0
- data/admin/spec/controllers/gaku/admin/roles_controller_spec.rb +154 -0
- data/admin/spec/controllers/gaku/admin/school_years/school_years_controller_spec.rb +158 -0
- data/admin/spec/controllers/gaku/admin/school_years/semesters_controller_spec.rb +134 -0
- data/admin/spec/controllers/gaku/admin/schools/campuses/addresses_controller_spec.rb +121 -0
- data/admin/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb +142 -0
- data/admin/spec/controllers/gaku/admin/schools/schools_controller_spec.rb +204 -0
- data/admin/spec/controllers/gaku/admin/specialties_controller_spec.rb +164 -0
- data/admin/spec/controllers/gaku/admin/templates_controller_spec.rb +156 -0
- data/admin/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb +176 -0
- data/admin/spec/controllers/gaku/admin/types_and_methods/commute_method_types_controller_spec.rb +154 -0
- data/admin/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb +154 -0
- data/admin/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb +153 -0
- data/admin/spec/controllers/gaku/admin/users_controller_spec.rb +154 -0
- data/admin/spec/features/achievements/simple_grade_types_spec.rb +85 -0
- data/admin/spec/features/badge_types/badge_types_spec.rb +72 -0
- data/admin/spec/features/departments_spec.rb +76 -0
- data/admin/spec/features/grading/grading_method_set_items_spec.rb +86 -0
- data/admin/spec/features/grading/grading_method_sets_spec.rb +119 -0
- data/admin/spec/features/grading/grading_methods_spec.rb +101 -0
- data/admin/spec/features/presets/address_preset_spec.rb +36 -0
- data/admin/spec/features/presets/chooser_fields_preset_spec.rb +40 -0
- data/admin/spec/features/presets/export_formats_spec.rb +30 -0
- data/admin/spec/features/presets/grading_preset_spec.rb +31 -0
- data/admin/spec/features/presets/locale_preset_spec.rb +28 -0
- data/admin/spec/features/presets/names_order_preset_spec.rb +29 -0
- data/admin/spec/features/presets/pagination_preset_spec.rb +36 -0
- data/admin/spec/features/presets/person_preset_spec.rb +27 -0
- data/admin/spec/features/roles_spec.rb +83 -0
- data/admin/spec/features/school_years/school_years_spec.rb +117 -0
- data/admin/spec/features/school_years/semesters_spec.rb +142 -0
- data/admin/spec/features/schools/campuses/addresses_spec.rb +111 -0
- data/admin/spec/features/schools/campuses/campuses_spec.rb +65 -0
- data/admin/spec/features/schools/campuses/contacts_spec.rb +57 -0
- data/admin/spec/features/schools/campuses/picture_spec.rb +30 -0
- data/admin/spec/features/schools/picture_spec.rb +22 -0
- data/admin/spec/features/schools/programs_spec.rb +119 -0
- data/admin/spec/features/schools/school_details_spec.rb +26 -0
- data/admin/spec/features/schools/school_levels_spec.rb +80 -0
- data/admin/spec/features/schools/schools_spec.rb +78 -0
- data/admin/spec/features/specialties_spec.rb +83 -0
- data/{core/spec/requests/admin → admin/spec/features}/system_tools/backup_spec.rb +0 -0
- data/admin/spec/features/templates_spec.rb +113 -0
- data/admin/spec/features/types_and_methods/attendance_types_spec.rb +78 -0
- data/admin/spec/features/types_and_methods/commute_method_types_spec.rb +73 -0
- data/admin/spec/features/types_and_methods/contact_types_spec.rb +73 -0
- data/admin/spec/features/types_and_methods/enrollment_statuses_spec.rb +74 -0
- data/admin/spec/features/types_and_methods/states_spec.rb +109 -0
- data/admin/spec/features/users_spec.rb +88 -0
- data/admin/spec/routing/admin/school_years/school_years_routing_spec.rb +69 -0
- data/admin/spec/routing/admin/school_years/semesters_routing_spec.rb +58 -0
- data/admin/spec/routing/admin/schools/admin_school_routes_spec.rb +79 -0
- data/admin/spec/routing/admin/schools/campuses/admin_schools_campus_routes_spec.rb +65 -0
- data/admin/spec/routing/admin/schools/campuses/admin_schools_campuses_address_routes_spec.rb +61 -0
- data/admin/spec/routing/admin/schools/campuses/contacts_routing_spec.rb +61 -0
- data/admin/spec/routing/admin/simple_grade_types_routing_spec.rb +52 -0
- data/admin/spec/routing/admin/templates_routing_spec.rb +61 -0
- data/admin/spec/spec_helper.rb +5 -0
- data/admin/spec/spec_helper_controllers.rb +5 -0
- data/admin/spec/spec_helper_routing.rb +4 -0
- data/admin/spec/support/120x120.jpg +0 -0
- data/{core/spec/support → admin/spec/support/controllers/matchers}/have_attributes_matcher.rb +0 -0
- data/{core/spec/support → admin/spec/support/controllers}/shared_examples/allow.rb +0 -0
- data/{core/spec/support → admin/spec/support/controllers}/shared_examples/deny.rb +0 -0
- data/admin/spec/support/features/shared_examples/addresses_spec.rb +171 -0
- data/admin/spec/support/features/shared_examples/avatarable_spec.rb +21 -0
- data/admin/spec/support/features/shared_examples/contacts_spec.rb +123 -0
- data/admin/spec/support/sample_roster.ods +0 -0
- data/all_dependencies.rb +23 -0
- data/archive/.rspec +2 -0
- data/archive/.ruby-gemset +1 -0
- data/archive/.ruby-version +1 -0
- data/archive/Gemfile +8 -0
- data/archive/Rakefile +31 -0
- data/archive/app/assets/javascripts/gaku/archive.js.coffee +4 -0
- data/archive/app/assets/stylesheets/gaku/archive.css +5 -0
- data/archive/app/controllers/concerns/trashable_controller.rb +32 -0
- data/{core → archive}/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +0 -0
- data/{core → archive}/app/controllers/gaku/admin/changes/student_changes_controller.rb +0 -0
- data/{core → archive}/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +0 -0
- data/{core → archive}/app/controllers/gaku/admin/disposals_controller.rb +0 -0
- data/archive/app/controllers/gaku/admin/students_controller.rb +22 -0
- data/archive/app/controllers/gaku/class_groups_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/contacts_controller_injector.rb +21 -0
- data/archive/app/controllers/gaku/course_groups_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/courses_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/exams_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/extracurricular_activities_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/students_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/syllabuses_controller_injector.rb +5 -0
- data/archive/app/controllers/gaku/teachers_controller_injector.rb +5 -0
- data/{core → archive}/app/models/concerns/trashable.rb +0 -0
- data/archive/app/models/gaku/address_injector.rb +31 -0
- data/archive/app/models/gaku/attachment_injector.rb +5 -0
- data/archive/app/models/gaku/class_group_injector.rb +5 -0
- data/archive/app/models/gaku/contact_injector.rb +34 -0
- data/archive/app/models/gaku/course_group_injector.rb +5 -0
- data/archive/app/models/gaku/course_injector.rb +5 -0
- data/archive/app/models/gaku/exam_injector.rb +5 -0
- data/archive/app/models/gaku/extracurricular_activity_injector.rb +5 -0
- data/archive/app/models/gaku/guardian_injector.rb +5 -0
- data/archive/app/models/gaku/student_injector.rb +16 -0
- data/archive/app/models/gaku/syllabus_injector.rb +5 -0
- data/archive/app/models/gaku/teacher_injector.rb +5 -0
- data/{core → archive}/app/models/gaku/versioning/address_version.rb +0 -0
- data/{core → archive}/app/models/gaku/versioning/contact_version.rb +0 -0
- data/archive/app/models/gaku/versioning/student_version.rb +47 -0
- data/archive/app/overrides/archive_menu.rb +6 -0
- data/archive/app/views/gaku/addresses/_delete_link.html.slim +1 -0
- data/archive/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +0 -0
- data/archive/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +9 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_address_changes/index.html.slim +0 -0
- data/archive/app/views/gaku/admin/changes/student_changes/_change.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_changes/_changes.html.slim +0 -0
- data/archive/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +9 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_changes/index.html.slim +0 -0
- data/archive/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +0 -0
- data/archive/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +9 -0
- data/{core → archive}/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/_address.html.slim +12 -0
- data/{core → archive}/app/views/gaku/admin/disposals/_addresses.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/_contact.html.slim +9 -0
- data/{core → archive}/app/views/gaku/admin/disposals/_contacts.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/_course_group.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/_course_groups.html.slim +12 -0
- data/archive/app/views/gaku/admin/disposals/_exam.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/disposals/_guardian.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/_student.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/disposals/_tabs.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/_teacher.html.slim +10 -0
- data/{core → archive}/app/views/gaku/admin/disposals/addresses.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/attachments.html.slim +30 -0
- data/{core → archive}/app/views/gaku/admin/disposals/contacts.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/course_groups.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/exams.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/guardians.html.slim +0 -0
- data/archive/app/views/gaku/admin/disposals/index.html.slim +1 -0
- data/{core → archive}/app/views/gaku/admin/disposals/students.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +0 -0
- data/{core → archive}/app/views/gaku/admin/disposals/teachers.html.slim +0 -0
- data/{core/app/views/gaku/exams → archive/app/views/gaku/class_groups}/recovery.js.erb +0 -0
- data/archive/app/views/gaku/contacts/_delete_link.html.slim +1 -0
- data/{core/app/views/gaku/addresses → archive/app/views/gaku/course_groups}/recovery.js.erb +0 -0
- data/{core/app/views/gaku/students/guardians → archive/app/views/gaku/courses}/recovery.js.erb +0 -0
- data/{core/app/views/gaku/students → archive/app/views/gaku/exams}/recovery.js.erb +0 -0
- data/{core/app/views/gaku/teachers → archive/app/views/gaku/extracurricular_activities}/recovery.js.erb +0 -0
- data/archive/app/views/gaku/shared/_delete_link.html.slim +1 -0
- data/archive/app/views/gaku/shared/_delete_modal.html.slim +11 -0
- data/archive/app/views/gaku/shared/menu/_archive.html.erb +1 -0
- data/archive/app/views/gaku/students/recovery.js.erb +1 -0
- data/{core/app/views/gaku/contacts → archive/app/views/gaku/syllabuses}/recovery.js.erb +0 -0
- data/archive/app/views/gaku/teachers/recovery.js.erb +1 -0
- data/{core → archive}/config/initializers/paper_trail.rb +0 -0
- data/archive/config/routes.rb +67 -0
- data/archive/db/migrate/20131203160531_create_versioning_tables.rb +47 -0
- data/archive/db/migrate/20131203160607_add_deleted_fields.rb +53 -0
- data/archive/gaku_archive.gemspec +28 -0
- data/archive/lib/gaku/archive.rb +13 -0
- data/archive/lib/gaku/archive/engine.rb +22 -0
- data/archive/lib/gaku_archive.rb +1 -0
- data/archive/spec/controllers/gaku/addresses_controller_spec.rb +144 -0
- data/archive/spec/controllers/gaku/admin/disposals_controller_spec.rb +177 -0
- data/archive/spec/controllers/gaku/class_groups_controller_spec.rb +86 -0
- data/archive/spec/controllers/gaku/contacts_controller_spec.rb +133 -0
- data/archive/spec/controllers/gaku/course_groups_controller_spec.rb +86 -0
- data/archive/spec/controllers/gaku/courses_controller_spec.rb +86 -0
- data/archive/spec/controllers/gaku/exams_controller_spec.rb +86 -0
- data/archive/spec/controllers/gaku/extracurricular_activities_controller_spec.rb +85 -0
- data/archive/spec/controllers/gaku/students_controller_spec.rb +72 -0
- data/archive/spec/controllers/gaku/syllabuses_controller_spec.rb +86 -0
- data/archive/spec/controllers/gaku/teachers_controller_spec.rb +86 -0
- data/{core/spec/requests → archive/spec/features}/admin/changes_and_deletions/student_addresses_spec.rb +0 -0
- data/{core/spec/requests → archive/spec/features}/admin/changes_and_deletions/student_contacts_spec.rb +0 -0
- data/archive/spec/features/admin/changes_and_deletions/students_spec.rb +45 -0
- data/archive/spec/features/admin/disposals/student_disposals_spec.rb +51 -0
- data/archive/spec/features/admin/disposals/teacher_disposals_spec.rb +51 -0
- data/archive/spec/features/students/addresses_spec.rb +29 -0
- data/archive/spec/features/students/contacts_spec.rb +36 -0
- data/archive/spec/features/students/guardians/addresses_spec.rb +32 -0
- data/archive/spec/features/students/guardians/contacts_spec.rb +31 -0
- data/archive/spec/features/students/guardians/guardians_spec.rb +33 -0
- data/archive/spec/features/students/students_spec.rb +36 -0
- data/{core → archive}/spec/integration/student_address_versioning_spec.rb +0 -0
- data/{core → archive}/spec/integration/student_contact_vesioning_spec.rb +0 -0
- data/archive/spec/integration/student_versioning_spec.rb +91 -0
- data/archive/spec/models/address_spec.rb +64 -0
- data/archive/spec/models/attachment_spec.rb +9 -0
- data/archive/spec/models/class_group_spec.rb +9 -0
- data/archive/spec/models/contact_spec.rb +9 -0
- data/archive/spec/models/course_group_spec.rb +9 -0
- data/archive/spec/models/course_spec.rb +9 -0
- data/archive/spec/models/exam_spec.rb +11 -0
- data/archive/spec/models/extracurricular_activity_spec.rb +9 -0
- data/archive/spec/models/guardian_spec.rb +9 -0
- data/archive/spec/models/student_spec.rb +13 -0
- data/archive/spec/models/syllabus_spec.rb +9 -0
- data/archive/spec/models/teacher_spec.rb +9 -0
- data/archive/spec/routing/student_routes_spec.rb +26 -0
- data/archive/spec/routing/students/guardians_routes_spec.rb +37 -0
- data/archive/spec/spec_helper.rb +5 -0
- data/archive/spec/spec_helper_base.rb +20 -0
- data/archive/spec/spec_helper_controllers.rb +4 -0
- data/archive/spec/spec_helper_models.rb +38 -0
- data/archive/spec/spec_helper_routing.rb +4 -0
- data/archive/spec/support/controllers.rb +3 -0
- data/archive/spec/support/controllers/matchers/have_attributes_matcher.rb +8 -0
- data/archive/spec/support/controllers/shared_examples/allow.rb +10 -0
- data/archive/spec/support/controllers/shared_examples/deny.rb +27 -0
- data/archive/spec/support/features.rb +5 -0
- data/archive/spec/support/features/shared_examples/addresses_spec.rb +22 -0
- data/archive/spec/support/features/shared_examples/contacts_spec.rb +26 -0
- data/{core/spec/support → archive/spec/support/models}/shared_examples/thrashable.rb +0 -0
- data/core/Gemfile +2 -1
- data/core/Guardfile +6 -0
- data/core/app/assets/images/{pictures/thumb/missing.png → missing_original.png} +0 -0
- data/core/app/assets/images/missing_thumb.png +0 -0
- data/core/app/controllers/gaku/core_controller.rb +64 -0
- data/core/app/decorators/gaku/course_decorator.rb +15 -0
- data/core/app/decorators/gaku/person_decorator.rb +1 -1
- data/core/app/decorators/gaku/student_decorator.rb +24 -7
- data/core/app/models/concerns/pagination.rb +8 -0
- data/core/app/models/concerns/person.rb +11 -0
- data/core/app/models/concerns/picture.rb +1 -1
- data/core/app/models/gaku/address.rb +4 -22
- data/core/app/models/gaku/attachment.rb +0 -2
- data/core/app/models/gaku/badge.rb +10 -0
- data/core/app/models/gaku/badge_type.rb +15 -0
- data/core/app/models/gaku/class_group.rb +1 -1
- data/core/app/models/gaku/class_group_enrollment.rb +2 -2
- data/core/app/models/gaku/contact.rb +8 -23
- data/core/app/models/gaku/contact_type.rb +1 -1
- data/core/app/models/gaku/country.rb +1 -0
- data/core/app/models/gaku/course_enrollment.rb +6 -0
- data/core/app/models/gaku/course_group.rb +0 -2
- data/core/app/models/gaku/department.rb +17 -0
- data/core/app/models/gaku/enrollment_status.rb +1 -1
- data/core/app/models/gaku/exam.rb +3 -1
- data/core/app/models/gaku/exam_portion.rb +1 -1
- data/core/app/models/gaku/external_school_record.rb +22 -7
- data/core/app/models/gaku/extracurricular_activity.rb +1 -1
- data/core/app/models/gaku/grading_method.rb +2 -1
- data/core/app/models/gaku/guardian.rb +1 -1
- data/core/app/models/gaku/level.rb +1 -0
- data/core/app/models/gaku/preset.rb +35 -62
- data/core/app/models/gaku/program.rb +1 -0
- data/core/app/models/gaku/school.rb +6 -1
- data/core/app/models/gaku/semester.rb +3 -0
- data/core/app/models/gaku/simple_grade.rb +7 -3
- data/core/app/models/gaku/simple_grade_type.rb +14 -0
- data/core/app/models/gaku/specialty.rb +3 -1
- data/core/app/models/gaku/student.rb +56 -15
- data/core/app/models/gaku/student_specialty.rb +0 -1
- data/core/app/models/gaku/syllabus.rb +2 -0
- data/core/app/models/gaku/teacher.rb +1 -1
- data/core/app/models/gaku/template.rb +5 -7
- data/core/app/models/gaku/user.rb +10 -2
- data/core/app/views/gaku/admin/grading_methods/_arguments_form_fields.html.slim +19 -0
- data/core/app/views/gaku/admin/grading_methods/_arguments_template.html.slim +11 -0
- data/core/app/views/gaku/shared/menu/_global.html.erb +2 -26
- data/core/config/initializers/devise.rb +3 -0
- data/core/config/initializers/{kaminari_config.rb → kaminari.rb} +0 -0
- data/core/config/initializers/translation_missing.rb +1 -1
- data/core/config/routes.rb +1 -289
- data/core/db/default/gaku/attendance_types.rb +2 -2
- data/core/db/default/gaku/commute_method_types.rb +1 -1
- data/core/db/default/gaku/departments.rb +14 -0
- data/core/db/default/gaku/presets.rb +33 -0
- data/core/db/default/gaku/scholarship_statuses.rb +2 -2
- data/core/db/migrate/20120202111850_presets.rb +30 -0
- data/core/db/migrate/20131014065028_translations.rb +77 -0
- data/core/db/migrate/20131025073352_gaku_core.rb +628 -0
- data/core/db/migrate/20140130182100_change_fields_external_school_record.rb +7 -0
- data/core/db/migrate/20140131113337_create_student_configs.rb +21 -0
- data/core/db/migrate/20140207093618_drop_student_configs.rb +5 -0
- data/core/gaku_core.gemspec +14 -49
- data/core/lib/gaku/core.rb +3 -21
- data/core/lib/gaku/core/engine.rb +8 -24
- data/core/lib/gaku/migrations.rb +30 -0
- data/core/lib/gaku/streamer/sse.rb +22 -0
- data/core/lib/gaku/testing/auth_helpers.rb +2 -2
- data/core/lib/gaku/testing/coverage.rb +20 -0
- data/core/{spec/support → lib/gaku/testing}/deferred_garbage_collection.rb +0 -0
- data/core/lib/gaku/testing/factories/attachment_factory.rb +3 -2
- data/core/lib/gaku/testing/factories/badge_factory.rb +12 -0
- data/core/lib/gaku/testing/factories/badge_type_factory.rb +12 -0
- data/core/lib/gaku/testing/factories/campus_factory.rb +5 -1
- data/core/lib/gaku/testing/factories/class_group_course_enrollment_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/class_group_factory.rb +2 -7
- data/core/lib/gaku/testing/factories/contact_type_factory.rb +1 -1
- data/core/lib/gaku/testing/factories/country_factory.rb +2 -2
- data/core/lib/gaku/testing/factories/course_enrollment_factory.rb +4 -0
- data/core/lib/gaku/testing/factories/course_factory.rb +4 -0
- data/core/lib/gaku/testing/factories/course_group_factory.rb +4 -0
- data/core/lib/gaku/testing/factories/department_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/exam_factory.rb +10 -2
- data/core/lib/gaku/testing/factories/exam_portion_factory.rb +5 -1
- data/core/lib/gaku/testing/factories/external_school_record_factory.rb +14 -0
- data/core/lib/gaku/testing/factories/extracurricular_activity_factory.rb +4 -0
- data/core/lib/gaku/testing/factories/guardian_factory.rb +4 -1
- data/core/lib/gaku/testing/factories/level_factory.rb +1 -1
- data/core/lib/gaku/testing/factories/preset_factory.rb +17 -0
- data/core/lib/gaku/testing/factories/program_factory.rb +1 -1
- data/core/lib/gaku/testing/factories/school_factory.rb +5 -1
- data/core/lib/gaku/testing/factories/school_year_factory.rb +5 -0
- data/core/lib/gaku/testing/factories/semester_factory.rb +5 -0
- data/core/lib/gaku/testing/factories/simple_grade_factory.rb +7 -3
- data/core/lib/gaku/testing/factories/simple_grade_type_factory.rb +13 -0
- data/core/lib/gaku/testing/factories/student_specialty_factory.rb +4 -0
- data/core/lib/gaku/testing/factories/template_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/traits.rb +8 -0
- data/core/lib/generators/gaku/dummy/templates/rails/database.yml +2 -0
- data/core/lib/generators/gaku/install/install_generator.rb +31 -30
- data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/admin/all.js +10 -0
- data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/archive/all.js +10 -0
- data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/frontend/all.js +10 -0
- data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/admin/all.css +9 -0
- data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/archive/all.css +9 -0
- data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/frontend/all.css +9 -0
- data/core/spec/models/address_spec.rb +1 -37
- data/core/spec/models/assignment_score_spec.rb +1 -1
- data/core/spec/models/assignment_spec.rb +1 -1
- data/core/spec/models/attachment_spec.rb +1 -5
- data/core/spec/models/attendance_spec.rb +1 -1
- data/core/spec/models/attendance_type_spec.rb +1 -1
- data/core/spec/models/badge_spec.rb +15 -0
- data/core/spec/models/badge_type_spec.rb +20 -0
- data/core/spec/models/campus_spec.rb +7 -7
- data/core/spec/models/class_group_course_enrollment_spec.rb +1 -1
- data/core/spec/models/class_group_enrollment_spec.rb +4 -4
- data/core/spec/models/class_group_spec.rb +1 -1
- data/core/spec/models/commute_method_type_spec.rb +1 -1
- data/core/spec/models/contact_spec.rb +1 -6
- data/core/spec/models/contact_type_spec.rb +2 -1
- data/core/spec/models/country_spec.rb +2 -1
- data/core/spec/models/course_enrollment_spec.rb +1 -1
- data/core/spec/models/course_group_enrollment_spec.rb +1 -1
- data/core/spec/models/course_group_spec.rb +1 -5
- data/core/spec/models/course_spec.rb +1 -5
- data/core/spec/models/department_spec.rb +22 -0
- data/core/spec/models/enrollment_status_spec.rb +2 -1
- data/core/spec/models/exam_portion_score_spec.rb +1 -1
- data/core/spec/models/exam_portion_spec.rb +1 -1
- data/core/spec/models/exam_schedule_spec.rb +1 -1
- data/core/spec/models/exam_score_spec.rb +1 -1
- data/core/spec/models/exam_spec.rb +21 -2
- data/core/spec/models/exam_syllabus_spec.rb +1 -1
- data/core/spec/models/external_school_record_spec.rb +18 -3
- data/core/spec/models/extracurricular_activity_enrollment_spec.rb +1 -1
- data/core/spec/models/extracurricular_activity_spec.rb +2 -1
- data/core/spec/models/factories_spec.rb +1 -1
- data/core/spec/models/faculty_spec.rb +1 -1
- data/core/spec/models/grading_method_set_item_spec.rb +1 -1
- data/core/spec/models/grading_method_set_spec.rb +1 -1
- data/core/spec/models/grading_method_spec.rb +4 -1
- data/core/spec/models/guardian_spec.rb +1 -2
- data/core/spec/models/lesson_plan_spec.rb +1 -1
- data/core/spec/models/lesson_spec.rb +1 -1
- data/core/spec/models/level_spec.rb +2 -1
- data/core/spec/models/note_spec.rb +1 -1
- data/core/spec/models/preset_spec.rb +1 -1
- data/core/spec/models/program_level_spec.rb +1 -1
- data/core/spec/models/program_spec.rb +2 -1
- data/core/spec/models/program_specialty_spec.rb +1 -1
- data/core/spec/models/program_syllabus_spec.rb +1 -2
- data/core/spec/models/role_spec.rb +1 -1
- data/core/spec/models/scholarship_status_spec.rb +1 -1
- data/core/spec/models/school_role_spec.rb +1 -1
- data/core/spec/models/school_spec.rb +3 -2
- data/core/spec/models/school_year_spec.rb +1 -1
- data/core/spec/models/semester_class_group_spec.rb +1 -1
- data/core/spec/models/semester_course_spec.rb +1 -1
- data/core/spec/models/semester_spec.rb +1 -1
- data/core/spec/models/simple_grade_spec.rb +4 -3
- data/core/spec/models/simple_grade_type_spec.rb +19 -0
- data/core/spec/models/specialty_spec.rb +4 -1
- data/core/spec/models/state_spec.rb +1 -1
- data/core/spec/models/student_guardian_spec.rb +1 -1
- data/core/spec/models/student_spec.rb +105 -7
- data/core/spec/models/student_speciality_spec.rb +4 -3
- data/core/spec/models/syllabus_spec.rb +3 -1
- data/core/spec/models/teacher_spec.rb +1 -2
- data/core/spec/models/template_spec.rb +1 -1
- data/core/spec/models/user_role_spec.rb +1 -1
- data/core/spec/models/user_spec.rb +1 -1
- data/core/spec/spec_helper_base.rb +20 -0
- data/core/spec/spec_helper_models.rb +38 -0
- data/core/spec/support/{accept_nested_attributes_for_matcher.rb → models/matchers/accept_nested_attributes_for_matcher.rb} +0 -0
- data/core/spec/support/{shared_examples → models/shared_examples}/addressable.rb +0 -0
- data/core/spec/support/{shared_examples → models/shared_examples}/avatarable.rb +0 -0
- data/core/spec/support/{shared_examples → models/shared_examples}/contactable.rb +0 -0
- data/core/spec/support/{shared_examples → models/shared_examples}/notable.rb +0 -0
- data/core/spec/support/{shared_examples → models/shared_examples}/person.rb +0 -0
- data/core_dependencies.rb +12 -0
- data/{core → frontend}/.gitignore +0 -0
- data/frontend/.rspec +2 -0
- data/frontend/.ruby-gemset +1 -0
- data/frontend/.ruby-version +1 -0
- data/frontend/Gemfile +7 -0
- data/frontend/Guardfile +40 -0
- data/frontend/Rakefile +31 -0
- data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.eot +0 -0
- data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.svg +228 -0
- data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.ttf +0 -0
- data/frontend/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.woff +0 -0
- data/frontend/app/assets/javascripts/gaku/frontend.js.coffee +42 -0
- data/frontend/app/assets/javascripts/gaku/frontend/base.js.coffee +147 -0
- data/frontend/app/assets/javascripts/gaku/frontend/class_groups.js.coffee +19 -0
- data/frontend/app/assets/javascripts/gaku/frontend/courses.js.coffee +23 -0
- data/{core/app/assets/javascripts/gaku → frontend/app/assets/javascripts/gaku/frontend}/exams.js.coffee +0 -0
- data/frontend/app/assets/javascripts/gaku/frontend/extracurricular_activities.js.coffee +12 -0
- data/frontend/app/assets/javascripts/gaku/frontend/slide.js.erb +14 -0
- data/frontend/app/assets/javascripts/gaku/frontend/students.js.coffee +38 -0
- data/frontend/app/assets/javascripts/gaku/frontend/syllabuses.js.coffee +23 -0
- data/{core/app/assets/javascripts/gaku → frontend/app/assets/javascripts/gaku/frontend}/teachers.js.coffee +0 -0
- data/frontend/app/assets/stylesheets/gaku/bootstrap_and_theme.css.scss +573 -0
- data/frontend/app/assets/stylesheets/gaku/frontend.css +14 -0
- data/{core/app/assets/stylesheets/gaku → frontend/app/assets/stylesheets/gaku/frontend}/class_groups.css.scss +0 -0
- data/{core/app/assets/stylesheets/gaku → frontend/app/assets/stylesheets/gaku/frontend}/course_groups.css.scss +0 -0
- data/{core/app/assets/stylesheets/gaku → frontend/app/assets/stylesheets/gaku/frontend}/courses.css.scss +0 -0
- data/{core/app/assets/stylesheets/gaku → frontend/app/assets/stylesheets/gaku/frontend}/exams.css.scss +0 -0
- data/frontend/app/assets/stylesheets/gaku/frontend/gaku.css.scss +216 -0
- data/{core/app/assets/stylesheets/gaku → frontend/app/assets/stylesheets/gaku/frontend}/students.css.scss +0 -0
- data/frontend/app/assets/templates/roster.xls +0 -0
- data/{core → frontend}/app/controllers/concerns/enrollments_controller.rb +0 -0
- data/frontend/app/controllers/concerns/polymorphic_resource_concern.rb +48 -0
- data/frontend/app/controllers/concerns/student_chooser_controller.rb +41 -0
- data/frontend/app/controllers/gaku/addresses_controller.rb +94 -0
- data/frontend/app/controllers/gaku/attachments_controller.rb +90 -0
- data/frontend/app/controllers/gaku/attendances_controller.rb +28 -0
- data/{core → frontend}/app/controllers/gaku/class_group_enrollments_controller.rb +0 -0
- data/frontend/app/controllers/gaku/class_groups/courses_controller.rb +50 -0
- data/frontend/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +63 -0
- data/frontend/app/controllers/gaku/class_groups/students_controller.rb +37 -0
- data/frontend/app/controllers/gaku/class_groups_controller.rb +120 -0
- data/frontend/app/controllers/gaku/contacts_controller.rb +79 -0
- data/{core → frontend}/app/controllers/gaku/course_enrollments_controller.rb +0 -0
- data/frontend/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +54 -0
- data/frontend/app/controllers/gaku/course_groups_controller.rb +91 -0
- data/{core → frontend}/app/controllers/gaku/courses/enrollments_controller.rb +0 -0
- data/frontend/app/controllers/gaku/courses/exams_controller.rb +28 -0
- data/frontend/app/controllers/gaku/courses/semester_courses_controller.rb +64 -0
- data/frontend/app/controllers/gaku/courses_controller.rb +95 -0
- data/frontend/app/controllers/gaku/devise/passwords_controller.rb +4 -0
- data/frontend/app/controllers/gaku/devise/registrations_controller.rb +60 -0
- data/frontend/app/controllers/gaku/devise/sessions_controller.rb +13 -0
- data/frontend/app/controllers/gaku/exam_portion_scores_controller.rb +26 -0
- data/frontend/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +46 -0
- data/frontend/app/controllers/gaku/exams/exam_portions_controller.rb +76 -0
- data/frontend/app/controllers/gaku/exams_controller.rb +153 -0
- data/frontend/app/controllers/gaku/extracurricular_activities/students_controller.rb +21 -0
- data/frontend/app/controllers/gaku/extracurricular_activities_controller.rb +68 -0
- data/frontend/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +16 -0
- data/frontend/app/controllers/gaku/gaku_controller.rb +23 -0
- data/frontend/app/controllers/gaku/home_controller.rb +11 -0
- data/frontend/app/controllers/gaku/notes_controller.rb +81 -0
- data/frontend/app/controllers/gaku/realtime_controller.rb +29 -0
- data/frontend/app/controllers/gaku/search_controller.rb +16 -0
- data/{core → frontend}/app/controllers/gaku/states_controller.rb +0 -0
- data/frontend/app/controllers/gaku/students/badges_controller.rb +65 -0
- data/frontend/app/controllers/gaku/students/class_group_enrollments_controller.rb +45 -0
- data/frontend/app/controllers/gaku/students/course_enrollments_controller.rb +51 -0
- data/frontend/app/controllers/gaku/students/external_school_records_controller.rb +70 -0
- data/frontend/app/controllers/gaku/students/guardians_controller.rb +70 -0
- data/frontend/app/controllers/gaku/students/simple_grades_controller.rb +69 -0
- data/frontend/app/controllers/gaku/students/student_specialties_controller.rb +68 -0
- data/frontend/app/controllers/gaku/students_controller.rb +198 -0
- data/{core → frontend}/app/controllers/gaku/syllabuses/assignments_controller.rb +0 -0
- data/frontend/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +38 -0
- data/frontend/app/controllers/gaku/syllabuses/exams_controller.rb +68 -0
- data/frontend/app/controllers/gaku/syllabuses_controller.rb +77 -0
- data/frontend/app/controllers/gaku/teachers_controller.rb +76 -0
- data/frontend/app/helpers/gaku/autocomplete_helper.rb +31 -0
- data/frontend/app/helpers/gaku/exam_helper.rb +13 -0
- data/frontend/app/helpers/gaku/frontend_helper.rb +42 -0
- data/frontend/app/helpers/gaku/person_helper.rb +79 -0
- data/frontend/app/helpers/gaku/shared_helper.rb +29 -0
- data/frontend/app/helpers/gaku/student_chooser_helper.rb +11 -0
- data/frontend/app/helpers/gaku/students_helper.rb +31 -0
- data/frontend/app/overrides/frontend_menu.rb +6 -0
- data/frontend/app/views/gaku/addresses/_address.html.slim +5 -0
- data/frontend/app/views/gaku/addresses/_addresses.html.slim +25 -0
- data/frontend/app/views/gaku/addresses/_delete_link.html.slim +1 -0
- data/frontend/app/views/gaku/addresses/_fields.html.slim +14 -0
- data/frontend/app/views/gaku/addresses/_form.html.slim +3 -0
- data/frontend/app/views/gaku/addresses/_form_fields.html.slim +26 -0
- data/frontend/app/views/gaku/addresses/_modal.html.slim +4 -0
- data/frontend/app/views/gaku/addresses/_primary_field.html.slim +12 -0
- data/frontend/app/views/gaku/addresses/create.js.erb +12 -0
- data/frontend/app/views/gaku/addresses/destroy.js.erb +8 -0
- data/{core → frontend}/app/views/gaku/addresses/edit.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/addresses/make_primary.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/addresses/new.js.erb +0 -0
- data/{core/app/views/gaku/attachments/destroy.js.erb → frontend/app/views/gaku/addresses/recovery.js.erb} +0 -0
- data/frontend/app/views/gaku/addresses/soft_delete.js.erb +8 -0
- data/{core → frontend}/app/views/gaku/addresses/update.js.erb +0 -0
- data/frontend/app/views/gaku/attachments/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/attachments/edit.js.erb +3 -0
- data/{core → frontend}/app/views/gaku/attachments/new.js.erb +0 -0
- data/frontend/app/views/gaku/attachments/recovery.js.erb +1 -0
- data/frontend/app/views/gaku/attachments/soft_delete.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/_class_group.html.slim +4 -0
- data/frontend/app/views/gaku/class_groups/_class_groups.html.slim +11 -0
- data/frontend/app/views/gaku/class_groups/_class_groups_with_semester.html.slim +12 -0
- data/{core/app/views/gaku/shared/fields/_class_group_fields.html.slim → frontend/app/views/gaku/class_groups/_fields.html.slim} +0 -0
- data/frontend/app/views/gaku/class_groups/_form.html.slim +3 -0
- data/frontend/app/views/gaku/class_groups/_form_fields.html.slim +7 -0
- data/frontend/app/views/gaku/class_groups/_student_chooser_form.html.slim +4 -0
- data/frontend/app/views/gaku/class_groups/_tabs.html.slim +41 -0
- data/frontend/app/views/gaku/class_groups/advanced_search.js.erb +30 -0
- data/{core → frontend}/app/views/gaku/class_groups/courses/_course.html.slim +0 -0
- data/frontend/app/views/gaku/class_groups/courses/_courses.html.slim +14 -0
- data/frontend/app/views/gaku/class_groups/courses/_form.html.slim +5 -0
- data/frontend/app/views/gaku/class_groups/courses/create.js.erb +7 -0
- data/frontend/app/views/gaku/class_groups/courses/destroy.js.erb +2 -0
- data/{core → frontend}/app/views/gaku/class_groups/courses/new.js.erb +0 -0
- data/frontend/app/views/gaku/class_groups/create.js.erb +6 -0
- data/frontend/app/views/gaku/class_groups/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/class_groups/edit.html.slim +16 -0
- data/frontend/app/views/gaku/class_groups/index.html.slim +25 -0
- data/frontend/app/views/gaku/class_groups/new.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/search/_form.html.slim +18 -0
- data/frontend/app/views/gaku/class_groups/search/_semester_form.html.slim +23 -0
- data/frontend/app/views/gaku/class_groups/semester_advanced_search.js.erb +30 -0
- data/{core → frontend}/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +0 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +4 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +3 -0
- data/{core → frontend}/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +0 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +4 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +13 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/create.js.erb +8 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +2 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/new.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/semester_class_groups/update.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/student_chooser.js.erb +9 -0
- data/{core → frontend}/app/views/gaku/class_groups/students/_student.html.slim +0 -0
- data/frontend/app/views/gaku/class_groups/students/_students.html.slim +14 -0
- data/frontend/app/views/gaku/class_groups/students/destroy.js.erb +2 -0
- data/frontend/app/views/gaku/class_groups/students/enroll_students.js.erb +16 -0
- data/frontend/app/views/gaku/class_groups/students/new.js.erb +3 -0
- data/frontend/app/views/gaku/class_groups/students/without_semester.js.erb +2 -0
- data/frontend/app/views/gaku/class_groups/with_semester.html.slim +26 -0
- data/frontend/app/views/gaku/class_groups/with_semester.js.erb +2 -0
- data/frontend/app/views/gaku/class_groups/without_semester.html.slim +26 -0
- data/frontend/app/views/gaku/class_groups/without_semester.js.erb +2 -0
- data/{core → frontend}/app/views/gaku/contacts/_contact.html.slim +0 -0
- data/frontend/app/views/gaku/contacts/_contacts.html.slim +22 -0
- data/frontend/app/views/gaku/contacts/_delete_link.html.slim +1 -0
- data/frontend/app/views/gaku/contacts/_fields.html.slim +14 -0
- data/frontend/app/views/gaku/contacts/_form.html.slim +4 -0
- data/frontend/app/views/gaku/contacts/_form_fields.html.slim +14 -0
- data/frontend/app/views/gaku/contacts/_modal.html.slim +4 -0
- data/frontend/app/views/gaku/contacts/_primary_field.html.slim +13 -0
- data/frontend/app/views/gaku/contacts/create.js.erb +21 -0
- data/frontend/app/views/gaku/contacts/destroy.js.erb +9 -0
- data/frontend/app/views/gaku/contacts/edit.js.erb +4 -0
- data/{core → frontend}/app/views/gaku/contacts/make_primary.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/contacts/new.js.erb +0 -0
- data/frontend/app/views/gaku/contacts/recovery.js.erb +1 -0
- data/frontend/app/views/gaku/contacts/soft_delete.js.erb +8 -0
- data/{core → frontend}/app/views/gaku/contacts/update.js.erb +0 -0
- data/frontend/app/views/gaku/course_groups/_course_group.html.slim +4 -0
- data/frontend/app/views/gaku/course_groups/_course_groups.html.slim +7 -0
- data/{core → frontend}/app/views/gaku/course_groups/_fields.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/course_groups/_form.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/course_groups/_form_fields.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +0 -0
- data/frontend/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +21 -0
- data/frontend/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +4 -0
- data/frontend/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +7 -0
- data/frontend/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +2 -0
- data/{core → frontend}/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +0 -0
- data/frontend/app/views/gaku/course_groups/create.js.erb +6 -0
- data/frontend/app/views/gaku/course_groups/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/course_groups/edit.html.slim +21 -0
- data/frontend/app/views/gaku/course_groups/index.html.slim +14 -0
- data/frontend/app/views/gaku/course_groups/new.js.erb +3 -0
- data/frontend/app/views/gaku/courses/_course.html.slim +7 -0
- data/frontend/app/views/gaku/courses/_courses.html.slim +24 -0
- data/frontend/app/views/gaku/courses/_form.html.slim +3 -0
- data/frontend/app/views/gaku/courses/_form_fields.html.slim +5 -0
- data/frontend/app/views/gaku/courses/_student_chooser_form.html.slim +4 -0
- data/frontend/app/views/gaku/courses/_tabs.html.slim +26 -0
- data/frontend/app/views/gaku/courses/create.js.erb +6 -0
- data/frontend/app/views/gaku/courses/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/courses/edit.html.slim +16 -0
- data/{core → frontend}/app/views/gaku/courses/enrollments/_enrolled.html.slim +0 -0
- data/frontend/app/views/gaku/courses/enrollments/_enrollments.html.slim +27 -0
- data/frontend/app/views/gaku/courses/enrollments/_errors_modal.html.slim +11 -0
- data/frontend/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +3 -0
- data/frontend/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +16 -0
- data/{core → frontend}/app/views/gaku/courses/enrollments/class_groups/new.js.erb +0 -0
- data/frontend/app/views/gaku/courses/enrollments/error.js.erb +2 -0
- data/frontend/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +11 -0
- data/{core → frontend}/app/views/gaku/courses/exams/_exam.html.slim +0 -0
- data/frontend/app/views/gaku/courses/exams/_exam_portion_head.html.slim +5 -0
- data/frontend/app/views/gaku/courses/exams/_exams.html.slim +14 -0
- data/frontend/app/views/gaku/courses/exams/_grading_table_head.html.slim +9 -0
- data/frontend/app/views/gaku/courses/exams/_grading_table_student_field.html.slim +11 -0
- data/frontend/app/views/gaku/courses/exams/grading.html.slim +7 -0
- data/frontend/app/views/gaku/courses/index.html.slim +14 -0
- data/frontend/app/views/gaku/courses/new.js.erb +3 -0
- data/{core → frontend}/app/views/gaku/courses/semester_courses/_fields.html.slim +0 -0
- data/frontend/app/views/gaku/courses/semester_courses/_form.html.slim +4 -0
- data/frontend/app/views/gaku/courses/semester_courses/_form_fields.html.slim +3 -0
- data/frontend/app/views/gaku/courses/semester_courses/_modal.html.slim +4 -0
- data/{core → frontend}/app/views/gaku/courses/semester_courses/_semester_course.html.slim +0 -0
- data/frontend/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +16 -0
- data/frontend/app/views/gaku/courses/semester_courses/create.js.erb +6 -0
- data/frontend/app/views/gaku/courses/semester_courses/destroy.js.erb +3 -0
- data/frontend/app/views/gaku/courses/semester_courses/edit.js.erb +3 -0
- data/frontend/app/views/gaku/courses/semester_courses/new.js.erb +3 -0
- data/frontend/app/views/gaku/courses/semester_courses/update.js.erb +3 -0
- data/frontend/app/views/gaku/courses/student_chooser.js.erb +7 -0
- data/{core → frontend}/app/views/gaku/devise/confirmations/new.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/mailer/unlock_instructions.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/passwords/edit.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/passwords/new.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/devise/registrations/edit.html.slim +0 -0
- data/frontend/app/views/gaku/devise/registrations/new.html.slim +27 -0
- data/frontend/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +26 -0
- data/frontend/app/views/gaku/devise/sessions/new.html.slim +24 -0
- data/{core → frontend}/app/views/gaku/devise/shared/_links.html.erb +0 -0
- data/{core → frontend}/app/views/gaku/devise/unlocks/new.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/exam_divisions/_form.html.erb +0 -0
- data/{core → frontend}/app/views/gaku/exam_divisions/edit.html.erb +0 -0
- data/{core → frontend}/app/views/gaku/exam_divisions/index.html.erb +0 -0
- data/{core → frontend}/app/views/gaku/exam_divisions/new.html.erb +0 -0
- data/{core → frontend}/app/views/gaku/exam_divisions/show.html.erb +0 -0
- data/frontend/app/views/gaku/exams/_exam.html.slim +2 -0
- data/frontend/app/views/gaku/exams/_form.html.slim +16 -0
- data/frontend/app/views/gaku/exams/_form_fields.html.slim +17 -0
- data/frontend/app/views/gaku/exams/_table_fields.html.slim +8 -0
- data/frontend/app/views/gaku/exams/_tabs.html.slim +15 -0
- data/frontend/app/views/gaku/exams/_weight_check_widget.html.slim +20 -0
- data/frontend/app/views/gaku/exams/create.js.erb +6 -0
- data/frontend/app/views/gaku/exams/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/exams/edit.html.slim +16 -0
- data/frontend/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +4 -0
- data/frontend/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +2 -0
- data/frontend/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +3 -0
- data/frontend/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +27 -0
- data/frontend/app/views/gaku/exams/exam_portions/_form.html.slim +3 -0
- data/frontend/app/views/gaku/exams/exam_portions/_table_fields.slim +8 -0
- data/frontend/app/views/gaku/exams/exam_portions/_tabs.html.slim +11 -0
- data/{core → frontend}/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +0 -0
- data/frontend/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +20 -0
- data/frontend/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +3 -0
- data/{core → frontend}/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +0 -0
- data/frontend/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +4 -0
- data/{core → frontend}/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
- data/frontend/app/views/gaku/exams/exam_portions/attachments/new.js.erb +3 -0
- data/frontend/app/views/gaku/exams/exam_portions/create.js.erb +49 -0
- data/frontend/app/views/gaku/exams/exam_portions/destroy.js.erb +8 -0
- data/frontend/app/views/gaku/exams/exam_portions/edit.html.slim +16 -0
- data/frontend/app/views/gaku/exams/exam_portions/new.js.erb +3 -0
- data/frontend/app/views/gaku/exams/exam_portions/show.html.slim +30 -0
- data/{core → frontend}/app/views/gaku/exams/export.xls.rb +0 -0
- data/frontend/app/views/gaku/exams/index.html.slim +24 -0
- data/frontend/app/views/gaku/exams/new.js.erb +3 -0
- data/frontend/app/views/gaku/exams/show.html.slim +28 -0
- data/frontend/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +7 -0
- data/frontend/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +4 -0
- data/{core → frontend}/app/views/gaku/extracurricular_activities/_fields.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/extracurricular_activities/_form.html.slim +0 -0
- data/frontend/app/views/gaku/extracurricular_activities/_form_fields.html.slim +3 -0
- data/frontend/app/views/gaku/extracurricular_activities/_student_chooser_form.html.slim +4 -0
- data/frontend/app/views/gaku/extracurricular_activities/_tabs.html.slim +15 -0
- data/frontend/app/views/gaku/extracurricular_activities/create.js.erb +6 -0
- data/frontend/app/views/gaku/extracurricular_activities/destroy.js.erb +2 -0
- data/frontend/app/views/gaku/extracurricular_activities/edit.html.slim +16 -0
- data/frontend/app/views/gaku/extracurricular_activities/index.html.slim +15 -0
- data/frontend/app/views/gaku/extracurricular_activities/new.js.erb +3 -0
- data/frontend/app/views/gaku/extracurricular_activities/student_chooser.js.erb +9 -0
- data/{core → frontend}/app/views/gaku/extracurricular_activities/students/_student.html.slim +0 -0
- data/frontend/app/views/gaku/extracurricular_activities/students/_students.html.slim +16 -0
- data/frontend/app/views/gaku/extracurricular_activities/students/destroy.js.erb +3 -0
- data/frontend/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +11 -0
- data/frontend/app/views/gaku/home/_user_info.html.slim +7 -0
- data/frontend/app/views/gaku/home/_user_menu.html.slim +4 -0
- data/frontend/app/views/gaku/home/index.html.slim +10 -0
- data/frontend/app/views/gaku/layouts/edit.html.slim +10 -0
- data/frontend/app/views/gaku/layouts/gaku.html.slim +22 -0
- data/frontend/app/views/gaku/layouts/home.html.slim +1 -0
- data/frontend/app/views/gaku/layouts/index.html.slim +12 -0
- data/frontend/app/views/gaku/layouts/show.html.slim +10 -0
- data/frontend/app/views/gaku/notes/_buttons.html.slim +8 -0
- data/{core → frontend}/app/views/gaku/notes/_fields.html.slim +0 -0
- data/frontend/app/views/gaku/notes/_form.html.slim +6 -0
- data/frontend/app/views/gaku/notes/_form_fields.html.slim +6 -0
- data/frontend/app/views/gaku/notes/_modal.html.slim +4 -0
- data/{core → frontend}/app/views/gaku/notes/_note.html.slim +0 -0
- data/frontend/app/views/gaku/notes/_notes.html.slim +21 -0
- data/frontend/app/views/gaku/notes/_show_modal.html.slim +4 -0
- data/{core → frontend}/app/views/gaku/notes/create.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/notes/destroy.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/notes/edit.js.erb +0 -0
- data/{core → frontend}/app/views/gaku/notes/new.js.erb +0 -0
- data/frontend/app/views/gaku/notes/show.js.erb +2 -0
- data/{core → frontend}/app/views/gaku/notes/update.js.erb +0 -0
- data/frontend/app/views/gaku/shared/_delete_link.html.slim +1 -0
- data/frontend/app/views/gaku/shared/_delete_modal.html.slim +11 -0
- data/frontend/app/views/gaku/shared/_errors.html.slim +6 -0
- data/{core → frontend}/app/views/gaku/shared/_external_school_record.html.slim +0 -0
- data/frontend/app/views/gaku/shared/_flash.html.slim +4 -0
- data/frontend/app/views/gaku/shared/_language_bar.html.slim +8 -0
- data/frontend/app/views/gaku/shared/_login_widget.html.slim +15 -0
- data/frontend/app/views/gaku/shared/_manage_buttons.html.slim +4 -0
- data/frontend/app/views/gaku/shared/_menubar.html.slim +7 -0
- data/frontend/app/views/gaku/shared/_modal_config.html.slim +37 -0
- data/frontend/app/views/gaku/shared/_multi_errors.html.slim +6 -0
- data/frontend/app/views/gaku/shared/_picture.html.slim +8 -0
- data/frontend/app/views/gaku/shared/_upload_picture.html.slim +7 -0
- data/frontend/app/views/gaku/shared/error.js.erb +2 -0
- data/frontend/app/views/gaku/shared/fields/_address_and_contact_show_table.html.slim +6 -0
- data/frontend/app/views/gaku/shared/fields/_attachment_fields.html.slim +10 -0
- data/{core → frontend}/app/views/gaku/shared/fields/_course_fields.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/shared/fields/_course_show_fields.html.slim +0 -0
- data/frontend/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +7 -0
- data/{core → frontend}/app/views/gaku/shared/fields/_person_edit_table.html.slim +0 -0
- data/frontend/app/views/gaku/shared/fields/_person_show_table.html.slim +15 -0
- data/{core → frontend}/app/views/gaku/shared/fields/_semester_fields.html.slim +0 -0
- data/frontend/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +14 -0
- data/frontend/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +17 -0
- data/frontend/app/views/gaku/shared/menu/_frontend.html.erb +22 -0
- data/frontend/app/views/gaku/shared/multi_error.js.erb +2 -0
- data/frontend/app/views/gaku/shared/notice.js.erb +2 -0
- data/{core → frontend}/app/views/gaku/shared/overrides/students/_import_link.html.slim +0 -0
- data/{core → frontend}/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim +0 -0
- data/frontend/app/views/gaku/shared/student/_show.html.slim +12 -0
- data/frontend/app/views/gaku/shared/student_chooser/_chooser.html.slim +7 -0
- data/frontend/app/views/gaku/shared/student_chooser/_chooser_widget.html.slim +10 -0
- data/frontend/app/views/gaku/shared/student_chooser/_modal.html.slim +3 -0
- data/frontend/app/views/gaku/states/_no_states_select.html.slim +1 -0
- data/frontend/app/views/gaku/states/_states_select.html.slim +1 -0
- data/frontend/app/views/gaku/states/index.js.erb +5 -0
- data/frontend/app/views/gaku/students/_academic.html.slim +18 -0
- data/frontend/app/views/gaku/students/_chooser_widget.html.slim +14 -0
- data/frontend/app/views/gaku/students/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/_form_fields.html.slim +25 -0
- data/frontend/app/views/gaku/students/_personal.html.slim +3 -0
- data/frontend/app/views/gaku/students/_student.html.slim +5 -0
- data/frontend/app/views/gaku/students/_student_chooser_form.html.slim +16 -0
- data/frontend/app/views/gaku/students/_student_unit.html.slim +5 -0
- data/frontend/app/views/gaku/students/_students.html.slim +62 -0
- data/frontend/app/views/gaku/students/_table_fields.html.slim +63 -0
- data/frontend/app/views/gaku/students/_tabs.html.slim +48 -0
- data/frontend/app/views/gaku/students/_tabs_academic.html.slim +40 -0
- data/frontend/app/views/gaku/students/_tabs_personal.html.slim +27 -0
- data/frontend/app/views/gaku/students/advanced_search.js.erb +66 -0
- data/frontend/app/views/gaku/students/badges/_badge.html.slim +2 -0
- data/frontend/app/views/gaku/students/badges/_badge_type.html.slim +5 -0
- data/frontend/app/views/gaku/students/badges/_badges.html.slim +2 -0
- data/frontend/app/views/gaku/students/badges/_badges_tab.html.slim +8 -0
- data/frontend/app/views/gaku/students/badges/_edit.html.slim +8 -0
- data/frontend/app/views/gaku/students/badges/_fields.html.slim +8 -0
- data/frontend/app/views/gaku/students/badges/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/badges/_form_fields.html.slim +1 -0
- data/frontend/app/views/gaku/students/badges/_index.html.slim +20 -0
- data/frontend/app/views/gaku/students/badges/_index_modal.html.slim +4 -0
- data/frontend/app/views/gaku/students/badges/create.js.erb +14 -0
- data/frontend/app/views/gaku/students/badges/destroy.js.erb +6 -0
- data/frontend/app/views/gaku/students/badges/edit.js.erb +2 -0
- data/frontend/app/views/gaku/students/badges/index.js.erb +3 -0
- data/frontend/app/views/gaku/students/badges/new.js.erb +3 -0
- data/frontend/app/views/gaku/students/badges/update.js.erb +5 -0
- data/frontend/app/views/gaku/students/chosen.js.erb +12 -0
- data/frontend/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +28 -0
- data/frontend/app/views/gaku/students/class_group_enrollments/create.js.erb +11 -0
- data/frontend/app/views/gaku/students/class_group_enrollments/new.js.erb +2 -0
- data/frontend/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +4 -0
- data/frontend/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +17 -0
- data/frontend/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +11 -0
- data/frontend/app/views/gaku/students/course_enrollments/_form.html.slim +4 -0
- data/frontend/app/views/gaku/students/course_enrollments/create.js.erb +9 -0
- data/frontend/app/views/gaku/students/course_enrollments/destroy.js.erb +3 -0
- data/frontend/app/views/gaku/students/course_enrollments/error.js.erb +2 -0
- data/frontend/app/views/gaku/students/course_enrollments/new.js.erb +3 -0
- data/frontend/app/views/gaku/students/create.js.erb +8 -0
- data/frontend/app/views/gaku/students/destroy.js.erb +2 -0
- data/frontend/app/views/gaku/students/edit.html.slim +37 -0
- data/frontend/app/views/gaku/students/external_school_records/_external_school_record.html.slim +2 -0
- data/frontend/app/views/gaku/students/external_school_records/_external_school_records.html.slim +24 -0
- data/frontend/app/views/gaku/students/external_school_records/_fields.html.slim +11 -0
- data/frontend/app/views/gaku/students/external_school_records/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/external_school_records/_form_fields.html.slim +17 -0
- data/frontend/app/views/gaku/students/external_school_records/_modal.html.slim +4 -0
- data/frontend/app/views/gaku/students/external_school_records/create.js.erb +8 -0
- data/frontend/app/views/gaku/students/external_school_records/destroy.js.erb +3 -0
- data/frontend/app/views/gaku/students/external_school_records/edit.js.erb +4 -0
- data/frontend/app/views/gaku/students/external_school_records/new.js.erb +4 -0
- data/frontend/app/views/gaku/students/external_school_records/update.js.erb +3 -0
- data/frontend/app/views/gaku/students/guardians/_delete_modal.html.slim +12 -0
- data/frontend/app/views/gaku/students/guardians/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/guardians/_form_fields.html.slim +4 -0
- data/frontend/app/views/gaku/students/guardians/_guardian.html.slim +12 -0
- data/frontend/app/views/gaku/students/guardians/_guardians.html.slim +24 -0
- data/frontend/app/views/gaku/students/guardians/_picture.html.slim +8 -0
- data/frontend/app/views/gaku/students/guardians/_tabs.html.slim +14 -0
- data/frontend/app/views/gaku/students/guardians/_upload_picture.html.slim +7 -0
- data/frontend/app/views/gaku/students/guardians/create.js.erb +7 -0
- data/frontend/app/views/gaku/students/guardians/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/students/guardians/edit.html.slim +21 -0
- data/frontend/app/views/gaku/students/guardians/new.js.erb +3 -0
- data/frontend/app/views/gaku/students/guardians/recovery.js.erb +1 -0
- data/frontend/app/views/gaku/students/guardians/show.html.slim +17 -0
- data/frontend/app/views/gaku/students/importer/index.html.slim +26 -0
- data/frontend/app/views/gaku/students/index.html.slim +22 -0
- data/frontend/app/views/gaku/students/index.js.erb +2 -0
- data/frontend/app/views/gaku/students/new.html.slim +3 -0
- data/frontend/app/views/gaku/students/new.js.erb +3 -0
- data/frontend/app/views/gaku/students/search/_academic.html.slim +22 -0
- data/frontend/app/views/gaku/students/search/_address.html.slim +34 -0
- data/frontend/app/views/gaku/students/search/_advanced_form.html.slim +36 -0
- data/frontend/app/views/gaku/students/search/_extended.slim +108 -0
- data/frontend/app/views/gaku/students/search/_form.html.slim +8 -0
- data/frontend/app/views/gaku/students/search/_student.html.slim +36 -0
- data/frontend/app/views/gaku/students/show.html.slim +24 -0
- data/frontend/app/views/gaku/students/simple_grades/_edit.html.slim +8 -0
- data/frontend/app/views/gaku/students/simple_grades/_fields.html.slim +8 -0
- data/frontend/app/views/gaku/students/simple_grades/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/simple_grades/_form_fields.html.slim +3 -0
- data/frontend/app/views/gaku/students/simple_grades/_index.html.slim +21 -0
- data/frontend/app/views/gaku/students/simple_grades/_index_modal.html.slim +4 -0
- data/frontend/app/views/gaku/students/simple_grades/_simple_grade.html.slim +2 -0
- data/frontend/app/views/gaku/students/simple_grades/_simple_grades.html.slim +2 -0
- data/frontend/app/views/gaku/students/simple_grades/create.js.erb +10 -0
- data/frontend/app/views/gaku/students/simple_grades/destroy.js.erb +4 -0
- data/frontend/app/views/gaku/students/simple_grades/edit.js.erb +4 -0
- data/frontend/app/views/gaku/students/simple_grades/index.js.erb +5 -0
- data/frontend/app/views/gaku/students/simple_grades/new.js.erb +6 -0
- data/frontend/app/views/gaku/students/simple_grades/update.js.erb +4 -0
- data/frontend/app/views/gaku/students/student_specialties/_edit.html.slim +8 -0
- data/frontend/app/views/gaku/students/student_specialties/_fields.html.slim +5 -0
- data/frontend/app/views/gaku/students/student_specialties/_form.html.slim +3 -0
- data/frontend/app/views/gaku/students/student_specialties/_form_fields.html.slim +2 -0
- data/frontend/app/views/gaku/students/student_specialties/_index.html.slim +18 -0
- data/frontend/app/views/gaku/students/student_specialties/_index_modal.html.slim +4 -0
- data/frontend/app/views/gaku/students/student_specialties/_student_specialties.html.slim +2 -0
- data/frontend/app/views/gaku/students/student_specialties/_student_specialty.html.slim +2 -0
- data/frontend/app/views/gaku/students/student_specialties/create.js.erb +10 -0
- data/frontend/app/views/gaku/students/student_specialties/destroy.js.erb +4 -0
- data/frontend/app/views/gaku/students/student_specialties/edit.js.erb +2 -0
- data/frontend/app/views/gaku/students/student_specialties/index.js.erb +5 -0
- data/frontend/app/views/gaku/students/student_specialties/new.js.erb +3 -0
- data/frontend/app/views/gaku/students/student_specialties/update.js.erb +4 -0
- data/frontend/app/views/gaku/syllabuses/_all_exams.html.slim +14 -0
- data/frontend/app/views/gaku/syllabuses/_fields.html.slim +7 -0
- data/{core → frontend}/app/views/gaku/syllabuses/_form.html.slim +0 -0
- data/frontend/app/views/gaku/syllabuses/_form_fields.html.slim +12 -0
- data/frontend/app/views/gaku/syllabuses/_syllabus.html.slim +2 -0
- data/frontend/app/views/gaku/syllabuses/_syllabuses.html.slim +12 -0
- data/frontend/app/views/gaku/syllabuses/_tabs.html.slim +16 -0
- data/frontend/app/views/gaku/syllabuses/create.js.erb +7 -0
- data/frontend/app/views/gaku/syllabuses/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/syllabuses/edit.html.slim +16 -0
- data/frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +12 -0
- data/frontend/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +5 -0
- data/frontend/app/views/gaku/syllabuses/exams/_exam.html.slim +3 -0
- data/frontend/app/views/gaku/syllabuses/exams/_exams.html.slim +13 -0
- data/frontend/app/views/gaku/syllabuses/exams/_fields.html.slim +10 -0
- data/frontend/app/views/gaku/syllabuses/exams/_form.html.slim +17 -0
- data/frontend/app/views/gaku/syllabuses/exams/_form_fields.html.slim +10 -0
- data/frontend/app/views/gaku/syllabuses/exams/_modal.html.slim +4 -0
- data/frontend/app/views/gaku/syllabuses/exams/_select_form.html.slim +6 -0
- data/frontend/app/views/gaku/syllabuses/exams/create.js.erb +9 -0
- data/frontend/app/views/gaku/syllabuses/exams/destroy.js.erb +3 -0
- data/frontend/app/views/gaku/syllabuses/exams/edit.js.erb +3 -0
- data/frontend/app/views/gaku/syllabuses/exams/new.js.erb +3 -0
- data/frontend/app/views/gaku/syllabuses/exams/update.js.erb +4 -0
- data/frontend/app/views/gaku/syllabuses/importer/index.html.slim +14 -0
- data/frontend/app/views/gaku/syllabuses/index.html.slim +14 -0
- data/{core → frontend}/app/views/gaku/syllabuses/new.js.erb +0 -0
- data/frontend/app/views/gaku/teachers/_fields.html.slim +5 -0
- data/frontend/app/views/gaku/teachers/_form.html.slim +3 -0
- data/{core → frontend}/app/views/gaku/teachers/_form_fields.html.slim +0 -0
- data/frontend/app/views/gaku/teachers/_tabs.html.slim +20 -0
- data/frontend/app/views/gaku/teachers/_teacher.html.slim +5 -0
- data/frontend/app/views/gaku/teachers/_teachers.html.slim +11 -0
- data/frontend/app/views/gaku/teachers/create.js.erb +8 -0
- data/frontend/app/views/gaku/teachers/destroy.js.erb +1 -0
- data/frontend/app/views/gaku/teachers/edit.html.slim +19 -0
- data/frontend/app/views/gaku/teachers/index.html.slim +16 -0
- data/frontend/app/views/gaku/teachers/new.js.erb +3 -0
- data/frontend/app/views/gaku/teachers/show.html.slim +13 -0
- data/{core → frontend}/app/views/kaminari/_first_page.html.erb +0 -0
- data/{core → frontend}/app/views/kaminari/_gap.html.erb +0 -0
- data/{core → frontend}/app/views/kaminari/_last_page.html.erb +0 -0
- data/{core → frontend}/app/views/kaminari/_next_page.html.erb +0 -0
- data/{core → frontend}/app/views/kaminari/_page.html.erb +0 -0
- data/frontend/app/views/kaminari/_paginator.html.erb +27 -0
- data/{core → frontend}/app/views/kaminari/_prev_page.html.erb +0 -0
- data/frontend/config/initializers/client_side_validations.rb +9 -0
- data/frontend/config/initializers/wrap_parameters.rb +14 -0
- data/frontend/config/routes.rb +137 -0
- data/frontend/coverage/.last_run.json +5 -0
- data/frontend/coverage/.resultset.json +179 -0
- data/frontend/gaku_frontend.gemspec +50 -0
- data/frontend/lib/gaku/app_responder.rb +6 -0
- data/frontend/lib/gaku/class_name_detector.rb +23 -0
- data/frontend/lib/gaku/frontend.rb +33 -0
- data/frontend/lib/gaku/frontend/engine.rb +30 -0
- data/frontend/lib/gaku_frontend.rb +1 -0
- data/frontend/lib/tasks/admin_user.rake +104 -0
- data/frontend/lib/tasks/core.rake +65 -0
- data/frontend/lib/tasks/reset.rake +37 -0
- data/frontend/spec/controllers/gaku/addresses_controller_spec.rb +136 -0
- data/frontend/spec/controllers/gaku/class_group_enrollments_controller_spec.rb +62 -0
- data/frontend/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb +151 -0
- data/frontend/spec/controllers/gaku/class_groups/courses_controller_spec.rb +90 -0
- data/frontend/spec/controllers/gaku/class_groups/semesters_controller_spec.rb +90 -0
- data/frontend/spec/controllers/gaku/contacts_controller_spec.rb +135 -0
- data/frontend/spec/controllers/gaku/course_groups/course_group_enrollments_controller.rb +90 -0
- data/frontend/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb +143 -0
- data/frontend/spec/controllers/gaku/courses/courses_controller_spec.rb +143 -0
- data/frontend/spec/controllers/gaku/exams/exam_portions_controller_spec.rb +137 -0
- data/frontend/spec/controllers/gaku/exams/exams_controller_spec.rb +154 -0
- data/frontend/spec/controllers/gaku/extracurricular_activities_controller_spec.rb +143 -0
- data/frontend/spec/controllers/gaku/notes_controller_spec.rb +143 -0
- data/frontend/spec/controllers/gaku/students/badges_controller_spec.rb +126 -0
- data/frontend/spec/controllers/gaku/students/course_enrollments_controller_spec.rb +121 -0
- data/frontend/spec/controllers/gaku/students/external_school_records_controller_spec.rb +138 -0
- data/frontend/spec/controllers/gaku/students/guardians_controller_spec.rb +115 -0
- data/frontend/spec/controllers/gaku/students/simple_grades_controller_spec.rb +147 -0
- data/frontend/spec/controllers/gaku/students/student_specialties_controller_spec.rb +126 -0
- data/frontend/spec/controllers/gaku/students/students_controller_spec.rb +338 -0
- data/frontend/spec/controllers/gaku/syllabuses_controller_spec.rb +151 -0
- data/frontend/spec/controllers/gaku/teachers_controller_spec.rb +152 -0
- data/{core → frontend}/spec/coverage/.last_run.json +0 -0
- data/{core → frontend}/spec/coverage/.resultset.json +0 -0
- data/{core/spec/requests → frontend/spec/features}/change_language_spec.rb +0 -0
- data/frontend/spec/features/class_groups/class_groups_spec.rb +96 -0
- data/frontend/spec/features/class_groups/courses_spec.rb +39 -0
- data/frontend/spec/features/class_groups/notes_spec.rb +32 -0
- data/frontend/spec/features/class_groups/semester_class_groups_spec.rb +96 -0
- data/frontend/spec/features/class_groups/students_spec.rb +90 -0
- data/frontend/spec/features/course_groups/course_groups_spec.rb +76 -0
- data/frontend/spec/features/course_groups/courses_spec.rb +37 -0
- data/frontend/spec/features/courses/courses_spec.rb +108 -0
- data/frontend/spec/features/courses/enrollments/class_groups_spec.rb +81 -0
- data/frontend/spec/features/courses/enrollments/students_spec.rb +75 -0
- data/frontend/spec/features/courses/exams_spec.rb +36 -0
- data/frontend/spec/features/courses/notes_spec.rb +32 -0
- data/frontend/spec/features/courses/semester_courses_spec.rb +108 -0
- data/frontend/spec/features/exams/exam_portions/attachments_spec.rb +101 -0
- data/frontend/spec/features/exams/exam_portions/exam_portions_spec.rb +81 -0
- data/frontend/spec/features/exams/exams_spec.rb +101 -0
- data/frontend/spec/features/exams/notes_spec.rb +32 -0
- data/frontend/spec/features/extracurricular_activities/extracurricular_activities_spec.rb +67 -0
- data/frontend/spec/features/extracurricular_activities/students_spec.rb +164 -0
- data/frontend/spec/features/sign_in_spec.rb +78 -0
- data/{core/spec/requests → frontend/spec/features}/sign_out_spec.rb +0 -0
- data/frontend/spec/features/sign_up_spec.rb +71 -0
- data/frontend/spec/features/students/addresses_spec.rb +60 -0
- data/frontend/spec/features/students/badges_spec.rb +95 -0
- data/frontend/spec/features/students/class_group_enrollments_spec.rb +47 -0
- data/{core/spec/requests → frontend/spec/features}/students/commute_methods_spec.rb +0 -0
- data/frontend/spec/features/students/contacts_spec.rb +60 -0
- data/frontend/spec/features/students/course_enrollments_spec.rb +39 -0
- data/{core/spec/requests → frontend/spec/features}/students/enrollment_status_spec.rb +0 -0
- data/frontend/spec/features/students/external_school_records_spec.rb +71 -0
- data/frontend/spec/features/students/guardians/addresses_spec.rb +65 -0
- data/frontend/spec/features/students/guardians/contacts_spec.rb +58 -0
- data/frontend/spec/features/students/guardians/guardians_spec.rb +76 -0
- data/frontend/spec/features/students/guardians/picture_spec.rb +24 -0
- data/frontend/spec/features/students/notes_spec.rb +35 -0
- data/frontend/spec/features/students/picture_spec.rb +23 -0
- data/frontend/spec/features/students/preset_spec.rb +477 -0
- data/{core/spec/requests → frontend/spec/features}/students/scholarship_status_spec.rb +0 -0
- data/frontend/spec/features/students/simple_grades_spec.rb +89 -0
- data/frontend/spec/features/students/student_specialties_spec.rb +82 -0
- data/frontend/spec/features/students/students_spec.rb +228 -0
- data/frontend/spec/features/syllabuses/exams_spec.rb +161 -0
- data/frontend/spec/features/syllabuses/notes_spec.rb +32 -0
- data/frontend/spec/features/syllabuses/syllabuses_spec.rb +72 -0
- data/frontend/spec/features/teachers/addresses_spec.rb +60 -0
- data/{core/spec/requests → frontend/spec/features}/teachers/contacts_spec.rb +0 -0
- data/{core/spec/requests → frontend/spec/features}/teachers/notes_spec.rb +0 -0
- data/frontend/spec/features/teachers/picture_spec.rb +22 -0
- data/frontend/spec/features/teachers/teachers_spec.rb +82 -0
- data/frontend/spec/routing/class_groups/courses_routing_spec.rb +40 -0
- data/frontend/spec/routing/class_groups/students_routing_spec.rb +40 -0
- data/frontend/spec/routing/student_routes_spec.rb +50 -0
- data/frontend/spec/routing/students/badges_routes_spec.rb +62 -0
- data/frontend/spec/routing/students/course_enrollments_routes_spec.rb +36 -0
- data/frontend/spec/routing/students/guardians_routes_spec.rb +55 -0
- data/frontend/spec/routing/students/simple_grades_routes_spec.rb +63 -0
- data/frontend/spec/routing/students/student_specialties_routes_spec.rb +63 -0
- data/frontend/spec/spec_helper.rb +5 -0
- data/frontend/spec/spec_helper_controllers.rb +4 -0
- data/frontend/spec/spec_helper_routing.rb +4 -0
- data/frontend/spec/support/120x120.jpg +0 -0
- data/frontend/spec/support/controllers/matchers/have_attributes_matcher.rb +8 -0
- data/frontend/spec/support/controllers/shared_examples/allow.rb +10 -0
- data/frontend/spec/support/controllers/shared_examples/deny.rb +27 -0
- data/frontend/spec/support/features/shared_examples/addresses_spec.rb +171 -0
- data/frontend/spec/support/features/shared_examples/avatarable_spec.rb +21 -0
- data/frontend/spec/support/features/shared_examples/contacts_spec.rb +123 -0
- data/frontend/spec/support/features/shared_examples/course_enrollable_spec.rb +69 -0
- data/frontend/spec/support/features/shared_examples/notes_spec.rb +82 -0
- data/frontend/spec/support/models/matchers/accept_nested_attributes_for_matcher.rb +39 -0
- data/frontend/spec/support/models/shared_examples/addressable.rb +3 -0
- data/frontend/spec/support/models/shared_examples/avatarable.rb +3 -0
- data/frontend/spec/support/models/shared_examples/contactable.rb +3 -0
- data/frontend/spec/support/models/shared_examples/notable.rb +3 -0
- data/frontend/spec/support/models/shared_examples/person.rb +4 -0
- data/frontend/spec/support/models/shared_examples/thrashable.rb +6 -0
- data/gaku.gemspec +5 -2
- data/lib/gaku.rb +3 -0
- data/sample/.rspec +2 -0
- data/sample/.ruby-gemset +1 -0
- data/sample/.ruby-version +1 -0
- data/sample/db/sample/gaku/01-syllabuses.rb +130 -0
- data/sample/db/sample/gaku/02-courses.rb +13 -0
- data/sample/db/sample/gaku/badge_types.rb +12 -0
- data/sample/db/sample/gaku/changes/student_changes.rb +2 -4
- data/sample/db/sample/gaku/class_groups.rb +10 -0
- data/sample/db/sample/gaku/disposals/address_and_contact_disposals.rb +20 -20
- data/sample/db/sample/gaku/teachers.rb +3 -11
- data/sample/gaku_sample.gemspec +2 -2
- data/sample/lib/shared_sample_data.rb +29 -6
- data/testing/Gemfile +6 -0
- data/testing/gaku_testing.gemspec +22 -0
- data/testing/lib/gaku/testing.rb +10 -0
- data/testing/lib/gaku/testing/engine.rb +10 -0
- data/testing/lib/gaku/testing/env.rb +19 -0
- data/testing/lib/gaku/testing/feature_helpers.rb +159 -0
- data/testing/lib/gaku/testing/flash_helpers.rb +35 -0
- data/testing/lib/gaku/testing/spec_helpers/spec_helper.rb +47 -0
- data/testing/lib/gaku/testing/spec_helpers/spec_helper_base.rb +17 -0
- data/testing/lib/gaku/testing/spec_helpers/spec_helper_controllers.rb +45 -0
- data/testing/lib/gaku/testing/spec_helpers/spec_helper_models.rb +38 -0
- data/testing/lib/gaku/testing/spec_helpers/spec_helper_routing.rb +6 -0
- data/testing/lib/gaku_testing.rb +1 -0
- metadata +1322 -1044
- data/core/app/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/core/app/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/core/app/assets/images/dataTables/back_disabled.png +0 -0
- data/core/app/assets/images/dataTables/back_enabled.png +0 -0
- data/core/app/assets/images/dataTables/back_enabled_hover.png +0 -0
- data/core/app/assets/images/dataTables/forward_disabled.png +0 -0
- data/core/app/assets/images/dataTables/forward_enabled.png +0 -0
- data/core/app/assets/images/dataTables/forward_enabled_hover.png +0 -0
- data/core/app/assets/images/dataTables/sort_asc.png +0 -0
- data/core/app/assets/images/dataTables/sort_asc_disabled.png +0 -0
- data/core/app/assets/images/dataTables/sort_both.png +0 -0
- data/core/app/assets/images/dataTables/sort_desc.png +0 -0
- data/core/app/assets/images/dataTables/sort_desc_disabled.png +0 -0
- data/core/app/assets/images/tbs-img/glyphicons-halflings-white.png +0 -0
- data/core/app/assets/images/tbs-img/glyphicons-halflings.png +0 -0
- data/core/app/assets/javascripts/gaku/admin.coffee +0 -30
- data/core/app/assets/javascripts/gaku/backbone/collections/attendance_types.js.coffee +0 -2
- data/core/app/assets/javascripts/gaku/backbone/collections/courses.js.coffee +0 -2
- data/core/app/assets/javascripts/gaku/backbone/collections/exams.js.coffee +0 -2
- data/core/app/assets/javascripts/gaku/backbone/models/attendance.js.coffee +0 -1
- data/core/app/assets/javascripts/gaku/backbone/models/attendance_type.coffee +0 -1
- data/core/app/assets/javascripts/gaku/backbone/models/calculation.js.coffee +0 -43
- data/core/app/assets/javascripts/gaku/backbone/models/completed.js.coffee +0 -1
- data/core/app/assets/javascripts/gaku/backbone/models/course.js.coffee +0 -2
- data/core/app/assets/javascripts/gaku/backbone/models/exam.js.coffee +0 -1
- data/core/app/assets/javascripts/gaku/backbone/models/exam_attendance.js.coffee +0 -4
- data/core/app/assets/javascripts/gaku/backbone/models/exam_portion_score.js.coffee +0 -18
- data/core/app/assets/javascripts/gaku/backbone/routers/.gitkeep +0 -0
- data/core/app/assets/javascripts/gaku/backbone/routers/exams_router.js.coffee +0 -22
- data/core/app/assets/javascripts/gaku/backbone/templates/.gitkeep +0 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/attendance_chooser.jst.eco +0 -19
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/attendance_show.jst.eco +0 -3
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_calculations.jst.eco +0 -39
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_completion.jst.eco +0 -1
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_score.jst.eco +0 -53
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_table.jst.eco +0 -32
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_user.jst.eco +0 -18
- data/core/app/assets/javascripts/gaku/backbone/views/exam_attendance.js.coffee +0 -51
- data/core/app/assets/javascripts/gaku/backbone/views/exam_attendance_show.js.coffee +0 -6
- data/core/app/assets/javascripts/gaku/backbone/views/exam_calculations.js.coffee +0 -15
- data/core/app/assets/javascripts/gaku/backbone/views/exam_completion.js.coffee +0 -7
- data/core/app/assets/javascripts/gaku/backbone/views/exam_portion_score.js.coffee +0 -8
- data/core/app/assets/javascripts/gaku/backbone/views/exam_score_view.js.coffee +0 -7
- data/core/app/assets/javascripts/gaku/backbone/views/exam_table_view.js.coffee +0 -227
- data/core/app/assets/javascripts/gaku/backbone/views/exam_user_view.js.coffee +0 -8
- data/core/app/assets/javascripts/gaku/class_groups.js.coffee +0 -11
- data/core/app/assets/javascripts/gaku/courses.js.coffee +0 -12
- data/core/app/assets/javascripts/gaku/extracurricular_activities.js.coffee +0 -12
- data/core/app/assets/javascripts/gaku/gaku.js.coffee +0 -174
- data/core/app/assets/javascripts/gaku/gaku_core.js +0 -35
- data/core/app/assets/javascripts/gaku/slide.js.erb +0 -14
- data/core/app/assets/javascripts/gaku/students.js.coffee +0 -36
- data/core/app/assets/javascripts/gaku/syllabuses.js.coffee +0 -26
- data/core/app/assets/stylesheets/gaku/gaku.css.scss +0 -172
- data/core/app/assets/stylesheets/gaku/gaku_core.css +0 -10
- data/core/app/assets/stylesheets/gaku/gaku_import.scss +0 -2
- data/core/app/controllers/concerns/polymorphic_resource_concern.rb +0 -47
- data/core/app/controllers/concerns/student_chooser_controller.rb +0 -52
- data/core/app/controllers/gaku/addresses_controller.rb +0 -105
- data/core/app/controllers/gaku/admin/achievements_controller.rb +0 -64
- data/core/app/controllers/gaku/admin/base_controller.rb +0 -40
- data/core/app/controllers/gaku/admin/grading_methods_controller.rb +0 -58
- data/core/app/controllers/gaku/admin/presets_controller.rb +0 -40
- data/core/app/controllers/gaku/admin/school_years/semesters_controller.rb +0 -31
- data/core/app/controllers/gaku/admin/school_years_controller.rb +0 -30
- data/core/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +0 -53
- data/core/app/controllers/gaku/admin/schools/campuses_controller.rb +0 -46
- data/core/app/controllers/gaku/admin/schools/programs_controller.rb +0 -48
- data/core/app/controllers/gaku/admin/schools_controller.rb +0 -59
- data/core/app/controllers/gaku/admin/specialties_controller.rb +0 -58
- data/core/app/controllers/gaku/admin/states_controller.rb +0 -49
- data/core/app/controllers/gaku/admin/templates_controller.rb +0 -49
- data/core/app/controllers/gaku/admin/users_controller.rb +0 -82
- data/core/app/controllers/gaku/attachments_controller.rb +0 -88
- data/core/app/controllers/gaku/attendances_controller.rb +0 -29
- data/core/app/controllers/gaku/class_groups/courses_controller.rb +0 -44
- data/core/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +0 -38
- data/core/app/controllers/gaku/class_groups/students_controller.rb +0 -43
- data/core/app/controllers/gaku/class_groups_controller.rb +0 -59
- data/core/app/controllers/gaku/contacts_controller.rb +0 -103
- data/core/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +0 -50
- data/core/app/controllers/gaku/course_groups_controller.rb +0 -81
- data/core/app/controllers/gaku/courses/semester_courses_controller.rb +0 -37
- data/core/app/controllers/gaku/courses_controller.rb +0 -73
- data/core/app/controllers/gaku/devise/passwords_controller.rb +0 -4
- data/core/app/controllers/gaku/devise/registrations_controller.rb +0 -60
- data/core/app/controllers/gaku/devise/sessions_controller.rb +0 -4
- data/core/app/controllers/gaku/exam_portion_scores_controller.rb +0 -18
- data/core/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +0 -53
- data/core/app/controllers/gaku/exams/exam_portions_controller.rb +0 -55
- data/core/app/controllers/gaku/exams_controller.rb +0 -140
- data/core/app/controllers/gaku/extracurricular_activities/students_controller.rb +0 -55
- data/core/app/controllers/gaku/extracurricular_activities_controller.rb +0 -48
- data/core/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +0 -10
- data/core/app/controllers/gaku/gaku_controller.rb +0 -93
- data/core/app/controllers/gaku/home_controller.rb +0 -10
- data/core/app/controllers/gaku/notes_controller.rb +0 -81
- data/core/app/controllers/gaku/schedules_controller.rb +0 -11
- data/core/app/controllers/gaku/students/class_group_enrollments_controller.rb +0 -59
- data/core/app/controllers/gaku/students/course_enrollments_controller.rb +0 -43
- data/core/app/controllers/gaku/students/guardians_controller.rb +0 -85
- data/core/app/controllers/gaku/students/simple_grades_controller.rb +0 -59
- data/core/app/controllers/gaku/students/student_achievements_controller.rb +0 -49
- data/core/app/controllers/gaku/students/student_specialties_controller.rb +0 -60
- data/core/app/controllers/gaku/students_controller.rb +0 -189
- data/core/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +0 -38
- data/core/app/controllers/gaku/syllabuses/exams_controller.rb +0 -53
- data/core/app/controllers/gaku/syllabuses_controller.rb +0 -73
- data/core/app/controllers/gaku/teachers_controller.rb +0 -113
- data/core/app/helpers/gaku/autocomplete_helper.rb +0 -31
- data/core/app/helpers/gaku/count_helper.rb +0 -13
- data/core/app/helpers/gaku/flash_helper.rb +0 -16
- data/core/app/helpers/gaku/gaku_helper.rb +0 -138
- data/core/app/helpers/gaku/icon_helper.rb +0 -26
- data/core/app/helpers/gaku/person_helper.rb +0 -55
- data/core/app/helpers/gaku/presets_helper.rb +0 -41
- data/core/app/helpers/gaku/sort_helper.rb +0 -17
- data/core/app/helpers/gaku/student_chooser_helper.rb +0 -12
- data/core/app/helpers/gaku/students_helper.rb +0 -42
- data/core/app/helpers/gaku/translations_helper.rb +0 -181
- data/core/app/models/gaku/achievement.rb +0 -17
- data/core/app/models/gaku/student_achievement.rb +0 -10
- data/core/app/models/gaku/versioning/student_version.rb +0 -49
- data/core/app/views/gaku/addresses/_address.html.slim +0 -5
- data/core/app/views/gaku/addresses/_addresses.html.slim +0 -27
- data/core/app/views/gaku/addresses/_fields.html.slim +0 -14
- data/core/app/views/gaku/addresses/_form.html.slim +0 -3
- data/core/app/views/gaku/addresses/_form_fields.html.slim +0 -26
- data/core/app/views/gaku/addresses/_modal.html.slim +0 -6
- data/core/app/views/gaku/addresses/_primary_field.html.slim +0 -13
- data/core/app/views/gaku/addresses/create.js.erb +0 -12
- data/core/app/views/gaku/addresses/destroy.js.erb +0 -8
- data/core/app/views/gaku/addresses/soft_delete.js.erb +0 -8
- data/core/app/views/gaku/admin/achievements/_achievement.html.slim +0 -2
- data/core/app/views/gaku/admin/achievements/_fields.html.slim +0 -7
- data/core/app/views/gaku/admin/achievements/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/achievements/_form_fields.html.slim +0 -4
- data/core/app/views/gaku/admin/achievements/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/achievements/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/achievements/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/achievements/index.html.slim +0 -22
- data/core/app/views/gaku/admin/achievements/new.js.erb +0 -3
- data/core/app/views/gaku/admin/attendance_types/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/attendance_types/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/attendance_types/create.js.erb +0 -7
- data/core/app/views/gaku/admin/attendance_types/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/attendance_types/index.html.slim +0 -24
- data/core/app/views/gaku/admin/attendance_types/new.js.erb +0 -4
- data/core/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +0 -10
- data/core/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +0 -9
- data/core/app/views/gaku/admin/changes/student_changes/_change.html.slim +0 -10
- data/core/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +0 -9
- data/core/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +0 -10
- data/core/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +0 -9
- data/core/app/views/gaku/admin/commute_method_types/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/commute_method_types/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/commute_method_types/create.js.erb +0 -7
- data/core/app/views/gaku/admin/commute_method_types/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/commute_method_types/index.html.slim +0 -18
- data/core/app/views/gaku/admin/contact_types/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/contact_types/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/contact_types/create.js.erb +0 -7
- data/core/app/views/gaku/admin/contact_types/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/contact_types/index.html.slim +0 -18
- data/core/app/views/gaku/admin/disposals/_address.html.slim +0 -12
- data/core/app/views/gaku/admin/disposals/_contact.html.slim +0 -9
- data/core/app/views/gaku/admin/disposals/_course_groups.html.slim +0 -12
- data/core/app/views/gaku/admin/disposals/_exam.html.slim +0 -10
- data/core/app/views/gaku/admin/disposals/_student.html.slim +0 -10
- data/core/app/views/gaku/admin/disposals/_teacher.html.slim +0 -10
- data/core/app/views/gaku/admin/disposals/attachments.html.slim +0 -30
- data/core/app/views/gaku/admin/enrollment_statuses/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/enrollment_statuses/create.js.erb +0 -7
- data/core/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/enrollment_statuses/index.html.slim +0 -21
- data/core/app/views/gaku/admin/grading_method_sets/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +0 -4
- data/core/app/views/gaku/admin/grading_method_sets/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/grading_method_sets/create.js.erb +0 -7
- data/core/app/views/gaku/admin/grading_method_sets/destroy.js.erb +0 -7
- data/core/app/views/gaku/admin/grading_method_sets/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +0 -23
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +0 -7
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/grading_method_sets/index.html.slim +0 -23
- data/core/app/views/gaku/admin/grading_method_sets/new.js.erb +0 -3
- data/core/app/views/gaku/admin/grading_method_sets/show.html.slim +0 -13
- data/core/app/views/gaku/admin/grading_method_sets/update.js.erb +0 -3
- data/core/app/views/gaku/admin/grading_methods/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/grading_methods/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/admin/grading_methods/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/grading_methods/create.js.erb +0 -7
- data/core/app/views/gaku/admin/grading_methods/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/grading_methods/index.html.slim +0 -20
- data/core/app/views/gaku/admin/presets/defaults.html.slim +0 -50
- data/core/app/views/gaku/admin/presets/grading.html.slim +0 -12
- data/core/app/views/gaku/admin/presets/locale.html.slim +0 -10
- data/core/app/views/gaku/admin/presets/names.html.slim +0 -20
- data/core/app/views/gaku/admin/presets/output_formats.html.slim +0 -19
- data/core/app/views/gaku/admin/presets/pagination.html.slim +0 -19
- data/core/app/views/gaku/admin/presets/students.html.slim +0 -21
- data/core/app/views/gaku/admin/roles/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/roles/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/roles/create.js.erb +0 -7
- data/core/app/views/gaku/admin/roles/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/roles/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/roles/index.html.slim +0 -20
- data/core/app/views/gaku/admin/school_years/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/school_years/_form_fields.html.slim +0 -5
- data/core/app/views/gaku/admin/school_years/_modal.html.slim +0 -7
- data/core/app/views/gaku/admin/school_years/create.js.erb +0 -10
- data/core/app/views/gaku/admin/school_years/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/school_years/edit.js.erb +0 -5
- data/core/app/views/gaku/admin/school_years/index.html.slim +0 -21
- data/core/app/views/gaku/admin/school_years/new.js.erb +0 -5
- data/core/app/views/gaku/admin/school_years/semesters/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +0 -5
- data/core/app/views/gaku/admin/school_years/semesters/_modal.html.slim +0 -7
- data/core/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +0 -22
- data/core/app/views/gaku/admin/school_years/semesters/create.js.erb +0 -10
- data/core/app/views/gaku/admin/school_years/semesters/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/school_years/semesters/edit.js.erb +0 -6
- data/core/app/views/gaku/admin/school_years/semesters/new.js.erb +0 -5
- data/core/app/views/gaku/admin/school_years/semesters/update.js.erb +0 -8
- data/core/app/views/gaku/admin/school_years/show.html.slim +0 -15
- data/core/app/views/gaku/admin/school_years/update.js.erb +0 -8
- data/core/app/views/gaku/admin/schools/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/schools/_form_fields.html.slim +0 -25
- data/core/app/views/gaku/admin/schools/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/_school.html.slim +0 -2
- data/core/app/views/gaku/admin/schools/_school_unit.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/_show_table.html.slim +0 -35
- data/core/app/views/gaku/admin/schools/campuses/_campus.html.slim +0 -7
- data/core/app/views/gaku/admin/schools/campuses/_campus_unit.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/campuses/_campuses.html.slim +0 -20
- data/core/app/views/gaku/admin/schools/campuses/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/schools/campuses/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/campuses/_picture.html.slim +0 -10
- data/core/app/views/gaku/admin/schools/campuses/_show_table.html.slim +0 -10
- data/core/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +0 -7
- data/core/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +0 -4
- data/core/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +0 -24
- data/core/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +0 -7
- data/core/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +0 -6
- data/core/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +0 -4
- data/core/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +0 -4
- data/core/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +0 -4
- data/core/app/views/gaku/admin/schools/campuses/create.js.erb +0 -7
- data/core/app/views/gaku/admin/schools/campuses/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/schools/campuses/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/campuses/new.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/campuses/show.html.slim +0 -21
- data/core/app/views/gaku/admin/schools/campuses/update.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/create.js.erb +0 -7
- data/core/app/views/gaku/admin/schools/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/schools/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/edit_master.html.slim +0 -17
- data/core/app/views/gaku/admin/schools/index.html.slim +0 -29
- data/core/app/views/gaku/admin/schools/new.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/_fields.html.slim +0 -9
- data/core/app/views/gaku/admin/schools/programs/_form.html.slim +0 -20
- data/core/app/views/gaku/admin/schools/programs/_form_fields.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/programs/_modal.html.slim +0 -5
- data/core/app/views/gaku/admin/schools/programs/_programs.html.slim +0 -25
- data/core/app/views/gaku/admin/schools/programs/create.js.erb +0 -7
- data/core/app/views/gaku/admin/schools/programs/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/schools/programs/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/new.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +0 -8
- data/core/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +0 -10
- data/core/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +0 -7
- data/core/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +0 -10
- data/core/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +0 -6
- data/core/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +0 -10
- data/core/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/programs/update.js.erb +0 -3
- data/core/app/views/gaku/admin/schools/show.html.slim +0 -26
- data/core/app/views/gaku/admin/schools/update.js.erb +0 -7
- data/core/app/views/gaku/admin/shared/_picture.html.slim +0 -10
- data/core/app/views/gaku/admin/shared/_upload_picture.html.slim +0 -7
- data/core/app/views/gaku/admin/specialties/_fields.html.slim +0 -6
- data/core/app/views/gaku/admin/specialties/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/specialties/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/admin/specialties/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/specialties/create.js.erb +0 -7
- data/core/app/views/gaku/admin/specialties/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/specialties/index.html.slim +0 -20
- data/core/app/views/gaku/admin/states/_form.html.slim +0 -4
- data/core/app/views/gaku/admin/states/_form_fields.html.slim +0 -14
- data/core/app/views/gaku/admin/states/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/states/country_states.js.erb +0 -1
- data/core/app/views/gaku/admin/states/create.js.erb +0 -7
- data/core/app/views/gaku/admin/states/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/states/edit.js.erb +0 -3
- data/core/app/views/gaku/admin/states/index.html.slim +0 -15
- data/core/app/views/gaku/admin/states/new.js.erb +0 -3
- data/core/app/views/gaku/admin/states/update.js.erb +0 -3
- data/core/app/views/gaku/admin/templates/_fields.html.slim +0 -8
- data/core/app/views/gaku/admin/templates/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/templates/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/templates/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/templates/edit.js.erb +0 -4
- data/core/app/views/gaku/admin/templates/index.html.slim +0 -20
- data/core/app/views/gaku/admin/templates/new.js.erb +0 -3
- data/core/app/views/gaku/admin/users/_form.html.slim +0 -3
- data/core/app/views/gaku/admin/users/_modal.html.slim +0 -6
- data/core/app/views/gaku/admin/users/create.js.erb +0 -7
- data/core/app/views/gaku/admin/users/destroy.js.erb +0 -2
- data/core/app/views/gaku/admin/users/index.html.slim +0 -21
- data/core/app/views/gaku/attachments/edit.js.erb +0 -3
- data/core/app/views/gaku/attachments/soft_delete.js.erb +0 -3
- data/core/app/views/gaku/class_groups/_class_group.html.slim +0 -7
- data/core/app/views/gaku/class_groups/_class_group_modal.html.slim +0 -7
- data/core/app/views/gaku/class_groups/_class_group_unit.html.slim +0 -5
- data/core/app/views/gaku/class_groups/_class_groups.html.slim +0 -25
- data/core/app/views/gaku/class_groups/_form.html.slim +0 -8
- data/core/app/views/gaku/class_groups/_form_fields.html.slim +0 -6
- data/core/app/views/gaku/class_groups/_tabs.html.slim +0 -32
- data/core/app/views/gaku/class_groups/courses/_courses.html.slim +0 -19
- data/core/app/views/gaku/class_groups/courses/_form.html.slim +0 -5
- data/core/app/views/gaku/class_groups/courses/create.js.erb +0 -8
- data/core/app/views/gaku/class_groups/courses/destroy.js.erb +0 -3
- data/core/app/views/gaku/class_groups/create.js.erb +0 -6
- data/core/app/views/gaku/class_groups/destroy.js.erb +0 -6
- data/core/app/views/gaku/class_groups/edit.js.erb +0 -3
- data/core/app/views/gaku/class_groups/index.html.slim +0 -14
- data/core/app/views/gaku/class_groups/new.js.erb +0 -3
- data/core/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +0 -4
- data/core/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +0 -6
- data/core/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +0 -19
- data/core/app/views/gaku/class_groups/semester_class_groups/create.js.erb +0 -6
- data/core/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +0 -3
- data/core/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +0 -3
- data/core/app/views/gaku/class_groups/semester_class_groups/new.js.erb +0 -3
- data/core/app/views/gaku/class_groups/semester_class_groups/update.js.erb +0 -3
- data/core/app/views/gaku/class_groups/show.html.slim +0 -25
- data/core/app/views/gaku/class_groups/student_chooser.js.erb +0 -2
- data/core/app/views/gaku/class_groups/students/_students.html.slim +0 -19
- data/core/app/views/gaku/class_groups/students/destroy.js.erb +0 -3
- data/core/app/views/gaku/class_groups/students/enroll_students.js.erb +0 -17
- data/core/app/views/gaku/class_groups/students/new.js.erb +0 -3
- data/core/app/views/gaku/class_groups/update.js.erb +0 -8
- data/core/app/views/gaku/contacts/_contacts.html.slim +0 -24
- data/core/app/views/gaku/contacts/_fields.html.slim +0 -13
- data/core/app/views/gaku/contacts/_form.html.slim +0 -4
- data/core/app/views/gaku/contacts/_form_fields.html.slim +0 -14
- data/core/app/views/gaku/contacts/_modal.html.slim +0 -6
- data/core/app/views/gaku/contacts/_primary_field.html.slim +0 -13
- data/core/app/views/gaku/contacts/create.js.erb +0 -21
- data/core/app/views/gaku/contacts/destroy.js.erb +0 -9
- data/core/app/views/gaku/contacts/soft_delete.js.erb +0 -8
- data/core/app/views/gaku/course_groups/_course_group.html.slim +0 -3
- data/core/app/views/gaku/course_groups/_course_group_unit.html.slim +0 -4
- data/core/app/views/gaku/course_groups/_course_groups.html.slim +0 -7
- data/core/app/views/gaku/course_groups/_delete_confirm.html.slim +0 -11
- data/core/app/views/gaku/course_groups/_modal.html.slim +0 -6
- data/core/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +0 -23
- data/core/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +0 -4
- data/core/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +0 -7
- data/core/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +0 -2
- data/core/app/views/gaku/course_groups/create.js.erb +0 -10
- data/core/app/views/gaku/course_groups/destroy.js.erb +0 -2
- data/core/app/views/gaku/course_groups/edit.js.erb +0 -3
- data/core/app/views/gaku/course_groups/index.html.slim +0 -15
- data/core/app/views/gaku/course_groups/index.js.erb +0 -1
- data/core/app/views/gaku/course_groups/new.js.erb +0 -3
- data/core/app/views/gaku/course_groups/recovery.js.erb +0 -2
- data/core/app/views/gaku/course_groups/show.html.slim +0 -30
- data/core/app/views/gaku/course_groups/update.js.erb +0 -7
- data/core/app/views/gaku/courses/_course.html.slim +0 -2
- data/core/app/views/gaku/courses/_course_unit.html.slim +0 -5
- data/core/app/views/gaku/courses/_courses.html.slim +0 -27
- data/core/app/views/gaku/courses/_form.html.slim +0 -7
- data/core/app/views/gaku/courses/_form_fields.html.slim +0 -4
- data/core/app/views/gaku/courses/_modal.html.slim +0 -6
- data/core/app/views/gaku/courses/_tabs.html.slim +0 -25
- data/core/app/views/gaku/courses/assignments/_assignments.html.slim +0 -2
- data/core/app/views/gaku/courses/create.js.erb +0 -7
- data/core/app/views/gaku/courses/destroy.js.erb +0 -7
- data/core/app/views/gaku/courses/edit.js.erb +0 -4
- data/core/app/views/gaku/courses/enrollments/_enrollments.html.slim +0 -29
- data/core/app/views/gaku/courses/enrollments/_errors_modal.html.slim +0 -11
- data/core/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +0 -3
- data/core/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +0 -16
- data/core/app/views/gaku/courses/enrollments/error.js.erb +0 -2
- data/core/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +0 -11
- data/core/app/views/gaku/courses/exams/_exams.html.slim +0 -14
- data/core/app/views/gaku/courses/index.html.slim +0 -14
- data/core/app/views/gaku/courses/new.js.erb +0 -3
- data/core/app/views/gaku/courses/semester_courses/_form.html.slim +0 -4
- data/core/app/views/gaku/courses/semester_courses/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/courses/semester_courses/_modal.html.slim +0 -6
- data/core/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +0 -18
- data/core/app/views/gaku/courses/semester_courses/create.js.erb +0 -6
- data/core/app/views/gaku/courses/semester_courses/destroy.js.erb +0 -3
- data/core/app/views/gaku/courses/semester_courses/edit.js.erb +0 -3
- data/core/app/views/gaku/courses/semester_courses/new.js.erb +0 -3
- data/core/app/views/gaku/courses/semester_courses/update.js.erb +0 -3
- data/core/app/views/gaku/courses/show.html.slim +0 -32
- data/core/app/views/gaku/courses/student_chooser.js.erb +0 -2
- data/core/app/views/gaku/courses/update.js.erb +0 -16
- data/core/app/views/gaku/devise/registrations/new.html.slim +0 -29
- data/core/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +0 -27
- data/core/app/views/gaku/devise/sessions/new.html.slim +0 -27
- data/core/app/views/gaku/exams/_exam.html.slim +0 -2
- data/core/app/views/gaku/exams/_fields.html.slim +0 -8
- data/core/app/views/gaku/exams/_form.html.slim +0 -19
- data/core/app/views/gaku/exams/_form_fields.html.slim +0 -13
- data/core/app/views/gaku/exams/_modal.html.slim +0 -6
- data/core/app/views/gaku/exams/_show_table.html.slim +0 -15
- data/core/app/views/gaku/exams/_weight_check_widget.html.slim +0 -20
- data/core/app/views/gaku/exams/create.js.erb +0 -6
- data/core/app/views/gaku/exams/destroy.js.erb +0 -2
- data/core/app/views/gaku/exams/edit.js +0 -3
- data/core/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +0 -4
- data/core/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +0 -3
- data/core/app/views/gaku/exams/exam_portions/_exam_portion_unit.html.slim +0 -3
- data/core/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +0 -3
- data/core/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +0 -14
- data/core/app/views/gaku/exams/exam_portions/_form.html.slim +0 -3
- data/core/app/views/gaku/exams/exam_portions/_modal.html.slim +0 -8
- data/core/app/views/gaku/exams/exam_portions/_show_table.html.slim +0 -12
- data/core/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +0 -23
- data/core/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +0 -6
- data/core/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +0 -6
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD_0 +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master_0 +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/new.js.erb +0 -3
- data/core/app/views/gaku/exams/exam_portions/create.js.erb +0 -48
- data/core/app/views/gaku/exams/exam_portions/destroy.js.erb +0 -8
- data/core/app/views/gaku/exams/exam_portions/edit.js.erb +0 -3
- data/core/app/views/gaku/exams/exam_portions/new.js.erb +0 -3
- data/core/app/views/gaku/exams/exam_portions/show.html.slim +0 -8
- data/core/app/views/gaku/exams/exam_portions/update.js.erb +0 -27
- data/core/app/views/gaku/exams/grading.html.slim +0 -34
- data/core/app/views/gaku/exams/index.html.slim +0 -21
- data/core/app/views/gaku/exams/new.js.erb +0 -3
- data/core/app/views/gaku/exams/show.html.slim +0 -33
- data/core/app/views/gaku/exams/update.js.erb +0 -5
- data/core/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +0 -9
- data/core/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +0 -6
- data/core/app/views/gaku/extracurricular_activities/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/extracurricular_activities/_modal.html.slim +0 -7
- data/core/app/views/gaku/extracurricular_activities/_tabs.html.slim +0 -14
- data/core/app/views/gaku/extracurricular_activities/create.js.erb +0 -6
- data/core/app/views/gaku/extracurricular_activities/destroy.js.erb +0 -2
- data/core/app/views/gaku/extracurricular_activities/edit.js.erb +0 -3
- data/core/app/views/gaku/extracurricular_activities/index.html.slim +0 -14
- data/core/app/views/gaku/extracurricular_activities/index.js.erb +0 -2
- data/core/app/views/gaku/extracurricular_activities/new.js.erb +0 -3
- data/core/app/views/gaku/extracurricular_activities/show.html.slim +0 -20
- data/core/app/views/gaku/extracurricular_activities/student_chooser.js.erb +0 -2
- data/core/app/views/gaku/extracurricular_activities/students/_students.html.slim +0 -19
- data/core/app/views/gaku/extracurricular_activities/students/destroy.js.erb +0 -3
- data/core/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +0 -11
- data/core/app/views/gaku/extracurricular_activities/update.js.erb +0 -6
- data/core/app/views/gaku/home/_user_info.html.slim +0 -7
- data/core/app/views/gaku/home/_user_menu.html.slim +0 -2
- data/core/app/views/gaku/home/index.html.slim +0 -13
- data/core/app/views/gaku/layouts/admin/index.html.slim +0 -15
- data/core/app/views/gaku/layouts/edit.html.slim +0 -9
- data/core/app/views/gaku/layouts/gaku.html.slim +0 -23
- data/core/app/views/gaku/layouts/index.html.slim +0 -14
- data/core/app/views/gaku/layouts/show.html.slim +0 -10
- data/core/app/views/gaku/notes/_buttons.html.slim +0 -5
- data/core/app/views/gaku/notes/_form.html.slim +0 -6
- data/core/app/views/gaku/notes/_form_fields.html.slim +0 -6
- data/core/app/views/gaku/notes/_modal.html.slim +0 -6
- data/core/app/views/gaku/notes/_notes.html.slim +0 -19
- data/core/app/views/gaku/notes/_show_modal.html.slim +0 -4
- data/core/app/views/gaku/notes/show.js.erb +0 -3
- data/core/app/views/gaku/shared/_delete_modal.html.slim +0 -7
- data/core/app/views/gaku/shared/_delete_modal_remote.html.slim +0 -7
- data/core/app/views/gaku/shared/_errors.html.slim +0 -6
- data/core/app/views/gaku/shared/_flash.html.slim +0 -4
- data/core/app/views/gaku/shared/_login_widget.html.slim +0 -27
- data/core/app/views/gaku/shared/_menubar.html.slim +0 -8
- data/core/app/views/gaku/shared/_modal_config.html.slim +0 -37
- data/core/app/views/gaku/shared/_multi_errors.html.slim +0 -6
- data/core/app/views/gaku/shared/_picture.html.slim +0 -12
- data/core/app/views/gaku/shared/_upload_picture.html.slim +0 -7
- data/core/app/views/gaku/shared/fields/_attachment_fields.html.slim +0 -10
- data/core/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +0 -8
- data/core/app/views/gaku/shared/fields/_person_fields.html.slim +0 -4
- data/core/app/views/gaku/shared/fields/_person_show_table.html.slim +0 -3
- data/core/app/views/gaku/shared/fields/_student_fields.html.slim +0 -22
- data/core/app/views/gaku/shared/fields/_syllabus_fields.html.slim +0 -5
- data/core/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +0 -15
- data/core/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +0 -16
- data/core/app/views/gaku/shared/menu/_admin.html.erb +0 -104
- data/core/app/views/gaku/shared/student/_academic.html.slim +0 -18
- data/core/app/views/gaku/shared/student/_edit.html.slim +0 -20
- data/core/app/views/gaku/shared/student/_personal.html.slim +0 -6
- data/core/app/views/gaku/shared/student/_show.html.slim +0 -14
- data/core/app/views/gaku/shared/student/_show_table.html.slim +0 -51
- data/core/app/views/gaku/shared/student/_tabs.html.slim +0 -36
- data/core/app/views/gaku/shared/student_chooser/_chooser.html.slim +0 -36
- data/core/app/views/gaku/shared/student_chooser/_class_group.html.slim +0 -5
- data/core/app/views/gaku/shared/student_chooser/_course.html.slim +0 -5
- data/core/app/views/gaku/shared/student_chooser/_extracurricular_activity.html.slim +0 -5
- data/core/app/views/gaku/shared/student_chooser/_modal.html.slim +0 -4
- data/core/app/views/gaku/shared/student_chooser/_student.html.slim +0 -18
- data/core/app/views/gaku/students/_delete_modal.html.slim +0 -5
- data/core/app/views/gaku/students/_form.html.slim +0 -3
- data/core/app/views/gaku/students/_form_fields.html.slim +0 -19
- data/core/app/views/gaku/students/_modal.html.slim +0 -6
- data/core/app/views/gaku/students/_student.html.slim +0 -6
- data/core/app/views/gaku/students/_student_unit.html.slim +0 -5
- data/core/app/views/gaku/students/_students.html.slim +0 -17
- data/core/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +0 -28
- data/core/app/views/gaku/students/class_group_enrollments/create.js.erb +0 -11
- data/core/app/views/gaku/students/class_group_enrollments/new.js.erb +0 -2
- data/core/app/views/gaku/students/commute_methods/_commute_method.html.slim +0 -6
- data/core/app/views/gaku/students/commute_methods/_modal.html.slim +0 -6
- data/core/app/views/gaku/students/commute_methods/create.js.erb +0 -3
- data/core/app/views/gaku/students/commute_methods/edit.js.erb +0 -5
- data/core/app/views/gaku/students/commute_methods/new.js.erb +0 -4
- data/core/app/views/gaku/students/commute_methods/update.js.erb +0 -3
- data/core/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +0 -5
- data/core/app/views/gaku/students/course_enrollments/_course_enrollment_unit.html.slim +0 -3
- data/core/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +0 -21
- data/core/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +0 -11
- data/core/app/views/gaku/students/course_enrollments/_form.html.slim +0 -5
- data/core/app/views/gaku/students/course_enrollments/create.js.erb +0 -10
- data/core/app/views/gaku/students/course_enrollments/destroy.js.erb +0 -3
- data/core/app/views/gaku/students/course_enrollments/error.js.erb +0 -2
- data/core/app/views/gaku/students/course_enrollments/new.js.erb +0 -3
- data/core/app/views/gaku/students/create.js.erb +0 -8
- data/core/app/views/gaku/students/destroy.js.erb +0 -2
- data/core/app/views/gaku/students/edit.html.slim +0 -9
- data/core/app/views/gaku/students/edit.js.erb +0 -3
- data/core/app/views/gaku/students/guardians/_edit_table.html.slim +0 -9
- data/core/app/views/gaku/students/guardians/_form.html.slim +0 -3
- data/core/app/views/gaku/students/guardians/_form_fields.html.slim +0 -4
- data/core/app/views/gaku/students/guardians/_guardian.html.slim +0 -2
- data/core/app/views/gaku/students/guardians/_guardian_unit.html.slim +0 -12
- data/core/app/views/gaku/students/guardians/_guardians.html.slim +0 -26
- data/core/app/views/gaku/students/guardians/_modal.html.slim +0 -7
- data/core/app/views/gaku/students/guardians/_picture.html.slim +0 -12
- data/core/app/views/gaku/students/guardians/_show_table.html.slim +0 -13
- data/core/app/views/gaku/students/guardians/_tabs.html.slim +0 -15
- data/core/app/views/gaku/students/guardians/_upload_picture.html.slim +0 -7
- data/core/app/views/gaku/students/guardians/create.js.erb +0 -7
- data/core/app/views/gaku/students/guardians/destroy.js.erb +0 -4
- data/core/app/views/gaku/students/guardians/edit.html.slim +0 -7
- data/core/app/views/gaku/students/guardians/edit.js.erb +0 -3
- data/core/app/views/gaku/students/guardians/new.js.erb +0 -3
- data/core/app/views/gaku/students/guardians/show.html.slim +0 -14
- data/core/app/views/gaku/students/guardians/update.js.erb +0 -4
- data/core/app/views/gaku/students/index.html.slim +0 -16
- data/core/app/views/gaku/students/index.js.erb +0 -13
- data/core/app/views/gaku/students/index.pdf.thinreports +0 -17
- data/core/app/views/gaku/students/new.js.erb +0 -3
- data/core/app/views/gaku/students/search/_address.html.slim +0 -36
- data/core/app/views/gaku/students/search/_extended.slim +0 -134
- data/core/app/views/gaku/students/search/_form.html.slim +0 -25
- data/core/app/views/gaku/students/search/_student.html.slim +0 -24
- data/core/app/views/gaku/students/show.html.slim +0 -1
- data/core/app/views/gaku/students/show.pdf.thinreports +0 -8
- data/core/app/views/gaku/students/simple_grades/_edit.html.slim +0 -8
- data/core/app/views/gaku/students/simple_grades/_fields.html.slim +0 -6
- data/core/app/views/gaku/students/simple_grades/_form.html.slim +0 -6
- data/core/app/views/gaku/students/simple_grades/_form_fields.html.slim +0 -3
- data/core/app/views/gaku/students/simple_grades/_index.html.slim +0 -19
- data/core/app/views/gaku/students/simple_grades/_index_modal.html.slim +0 -4
- data/core/app/views/gaku/students/simple_grades/_simple_grade.html.slim +0 -3
- data/core/app/views/gaku/students/simple_grades/_simple_grades.html.slim +0 -2
- data/core/app/views/gaku/students/simple_grades/create.js.erb +0 -10
- data/core/app/views/gaku/students/simple_grades/destroy.js.erb +0 -4
- data/core/app/views/gaku/students/simple_grades/edit.js.erb +0 -2
- data/core/app/views/gaku/students/simple_grades/index.js.erb +0 -5
- data/core/app/views/gaku/students/simple_grades/new.js.erb +0 -3
- data/core/app/views/gaku/students/simple_grades/update.js.erb +0 -4
- data/core/app/views/gaku/students/student_achievements/_achievements_tab.html.slim +0 -12
- data/core/app/views/gaku/students/student_achievements/_edit.html.slim +0 -8
- data/core/app/views/gaku/students/student_achievements/_fields.html.slim +0 -8
- data/core/app/views/gaku/students/student_achievements/_form.html.slim +0 -6
- data/core/app/views/gaku/students/student_achievements/_form_fields.html.slim +0 -1
- data/core/app/views/gaku/students/student_achievements/_index.html.slim +0 -20
- data/core/app/views/gaku/students/student_achievements/_index_modal.html.slim +0 -4
- data/core/app/views/gaku/students/student_achievements/_student_achievement.html.slim +0 -3
- data/core/app/views/gaku/students/student_achievements/_student_achievements.html.slim +0 -2
- data/core/app/views/gaku/students/student_achievements/create.js.erb +0 -10
- data/core/app/views/gaku/students/student_achievements/destroy.js.erb +0 -4
- data/core/app/views/gaku/students/student_achievements/edit.js.erb +0 -2
- data/core/app/views/gaku/students/student_achievements/index.js.erb +0 -3
- data/core/app/views/gaku/students/student_achievements/new.js.erb +0 -3
- data/core/app/views/gaku/students/student_achievements/update.js.erb +0 -5
- data/core/app/views/gaku/students/student_specialties/_edit.html.slim +0 -8
- data/core/app/views/gaku/students/student_specialties/_fields.html.slim +0 -5
- data/core/app/views/gaku/students/student_specialties/_form.html.slim +0 -6
- data/core/app/views/gaku/students/student_specialties/_form_fields.html.slim +0 -2
- data/core/app/views/gaku/students/student_specialties/_index.html.slim +0 -18
- data/core/app/views/gaku/students/student_specialties/_index_modal.html.slim +0 -4
- data/core/app/views/gaku/students/student_specialties/_specialties_list.html.slim +0 -0
- data/core/app/views/gaku/students/student_specialties/_student_specialties.html.slim +0 -2
- data/core/app/views/gaku/students/student_specialties/_student_specialty.html.slim +0 -3
- data/core/app/views/gaku/students/student_specialties/create.js.erb +0 -11
- data/core/app/views/gaku/students/student_specialties/destroy.js.erb +0 -5
- data/core/app/views/gaku/students/student_specialties/edit.js.erb +0 -2
- data/core/app/views/gaku/students/student_specialties/index.js.erb +0 -5
- data/core/app/views/gaku/students/student_specialties/new.js.erb +0 -3
- data/core/app/views/gaku/students/student_specialties/update.js.erb +0 -4
- data/core/app/views/gaku/students/update.js.erb +0 -3
- data/core/app/views/gaku/syllabuses/_form_fields.html.slim +0 -10
- data/core/app/views/gaku/syllabuses/_modal.html.slim +0 -7
- data/core/app/views/gaku/syllabuses/_syllabus.html.slim +0 -2
- data/core/app/views/gaku/syllabuses/_syllabus_fields.html.slim +0 -4
- data/core/app/views/gaku/syllabuses/_syllabuses.html.slim +0 -11
- data/core/app/views/gaku/syllabuses/assignments/_assignment.html.slim +0 -9
- data/core/app/views/gaku/syllabuses/assignments/_assignments.html.slim +0 -19
- data/core/app/views/gaku/syllabuses/assignments/_form.html.slim +0 -17
- data/core/app/views/gaku/syllabuses/assignments/create.js.erb +0 -7
- data/core/app/views/gaku/syllabuses/create.js.erb +0 -7
- data/core/app/views/gaku/syllabuses/destroy.js.erb +0 -2
- data/core/app/views/gaku/syllabuses/edit.html.slim +0 -59
- data/core/app/views/gaku/syllabuses/edit.js.erb +0 -3
- data/core/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +0 -11
- data/core/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +0 -6
- data/core/app/views/gaku/syllabuses/exams/_exam.html.slim +0 -4
- data/core/app/views/gaku/syllabuses/exams/_exams.html.slim +0 -16
- data/core/app/views/gaku/syllabuses/exams/_fields.html.slim +0 -9
- data/core/app/views/gaku/syllabuses/exams/_form.html.slim +0 -15
- data/core/app/views/gaku/syllabuses/exams/_form_fields.html.slim +0 -10
- data/core/app/views/gaku/syllabuses/exams/_modal.html.slim +0 -6
- data/core/app/views/gaku/syllabuses/exams/_select_form.html.slim +0 -6
- data/core/app/views/gaku/syllabuses/exams/create.js.erb +0 -10
- data/core/app/views/gaku/syllabuses/exams/destroy.js.erb +0 -2
- data/core/app/views/gaku/syllabuses/exams/edit.js.erb +0 -3
- data/core/app/views/gaku/syllabuses/exams/new.js.erb +0 -3
- data/core/app/views/gaku/syllabuses/exams/update.js.erb +0 -4
- data/core/app/views/gaku/syllabuses/index.html.slim +0 -14
- data/core/app/views/gaku/syllabuses/update.js.erb +0 -4
- data/core/app/views/gaku/teachers/_delete_modal.html.slim +0 -5
- data/core/app/views/gaku/teachers/_edit_table.html.slim +0 -5
- data/core/app/views/gaku/teachers/_fields.html.slim +0 -1
- data/core/app/views/gaku/teachers/_form.html.slim +0 -3
- data/core/app/views/gaku/teachers/_modal.html.slim +0 -6
- data/core/app/views/gaku/teachers/_show_table.html.slim +0 -7
- data/core/app/views/gaku/teachers/_tabs.html.slim +0 -21
- data/core/app/views/gaku/teachers/_teacher.html.slim +0 -6
- data/core/app/views/gaku/teachers/_teacher_unit.html.slim +0 -4
- data/core/app/views/gaku/teachers/_teachers.html.slim +0 -11
- data/core/app/views/gaku/teachers/create.js.erb +0 -8
- data/core/app/views/gaku/teachers/destroy.js.erb +0 -2
- data/core/app/views/gaku/teachers/edit.html.slim +0 -23
- data/core/app/views/gaku/teachers/edit.js.erb +0 -3
- data/core/app/views/gaku/teachers/index.html.slim +0 -16
- data/core/app/views/gaku/teachers/index.js.erb +0 -2
- data/core/app/views/gaku/teachers/new.js.erb +0 -3
- data/core/app/views/gaku/teachers/show.html.slim +0 -14
- data/core/app/views/gaku/teachers/update.js.erb +0 -4
- data/core/app/views/kaminari/_paginator.html.erb +0 -25
- data/core/config/initializers/mime_types.rb +0 -1
- data/core/config/initializers/ruby_template_handler.rb +0 -1
- data/core/db/migrate/20120202111850_translated_tables.rb +0 -52
- data/core/db/migrate/20131014065028_gaku_core.rb +0 -685
- data/core/lib/gaku/core/version.rb +0 -5
- data/core/lib/gaku/testing/env.rb +0 -10
- data/core/lib/gaku/testing/factories/achievement_factory.rb +0 -12
- data/core/lib/gaku/testing/factories/student_achievement_factory.rb +0 -8
- data/core/lib/gaku/testing/flash_helpers.rb +0 -35
- data/core/lib/gaku/testing/request_helpers.rb +0 -212
- data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/all.js +0 -14
- data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/all.css +0 -12
- data/core/log/.gitkeep +0 -0
- data/core/script/rails +0 -9
- data/core/spec/controllers/gaku/addresses_controller_spec.rb +0 -262
- data/core/spec/controllers/gaku/admin/achievements_controller_spec.rb +0 -139
- data/core/spec/controllers/gaku/admin/disposals_controller_spec.rb +0 -177
- data/core/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb +0 -165
- data/core/spec/controllers/gaku/admin/grading/grading_method_sets_controller_spec.rb +0 -183
- data/core/spec/controllers/gaku/admin/grading/grading_methods_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/admin/presets_controller_spec.rb +0 -44
- data/core/spec/controllers/gaku/admin/roles_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb +0 -94
- data/core/spec/controllers/gaku/admin/schools/schools_controller_spec.rb +0 -129
- data/core/spec/controllers/gaku/admin/specialties_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/admin/templates_controller_spec.rb +0 -118
- data/core/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb +0 -176
- data/core/spec/controllers/gaku/admin/types_and_methods/commute_method_types_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb +0 -153
- data/core/spec/controllers/gaku/admin/users_controller_spec.rb +0 -154
- data/core/spec/controllers/gaku/class_group_enrollments_controller_spec.rb +0 -62
- data/core/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb +0 -129
- data/core/spec/controllers/gaku/contacts_controller_spec.rb +0 -250
- data/core/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb +0 -75
- data/core/spec/controllers/gaku/courses/courses_controller_spec.rb +0 -79
- data/core/spec/controllers/gaku/exams/exams_controller_spec.rb +0 -156
- data/core/spec/controllers/gaku/notes_controller_spec.rb +0 -143
- data/core/spec/controllers/gaku/students/guardians_controller_spec.rb +0 -62
- data/core/spec/controllers/gaku/students/students_controller_spec.rb +0 -243
- data/core/spec/controllers/gaku/syllabuses_controller_spec.rb +0 -140
- data/core/spec/controllers/gaku/teachers_controller_spec.rb +0 -190
- data/core/spec/integration/student_versioning_spec.rb +0 -93
- data/core/spec/models/achievement_spec.rb +0 -21
- data/core/spec/models/student_achievement_spec.rb +0 -15
- data/core/spec/requests/admin/achievements/achievements_spec.rb +0 -73
- data/core/spec/requests/admin/changes_and_deletions/students_spec.rb +0 -47
- data/core/spec/requests/admin/disposals/student_disposals_spec.rb +0 -50
- data/core/spec/requests/admin/disposals/teacher_disposals_spec.rb +0 -50
- data/core/spec/requests/admin/grading/grading_method_set_items_spec.rb +0 -86
- data/core/spec/requests/admin/grading/grading_method_sets_spec.rb +0 -118
- data/core/spec/requests/admin/grading/grading_methods_spec.rb +0 -74
- data/core/spec/requests/admin/presets/defaults_preset_spec.rb +0 -21
- data/core/spec/requests/admin/presets/grading_preset_spec.rb +0 -22
- data/core/spec/requests/admin/presets/locale_preset_spec.rb +0 -22
- data/core/spec/requests/admin/presets/names_preset_spec.rb +0 -21
- data/core/spec/requests/admin/presets/output_formats_spec.rb +0 -30
- data/core/spec/requests/admin/presets/pagination_preset_spec.rb +0 -23
- data/core/spec/requests/admin/presets/student_preset_spec.rb +0 -28
- data/core/spec/requests/admin/roles_spec.rb +0 -86
- data/core/spec/requests/admin/school_years/school_years_spec.rb +0 -125
- data/core/spec/requests/admin/school_years/semesters_spec.rb +0 -167
- data/core/spec/requests/admin/schools/campuses/addresses_spec.rb +0 -116
- data/core/spec/requests/admin/schools/campuses/campuses_spec.rb +0 -90
- data/core/spec/requests/admin/schools/campuses/contacts_spec.rb +0 -49
- data/core/spec/requests/admin/schools/campuses/picture_spec.rb +0 -19
- data/core/spec/requests/admin/schools/picture_spec.rb +0 -21
- data/core/spec/requests/admin/schools/programs_spec.rb +0 -125
- data/core/spec/requests/admin/schools/school_details_spec.rb +0 -22
- data/core/spec/requests/admin/schools/school_levels_spec.rb +0 -82
- data/core/spec/requests/admin/schools/schools_spec.rb +0 -138
- data/core/spec/requests/admin/specialties_spec.rb +0 -73
- data/core/spec/requests/admin/templates_spec.rb +0 -97
- data/core/spec/requests/admin/types_and_methods/attendance_types_spec.rb +0 -80
- data/core/spec/requests/admin/types_and_methods/commute_method_types_spec.rb +0 -75
- data/core/spec/requests/admin/types_and_methods/contact_types_spec.rb +0 -74
- data/core/spec/requests/admin/types_and_methods/enrollment_statuses_spec.rb +0 -75
- data/core/spec/requests/admin/types_and_methods/states_spec.rb +0 -110
- data/core/spec/requests/admin/users_spec.rb +0 -91
- data/core/spec/requests/class_groups/class_groups_spec.rb +0 -171
- data/core/spec/requests/class_groups/courses_spec.rb +0 -40
- data/core/spec/requests/class_groups/notes_spec.rb +0 -30
- data/core/spec/requests/class_groups/semester_class_groups_spec.rb +0 -111
- data/core/spec/requests/class_groups/students_spec.rb +0 -92
- data/core/spec/requests/course_groups/course_groups_spec.rb +0 -122
- data/core/spec/requests/course_groups/courses_spec.rb +0 -38
- data/core/spec/requests/courses/courses_spec.rb +0 -167
- data/core/spec/requests/courses/enrollments/class_groups_spec.rb +0 -86
- data/core/spec/requests/courses/enrollments/students_spec.rb +0 -63
- data/core/spec/requests/courses/exams_spec.rb +0 -36
- data/core/spec/requests/courses/notes_spec.rb +0 -30
- data/core/spec/requests/courses/semester_courses_spec.rb +0 -119
- data/core/spec/requests/exams/exam_portions/attachments_spec.rb +0 -147
- data/core/spec/requests/exams/exam_portions/exam_portions_spec.rb +0 -113
- data/core/spec/requests/exams/exams_spec.rb +0 -141
- data/core/spec/requests/exams/notes_spec.rb +0 -30
- data/core/spec/requests/extracurricular_activities/extracurricular_activities_spec.rb +0 -87
- data/core/spec/requests/extracurricular_activities/students_spec.rb +0 -120
- data/core/spec/requests/sign_in_spec.rb +0 -78
- data/core/spec/requests/sign_up_spec.rb +0 -75
- data/core/spec/requests/students/achievements_spec.rb +0 -82
- data/core/spec/requests/students/addresses_spec.rb +0 -61
- data/core/spec/requests/students/class_group_enrollments_spec.rb +0 -47
- data/core/spec/requests/students/contacts_spec.rb +0 -60
- data/core/spec/requests/students/course_enrollments_spec.rb +0 -39
- data/core/spec/requests/students/guardians/addresses_spec.rb +0 -65
- data/core/spec/requests/students/guardians/contacts_spec.rb +0 -59
- data/core/spec/requests/students/guardians/guardians_spec.rb +0 -89
- data/core/spec/requests/students/guardians/picture_spec.rb +0 -23
- data/core/spec/requests/students/notes_spec.rb +0 -33
- data/core/spec/requests/students/picture_spec.rb +0 -21
- data/core/spec/requests/students/simple_grades_spec.rb +0 -85
- data/core/spec/requests/students/specialties_spec.rb +0 -91
- data/core/spec/requests/students/students_spec.rb +0 -127
- data/core/spec/requests/syllabuses/exams_spec.rb +0 -168
- data/core/spec/requests/syllabuses/notes_spec.rb +0 -30
- data/core/spec/requests/syllabuses/syllabuses_spec.rb +0 -104
- data/core/spec/requests/teachers/addresses_spec.rb +0 -60
- data/core/spec/requests/teachers/picture_spec.rb +0 -21
- data/core/spec/requests/teachers/teachers_spec.rb +0 -114
- data/core/spec/routing/student_routes_spec.rb +0 -73
- data/core/spec/spec_helper.rb +0 -86
- data/core/spec/support/requests/avatarable_spec.rb +0 -16
- data/core/spec/support/requests/course_enrollable_spec.rb +0 -72
- data/core/spec/support/requests/shared_addresses_spec.rb +0 -175
- data/core/spec/support/requests/shared_contacts_spec.rb +0 -121
- data/core/spec/support/requests/shared_notes_spec.rb +0 -83
- data/core/vendor/assets/javascripts/backbone.js +0 -1431
- data/core/vendor/assets/javascripts/tablefix.js.coffee +0 -109
- data/gaku_dependencies.rb +0 -16
- data/sample/db/sample/gaku/achievements.rb +0 -12
- data/sample/db/sample/gaku/courses.rb +0 -9
- data/sample/db/sample/gaku/syllabuses.rb +0 -130
Binary file
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#= require jquery
|
2
|
+
#= require jquery.minicolors
|
3
|
+
|
4
|
+
#= require jquery.ui.autocomplete
|
5
|
+
#= require jquery.ui.draggable
|
6
|
+
#= require jquery.ui.droppable
|
7
|
+
#= require jquery.ui.resizable
|
8
|
+
#= require jquery.ui.selectable
|
9
|
+
#= require jquery.ui.sortable
|
10
|
+
#= require jquery.ui.effect-slide
|
11
|
+
|
12
|
+
# require bootstrap
|
13
|
+
#= require bootstrap/alert
|
14
|
+
#= require bootstrap/button
|
15
|
+
#= require bootstrap/tab
|
16
|
+
#= require bootstrap/dropdown
|
17
|
+
#= require bootstrap/modal
|
18
|
+
|
19
|
+
|
20
|
+
#= require nprogress
|
21
|
+
#= require nprogress-turbolinks
|
22
|
+
#= require nprogress-ajax
|
23
|
+
|
24
|
+
#= require bootstrap-datepicker/core
|
25
|
+
#= require bootstrap-datepicker/locales/bootstrap-datepicker.ja
|
26
|
+
|
27
|
+
#= require underscore
|
28
|
+
#= require moment
|
29
|
+
#= require rails.validations
|
30
|
+
#= require gaku/admin/slide.js.erb
|
31
|
+
|
32
|
+
#= require gaku/admin/base
|
33
|
+
|
34
|
+
#= require jquery_nested_form
|
35
|
+
#= require phantom_forms
|
36
|
+
#= require phantom_nested_forms
|
37
|
+
|
38
|
+
#= require_tree .
|
39
|
+
|
40
|
+
NProgress.configure
|
41
|
+
showSpinner: false
|
42
|
+
ease: 'ease-in-out'
|
43
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
ready = ->
|
2
|
+
self = this
|
3
|
+
|
4
|
+
class AdminController
|
5
|
+
init: ->
|
6
|
+
#need to add datepicker to newly added inputs from nested_form_for
|
7
|
+
$('body').on 'click','.add-semester', ->
|
8
|
+
setTimeout ->
|
9
|
+
$('.datepicker').datepicker_i18n()
|
10
|
+
,500
|
11
|
+
|
12
|
+
index: ->
|
13
|
+
self.admin.upload_picture()
|
14
|
+
$(document).on 'keyup', '.dynamicAttributeName', ->
|
15
|
+
nameElem = $(@)
|
16
|
+
valueElem = nameElem.closest('.row')
|
17
|
+
.find('.dynamicAttributeValue')
|
18
|
+
value = nameElem.val()
|
19
|
+
|
20
|
+
valueElem.attr 'id', "grading_method_arguments_#{value}"
|
21
|
+
valueElem.attr 'name', "grading_method[arguments][#{value}]"
|
22
|
+
valueElem.attr 'placeholder', "value for #{value}"
|
23
|
+
|
24
|
+
$(document).on 'click', '.remove-argument-row', (e)->
|
25
|
+
e.preventDefault()
|
26
|
+
if confirm('Are you sure?')
|
27
|
+
$(@).closest('.row').html ''
|
28
|
+
|
29
|
+
$(document).on 'click', '.add-argument-row', (e)->
|
30
|
+
e.preventDefault()
|
31
|
+
|
32
|
+
contents = "<div class='row'> #{$('.attribute-template').html()} </div>"
|
33
|
+
$(@).before(contents);
|
34
|
+
|
35
|
+
|
36
|
+
edit: ->
|
37
|
+
self.admin.country_dropdown()
|
38
|
+
|
39
|
+
edit_master: ->
|
40
|
+
self.admin.upload_picture()
|
41
|
+
|
42
|
+
new: ->
|
43
|
+
self.admin.country_dropdown()
|
44
|
+
|
45
|
+
school_details: ->
|
46
|
+
self.admin.upload_picture()
|
47
|
+
|
48
|
+
@admin.admin = new AdminController
|
49
|
+
|
50
|
+
$(document).ready(ready)
|
51
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,118 @@
|
|
1
|
+
window.showNotice = (notice)->
|
2
|
+
$('#notice').html(notice).delay(3000).fadeOut ->
|
3
|
+
$(@).html('').show()
|
4
|
+
|
5
|
+
$.fn.enableValidations = ->
|
6
|
+
$(this).enableRails4ClientSideValidations()
|
7
|
+
|
8
|
+
$.fn.withAnimation = ->
|
9
|
+
$(this).animate({height:"toggle", opacity:"toggle"})
|
10
|
+
|
11
|
+
$.fn.showModal = ->
|
12
|
+
$(this).modal('show')
|
13
|
+
|
14
|
+
$.fn.hideModal = ->
|
15
|
+
$(this).modal('hide')
|
16
|
+
|
17
|
+
$.fn.datepicker_i18n = ->
|
18
|
+
$(this).datepicker({
|
19
|
+
language: $('body').data('locale'),
|
20
|
+
startView: 2,
|
21
|
+
autoclose: true,
|
22
|
+
todayBtn: true,
|
23
|
+
todayHighlight: true,
|
24
|
+
calendarWeeks: true
|
25
|
+
})
|
26
|
+
|
27
|
+
$.fn.datepicker.defaults.format = "yyyy-mm-dd"
|
28
|
+
|
29
|
+
window.load_states = ->
|
30
|
+
countryCode = $("#country_dropdown option:selected").val()
|
31
|
+
if countryCode
|
32
|
+
$.ajax
|
33
|
+
type: 'get'
|
34
|
+
url: '/states'
|
35
|
+
dataType: 'script'
|
36
|
+
data:
|
37
|
+
country_id: countryCode
|
38
|
+
|
39
|
+
ready = ->
|
40
|
+
|
41
|
+
class Admin
|
42
|
+
init: ->
|
43
|
+
$('.datepicker').datepicker_i18n()
|
44
|
+
|
45
|
+
$(document).on 'ajax:success', '.recovery-link', ->
|
46
|
+
$(this).closest('tr').remove()
|
47
|
+
|
48
|
+
$(document).on 'ajax:success','.delete-link', (evt, data, status, xhr) ->
|
49
|
+
$(this).closest('tr').remove()
|
50
|
+
|
51
|
+
notice = $('#notice')
|
52
|
+
if notice.children().length > 0
|
53
|
+
notice.children().delay(3000).fadeOut ->
|
54
|
+
notice.html('')
|
55
|
+
|
56
|
+
$('.modal-delete-link').on 'click', (e)->
|
57
|
+
e.preventDefault()
|
58
|
+
$('#delete-modal').modal('show')
|
59
|
+
|
60
|
+
|
61
|
+
$('.sortable').sortable
|
62
|
+
handle: '.sort-handler'
|
63
|
+
helper: fixHelper
|
64
|
+
axis: 'y'
|
65
|
+
update: ->
|
66
|
+
$.post $(@).data('sort-url'), $(@).sortable('serialize')
|
67
|
+
|
68
|
+
# sorting
|
69
|
+
fixHelper = (e, ui) ->
|
70
|
+
ui.children().each ->
|
71
|
+
$(@).width $(@).width()
|
72
|
+
ui
|
73
|
+
|
74
|
+
edit: ->
|
75
|
+
@upload_picture()
|
76
|
+
|
77
|
+
unless(typeof notable_resource == 'undefined')
|
78
|
+
$("#submit-" + notable_resource + "-note-button").live "ajax:success", (data, status, xhr)->
|
79
|
+
$("#new-" + notable_resource + "-note-link").show()
|
80
|
+
$("#new-" + notable_resource + "-note form").slide()
|
81
|
+
|
82
|
+
$('#soft-delete-link').on 'click', (e)->
|
83
|
+
e.preventDefault()
|
84
|
+
$('#delete-modal').modal('show')
|
85
|
+
|
86
|
+
show: ->
|
87
|
+
# FIXME Remove after view refactoring
|
88
|
+
@edit()
|
89
|
+
|
90
|
+
upload_picture: ->
|
91
|
+
$("#upload-picture-link").click ->
|
92
|
+
$("#upload-picture").toggle()
|
93
|
+
|
94
|
+
country_dropdown: ->
|
95
|
+
$('body').on 'change', '#country_dropdown', ->
|
96
|
+
window.load_states()
|
97
|
+
|
98
|
+
|
99
|
+
@admin = new Admin
|
100
|
+
|
101
|
+
(($, undefined_) ->
|
102
|
+
$ ->
|
103
|
+
$body = $("body")
|
104
|
+
parent_controller = $body.data("parent-controller")
|
105
|
+
action = $body.data("action")
|
106
|
+
|
107
|
+
@admin.init() if $.isFunction(@admin.init)
|
108
|
+
@admin[action]() if $.isFunction(@admin[action])
|
109
|
+
|
110
|
+
activeController = @admin[parent_controller]
|
111
|
+
if activeController isnt `undefined`
|
112
|
+
activeController.init() if $.isFunction(activeController.init)
|
113
|
+
activeController[action]() if $.isFunction(activeController[action])
|
114
|
+
) jQuery
|
115
|
+
|
116
|
+
|
117
|
+
$(document).ready(ready)
|
118
|
+
$(window).bind('page:change', ready)
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
*= require gaku/admin/bootstrap_and_theme
|
3
|
+
*= require bootstrap-datepicker
|
4
|
+
* require font-awesome
|
5
|
+
*= require jquery.ui.autocomplete
|
6
|
+
*= require jquery.minicolors
|
7
|
+
*= require nprogress
|
8
|
+
*= require nprogress-bootstrap
|
9
|
+
*= require phantom_helpers
|
10
|
+
*= require phantom_forms
|
11
|
+
*= require gaku/admin/gaku
|
12
|
+
*= require_self
|
13
|
+
*/
|
@@ -0,0 +1,571 @@
|
|
1
|
+
@import "bootstrap";
|
2
|
+
@import "bootstrap/glyphicons";
|
3
|
+
|
4
|
+
// for submenu --------
|
5
|
+
.dropdown-submenu{position:relative;}
|
6
|
+
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
|
7
|
+
.dropdown-submenu:hover>.dropdown-menu{display:block;}
|
8
|
+
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
|
9
|
+
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
|
10
|
+
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
|
11
|
+
|
12
|
+
// for fix --------
|
13
|
+
.nav-pills {
|
14
|
+
li {
|
15
|
+
background-color: #F8F8F8;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
//.index-header { margin-bottom: 10px; }
|
20
|
+
|
21
|
+
.container {
|
22
|
+
max-width: 1900px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.alert-dismissable .close {
|
26
|
+
position: relative;
|
27
|
+
top: -2px;
|
28
|
+
right: 0px;
|
29
|
+
color: red;
|
30
|
+
font-size: 24px;
|
31
|
+
}
|
32
|
+
|
33
|
+
.table {
|
34
|
+
& thead>tr>th {
|
35
|
+
vertical-align: middle;
|
36
|
+
text-align: center;
|
37
|
+
}
|
38
|
+
& tbody>tr>td {
|
39
|
+
vertical-align: middle;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.tab-pane {
|
44
|
+
.panel {
|
45
|
+
margin-bottom: 15px;
|
46
|
+
}
|
47
|
+
.panel:last-child {
|
48
|
+
margin-bottom: 0px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// theme main --------
|
53
|
+
.btn-default,
|
54
|
+
.btn-primary,
|
55
|
+
.btn-success,
|
56
|
+
.btn-info,
|
57
|
+
.btn-warning,
|
58
|
+
.btn-danger {
|
59
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
60
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
61
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
62
|
+
}
|
63
|
+
|
64
|
+
.btn-default:active,
|
65
|
+
.btn-primary:active,
|
66
|
+
.btn-success:active,
|
67
|
+
.btn-info:active,
|
68
|
+
.btn-warning:active,
|
69
|
+
.btn-danger:active,
|
70
|
+
.btn-default.active,
|
71
|
+
.btn-primary.active,
|
72
|
+
.btn-success.active,
|
73
|
+
.btn-info.active,
|
74
|
+
.btn-warning.active,
|
75
|
+
.btn-danger.active {
|
76
|
+
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
77
|
+
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
78
|
+
}
|
79
|
+
|
80
|
+
.btn:active,
|
81
|
+
.btn.active {
|
82
|
+
background-image: none;
|
83
|
+
}
|
84
|
+
|
85
|
+
.btn:hover {
|
86
|
+
text-decoration: none;
|
87
|
+
background-position: 0 -15px;
|
88
|
+
-webkit-transition: background-position 0.1s linear;
|
89
|
+
-moz-transition: background-position 0.1s linear;
|
90
|
+
-o-transition: background-position 0.1s linear;
|
91
|
+
transition: background-position 0.1s linear;
|
92
|
+
}
|
93
|
+
|
94
|
+
.btn-default {
|
95
|
+
background-color: hsl(0, 0%, 87%) !important;
|
96
|
+
background-repeat: repeat-x;
|
97
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f7f7", endColorstr="#dddddd");
|
98
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#f7f7f7), to(#dddddd));
|
99
|
+
background-image: -moz-linear-gradient(top, #f7f7f7, #dddddd);
|
100
|
+
background-image: -ms-linear-gradient(top, #f7f7f7, #dddddd);
|
101
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #dddddd));
|
102
|
+
background-image: -webkit-linear-gradient(top, #f7f7f7, #dddddd);
|
103
|
+
background-image: -o-linear-gradient(top, #f7f7f7, #dddddd);
|
104
|
+
background-image: linear-gradient(#f7f7f7, #dddddd);
|
105
|
+
border-color: #dddddd #dddddd hsl(0, 0%, 84.5%);
|
106
|
+
color: #333 !important;
|
107
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.16);
|
108
|
+
-webkit-font-smoothing: antialiased;
|
109
|
+
}
|
110
|
+
|
111
|
+
.btn-default:active,
|
112
|
+
.btn-default.active {
|
113
|
+
background-color: #e6e6e6;
|
114
|
+
border-color: #e0e0e0;
|
115
|
+
}
|
116
|
+
.btn-default:hover {
|
117
|
+
border-color: #cdcdcd;
|
118
|
+
}
|
119
|
+
|
120
|
+
.btn-primary {
|
121
|
+
background-color: hsl(208, 56%, 40%) !important;
|
122
|
+
background-repeat: repeat-x;
|
123
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3884c6", endColorstr="#2c699f");
|
124
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#3884c6), to(#2c699f));
|
125
|
+
background-image: -moz-linear-gradient(top, #3884c6, #2c699f);
|
126
|
+
background-image: -ms-linear-gradient(top, #3884c6, #2c699f);
|
127
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3884c6), color-stop(100%, #2c699f));
|
128
|
+
background-image: -webkit-linear-gradient(top, #3884c6, #2c699f);
|
129
|
+
background-image: -o-linear-gradient(top, #3884c6, #2c699f);
|
130
|
+
background-image: linear-gradient(#3884c6, #2c699f);
|
131
|
+
border-color: #2c699f #2c699f hsl(208, 56%, 37.5%);
|
132
|
+
color: #fff !important;
|
133
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
134
|
+
-webkit-font-smoothing: antialiased;
|
135
|
+
}
|
136
|
+
|
137
|
+
.btn-primary:active,
|
138
|
+
.btn-primary.active {
|
139
|
+
background-color: #3071a9;
|
140
|
+
border-color: #2d6ca2;
|
141
|
+
}
|
142
|
+
|
143
|
+
.btn-success {
|
144
|
+
background-color: hsl(120, 40%, 41%) !important;
|
145
|
+
background-repeat: repeat-x;
|
146
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#50b450", endColorstr="#3e923e");
|
147
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#50b450), to(#3e923e));
|
148
|
+
background-image: -moz-linear-gradient(top, #50b450, #3e923e);
|
149
|
+
background-image: -ms-linear-gradient(top, #50b450, #3e923e);
|
150
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #50b450), color-stop(100%, #3e923e));
|
151
|
+
background-image: -webkit-linear-gradient(top, #50b450, #3e923e);
|
152
|
+
background-image: -o-linear-gradient(top, #50b450, #3e923e);
|
153
|
+
background-image: linear-gradient(#50b450, #3e923e);
|
154
|
+
border-color: #3e923e #3e923e hsl(120, 40%, 38.5%);
|
155
|
+
color: #fff !important;
|
156
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
157
|
+
-webkit-font-smoothing: antialiased;
|
158
|
+
}
|
159
|
+
|
160
|
+
.btn-success:active,
|
161
|
+
.btn-success.active {
|
162
|
+
background-color: #449d44;
|
163
|
+
border-color: #419641;
|
164
|
+
}
|
165
|
+
|
166
|
+
.btn-warning {
|
167
|
+
background-color: hsl(35, 85%, 49%) !important;
|
168
|
+
background-repeat: repeat-x;
|
169
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#efa53d", endColorstr="#e78e12");
|
170
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#efa53d), to(#e78e12));
|
171
|
+
background-image: -moz-linear-gradient(top, #efa53d, #e78e12);
|
172
|
+
background-image: -ms-linear-gradient(top, #efa53d, #e78e12);
|
173
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efa53d), color-stop(100%, #e78e12));
|
174
|
+
background-image: -webkit-linear-gradient(top, #efa53d, #e78e12);
|
175
|
+
background-image: -o-linear-gradient(top, #efa53d, #e78e12);
|
176
|
+
background-image: linear-gradient(#efa53d, #e78e12);
|
177
|
+
border-color: #e78e12 #e78e12 hsl(35, 85%, 46.5%);
|
178
|
+
color: #fff !important;
|
179
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
180
|
+
-webkit-font-smoothing: antialiased;
|
181
|
+
}
|
182
|
+
|
183
|
+
.btn-warning:active,
|
184
|
+
.btn-warning.active {
|
185
|
+
background-color: #ec971f;
|
186
|
+
border-color: #eb9316;
|
187
|
+
}
|
188
|
+
|
189
|
+
.btn-danger {
|
190
|
+
background-color: hsl(2, 65%, 45%) !important;
|
191
|
+
background-repeat: repeat-x;
|
192
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d64641", endColorstr="#bd2d28");
|
193
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#d64641), to(#bd2d28));
|
194
|
+
background-image: -moz-linear-gradient(top, #d64641, #bd2d28);
|
195
|
+
background-image: -ms-linear-gradient(top, #d64641, #bd2d28);
|
196
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d64641), color-stop(100%, #bd2d28));
|
197
|
+
background-image: -webkit-linear-gradient(top, #d64641, #bd2d28);
|
198
|
+
background-image: -o-linear-gradient(top, #d64641, #bd2d28);
|
199
|
+
background-image: linear-gradient(#d64641, #bd2d28);
|
200
|
+
border-color: #bd2d28 #bd2d28 hsl(2, 65%, 42.5%);
|
201
|
+
color: #fff !important;
|
202
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
203
|
+
-webkit-font-smoothing: antialiased;
|
204
|
+
}
|
205
|
+
|
206
|
+
.btn-danger:active,
|
207
|
+
.btn-danger.active {
|
208
|
+
background-color: #c9302c;
|
209
|
+
border-color: #c12e2a;
|
210
|
+
}
|
211
|
+
|
212
|
+
.btn-info {
|
213
|
+
background-color: hsl(194, 66%, 48%) !important;
|
214
|
+
background-repeat: repeat-x;
|
215
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4db9da", endColorstr="#29a5cb");
|
216
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#4db9da), to(#29a5cb));
|
217
|
+
background-image: -moz-linear-gradient(top, #4db9da, #29a5cb);
|
218
|
+
background-image: -ms-linear-gradient(top, #4db9da, #29a5cb);
|
219
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4db9da), color-stop(100%, #29a5cb));
|
220
|
+
background-image: -webkit-linear-gradient(top, #4db9da, #29a5cb);
|
221
|
+
background-image: -o-linear-gradient(top, #4db9da, #29a5cb);
|
222
|
+
background-image: linear-gradient(#4db9da, #29a5cb);
|
223
|
+
border-color: #29a5cb #29a5cb hsl(194, 66%, 45.5%);
|
224
|
+
color: #fff !important;
|
225
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
226
|
+
-webkit-font-smoothing: antialiased;
|
227
|
+
}
|
228
|
+
|
229
|
+
.btn-info:active,
|
230
|
+
.btn-info.active {
|
231
|
+
background-color: #31b0d5;
|
232
|
+
border-color: #2aabd2;
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
// original btn style
|
237
|
+
|
238
|
+
.btn-inverse {
|
239
|
+
background-color: hsl(0, 0%, 15%) !important;
|
240
|
+
background-repeat: repeat-x;
|
241
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3f3f3f", endColorstr="#262626");
|
242
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#3f3f3f), to(#262626));
|
243
|
+
background-image: -moz-linear-gradient(top, #3f3f3f, #262626);
|
244
|
+
background-image: -ms-linear-gradient(top, #3f3f3f, #262626);
|
245
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3f3f3f), color-stop(100%, #262626));
|
246
|
+
background-image: -webkit-linear-gradient(top, #3f3f3f, #262626);
|
247
|
+
background-image: -o-linear-gradient(top, #3f3f3f, #262626);
|
248
|
+
background-image: linear-gradient(#3f3f3f, #262626);
|
249
|
+
border-color: #262626 #262626 hsl(0, 0%, 12.5%);
|
250
|
+
color: #fff !important;
|
251
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
252
|
+
-webkit-font-smoothing: antialiased;
|
253
|
+
}
|
254
|
+
|
255
|
+
.btn-gaku {
|
256
|
+
background-color: hsl(240, 34%, 67%) !important;
|
257
|
+
background-repeat: repeat-x;
|
258
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a2a2d1", endColorstr="#8e8ec7");
|
259
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#a2a2d1), to(#8e8ec7));
|
260
|
+
background-image: -moz-linear-gradient(top, #a2a2d1, #8e8ec7);
|
261
|
+
background-image: -ms-linear-gradient(top, #a2a2d1, #8e8ec7);
|
262
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a2a2d1), color-stop(100%, #8e8ec7));
|
263
|
+
background-image: -webkit-linear-gradient(top, #a2a2d1, #8e8ec7);
|
264
|
+
background-image: -o-linear-gradient(top, #a2a2d1, #8e8ec7);
|
265
|
+
background-image: linear-gradient(#a2a2d1, #8e8ec7);
|
266
|
+
border-color: #8e8ec7 #8e8ec7 hsl(240, 34%, 65.5%);
|
267
|
+
color: #fff !important;
|
268
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
269
|
+
-webkit-font-smoothing: antialiased;
|
270
|
+
}
|
271
|
+
|
272
|
+
.thumbnail,
|
273
|
+
.img-thumbnail {
|
274
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
275
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
276
|
+
}
|
277
|
+
|
278
|
+
.dropdown-menu > li > a:hover,
|
279
|
+
.dropdown-menu > li > a:focus,
|
280
|
+
.dropdown-menu > .active > a,
|
281
|
+
.dropdown-menu > .active > a:hover,
|
282
|
+
.dropdown-menu > .active > a:focus {
|
283
|
+
color: #FFF;
|
284
|
+
background-color: #357ebd;
|
285
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
286
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
287
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
288
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
289
|
+
background-repeat: repeat-x;
|
290
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
291
|
+
}
|
292
|
+
|
293
|
+
.navbar {
|
294
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
|
295
|
+
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%);
|
296
|
+
background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
297
|
+
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
|
298
|
+
background-repeat: repeat-x;
|
299
|
+
border-radius: 4px;
|
300
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
301
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
302
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
303
|
+
}
|
304
|
+
|
305
|
+
.navbar .navbar-nav > .active > a {
|
306
|
+
background-color: #f8f8f8;
|
307
|
+
}
|
308
|
+
|
309
|
+
.navbar-brand,
|
310
|
+
.navbar-nav > li > a {
|
311
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
312
|
+
}
|
313
|
+
|
314
|
+
.navbar-inverse {
|
315
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222));
|
316
|
+
background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%);
|
317
|
+
background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
|
318
|
+
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
|
319
|
+
background-repeat: repeat-x;
|
320
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
321
|
+
}
|
322
|
+
|
323
|
+
.navbar-inverse .navbar-nav > .active > a {
|
324
|
+
background-color: #222222;
|
325
|
+
}
|
326
|
+
|
327
|
+
.navbar-inverse .navbar-brand,
|
328
|
+
.navbar-inverse .navbar-nav > li > a {
|
329
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
330
|
+
}
|
331
|
+
|
332
|
+
.navbar-static-top,
|
333
|
+
.navbar-fixed-top,
|
334
|
+
.navbar-fixed-bottom {
|
335
|
+
border-radius: 0;
|
336
|
+
}
|
337
|
+
|
338
|
+
.alert {
|
339
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
340
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
341
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
342
|
+
}
|
343
|
+
|
344
|
+
.alert-success {
|
345
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc));
|
346
|
+
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%);
|
347
|
+
background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
348
|
+
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
349
|
+
background-repeat: repeat-x;
|
350
|
+
border-color: #b2dba1;
|
351
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
352
|
+
}
|
353
|
+
|
354
|
+
.alert-info {
|
355
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0));
|
356
|
+
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%);
|
357
|
+
background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
358
|
+
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
359
|
+
background-repeat: repeat-x;
|
360
|
+
border-color: #9acfea;
|
361
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
362
|
+
}
|
363
|
+
|
364
|
+
.alert-warning {
|
365
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0));
|
366
|
+
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%);
|
367
|
+
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
368
|
+
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
369
|
+
background-repeat: repeat-x;
|
370
|
+
border-color: #f5e79e;
|
371
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
372
|
+
}
|
373
|
+
|
374
|
+
.alert-danger {
|
375
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3));
|
376
|
+
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%);
|
377
|
+
background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
378
|
+
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
379
|
+
background-repeat: repeat-x;
|
380
|
+
border-color: #dca7a7;
|
381
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
382
|
+
}
|
383
|
+
|
384
|
+
.progress {
|
385
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5));
|
386
|
+
background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%);
|
387
|
+
background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
388
|
+
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
389
|
+
background-repeat: repeat-x;
|
390
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
391
|
+
}
|
392
|
+
|
393
|
+
.progress-bar {
|
394
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
|
395
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
|
396
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
397
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
398
|
+
background-repeat: repeat-x;
|
399
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
400
|
+
}
|
401
|
+
|
402
|
+
.progress-bar-success {
|
403
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
|
404
|
+
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
|
405
|
+
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
406
|
+
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
407
|
+
background-repeat: repeat-x;
|
408
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
409
|
+
}
|
410
|
+
|
411
|
+
.progress-bar-info {
|
412
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
|
413
|
+
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
|
414
|
+
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
415
|
+
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
416
|
+
background-repeat: repeat-x;
|
417
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
418
|
+
}
|
419
|
+
|
420
|
+
.progress-bar-warning {
|
421
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
|
422
|
+
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
|
423
|
+
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
424
|
+
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
425
|
+
background-repeat: repeat-x;
|
426
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
427
|
+
}
|
428
|
+
|
429
|
+
.progress-bar-danger {
|
430
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
|
431
|
+
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
|
432
|
+
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
433
|
+
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
434
|
+
background-repeat: repeat-x;
|
435
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
436
|
+
}
|
437
|
+
|
438
|
+
.list-group {
|
439
|
+
border-radius: 4px;
|
440
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
441
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
442
|
+
}
|
443
|
+
|
444
|
+
.list-group-item.active,
|
445
|
+
.list-group-item.active:hover,
|
446
|
+
.list-group-item.active:focus {
|
447
|
+
text-shadow: 0 -1px 0 #3071a9;
|
448
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3));
|
449
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%);
|
450
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
451
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
452
|
+
background-repeat: repeat-x;
|
453
|
+
border-color: #3278b3;
|
454
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
455
|
+
}
|
456
|
+
|
457
|
+
.panel {
|
458
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
459
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
460
|
+
}
|
461
|
+
|
462
|
+
.panel-default > .panel-heading {
|
463
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
|
464
|
+
background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%);
|
465
|
+
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
466
|
+
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
467
|
+
background-repeat: repeat-x;
|
468
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
469
|
+
}
|
470
|
+
|
471
|
+
.panel-primary > .panel-heading {
|
472
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
473
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
474
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
475
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
476
|
+
background-repeat: repeat-x;
|
477
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
478
|
+
}
|
479
|
+
|
480
|
+
.panel-success > .panel-heading {
|
481
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6));
|
482
|
+
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%);
|
483
|
+
background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
484
|
+
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
485
|
+
background-repeat: repeat-x;
|
486
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
487
|
+
}
|
488
|
+
|
489
|
+
.panel-info > .panel-heading {
|
490
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3));
|
491
|
+
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%);
|
492
|
+
background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
493
|
+
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
494
|
+
background-repeat: repeat-x;
|
495
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
496
|
+
}
|
497
|
+
|
498
|
+
.panel-warning > .panel-heading {
|
499
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc));
|
500
|
+
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%);
|
501
|
+
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
502
|
+
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
503
|
+
background-repeat: repeat-x;
|
504
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
505
|
+
}
|
506
|
+
|
507
|
+
.panel-danger > .panel-heading {
|
508
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc));
|
509
|
+
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%);
|
510
|
+
background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
511
|
+
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
512
|
+
background-repeat: repeat-x;
|
513
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
514
|
+
}
|
515
|
+
|
516
|
+
.well {
|
517
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
|
518
|
+
background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%);
|
519
|
+
background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
520
|
+
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
521
|
+
background-repeat: repeat-x;
|
522
|
+
border-color: #dcdcdc;
|
523
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
524
|
+
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
525
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
526
|
+
}
|
527
|
+
|
528
|
+
// for autocomplete
|
529
|
+
.ui-autocomplete {
|
530
|
+
position: absolute;
|
531
|
+
top: 100%;
|
532
|
+
left: 0;
|
533
|
+
z-index: 1000;
|
534
|
+
display: none;
|
535
|
+
float: left;
|
536
|
+
min-width: 160px;
|
537
|
+
padding: 5px 0;
|
538
|
+
margin: 2px 0 0;
|
539
|
+
font-size: 14px;
|
540
|
+
list-style: none;
|
541
|
+
background-color: #FFF;
|
542
|
+
border: 1px solid #CCC;
|
543
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
544
|
+
border-radius: 4px;
|
545
|
+
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
546
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
547
|
+
background-clip: padding-box;
|
548
|
+
|
549
|
+
font-size: 14px;
|
550
|
+
list-style: none;
|
551
|
+
&>li>a{
|
552
|
+
display: block;
|
553
|
+
padding: 3px 12px;
|
554
|
+
clear: both;
|
555
|
+
font-weight: normal;
|
556
|
+
line-height: 1.428571429;
|
557
|
+
color: #333;
|
558
|
+
white-space: nowrap;
|
559
|
+
&:hover, :focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
|
560
|
+
color: #FFF;
|
561
|
+
text-decoration: none;
|
562
|
+
background-color: #428BCA;
|
563
|
+
background-color: #357EBD;
|
564
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428BCA), to(#357EBD));
|
565
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
566
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
567
|
+
background-image: linear-gradient(to bottom, #428BCA 0%, #357EBD 100%);
|
568
|
+
background-repeat: repeat-x;
|
569
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); }
|
570
|
+
}
|
571
|
+
}
|