gaku_frontend 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.svg +228 -0
- data/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/gaku/frontend/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/gaku/frontend.js.coffee +42 -0
- data/app/assets/javascripts/gaku/frontend/base.js.coffee +147 -0
- data/app/assets/javascripts/gaku/frontend/class_groups.js.coffee +19 -0
- data/app/assets/javascripts/gaku/frontend/courses.js.coffee +23 -0
- data/app/assets/javascripts/gaku/frontend/exams.js.coffee +23 -0
- data/app/assets/javascripts/gaku/frontend/extracurricular_activities.js.coffee +12 -0
- data/app/assets/javascripts/gaku/frontend/slide.js.erb +14 -0
- data/app/assets/javascripts/gaku/frontend/students.js.coffee +38 -0
- data/app/assets/javascripts/gaku/frontend/syllabuses.js.coffee +23 -0
- data/app/assets/javascripts/gaku/frontend/teachers.js.coffee +12 -0
- data/app/assets/stylesheets/gaku/bootstrap_and_theme.css.scss +573 -0
- data/app/assets/stylesheets/gaku/frontend.css +14 -0
- data/app/assets/stylesheets/gaku/frontend/class_groups.css.scss +19 -0
- data/app/assets/stylesheets/gaku/frontend/course_groups.css.scss +14 -0
- data/app/assets/stylesheets/gaku/frontend/courses.css.scss +19 -0
- data/app/assets/stylesheets/gaku/frontend/exams.css.scss +72 -0
- data/app/assets/stylesheets/gaku/frontend/gaku.css.scss +216 -0
- data/app/assets/stylesheets/gaku/frontend/students.css.scss +22 -0
- data/app/assets/templates/roster.xls +0 -0
- data/app/controllers/concerns/enrollments_controller.rb +83 -0
- data/app/controllers/concerns/polymorphic_resource_concern.rb +48 -0
- data/app/controllers/concerns/student_chooser_controller.rb +41 -0
- data/app/controllers/gaku/addresses_controller.rb +94 -0
- data/app/controllers/gaku/attachments_controller.rb +90 -0
- data/app/controllers/gaku/attendances_controller.rb +28 -0
- data/app/controllers/gaku/class_group_enrollments_controller.rb +15 -0
- data/app/controllers/gaku/class_groups/courses_controller.rb +50 -0
- data/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +63 -0
- data/app/controllers/gaku/class_groups/students_controller.rb +37 -0
- data/app/controllers/gaku/class_groups_controller.rb +120 -0
- data/app/controllers/gaku/contacts_controller.rb +79 -0
- data/app/controllers/gaku/course_enrollments_controller.rb +10 -0
- data/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +54 -0
- data/app/controllers/gaku/course_groups_controller.rb +91 -0
- data/app/controllers/gaku/courses/enrollments_controller.rb +55 -0
- data/app/controllers/gaku/courses/exams_controller.rb +28 -0
- data/app/controllers/gaku/courses/semester_courses_controller.rb +64 -0
- data/app/controllers/gaku/courses_controller.rb +95 -0
- data/app/controllers/gaku/devise/passwords_controller.rb +4 -0
- data/app/controllers/gaku/devise/registrations_controller.rb +60 -0
- data/app/controllers/gaku/devise/sessions_controller.rb +13 -0
- data/app/controllers/gaku/exam_portion_scores_controller.rb +26 -0
- data/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +46 -0
- data/app/controllers/gaku/exams/exam_portions_controller.rb +76 -0
- data/app/controllers/gaku/exams_controller.rb +153 -0
- data/app/controllers/gaku/extracurricular_activities/students_controller.rb +21 -0
- data/app/controllers/gaku/extracurricular_activities_controller.rb +68 -0
- data/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +16 -0
- data/app/controllers/gaku/gaku_controller.rb +23 -0
- data/app/controllers/gaku/home_controller.rb +11 -0
- data/app/controllers/gaku/notes_controller.rb +81 -0
- data/app/controllers/gaku/realtime_controller.rb +29 -0
- data/app/controllers/gaku/search_controller.rb +16 -0
- data/app/controllers/gaku/states_controller.rb +17 -0
- data/app/controllers/gaku/students/badges_controller.rb +65 -0
- data/app/controllers/gaku/students/class_group_enrollments_controller.rb +45 -0
- data/app/controllers/gaku/students/course_enrollments_controller.rb +51 -0
- data/app/controllers/gaku/students/external_school_records_controller.rb +70 -0
- data/app/controllers/gaku/students/guardians_controller.rb +70 -0
- data/app/controllers/gaku/students/simple_grades_controller.rb +69 -0
- data/app/controllers/gaku/students/student_specialties_controller.rb +68 -0
- data/app/controllers/gaku/students_controller.rb +198 -0
- data/app/controllers/gaku/syllabuses/assignments_controller.rb +20 -0
- data/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +38 -0
- data/app/controllers/gaku/syllabuses/exams_controller.rb +68 -0
- data/app/controllers/gaku/syllabuses_controller.rb +77 -0
- data/app/controllers/gaku/teachers_controller.rb +76 -0
- data/app/helpers/gaku/autocomplete_helper.rb +31 -0
- data/app/helpers/gaku/exam_helper.rb +13 -0
- data/app/helpers/gaku/frontend_helper.rb +42 -0
- data/app/helpers/gaku/person_helper.rb +79 -0
- data/app/helpers/gaku/shared_helper.rb +29 -0
- data/app/helpers/gaku/student_chooser_helper.rb +11 -0
- data/app/helpers/gaku/students_helper.rb +31 -0
- data/app/overrides/frontend_menu.rb +6 -0
- data/app/views/gaku/addresses/_address.html.slim +5 -0
- data/app/views/gaku/addresses/_addresses.html.slim +25 -0
- data/app/views/gaku/addresses/_delete_link.html.slim +1 -0
- data/app/views/gaku/addresses/_fields.html.slim +14 -0
- data/app/views/gaku/addresses/_form.html.slim +3 -0
- data/app/views/gaku/addresses/_form_fields.html.slim +26 -0
- data/app/views/gaku/addresses/_modal.html.slim +4 -0
- data/app/views/gaku/addresses/_primary_field.html.slim +12 -0
- data/app/views/gaku/addresses/create.js.erb +12 -0
- data/app/views/gaku/addresses/destroy.js.erb +8 -0
- data/app/views/gaku/addresses/edit.js.erb +4 -0
- data/app/views/gaku/addresses/make_primary.js.erb +7 -0
- data/app/views/gaku/addresses/new.js.erb +4 -0
- data/app/views/gaku/addresses/recovery.js.erb +1 -0
- data/app/views/gaku/addresses/soft_delete.js.erb +8 -0
- data/app/views/gaku/addresses/update.js.erb +5 -0
- data/app/views/gaku/attachments/destroy.js.erb +1 -0
- data/app/views/gaku/attachments/edit.js.erb +3 -0
- data/app/views/gaku/attachments/new.js.erb +1 -0
- data/app/views/gaku/attachments/recovery.js.erb +1 -0
- data/app/views/gaku/attachments/soft_delete.js.erb +3 -0
- data/app/views/gaku/class_groups/_class_group.html.slim +4 -0
- data/app/views/gaku/class_groups/_class_groups.html.slim +11 -0
- data/app/views/gaku/class_groups/_class_groups_with_semester.html.slim +12 -0
- data/app/views/gaku/class_groups/_fields.html.slim +3 -0
- data/app/views/gaku/class_groups/_form.html.slim +3 -0
- data/app/views/gaku/class_groups/_form_fields.html.slim +7 -0
- data/app/views/gaku/class_groups/_student_chooser_form.html.slim +4 -0
- data/app/views/gaku/class_groups/_tabs.html.slim +41 -0
- data/app/views/gaku/class_groups/advanced_search.js.erb +30 -0
- data/app/views/gaku/class_groups/courses/_course.html.slim +4 -0
- data/app/views/gaku/class_groups/courses/_courses.html.slim +14 -0
- data/app/views/gaku/class_groups/courses/_form.html.slim +5 -0
- data/app/views/gaku/class_groups/courses/create.js.erb +7 -0
- data/app/views/gaku/class_groups/courses/destroy.js.erb +2 -0
- data/app/views/gaku/class_groups/courses/new.js.erb +3 -0
- data/app/views/gaku/class_groups/create.js.erb +6 -0
- data/app/views/gaku/class_groups/destroy.js.erb +1 -0
- data/app/views/gaku/class_groups/edit.html.slim +16 -0
- data/app/views/gaku/class_groups/index.html.slim +25 -0
- data/app/views/gaku/class_groups/new.js.erb +3 -0
- data/app/views/gaku/class_groups/search/_form.html.slim +18 -0
- data/app/views/gaku/class_groups/search/_semester_form.html.slim +23 -0
- data/app/views/gaku/class_groups/semester_advanced_search.js.erb +30 -0
- data/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +4 -0
- data/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +4 -0
- data/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +5 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +4 -0
- data/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +13 -0
- data/app/views/gaku/class_groups/semester_class_groups/create.js.erb +8 -0
- data/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +2 -0
- data/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/new.js.erb +3 -0
- data/app/views/gaku/class_groups/semester_class_groups/update.js.erb +3 -0
- data/app/views/gaku/class_groups/student_chooser.js.erb +9 -0
- data/app/views/gaku/class_groups/students/_student.html.slim +5 -0
- data/app/views/gaku/class_groups/students/_students.html.slim +14 -0
- data/app/views/gaku/class_groups/students/destroy.js.erb +2 -0
- data/app/views/gaku/class_groups/students/enroll_students.js.erb +16 -0
- data/app/views/gaku/class_groups/students/new.js.erb +3 -0
- data/app/views/gaku/class_groups/students/without_semester.js.erb +2 -0
- data/app/views/gaku/class_groups/with_semester.html.slim +26 -0
- data/app/views/gaku/class_groups/with_semester.js.erb +2 -0
- data/app/views/gaku/class_groups/without_semester.html.slim +26 -0
- data/app/views/gaku/class_groups/without_semester.js.erb +2 -0
- data/app/views/gaku/contacts/_contact.html.slim +5 -0
- data/app/views/gaku/contacts/_contacts.html.slim +22 -0
- data/app/views/gaku/contacts/_delete_link.html.slim +1 -0
- data/app/views/gaku/contacts/_fields.html.slim +14 -0
- data/app/views/gaku/contacts/_form.html.slim +4 -0
- data/app/views/gaku/contacts/_form_fields.html.slim +14 -0
- data/app/views/gaku/contacts/_modal.html.slim +4 -0
- data/app/views/gaku/contacts/_primary_field.html.slim +13 -0
- data/app/views/gaku/contacts/create.js.erb +21 -0
- data/app/views/gaku/contacts/destroy.js.erb +9 -0
- data/app/views/gaku/contacts/edit.js.erb +4 -0
- data/app/views/gaku/contacts/make_primary.js.erb +6 -0
- data/app/views/gaku/contacts/new.js.erb +3 -0
- data/app/views/gaku/contacts/recovery.js.erb +1 -0
- data/app/views/gaku/contacts/soft_delete.js.erb +8 -0
- data/app/views/gaku/contacts/update.js.erb +14 -0
- data/app/views/gaku/course_groups/_course_group.html.slim +4 -0
- data/app/views/gaku/course_groups/_course_groups.html.slim +7 -0
- data/app/views/gaku/course_groups/_fields.html.slim +1 -0
- data/app/views/gaku/course_groups/_form.html.slim +3 -0
- data/app/views/gaku/course_groups/_form_fields.html.slim +1 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +4 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +21 -0
- data/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +4 -0
- data/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +7 -0
- data/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +2 -0
- data/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +3 -0
- data/app/views/gaku/course_groups/create.js.erb +6 -0
- data/app/views/gaku/course_groups/destroy.js.erb +1 -0
- data/app/views/gaku/course_groups/edit.html.slim +21 -0
- data/app/views/gaku/course_groups/index.html.slim +14 -0
- data/app/views/gaku/course_groups/new.js.erb +3 -0
- data/app/views/gaku/courses/_course.html.slim +7 -0
- data/app/views/gaku/courses/_courses.html.slim +24 -0
- data/app/views/gaku/courses/_form.html.slim +3 -0
- data/app/views/gaku/courses/_form_fields.html.slim +5 -0
- data/app/views/gaku/courses/_student_chooser_form.html.slim +4 -0
- data/app/views/gaku/courses/_tabs.html.slim +26 -0
- data/app/views/gaku/courses/create.js.erb +6 -0
- data/app/views/gaku/courses/destroy.js.erb +1 -0
- data/app/views/gaku/courses/edit.html.slim +16 -0
- data/app/views/gaku/courses/enrollments/_enrolled.html.slim +7 -0
- data/app/views/gaku/courses/enrollments/_enrollments.html.slim +27 -0
- data/app/views/gaku/courses/enrollments/_errors_modal.html.slim +11 -0
- data/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +3 -0
- data/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +16 -0
- data/app/views/gaku/courses/enrollments/class_groups/new.js.erb +4 -0
- data/app/views/gaku/courses/enrollments/error.js.erb +2 -0
- data/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +11 -0
- data/app/views/gaku/courses/exams/_exam.html.slim +5 -0
- data/app/views/gaku/courses/exams/_exam_portion_head.html.slim +5 -0
- data/app/views/gaku/courses/exams/_exams.html.slim +14 -0
- data/app/views/gaku/courses/exams/_grading_table_head.html.slim +9 -0
- data/app/views/gaku/courses/exams/_grading_table_student_field.html.slim +11 -0
- data/app/views/gaku/courses/exams/grading.html.slim +7 -0
- data/app/views/gaku/courses/index.html.slim +14 -0
- data/app/views/gaku/courses/new.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/_fields.html.slim +4 -0
- data/app/views/gaku/courses/semester_courses/_form.html.slim +4 -0
- data/app/views/gaku/courses/semester_courses/_form_fields.html.slim +3 -0
- data/app/views/gaku/courses/semester_courses/_modal.html.slim +4 -0
- data/app/views/gaku/courses/semester_courses/_semester_course.html.slim +3 -0
- data/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +16 -0
- data/app/views/gaku/courses/semester_courses/create.js.erb +6 -0
- data/app/views/gaku/courses/semester_courses/destroy.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/edit.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/new.js.erb +3 -0
- data/app/views/gaku/courses/semester_courses/update.js.erb +3 -0
- data/app/views/gaku/courses/student_chooser.js.erb +7 -0
- data/app/views/gaku/devise/confirmations/new.html.slim +9 -0
- data/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +4 -0
- data/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +6 -0
- data/app/views/gaku/devise/mailer/unlock_instructions.html.slim +5 -0
- data/app/views/gaku/devise/passwords/edit.html.slim +14 -0
- data/app/views/gaku/devise/passwords/new.html.slim +8 -0
- data/app/views/gaku/devise/registrations/edit.html.slim +31 -0
- data/app/views/gaku/devise/registrations/new.html.slim +27 -0
- data/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +26 -0
- data/app/views/gaku/devise/sessions/new.html.slim +24 -0
- data/app/views/gaku/devise/shared/_links.html.erb +25 -0
- data/app/views/gaku/devise/unlocks/new.html.slim +9 -0
- data/app/views/gaku/exam_divisions/_form.html.erb +29 -0
- data/app/views/gaku/exam_divisions/edit.html.erb +6 -0
- data/app/views/gaku/exam_divisions/index.html.erb +27 -0
- data/app/views/gaku/exam_divisions/new.html.erb +5 -0
- data/app/views/gaku/exam_divisions/show.html.erb +20 -0
- data/app/views/gaku/exams/_exam.html.slim +2 -0
- data/app/views/gaku/exams/_form.html.slim +16 -0
- data/app/views/gaku/exams/_form_fields.html.slim +17 -0
- data/app/views/gaku/exams/_table_fields.html.slim +8 -0
- data/app/views/gaku/exams/_tabs.html.slim +15 -0
- data/app/views/gaku/exams/_weight_check_widget.html.slim +20 -0
- data/app/views/gaku/exams/create.js.erb +6 -0
- data/app/views/gaku/exams/destroy.js.erb +1 -0
- data/app/views/gaku/exams/edit.html.slim +16 -0
- data/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +4 -0
- data/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +2 -0
- data/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +27 -0
- data/app/views/gaku/exams/exam_portions/_form.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/_table_fields.slim +8 -0
- data/app/views/gaku/exams/exam_portions/_tabs.html.slim +11 -0
- data/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +2 -0
- data/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +20 -0
- data/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +3 -0
- data/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +4 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/new.js.erb +3 -0
- data/app/views/gaku/exams/exam_portions/create.js.erb +49 -0
- data/app/views/gaku/exams/exam_portions/destroy.js.erb +8 -0
- data/app/views/gaku/exams/exam_portions/edit.html.slim +16 -0
- data/app/views/gaku/exams/exam_portions/new.js.erb +3 -0
- data/app/views/gaku/exams/exam_portions/show.html.slim +30 -0
- data/app/views/gaku/exams/export.xls.rb +67 -0
- data/app/views/gaku/exams/index.html.slim +24 -0
- data/app/views/gaku/exams/new.js.erb +3 -0
- data/app/views/gaku/exams/show.html.slim +28 -0
- data/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +7 -0
- data/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +4 -0
- data/app/views/gaku/extracurricular_activities/_fields.html.slim +1 -0
- data/app/views/gaku/extracurricular_activities/_form.html.slim +3 -0
- data/app/views/gaku/extracurricular_activities/_form_fields.html.slim +3 -0
- data/app/views/gaku/extracurricular_activities/_student_chooser_form.html.slim +4 -0
- data/app/views/gaku/extracurricular_activities/_tabs.html.slim +15 -0
- data/app/views/gaku/extracurricular_activities/create.js.erb +6 -0
- data/app/views/gaku/extracurricular_activities/destroy.js.erb +2 -0
- data/app/views/gaku/extracurricular_activities/edit.html.slim +16 -0
- data/app/views/gaku/extracurricular_activities/index.html.slim +15 -0
- data/app/views/gaku/extracurricular_activities/new.js.erb +3 -0
- data/app/views/gaku/extracurricular_activities/student_chooser.js.erb +9 -0
- data/app/views/gaku/extracurricular_activities/students/_student.html.slim +5 -0
- data/app/views/gaku/extracurricular_activities/students/_students.html.slim +16 -0
- data/app/views/gaku/extracurricular_activities/students/destroy.js.erb +3 -0
- data/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +11 -0
- data/app/views/gaku/home/_user_info.html.slim +7 -0
- data/app/views/gaku/home/_user_menu.html.slim +4 -0
- data/app/views/gaku/home/index.html.slim +10 -0
- data/app/views/gaku/layouts/edit.html.slim +10 -0
- data/app/views/gaku/layouts/gaku.html.slim +22 -0
- data/app/views/gaku/layouts/home.html.slim +1 -0
- data/app/views/gaku/layouts/index.html.slim +12 -0
- data/app/views/gaku/layouts/show.html.slim +10 -0
- data/app/views/gaku/notes/_buttons.html.slim +8 -0
- data/app/views/gaku/notes/_fields.html.slim +2 -0
- data/app/views/gaku/notes/_form.html.slim +6 -0
- data/app/views/gaku/notes/_form_fields.html.slim +6 -0
- data/app/views/gaku/notes/_modal.html.slim +4 -0
- data/app/views/gaku/notes/_note.html.slim +4 -0
- data/app/views/gaku/notes/_notes.html.slim +21 -0
- data/app/views/gaku/notes/_show_modal.html.slim +4 -0
- data/app/views/gaku/notes/create.js.erb +11 -0
- data/app/views/gaku/notes/destroy.js.erb +4 -0
- data/app/views/gaku/notes/edit.js.erb +3 -0
- data/app/views/gaku/notes/new.js.erb +3 -0
- data/app/views/gaku/notes/show.js.erb +2 -0
- data/app/views/gaku/notes/update.js.erb +4 -0
- data/app/views/gaku/shared/_delete_link.html.slim +1 -0
- data/app/views/gaku/shared/_delete_modal.html.slim +11 -0
- data/app/views/gaku/shared/_errors.html.slim +6 -0
- data/app/views/gaku/shared/_external_school_record.html.slim +36 -0
- data/app/views/gaku/shared/_flash.html.slim +4 -0
- data/app/views/gaku/shared/_language_bar.html.slim +8 -0
- data/app/views/gaku/shared/_login_widget.html.slim +15 -0
- data/app/views/gaku/shared/_manage_buttons.html.slim +4 -0
- data/app/views/gaku/shared/_menubar.html.slim +7 -0
- data/app/views/gaku/shared/_modal_config.html.slim +37 -0
- data/app/views/gaku/shared/_multi_errors.html.slim +6 -0
- data/app/views/gaku/shared/_picture.html.slim +8 -0
- data/app/views/gaku/shared/_upload_picture.html.slim +7 -0
- data/app/views/gaku/shared/error.js.erb +2 -0
- data/app/views/gaku/shared/fields/_address_and_contact_show_table.html.slim +6 -0
- data/app/views/gaku/shared/fields/_attachment_fields.html.slim +10 -0
- data/app/views/gaku/shared/fields/_course_fields.html.slim +4 -0
- data/app/views/gaku/shared/fields/_course_show_fields.html.slim +3 -0
- data/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +7 -0
- data/app/views/gaku/shared/fields/_person_edit_table.html.slim +7 -0
- data/app/views/gaku/shared/fields/_person_show_table.html.slim +15 -0
- data/app/views/gaku/shared/fields/_semester_fields.html.slim +1 -0
- data/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +14 -0
- data/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +17 -0
- data/app/views/gaku/shared/menu/_frontend.html.erb +22 -0
- data/app/views/gaku/shared/multi_error.js.erb +2 -0
- data/app/views/gaku/shared/notice.js.erb +2 -0
- data/app/views/gaku/shared/overrides/students/_import_link.html.slim +0 -0
- data/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim +0 -0
- data/app/views/gaku/shared/student/_show.html.slim +12 -0
- data/app/views/gaku/shared/student_chooser/_chooser.html.slim +7 -0
- data/app/views/gaku/shared/student_chooser/_chooser_widget.html.slim +10 -0
- data/app/views/gaku/shared/student_chooser/_modal.html.slim +3 -0
- data/app/views/gaku/states/_no_states_select.html.slim +1 -0
- data/app/views/gaku/states/_states_select.html.slim +1 -0
- data/app/views/gaku/states/index.js.erb +5 -0
- data/app/views/gaku/students/_academic.html.slim +18 -0
- data/app/views/gaku/students/_chooser_widget.html.slim +14 -0
- data/app/views/gaku/students/_form.html.slim +3 -0
- data/app/views/gaku/students/_form_fields.html.slim +25 -0
- data/app/views/gaku/students/_personal.html.slim +3 -0
- data/app/views/gaku/students/_student.html.slim +5 -0
- data/app/views/gaku/students/_student_chooser_form.html.slim +16 -0
- data/app/views/gaku/students/_student_unit.html.slim +5 -0
- data/app/views/gaku/students/_students.html.slim +62 -0
- data/app/views/gaku/students/_table_fields.html.slim +63 -0
- data/app/views/gaku/students/_tabs.html.slim +48 -0
- data/app/views/gaku/students/_tabs_academic.html.slim +40 -0
- data/app/views/gaku/students/_tabs_personal.html.slim +27 -0
- data/app/views/gaku/students/advanced_search.js.erb +66 -0
- data/app/views/gaku/students/badges/_badge.html.slim +2 -0
- data/app/views/gaku/students/badges/_badge_type.html.slim +5 -0
- data/app/views/gaku/students/badges/_badges.html.slim +2 -0
- data/app/views/gaku/students/badges/_badges_tab.html.slim +8 -0
- data/app/views/gaku/students/badges/_edit.html.slim +8 -0
- data/app/views/gaku/students/badges/_fields.html.slim +8 -0
- data/app/views/gaku/students/badges/_form.html.slim +3 -0
- data/app/views/gaku/students/badges/_form_fields.html.slim +1 -0
- data/app/views/gaku/students/badges/_index.html.slim +20 -0
- data/app/views/gaku/students/badges/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/badges/create.js.erb +14 -0
- data/app/views/gaku/students/badges/destroy.js.erb +6 -0
- data/app/views/gaku/students/badges/edit.js.erb +2 -0
- data/app/views/gaku/students/badges/index.js.erb +3 -0
- data/app/views/gaku/students/badges/new.js.erb +3 -0
- data/app/views/gaku/students/badges/update.js.erb +5 -0
- data/app/views/gaku/students/chosen.js.erb +12 -0
- data/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +28 -0
- data/app/views/gaku/students/class_group_enrollments/create.js.erb +11 -0
- data/app/views/gaku/students/class_group_enrollments/new.js.erb +2 -0
- data/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +4 -0
- data/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +17 -0
- data/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +11 -0
- data/app/views/gaku/students/course_enrollments/_form.html.slim +4 -0
- data/app/views/gaku/students/course_enrollments/create.js.erb +9 -0
- data/app/views/gaku/students/course_enrollments/destroy.js.erb +3 -0
- data/app/views/gaku/students/course_enrollments/error.js.erb +2 -0
- data/app/views/gaku/students/course_enrollments/new.js.erb +3 -0
- data/app/views/gaku/students/create.js.erb +8 -0
- data/app/views/gaku/students/destroy.js.erb +2 -0
- data/app/views/gaku/students/edit.html.slim +37 -0
- data/app/views/gaku/students/external_school_records/_external_school_record.html.slim +2 -0
- data/app/views/gaku/students/external_school_records/_external_school_records.html.slim +24 -0
- data/app/views/gaku/students/external_school_records/_fields.html.slim +11 -0
- data/app/views/gaku/students/external_school_records/_form.html.slim +3 -0
- data/app/views/gaku/students/external_school_records/_form_fields.html.slim +17 -0
- data/app/views/gaku/students/external_school_records/_modal.html.slim +4 -0
- data/app/views/gaku/students/external_school_records/create.js.erb +8 -0
- data/app/views/gaku/students/external_school_records/destroy.js.erb +3 -0
- data/app/views/gaku/students/external_school_records/edit.js.erb +4 -0
- data/app/views/gaku/students/external_school_records/new.js.erb +4 -0
- data/app/views/gaku/students/external_school_records/update.js.erb +3 -0
- data/app/views/gaku/students/guardians/_delete_modal.html.slim +12 -0
- data/app/views/gaku/students/guardians/_form.html.slim +3 -0
- data/app/views/gaku/students/guardians/_form_fields.html.slim +4 -0
- data/app/views/gaku/students/guardians/_guardian.html.slim +12 -0
- data/app/views/gaku/students/guardians/_guardians.html.slim +24 -0
- data/app/views/gaku/students/guardians/_picture.html.slim +8 -0
- data/app/views/gaku/students/guardians/_tabs.html.slim +14 -0
- data/app/views/gaku/students/guardians/_upload_picture.html.slim +7 -0
- data/app/views/gaku/students/guardians/create.js.erb +7 -0
- data/app/views/gaku/students/guardians/destroy.js.erb +1 -0
- data/app/views/gaku/students/guardians/edit.html.slim +21 -0
- data/app/views/gaku/students/guardians/new.js.erb +3 -0
- data/app/views/gaku/students/guardians/recovery.js.erb +1 -0
- data/app/views/gaku/students/guardians/show.html.slim +17 -0
- data/app/views/gaku/students/importer/index.html.slim +26 -0
- data/app/views/gaku/students/index.html.slim +22 -0
- data/app/views/gaku/students/index.js.erb +2 -0
- data/app/views/gaku/students/new.html.slim +3 -0
- data/app/views/gaku/students/new.js.erb +3 -0
- data/app/views/gaku/students/search/_academic.html.slim +22 -0
- data/app/views/gaku/students/search/_address.html.slim +34 -0
- data/app/views/gaku/students/search/_advanced_form.html.slim +36 -0
- data/app/views/gaku/students/search/_extended.slim +108 -0
- data/app/views/gaku/students/search/_form.html.slim +8 -0
- data/app/views/gaku/students/search/_student.html.slim +36 -0
- data/app/views/gaku/students/show.html.slim +24 -0
- data/app/views/gaku/students/simple_grades/_edit.html.slim +8 -0
- data/app/views/gaku/students/simple_grades/_fields.html.slim +8 -0
- data/app/views/gaku/students/simple_grades/_form.html.slim +3 -0
- data/app/views/gaku/students/simple_grades/_form_fields.html.slim +3 -0
- data/app/views/gaku/students/simple_grades/_index.html.slim +21 -0
- data/app/views/gaku/students/simple_grades/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/simple_grades/_simple_grade.html.slim +2 -0
- data/app/views/gaku/students/simple_grades/_simple_grades.html.slim +2 -0
- data/app/views/gaku/students/simple_grades/create.js.erb +10 -0
- data/app/views/gaku/students/simple_grades/destroy.js.erb +4 -0
- data/app/views/gaku/students/simple_grades/edit.js.erb +4 -0
- data/app/views/gaku/students/simple_grades/index.js.erb +5 -0
- data/app/views/gaku/students/simple_grades/new.js.erb +6 -0
- data/app/views/gaku/students/simple_grades/update.js.erb +4 -0
- data/app/views/gaku/students/student_specialties/_edit.html.slim +8 -0
- data/app/views/gaku/students/student_specialties/_fields.html.slim +5 -0
- data/app/views/gaku/students/student_specialties/_form.html.slim +3 -0
- data/app/views/gaku/students/student_specialties/_form_fields.html.slim +2 -0
- data/app/views/gaku/students/student_specialties/_index.html.slim +18 -0
- data/app/views/gaku/students/student_specialties/_index_modal.html.slim +4 -0
- data/app/views/gaku/students/student_specialties/_student_specialties.html.slim +2 -0
- data/app/views/gaku/students/student_specialties/_student_specialty.html.slim +2 -0
- data/app/views/gaku/students/student_specialties/create.js.erb +10 -0
- data/app/views/gaku/students/student_specialties/destroy.js.erb +4 -0
- data/app/views/gaku/students/student_specialties/edit.js.erb +2 -0
- data/app/views/gaku/students/student_specialties/index.js.erb +5 -0
- data/app/views/gaku/students/student_specialties/new.js.erb +3 -0
- data/app/views/gaku/students/student_specialties/update.js.erb +4 -0
- data/app/views/gaku/syllabuses/_all_exams.html.slim +14 -0
- data/app/views/gaku/syllabuses/_fields.html.slim +7 -0
- data/app/views/gaku/syllabuses/_form.html.slim +3 -0
- data/app/views/gaku/syllabuses/_form_fields.html.slim +12 -0
- data/app/views/gaku/syllabuses/_syllabus.html.slim +2 -0
- data/app/views/gaku/syllabuses/_syllabuses.html.slim +12 -0
- data/app/views/gaku/syllabuses/_tabs.html.slim +16 -0
- data/app/views/gaku/syllabuses/create.js.erb +7 -0
- data/app/views/gaku/syllabuses/destroy.js.erb +1 -0
- data/app/views/gaku/syllabuses/edit.html.slim +16 -0
- data/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +12 -0
- data/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +5 -0
- data/app/views/gaku/syllabuses/exams/_exam.html.slim +3 -0
- data/app/views/gaku/syllabuses/exams/_exams.html.slim +13 -0
- data/app/views/gaku/syllabuses/exams/_fields.html.slim +10 -0
- data/app/views/gaku/syllabuses/exams/_form.html.slim +17 -0
- data/app/views/gaku/syllabuses/exams/_form_fields.html.slim +10 -0
- data/app/views/gaku/syllabuses/exams/_modal.html.slim +4 -0
- data/app/views/gaku/syllabuses/exams/_select_form.html.slim +6 -0
- data/app/views/gaku/syllabuses/exams/create.js.erb +9 -0
- data/app/views/gaku/syllabuses/exams/destroy.js.erb +3 -0
- data/app/views/gaku/syllabuses/exams/edit.js.erb +3 -0
- data/app/views/gaku/syllabuses/exams/new.js.erb +3 -0
- data/app/views/gaku/syllabuses/exams/update.js.erb +4 -0
- data/app/views/gaku/syllabuses/importer/index.html.slim +14 -0
- data/app/views/gaku/syllabuses/index.html.slim +14 -0
- data/app/views/gaku/syllabuses/new.js.erb +3 -0
- data/app/views/gaku/teachers/_fields.html.slim +5 -0
- data/app/views/gaku/teachers/_form.html.slim +3 -0
- data/app/views/gaku/teachers/_form_fields.html.slim +1 -0
- data/app/views/gaku/teachers/_tabs.html.slim +20 -0
- data/app/views/gaku/teachers/_teacher.html.slim +5 -0
- data/app/views/gaku/teachers/_teachers.html.slim +11 -0
- data/app/views/gaku/teachers/create.js.erb +8 -0
- data/app/views/gaku/teachers/destroy.js.erb +1 -0
- data/app/views/gaku/teachers/edit.html.slim +19 -0
- data/app/views/gaku/teachers/index.html.slim +16 -0
- data/app/views/gaku/teachers/new.js.erb +3 -0
- data/app/views/gaku/teachers/show.html.slim +13 -0
- data/app/views/kaminari/_first_page.html.erb +11 -0
- data/app/views/kaminari/_gap.html.erb +8 -0
- data/app/views/kaminari/_last_page.html.erb +11 -0
- data/app/views/kaminari/_next_page.html.erb +11 -0
- data/app/views/kaminari/_page.html.erb +12 -0
- data/app/views/kaminari/_paginator.html.erb +27 -0
- data/app/views/kaminari/_prev_page.html.erb +11 -0
- data/config/initializers/client_side_validations.rb +9 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/routes.rb +137 -0
- data/lib/gaku/app_responder.rb +6 -0
- data/lib/gaku/class_name_detector.rb +23 -0
- data/lib/gaku/frontend.rb +33 -0
- data/lib/gaku/frontend/engine.rb +30 -0
- data/lib/gaku_frontend.rb +1 -0
- data/lib/tasks/admin_user.rake +104 -0
- data/lib/tasks/core.rake +65 -0
- data/lib/tasks/reset.rake +37 -0
- metadata +848 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
ready = ->
|
2
|
+
|
3
|
+
self = this
|
4
|
+
|
5
|
+
class CoursesController
|
6
|
+
edit: ->
|
7
|
+
self.app.student_chooser()
|
8
|
+
|
9
|
+
grading: ->
|
10
|
+
source = new EventSource '/realtime/exam_portion_scores'
|
11
|
+
source.addEventListener 'update.examPortionScore', (event)->
|
12
|
+
console.log event.data
|
13
|
+
json = $.parseJSON(event.data)
|
14
|
+
|
15
|
+
form = $("#edit_exam_portion_score_#{json.exam_portion_score.id}")
|
16
|
+
input = form.children('input#exam_portion_score_score')
|
17
|
+
|
18
|
+
input.val("#{json.exam_portion_score.score}")
|
19
|
+
|
20
|
+
@app.courses = new CoursesController
|
21
|
+
|
22
|
+
$(document).ready(ready)
|
23
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
ready = ->
|
2
|
+
|
3
|
+
class ExamsController
|
4
|
+
init: ->
|
5
|
+
$('.exam-portion-weight').on 'change', ->
|
6
|
+
$(@).parent('form').submit()
|
7
|
+
|
8
|
+
$('#new-exam-portion-attachment-link').on 'click', (e)->
|
9
|
+
e.preventDefault()
|
10
|
+
$('#new-exam-portion-attachment-form').slide()
|
11
|
+
|
12
|
+
# $(document).ready ->
|
13
|
+
# $(document).on 'click','#exam_use_weighting', ->
|
14
|
+
# if $(@).is ':checked'
|
15
|
+
# $('#exam_weight').attr 'class','validate[required, custom[integer]min[0]] span12'
|
16
|
+
# else
|
17
|
+
# $('#exam_weight').attr 'class','span12'
|
18
|
+
# $('.exam_weightformError').remove()
|
19
|
+
|
20
|
+
@app.exams = new ExamsController
|
21
|
+
|
22
|
+
$(document).ready(ready)
|
23
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
ready = ->
|
2
|
+
|
3
|
+
self = this
|
4
|
+
|
5
|
+
class ExtracurricularActivitiesController
|
6
|
+
edit: ->
|
7
|
+
self.app.student_chooser()
|
8
|
+
|
9
|
+
@app.extracurricular_activities = new ExtracurricularActivitiesController
|
10
|
+
|
11
|
+
$(document).ready(ready)
|
12
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
ready = ->
|
2
|
+
|
3
|
+
self = this
|
4
|
+
|
5
|
+
class StudentsController
|
6
|
+
index: ->
|
7
|
+
self.app.student_chooser()
|
8
|
+
|
9
|
+
$('body').on 'click', '.hide-chosen-table', (event) ->
|
10
|
+
event.preventDefault()
|
11
|
+
$('.hide-chosen-table').hide()
|
12
|
+
$('.show-chosen-table').show()
|
13
|
+
$('#chosen-table').slide()
|
14
|
+
$('#chosen-actions').slide()
|
15
|
+
|
16
|
+
edit: ->
|
17
|
+
self.app.country_dropdown()
|
18
|
+
|
19
|
+
$(document).on 'click', '#cancel-student-commute-method-link', (e) ->
|
20
|
+
e.preventDefault()
|
21
|
+
$('#student-commute-method-form').slide ->
|
22
|
+
$('#commute-method').show()
|
23
|
+
$('#edit-student-commute-method-link').show()
|
24
|
+
|
25
|
+
$('#student-achievements-tab-link').on 'shown', (e)->
|
26
|
+
$('.achievements-group').each (index, element) ->
|
27
|
+
heights = []
|
28
|
+
$(element).children('li').each (index, li)->
|
29
|
+
heights.push $(li).height()
|
30
|
+
maxHeight = Math.max.apply(null,heights)
|
31
|
+
|
32
|
+
$(element).find('li').children('.thumbnail').each (index, li)->
|
33
|
+
$(@).height maxHeight
|
34
|
+
|
35
|
+
@app.students = new StudentsController
|
36
|
+
|
37
|
+
$(document).ready(ready)
|
38
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
ready = ->
|
2
|
+
|
3
|
+
class SyllabusesController
|
4
|
+
edit: ->
|
5
|
+
$('#syllabus-exams').on "click", '#new-syllabus-exam-link', (event) ->
|
6
|
+
event.preventDefault()
|
7
|
+
#$(@).hide()
|
8
|
+
$('#new-existing-exam').slideUp ->
|
9
|
+
#$('#new-syllabus-exam').slide()
|
10
|
+
$('#new-existing-exam-link').show()
|
11
|
+
|
12
|
+
$('#syllabus-exams').on "click", '#new-existing-exam-link', (event) ->
|
13
|
+
event.preventDefault()
|
14
|
+
$(@).hide()
|
15
|
+
$('#new-syllabus-exam').slideUp ->
|
16
|
+
$('#new-existing-exam').slide()
|
17
|
+
$('#new-syllabus-exam-link').show()
|
18
|
+
|
19
|
+
|
20
|
+
@app.syllabuses = new SyllabusesController
|
21
|
+
|
22
|
+
$(document).ready(ready)
|
23
|
+
$(document).on('page:load', ready)
|
@@ -0,0 +1,573 @@
|
|
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
|
+
.center-block {float: none !important}
|
13
|
+
|
14
|
+
// for fix --------
|
15
|
+
.nav-pills {
|
16
|
+
li {
|
17
|
+
background-color: #F8F8F8;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
//.index-header { margin-bottom: 10px; }
|
22
|
+
|
23
|
+
.container {
|
24
|
+
max-width: 1900px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.alert-dismissable .close {
|
28
|
+
position: relative;
|
29
|
+
top: -2px;
|
30
|
+
right: 0px;
|
31
|
+
color: red;
|
32
|
+
font-size: 24px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.table {
|
36
|
+
& thead>tr>th {
|
37
|
+
vertical-align: middle;
|
38
|
+
text-align: center;
|
39
|
+
}
|
40
|
+
& tbody>tr>td {
|
41
|
+
vertical-align: middle;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.tab-pane {
|
46
|
+
.panel {
|
47
|
+
margin-bottom: 15px;
|
48
|
+
}
|
49
|
+
.panel:last-child {
|
50
|
+
margin-bottom: 0px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
// theme main --------
|
55
|
+
.btn-default,
|
56
|
+
.btn-primary,
|
57
|
+
.btn-success,
|
58
|
+
.btn-info,
|
59
|
+
.btn-warning,
|
60
|
+
.btn-danger {
|
61
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
62
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
63
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
64
|
+
}
|
65
|
+
|
66
|
+
.btn-default:active,
|
67
|
+
.btn-primary:active,
|
68
|
+
.btn-success:active,
|
69
|
+
.btn-info:active,
|
70
|
+
.btn-warning:active,
|
71
|
+
.btn-danger:active,
|
72
|
+
.btn-default.active,
|
73
|
+
.btn-primary.active,
|
74
|
+
.btn-success.active,
|
75
|
+
.btn-info.active,
|
76
|
+
.btn-warning.active,
|
77
|
+
.btn-danger.active {
|
78
|
+
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
79
|
+
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
80
|
+
}
|
81
|
+
|
82
|
+
.btn:active,
|
83
|
+
.btn.active {
|
84
|
+
background-image: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.btn:hover {
|
88
|
+
text-decoration: none;
|
89
|
+
background-position: 0 -15px;
|
90
|
+
-webkit-transition: background-position 0.1s linear;
|
91
|
+
-moz-transition: background-position 0.1s linear;
|
92
|
+
-o-transition: background-position 0.1s linear;
|
93
|
+
transition: background-position 0.1s linear;
|
94
|
+
}
|
95
|
+
|
96
|
+
.btn-default {
|
97
|
+
background-color: hsl(0, 0%, 87%) !important;
|
98
|
+
background-repeat: repeat-x;
|
99
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f7f7", endColorstr="#dddddd");
|
100
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#f7f7f7), to(#dddddd));
|
101
|
+
background-image: -moz-linear-gradient(top, #f7f7f7, #dddddd);
|
102
|
+
background-image: -ms-linear-gradient(top, #f7f7f7, #dddddd);
|
103
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #dddddd));
|
104
|
+
background-image: -webkit-linear-gradient(top, #f7f7f7, #dddddd);
|
105
|
+
background-image: -o-linear-gradient(top, #f7f7f7, #dddddd);
|
106
|
+
background-image: linear-gradient(#f7f7f7, #dddddd);
|
107
|
+
border-color: #dddddd #dddddd hsl(0, 0%, 84.5%);
|
108
|
+
color: #333 !important;
|
109
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.16);
|
110
|
+
-webkit-font-smoothing: antialiased;
|
111
|
+
}
|
112
|
+
|
113
|
+
.btn-default:active,
|
114
|
+
.btn-default.active {
|
115
|
+
background-color: #e6e6e6;
|
116
|
+
border-color: #e0e0e0;
|
117
|
+
}
|
118
|
+
.btn-default:hover {
|
119
|
+
border-color: #cdcdcd;
|
120
|
+
}
|
121
|
+
|
122
|
+
.btn-primary {
|
123
|
+
background-color: hsl(208, 56%, 40%) !important;
|
124
|
+
background-repeat: repeat-x;
|
125
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3884c6", endColorstr="#2c699f");
|
126
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#3884c6), to(#2c699f));
|
127
|
+
background-image: -moz-linear-gradient(top, #3884c6, #2c699f);
|
128
|
+
background-image: -ms-linear-gradient(top, #3884c6, #2c699f);
|
129
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3884c6), color-stop(100%, #2c699f));
|
130
|
+
background-image: -webkit-linear-gradient(top, #3884c6, #2c699f);
|
131
|
+
background-image: -o-linear-gradient(top, #3884c6, #2c699f);
|
132
|
+
background-image: linear-gradient(#3884c6, #2c699f);
|
133
|
+
border-color: #2c699f #2c699f hsl(208, 56%, 37.5%);
|
134
|
+
color: #fff !important;
|
135
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
136
|
+
-webkit-font-smoothing: antialiased;
|
137
|
+
}
|
138
|
+
|
139
|
+
.btn-primary:active,
|
140
|
+
.btn-primary.active {
|
141
|
+
background-color: #3071a9;
|
142
|
+
border-color: #2d6ca2;
|
143
|
+
}
|
144
|
+
|
145
|
+
.btn-success {
|
146
|
+
background-color: hsl(120, 40%, 41%) !important;
|
147
|
+
background-repeat: repeat-x;
|
148
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#50b450", endColorstr="#3e923e");
|
149
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#50b450), to(#3e923e));
|
150
|
+
background-image: -moz-linear-gradient(top, #50b450, #3e923e);
|
151
|
+
background-image: -ms-linear-gradient(top, #50b450, #3e923e);
|
152
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #50b450), color-stop(100%, #3e923e));
|
153
|
+
background-image: -webkit-linear-gradient(top, #50b450, #3e923e);
|
154
|
+
background-image: -o-linear-gradient(top, #50b450, #3e923e);
|
155
|
+
background-image: linear-gradient(#50b450, #3e923e);
|
156
|
+
border-color: #3e923e #3e923e hsl(120, 40%, 38.5%);
|
157
|
+
color: #fff !important;
|
158
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
159
|
+
-webkit-font-smoothing: antialiased;
|
160
|
+
}
|
161
|
+
|
162
|
+
.btn-success:active,
|
163
|
+
.btn-success.active {
|
164
|
+
background-color: #449d44;
|
165
|
+
border-color: #419641;
|
166
|
+
}
|
167
|
+
|
168
|
+
.btn-warning {
|
169
|
+
background-color: hsl(35, 85%, 49%) !important;
|
170
|
+
background-repeat: repeat-x;
|
171
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#efa53d", endColorstr="#e78e12");
|
172
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#efa53d), to(#e78e12));
|
173
|
+
background-image: -moz-linear-gradient(top, #efa53d, #e78e12);
|
174
|
+
background-image: -ms-linear-gradient(top, #efa53d, #e78e12);
|
175
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efa53d), color-stop(100%, #e78e12));
|
176
|
+
background-image: -webkit-linear-gradient(top, #efa53d, #e78e12);
|
177
|
+
background-image: -o-linear-gradient(top, #efa53d, #e78e12);
|
178
|
+
background-image: linear-gradient(#efa53d, #e78e12);
|
179
|
+
border-color: #e78e12 #e78e12 hsl(35, 85%, 46.5%);
|
180
|
+
color: #fff !important;
|
181
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
182
|
+
-webkit-font-smoothing: antialiased;
|
183
|
+
}
|
184
|
+
|
185
|
+
.btn-warning:active,
|
186
|
+
.btn-warning.active {
|
187
|
+
background-color: #ec971f;
|
188
|
+
border-color: #eb9316;
|
189
|
+
}
|
190
|
+
|
191
|
+
.btn-danger {
|
192
|
+
background-color: hsl(2, 65%, 45%) !important;
|
193
|
+
background-repeat: repeat-x;
|
194
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d64641", endColorstr="#bd2d28");
|
195
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#d64641), to(#bd2d28));
|
196
|
+
background-image: -moz-linear-gradient(top, #d64641, #bd2d28);
|
197
|
+
background-image: -ms-linear-gradient(top, #d64641, #bd2d28);
|
198
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d64641), color-stop(100%, #bd2d28));
|
199
|
+
background-image: -webkit-linear-gradient(top, #d64641, #bd2d28);
|
200
|
+
background-image: -o-linear-gradient(top, #d64641, #bd2d28);
|
201
|
+
background-image: linear-gradient(#d64641, #bd2d28);
|
202
|
+
border-color: #bd2d28 #bd2d28 hsl(2, 65%, 42.5%);
|
203
|
+
color: #fff !important;
|
204
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
205
|
+
-webkit-font-smoothing: antialiased;
|
206
|
+
}
|
207
|
+
|
208
|
+
.btn-danger:active,
|
209
|
+
.btn-danger.active {
|
210
|
+
background-color: #c9302c;
|
211
|
+
border-color: #c12e2a;
|
212
|
+
}
|
213
|
+
|
214
|
+
.btn-info {
|
215
|
+
background-color: hsl(194, 66%, 48%) !important;
|
216
|
+
background-repeat: repeat-x;
|
217
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4db9da", endColorstr="#29a5cb");
|
218
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#4db9da), to(#29a5cb));
|
219
|
+
background-image: -moz-linear-gradient(top, #4db9da, #29a5cb);
|
220
|
+
background-image: -ms-linear-gradient(top, #4db9da, #29a5cb);
|
221
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4db9da), color-stop(100%, #29a5cb));
|
222
|
+
background-image: -webkit-linear-gradient(top, #4db9da, #29a5cb);
|
223
|
+
background-image: -o-linear-gradient(top, #4db9da, #29a5cb);
|
224
|
+
background-image: linear-gradient(#4db9da, #29a5cb);
|
225
|
+
border-color: #29a5cb #29a5cb hsl(194, 66%, 45.5%);
|
226
|
+
color: #fff !important;
|
227
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
228
|
+
-webkit-font-smoothing: antialiased;
|
229
|
+
}
|
230
|
+
|
231
|
+
.btn-info:active,
|
232
|
+
.btn-info.active {
|
233
|
+
background-color: #31b0d5;
|
234
|
+
border-color: #2aabd2;
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
// original btn style
|
239
|
+
|
240
|
+
.btn-inverse {
|
241
|
+
background-color: hsl(0, 0%, 15%) !important;
|
242
|
+
background-repeat: repeat-x;
|
243
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3f3f3f", endColorstr="#262626");
|
244
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#3f3f3f), to(#262626));
|
245
|
+
background-image: -moz-linear-gradient(top, #3f3f3f, #262626);
|
246
|
+
background-image: -ms-linear-gradient(top, #3f3f3f, #262626);
|
247
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3f3f3f), color-stop(100%, #262626));
|
248
|
+
background-image: -webkit-linear-gradient(top, #3f3f3f, #262626);
|
249
|
+
background-image: -o-linear-gradient(top, #3f3f3f, #262626);
|
250
|
+
background-image: linear-gradient(#3f3f3f, #262626);
|
251
|
+
border-color: #262626 #262626 hsl(0, 0%, 12.5%);
|
252
|
+
color: #fff !important;
|
253
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
254
|
+
-webkit-font-smoothing: antialiased;
|
255
|
+
}
|
256
|
+
|
257
|
+
.btn-gaku {
|
258
|
+
background-color: hsl(240, 34%, 67%) !important;
|
259
|
+
background-repeat: repeat-x;
|
260
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a2a2d1", endColorstr="#8e8ec7");
|
261
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from(#a2a2d1), to(#8e8ec7));
|
262
|
+
background-image: -moz-linear-gradient(top, #a2a2d1, #8e8ec7);
|
263
|
+
background-image: -ms-linear-gradient(top, #a2a2d1, #8e8ec7);
|
264
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a2a2d1), color-stop(100%, #8e8ec7));
|
265
|
+
background-image: -webkit-linear-gradient(top, #a2a2d1, #8e8ec7);
|
266
|
+
background-image: -o-linear-gradient(top, #a2a2d1, #8e8ec7);
|
267
|
+
background-image: linear-gradient(#a2a2d1, #8e8ec7);
|
268
|
+
border-color: #8e8ec7 #8e8ec7 hsl(240, 34%, 65.5%);
|
269
|
+
color: #fff !important;
|
270
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
|
271
|
+
-webkit-font-smoothing: antialiased;
|
272
|
+
}
|
273
|
+
|
274
|
+
.thumbnail,
|
275
|
+
.img-thumbnail {
|
276
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
277
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
278
|
+
}
|
279
|
+
|
280
|
+
.dropdown-menu > li > a:hover,
|
281
|
+
.dropdown-menu > li > a:focus,
|
282
|
+
.dropdown-menu > .active > a,
|
283
|
+
.dropdown-menu > .active > a:hover,
|
284
|
+
.dropdown-menu > .active > a:focus {
|
285
|
+
color: #FFF;
|
286
|
+
background-color: #357ebd;
|
287
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
288
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
289
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
290
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
291
|
+
background-repeat: repeat-x;
|
292
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
293
|
+
}
|
294
|
+
|
295
|
+
.navbar {
|
296
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
|
297
|
+
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%);
|
298
|
+
background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
299
|
+
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
|
300
|
+
background-repeat: repeat-x;
|
301
|
+
border-radius: 4px;
|
302
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
303
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
304
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
305
|
+
}
|
306
|
+
|
307
|
+
.navbar .navbar-nav > .active > a {
|
308
|
+
background-color: #f8f8f8;
|
309
|
+
}
|
310
|
+
|
311
|
+
.navbar-brand,
|
312
|
+
.navbar-nav > li > a {
|
313
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
314
|
+
}
|
315
|
+
|
316
|
+
.navbar-inverse {
|
317
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222));
|
318
|
+
background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%);
|
319
|
+
background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
|
320
|
+
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
|
321
|
+
background-repeat: repeat-x;
|
322
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
323
|
+
}
|
324
|
+
|
325
|
+
.navbar-inverse .navbar-nav > .active > a {
|
326
|
+
background-color: #222222;
|
327
|
+
}
|
328
|
+
|
329
|
+
.navbar-inverse .navbar-brand,
|
330
|
+
.navbar-inverse .navbar-nav > li > a {
|
331
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
332
|
+
}
|
333
|
+
|
334
|
+
.navbar-static-top,
|
335
|
+
.navbar-fixed-top,
|
336
|
+
.navbar-fixed-bottom {
|
337
|
+
border-radius: 0;
|
338
|
+
}
|
339
|
+
|
340
|
+
.alert {
|
341
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
342
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
343
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
344
|
+
}
|
345
|
+
|
346
|
+
.alert-success {
|
347
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc));
|
348
|
+
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%);
|
349
|
+
background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
350
|
+
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
351
|
+
background-repeat: repeat-x;
|
352
|
+
border-color: #b2dba1;
|
353
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
354
|
+
}
|
355
|
+
|
356
|
+
.alert-info {
|
357
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0));
|
358
|
+
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%);
|
359
|
+
background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
360
|
+
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
361
|
+
background-repeat: repeat-x;
|
362
|
+
border-color: #9acfea;
|
363
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
364
|
+
}
|
365
|
+
|
366
|
+
.alert-warning {
|
367
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0));
|
368
|
+
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%);
|
369
|
+
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
370
|
+
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
371
|
+
background-repeat: repeat-x;
|
372
|
+
border-color: #f5e79e;
|
373
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
374
|
+
}
|
375
|
+
|
376
|
+
.alert-danger {
|
377
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3));
|
378
|
+
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%);
|
379
|
+
background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
380
|
+
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
381
|
+
background-repeat: repeat-x;
|
382
|
+
border-color: #dca7a7;
|
383
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
384
|
+
}
|
385
|
+
|
386
|
+
.progress {
|
387
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5));
|
388
|
+
background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%);
|
389
|
+
background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
390
|
+
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
391
|
+
background-repeat: repeat-x;
|
392
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
393
|
+
}
|
394
|
+
|
395
|
+
.progress-bar {
|
396
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
|
397
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
|
398
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
399
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
400
|
+
background-repeat: repeat-x;
|
401
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
402
|
+
}
|
403
|
+
|
404
|
+
.progress-bar-success {
|
405
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
|
406
|
+
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
|
407
|
+
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
408
|
+
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
409
|
+
background-repeat: repeat-x;
|
410
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
411
|
+
}
|
412
|
+
|
413
|
+
.progress-bar-info {
|
414
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
|
415
|
+
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
|
416
|
+
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
417
|
+
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
418
|
+
background-repeat: repeat-x;
|
419
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
420
|
+
}
|
421
|
+
|
422
|
+
.progress-bar-warning {
|
423
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
|
424
|
+
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
|
425
|
+
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
426
|
+
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
427
|
+
background-repeat: repeat-x;
|
428
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
429
|
+
}
|
430
|
+
|
431
|
+
.progress-bar-danger {
|
432
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
|
433
|
+
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
|
434
|
+
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
435
|
+
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
436
|
+
background-repeat: repeat-x;
|
437
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
438
|
+
}
|
439
|
+
|
440
|
+
.list-group {
|
441
|
+
border-radius: 4px;
|
442
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
443
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
444
|
+
}
|
445
|
+
|
446
|
+
.list-group-item.active,
|
447
|
+
.list-group-item.active:hover,
|
448
|
+
.list-group-item.active:focus {
|
449
|
+
text-shadow: 0 -1px 0 #3071a9;
|
450
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3));
|
451
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%);
|
452
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
453
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
454
|
+
background-repeat: repeat-x;
|
455
|
+
border-color: #3278b3;
|
456
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
457
|
+
}
|
458
|
+
|
459
|
+
.panel {
|
460
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
461
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
462
|
+
}
|
463
|
+
|
464
|
+
.panel-default > .panel-heading {
|
465
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
|
466
|
+
background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%);
|
467
|
+
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
468
|
+
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
469
|
+
background-repeat: repeat-x;
|
470
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
471
|
+
}
|
472
|
+
|
473
|
+
.panel-primary > .panel-heading {
|
474
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
475
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
476
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
477
|
+
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
478
|
+
background-repeat: repeat-x;
|
479
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
480
|
+
}
|
481
|
+
|
482
|
+
.panel-success > .panel-heading {
|
483
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6));
|
484
|
+
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%);
|
485
|
+
background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
486
|
+
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
487
|
+
background-repeat: repeat-x;
|
488
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
489
|
+
}
|
490
|
+
|
491
|
+
.panel-info > .panel-heading {
|
492
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3));
|
493
|
+
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%);
|
494
|
+
background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
495
|
+
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
496
|
+
background-repeat: repeat-x;
|
497
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
498
|
+
}
|
499
|
+
|
500
|
+
.panel-warning > .panel-heading {
|
501
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc));
|
502
|
+
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%);
|
503
|
+
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
504
|
+
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
505
|
+
background-repeat: repeat-x;
|
506
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
507
|
+
}
|
508
|
+
|
509
|
+
.panel-danger > .panel-heading {
|
510
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc));
|
511
|
+
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%);
|
512
|
+
background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
513
|
+
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
514
|
+
background-repeat: repeat-x;
|
515
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
516
|
+
}
|
517
|
+
|
518
|
+
.well {
|
519
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
|
520
|
+
background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%);
|
521
|
+
background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
522
|
+
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
523
|
+
background-repeat: repeat-x;
|
524
|
+
border-color: #dcdcdc;
|
525
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
526
|
+
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
527
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
528
|
+
}
|
529
|
+
|
530
|
+
// for autocomplete
|
531
|
+
.ui-autocomplete {
|
532
|
+
position: absolute;
|
533
|
+
top: 100%;
|
534
|
+
left: 0;
|
535
|
+
z-index: 1000;
|
536
|
+
display: none;
|
537
|
+
float: left;
|
538
|
+
min-width: 160px;
|
539
|
+
padding: 5px 0;
|
540
|
+
margin: 2px 0 0;
|
541
|
+
font-size: 14px;
|
542
|
+
list-style: none;
|
543
|
+
background-color: #FFF;
|
544
|
+
border: 1px solid #CCC;
|
545
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
546
|
+
border-radius: 4px;
|
547
|
+
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
548
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
549
|
+
background-clip: padding-box;
|
550
|
+
|
551
|
+
font-size: 14px;
|
552
|
+
list-style: none;
|
553
|
+
&>li>a{
|
554
|
+
display: block;
|
555
|
+
padding: 3px 12px;
|
556
|
+
clear: both;
|
557
|
+
font-weight: normal;
|
558
|
+
line-height: 1.428571429;
|
559
|
+
color: #333;
|
560
|
+
white-space: nowrap;
|
561
|
+
&:hover, :focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
|
562
|
+
color: #FFF;
|
563
|
+
text-decoration: none;
|
564
|
+
background-color: #428BCA;
|
565
|
+
background-color: #357EBD;
|
566
|
+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428BCA), to(#357EBD));
|
567
|
+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
568
|
+
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
569
|
+
background-image: linear-gradient(to bottom, #428BCA 0%, #357EBD 100%);
|
570
|
+
background-repeat: repeat-x;
|
571
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); }
|
572
|
+
}
|
573
|
+
}
|