mix-rails 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -27
- data/admix/.gitignore +7 -0
- data/admix/.rspec +1 -0
- data/admix/Gemfile +31 -0
- data/{MIT-LICENSE → admix/MIT-LICENSE} +0 -0
- data/admix/README.rdoc +3 -0
- data/admix/Rakefile +27 -0
- data/admix/admix.gemspec +34 -0
- data/admix/app/assets/bootstrap/css/bootstrap-responsive.css +1092 -0
- data/admix/app/assets/bootstrap/css/bootstrap-responsive.min.css +9 -0
- data/admix/app/assets/bootstrap/css/bootstrap.css +6039 -0
- data/admix/app/assets/bootstrap/css/bootstrap.min.css +9 -0
- data/admix/app/assets/bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/admix/app/assets/bootstrap/img/glyphicons-halflings.png +0 -0
- data/admix/app/assets/bootstrap/js/bootstrap.js +2159 -0
- data/admix/app/assets/bootstrap/js/bootstrap.min.js +6 -0
- data/admix/app/assets/images/admix/.gitkeep +0 -0
- data/admix/app/assets/images/admix/breadcrumbs-arrow.png +0 -0
- data/admix/app/assets/images/admix/cancel.png +0 -0
- data/admix/app/assets/images/admix/delete_x.png +0 -0
- data/admix/app/assets/images/admix/icons/accept.png +0 -0
- data/admix/app/assets/images/admix/icons/add.png +0 -0
- data/admix/app/assets/images/admix/icons/anchor.png +0 -0
- data/admix/app/assets/images/admix/icons/application.png +0 -0
- data/admix/app/assets/images/admix/icons/application_add.png +0 -0
- data/admix/app/assets/images/admix/icons/application_cascade.png +0 -0
- data/admix/app/assets/images/admix/icons/application_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/application_double.png +0 -0
- data/admix/app/assets/images/admix/icons/application_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/application_error.png +0 -0
- data/admix/app/assets/images/admix/icons/application_form.png +0 -0
- data/admix/app/assets/images/admix/icons/application_form_add.png +0 -0
- data/admix/app/assets/images/admix/icons/application_form_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/application_form_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/application_form_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/application_get.png +0 -0
- data/admix/app/assets/images/admix/icons/application_go.png +0 -0
- data/admix/app/assets/images/admix/icons/application_home.png +0 -0
- data/admix/app/assets/images/admix/icons/application_key.png +0 -0
- data/admix/app/assets/images/admix/icons/application_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/application_link.png +0 -0
- data/admix/app/assets/images/admix/icons/application_osx.png +0 -0
- data/admix/app/assets/images/admix/icons/application_osx_terminal.png +0 -0
- data/admix/app/assets/images/admix/icons/application_put.png +0 -0
- data/admix/app/assets/images/admix/icons/application_side_boxes.png +0 -0
- data/admix/app/assets/images/admix/icons/application_side_contract.png +0 -0
- data/admix/app/assets/images/admix/icons/application_side_expand.png +0 -0
- data/admix/app/assets/images/admix/icons/application_side_list.png +0 -0
- data/admix/app/assets/images/admix/icons/application_side_tree.png +0 -0
- data/admix/app/assets/images/admix/icons/application_split.png +0 -0
- data/admix/app/assets/images/admix/icons/application_tile_horizontal.png +0 -0
- data/admix/app/assets/images/admix/icons/application_tile_vertical.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_columns.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_detail.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_gallery.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_icons.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_list.png +0 -0
- data/admix/app/assets/images/admix/icons/application_view_tile.png +0 -0
- data/admix/app/assets/images/admix/icons/application_xp.png +0 -0
- data/admix/app/assets/images/admix/icons/application_xp_terminal.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_branch.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_divide.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_down.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_in.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_inout.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_join.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_left.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_merge.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_out.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_redo.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_refresh.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_refresh_small.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_right.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_rotate_anticlockwise.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_rotate_clockwise.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_switch.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_turn_left.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_turn_right.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_undo.png +0 -0
- data/admix/app/assets/images/admix/icons/arrow_up.png +0 -0
- data/admix/app/assets/images/admix/icons/asterisk_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/asterisk_yellow.png +0 -0
- data/admix/app/assets/images/admix/icons/attach.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_add.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_bronze_1.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_bronze_2.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_bronze_3.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_gold_1.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_gold_2.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_gold_3.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_silver_1.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_silver_2.png +0 -0
- data/admix/app/assets/images/admix/icons/award_star_silver_3.png +0 -0
- data/admix/app/assets/images/admix/icons/basket.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_add.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_error.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_go.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_put.png +0 -0
- data/admix/app/assets/images/admix/icons/basket_remove.png +0 -0
- data/admix/app/assets/images/admix/icons/bell.png +0 -0
- data/admix/app/assets/images/admix/icons/bell_add.png +0 -0
- data/admix/app/assets/images/admix/icons/bell_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/bell_error.png +0 -0
- data/admix/app/assets/images/admix/icons/bell_go.png +0 -0
- data/admix/app/assets/images/admix/icons/bell_link.png +0 -0
- data/admix/app/assets/images/admix/icons/bin.png +0 -0
- data/admix/app/assets/images/admix/icons/bin_closed.png +0 -0
- data/admix/app/assets/images/admix/icons/bin_empty.png +0 -0
- data/admix/app/assets/images/admix/icons/bomb.png +0 -0
- data/admix/app/assets/images/admix/icons/book.png +0 -0
- data/admix/app/assets/images/admix/icons/book_add.png +0 -0
- data/admix/app/assets/images/admix/icons/book_addresses.png +0 -0
- data/admix/app/assets/images/admix/icons/book_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/book_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/book_error.png +0 -0
- data/admix/app/assets/images/admix/icons/book_go.png +0 -0
- data/admix/app/assets/images/admix/icons/book_key.png +0 -0
- data/admix/app/assets/images/admix/icons/book_link.png +0 -0
- data/admix/app/assets/images/admix/icons/book_next.png +0 -0
- data/admix/app/assets/images/admix/icons/book_open.png +0 -0
- data/admix/app/assets/images/admix/icons/book_previous.png +0 -0
- data/admix/app/assets/images/admix/icons/box.png +0 -0
- data/admix/app/assets/images/admix/icons/brick.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_add.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_error.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_go.png +0 -0
- data/admix/app/assets/images/admix/icons/brick_link.png +0 -0
- data/admix/app/assets/images/admix/icons/bricks.png +0 -0
- data/admix/app/assets/images/admix/icons/briefcase.png +0 -0
- data/admix/app/assets/images/admix/icons/bug.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_add.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_error.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_go.png +0 -0
- data/admix/app/assets/images/admix/icons/bug_link.png +0 -0
- data/admix/app/assets/images/admix/icons/building.png +0 -0
- data/admix/app/assets/images/admix/icons/building_add.png +0 -0
- data/admix/app/assets/images/admix/icons/building_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/building_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/building_error.png +0 -0
- data/admix/app/assets/images/admix/icons/building_go.png +0 -0
- data/admix/app/assets/images/admix/icons/building_key.png +0 -0
- data/admix/app/assets/images/admix/icons/building_link.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_add.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_arrow_bottom.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_arrow_down.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_arrow_top.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_arrow_up.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_black.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_disk.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_error.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_feed.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_go.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_green.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_key.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_picture.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_pink.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_purple.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_red.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_star.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_toggle_minus.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_toggle_plus.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_white.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_wrench.png +0 -0
- data/admix/app/assets/images/admix/icons/bullet_yellow.png +0 -0
- data/admix/app/assets/images/admix/icons/cake.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator_add.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator_error.png +0 -0
- data/admix/app/assets/images/admix/icons/calculator_link.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_add.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_link.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_view_day.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_view_month.png +0 -0
- data/admix/app/assets/images/admix/icons/calendar_view_week.png +0 -0
- data/admix/app/assets/images/admix/icons/camera.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_add.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_error.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_go.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_link.png +0 -0
- data/admix/app/assets/images/admix/icons/camera_small.png +0 -0
- data/admix/app/assets/images/admix/icons/cancel.png +0 -0
- data/admix/app/assets/images/admix/icons/car.png +0 -0
- data/admix/app/assets/images/admix/icons/car_add.png +0 -0
- data/admix/app/assets/images/admix/icons/car_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/cart.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_add.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_error.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_go.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_put.png +0 -0
- data/admix/app/assets/images/admix/icons/cart_remove.png +0 -0
- data/admix/app/assets/images/admix/icons/cd.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_add.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_burn.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_eject.png +0 -0
- data/admix/app/assets/images/admix/icons/cd_go.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar_add.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar_error.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_bar_link.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_add.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_error.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_go.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_curve_link.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line_add.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line_error.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_line_link.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_organisation.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_organisation_add.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_organisation_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie_add.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie_error.png +0 -0
- data/admix/app/assets/images/admix/icons/chart_pie_link.png +0 -0
- data/admix/app/assets/images/admix/icons/clock.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_add.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_error.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_go.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_link.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_pause.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_play.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_red.png +0 -0
- data/admix/app/assets/images/admix/icons/clock_stop.png +0 -0
- data/admix/app/assets/images/admix/icons/cog.png +0 -0
- data/admix/app/assets/images/admix/icons/cog_add.png +0 -0
- data/admix/app/assets/images/admix/icons/cog_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/cog_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/cog_error.png +0 -0
- data/admix/app/assets/images/admix/icons/cog_go.png +0 -0
- data/admix/app/assets/images/admix/icons/coins.png +0 -0
- data/admix/app/assets/images/admix/icons/coins_add.png +0 -0
- data/admix/app/assets/images/admix/icons/coins_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/color_swatch.png +0 -0
- data/admix/app/assets/images/admix/icons/color_wheel.png +0 -0
- data/admix/app/assets/images/admix/icons/comment.png +0 -0
- data/admix/app/assets/images/admix/icons/comment_add.png +0 -0
- data/admix/app/assets/images/admix/icons/comment_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/comment_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/comments.png +0 -0
- data/admix/app/assets/images/admix/icons/comments_add.png +0 -0
- data/admix/app/assets/images/admix/icons/comments_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/compress.png +0 -0
- data/admix/app/assets/images/admix/icons/computer.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_add.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_error.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_go.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_key.png +0 -0
- data/admix/app/assets/images/admix/icons/computer_link.png +0 -0
- data/admix/app/assets/images/admix/icons/connect.png +0 -0
- data/admix/app/assets/images/admix/icons/contrast.png +0 -0
- data/admix/app/assets/images/admix/icons/contrast_decrease.png +0 -0
- data/admix/app/assets/images/admix/icons/contrast_high.png +0 -0
- data/admix/app/assets/images/admix/icons/contrast_increase.png +0 -0
- data/admix/app/assets/images/admix/icons/contrast_low.png +0 -0
- data/admix/app/assets/images/admix/icons/control_eject.png +0 -0
- data/admix/app/assets/images/admix/icons/control_eject_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_end.png +0 -0
- data/admix/app/assets/images/admix/icons/control_end_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_equalizer.png +0 -0
- data/admix/app/assets/images/admix/icons/control_equalizer_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_fastforward.png +0 -0
- data/admix/app/assets/images/admix/icons/control_fastforward_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_pause.png +0 -0
- data/admix/app/assets/images/admix/icons/control_pause_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_play.png +0 -0
- data/admix/app/assets/images/admix/icons/control_play_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_repeat.png +0 -0
- data/admix/app/assets/images/admix/icons/control_repeat_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_rewind.png +0 -0
- data/admix/app/assets/images/admix/icons/control_rewind_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_start.png +0 -0
- data/admix/app/assets/images/admix/icons/control_start_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/control_stop.png +0 -0
- data/admix/app/assets/images/admix/icons/control_stop_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/controller.png +0 -0
- data/admix/app/assets/images/admix/icons/controller_add.png +0 -0
- data/admix/app/assets/images/admix/icons/controller_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/controller_error.png +0 -0
- data/admix/app/assets/images/admix/icons/creditcards.png +0 -0
- data/admix/app/assets/images/admix/icons/cross.png +0 -0
- data/admix/app/assets/images/admix/icons/css.png +0 -0
- data/admix/app/assets/images/admix/icons/css_add.png +0 -0
- data/admix/app/assets/images/admix/icons/css_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/css_go.png +0 -0
- data/admix/app/assets/images/admix/icons/css_valid.png +0 -0
- data/admix/app/assets/images/admix/icons/cup.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_add.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_error.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_go.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_key.png +0 -0
- data/admix/app/assets/images/admix/icons/cup_link.png +0 -0
- data/admix/app/assets/images/admix/icons/cursor.png +0 -0
- data/admix/app/assets/images/admix/icons/cut.png +0 -0
- data/admix/app/assets/images/admix/icons/cut_red.png +0 -0
- data/admix/app/assets/images/admix/icons/database.png +0 -0
- data/admix/app/assets/images/admix/icons/database_add.png +0 -0
- data/admix/app/assets/images/admix/icons/database_connect.png +0 -0
- data/admix/app/assets/images/admix/icons/database_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/database_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/database_error.png +0 -0
- data/admix/app/assets/images/admix/icons/database_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/database_go.png +0 -0
- data/admix/app/assets/images/admix/icons/database_key.png +0 -0
- data/admix/app/assets/images/admix/icons/database_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/database_link.png +0 -0
- data/admix/app/assets/images/admix/icons/database_refresh.png +0 -0
- data/admix/app/assets/images/admix/icons/database_save.png +0 -0
- data/admix/app/assets/images/admix/icons/database_table.png +0 -0
- data/admix/app/assets/images/admix/icons/date.png +0 -0
- data/admix/app/assets/images/admix/icons/date_add.png +0 -0
- data/admix/app/assets/images/admix/icons/date_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/date_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/date_error.png +0 -0
- data/admix/app/assets/images/admix/icons/date_go.png +0 -0
- data/admix/app/assets/images/admix/icons/date_link.png +0 -0
- data/admix/app/assets/images/admix/icons/date_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/date_next.png +0 -0
- data/admix/app/assets/images/admix/icons/date_previous.png +0 -0
- data/admix/app/assets/images/admix/icons/delete.png +0 -0
- data/admix/app/assets/images/admix/icons/disconnect.png +0 -0
- data/admix/app/assets/images/admix/icons/disk.png +0 -0
- data/admix/app/assets/images/admix/icons/disk_multiple.png +0 -0
- data/admix/app/assets/images/admix/icons/door.png +0 -0
- data/admix/app/assets/images/admix/icons/door_in.png +0 -0
- data/admix/app/assets/images/admix/icons/door_open.png +0 -0
- data/admix/app/assets/images/admix/icons/door_out.png +0 -0
- data/admix/app/assets/images/admix/icons/drink.png +0 -0
- data/admix/app/assets/images/admix/icons/drink_empty.png +0 -0
- data/admix/app/assets/images/admix/icons/drive.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_add.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_burn.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_cd.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_cd_empty.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_disk.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_error.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_go.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_key.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_link.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_network.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_rename.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_user.png +0 -0
- data/admix/app/assets/images/admix/icons/drive_web.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_add.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_error.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_go.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_key.png +0 -0
- data/admix/app/assets/images/admix/icons/dvd_link.png +0 -0
- data/admix/app/assets/images/admix/icons/email.png +0 -0
- data/admix/app/assets/images/admix/icons/email_add.png +0 -0
- data/admix/app/assets/images/admix/icons/email_attach.png +0 -0
- data/admix/app/assets/images/admix/icons/email_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/email_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/email_error.png +0 -0
- data/admix/app/assets/images/admix/icons/email_go.png +0 -0
- data/admix/app/assets/images/admix/icons/email_link.png +0 -0
- data/admix/app/assets/images/admix/icons/email_open.png +0 -0
- data/admix/app/assets/images/admix/icons/email_open_image.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_evilgrin.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_grin.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_happy.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_smile.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_surprised.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_tongue.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_unhappy.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_waii.png +0 -0
- data/admix/app/assets/images/admix/icons/emoticon_wink.png +0 -0
- data/admix/app/assets/images/admix/icons/error.png +0 -0
- data/admix/app/assets/images/admix/icons/error_add.png +0 -0
- data/admix/app/assets/images/admix/icons/error_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/error_go.png +0 -0
- data/admix/app/assets/images/admix/icons/exclamation.png +0 -0
- data/admix/app/assets/images/admix/icons/eye.png +0 -0
- data/admix/app/assets/images/admix/icons/feed.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_add.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_disk.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_error.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_go.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_key.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_link.png +0 -0
- data/admix/app/assets/images/admix/icons/feed_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/female.png +0 -0
- data/admix/app/assets/images/admix/icons/film.png +0 -0
- data/admix/app/assets/images/admix/icons/film_add.png +0 -0
- data/admix/app/assets/images/admix/icons/film_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/film_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/film_error.png +0 -0
- data/admix/app/assets/images/admix/icons/film_go.png +0 -0
- data/admix/app/assets/images/admix/icons/film_key.png +0 -0
- data/admix/app/assets/images/admix/icons/film_link.png +0 -0
- data/admix/app/assets/images/admix/icons/film_save.png +0 -0
- data/admix/app/assets/images/admix/icons/find.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_green.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_pink.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_purple.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_red.png +0 -0
- data/admix/app/assets/images/admix/icons/flag_yellow.png +0 -0
- data/admix/app/assets/images/admix/icons/folder.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_add.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_bell.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_brick.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_bug.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_camera.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_database.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_error.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_explore.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_feed.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_find.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_go.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_heart.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_image.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_key.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_lightbulb.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_link.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_page.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_page_white.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_palette.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_picture.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_star.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_table.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_user.png +0 -0
- data/admix/app/assets/images/admix/icons/folder_wrench.png +0 -0
- data/admix/app/assets/images/admix/icons/font.png +0 -0
- data/admix/app/assets/images/admix/icons/font_add.png +0 -0
- data/admix/app/assets/images/admix/icons/font_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/font_go.png +0 -0
- data/admix/app/assets/images/admix/icons/group.png +0 -0
- data/admix/app/assets/images/admix/icons/group_add.png +0 -0
- data/admix/app/assets/images/admix/icons/group_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/group_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/group_error.png +0 -0
- data/admix/app/assets/images/admix/icons/group_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/group_go.png +0 -0
- data/admix/app/assets/images/admix/icons/group_key.png +0 -0
- data/admix/app/assets/images/admix/icons/group_link.png +0 -0
- data/admix/app/assets/images/admix/icons/heart.png +0 -0
- data/admix/app/assets/images/admix/icons/heart_add.png +0 -0
- data/admix/app/assets/images/admix/icons/heart_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/help.png +0 -0
- data/admix/app/assets/images/admix/icons/hourglass.png +0 -0
- data/admix/app/assets/images/admix/icons/hourglass_add.png +0 -0
- data/admix/app/assets/images/admix/icons/hourglass_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/hourglass_go.png +0 -0
- data/admix/app/assets/images/admix/icons/hourglass_link.png +0 -0
- data/admix/app/assets/images/admix/icons/house.png +0 -0
- data/admix/app/assets/images/admix/icons/house_go.png +0 -0
- data/admix/app/assets/images/admix/icons/house_link.png +0 -0
- data/admix/app/assets/images/admix/icons/html.png +0 -0
- data/admix/app/assets/images/admix/icons/html_add.png +0 -0
- data/admix/app/assets/images/admix/icons/html_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/html_go.png +0 -0
- data/admix/app/assets/images/admix/icons/html_valid.png +0 -0
- data/admix/app/assets/images/admix/icons/image.png +0 -0
- data/admix/app/assets/images/admix/icons/image_add.png +0 -0
- data/admix/app/assets/images/admix/icons/image_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/image_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/image_link.png +0 -0
- data/admix/app/assets/images/admix/icons/images.png +0 -0
- data/admix/app/assets/images/admix/icons/information.png +0 -0
- data/admix/app/assets/images/admix/icons/ipod.png +0 -0
- data/admix/app/assets/images/admix/icons/ipod_cast.png +0 -0
- data/admix/app/assets/images/admix/icons/ipod_cast_add.png +0 -0
- data/admix/app/assets/images/admix/icons/ipod_cast_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/ipod_sound.png +0 -0
- data/admix/app/assets/images/admix/icons/joystick.png +0 -0
- data/admix/app/assets/images/admix/icons/joystick_add.png +0 -0
- data/admix/app/assets/images/admix/icons/joystick_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/joystick_error.png +0 -0
- data/admix/app/assets/images/admix/icons/key.png +0 -0
- data/admix/app/assets/images/admix/icons/key_add.png +0 -0
- data/admix/app/assets/images/admix/icons/key_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/key_go.png +0 -0
- data/admix/app/assets/images/admix/icons/keyboard.png +0 -0
- data/admix/app/assets/images/admix/icons/keyboard_add.png +0 -0
- data/admix/app/assets/images/admix/icons/keyboard_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/keyboard_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/layers.png +0 -0
- data/admix/app/assets/images/admix/icons/layout.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_add.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_content.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_error.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_header.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_link.png +0 -0
- data/admix/app/assets/images/admix/icons/layout_sidebar.png +0 -0
- data/admix/app/assets/images/admix/icons/lightbulb.png +0 -0
- data/admix/app/assets/images/admix/icons/lightbulb_add.png +0 -0
- data/admix/app/assets/images/admix/icons/lightbulb_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/lightbulb_off.png +0 -0
- data/admix/app/assets/images/admix/icons/lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/lightning_add.png +0 -0
- data/admix/app/assets/images/admix/icons/lightning_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/lightning_go.png +0 -0
- data/admix/app/assets/images/admix/icons/link.png +0 -0
- data/admix/app/assets/images/admix/icons/link_add.png +0 -0
- data/admix/app/assets/images/admix/icons/link_break.png +0 -0
- data/admix/app/assets/images/admix/icons/link_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/link_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/link_error.png +0 -0
- data/admix/app/assets/images/admix/icons/link_go.png +0 -0
- data/admix/app/assets/images/admix/icons/lock.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_add.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_break.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_go.png +0 -0
- data/admix/app/assets/images/admix/icons/lock_open.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_add.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_error.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_flatbed.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_go.png +0 -0
- data/admix/app/assets/images/admix/icons/lorry_link.png +0 -0
- data/admix/app/assets/images/admix/icons/magifier_zoom_out.png +0 -0
- data/admix/app/assets/images/admix/icons/magnifier.png +0 -0
- data/admix/app/assets/images/admix/icons/magnifier_zoom_in.png +0 -0
- data/admix/app/assets/images/admix/icons/male.png +0 -0
- data/admix/app/assets/images/admix/icons/map.png +0 -0
- data/admix/app/assets/images/admix/icons/map_add.png +0 -0
- data/admix/app/assets/images/admix/icons/map_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/map_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/map_go.png +0 -0
- data/admix/app/assets/images/admix/icons/map_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_bronze_1.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_bronze_2.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_bronze_3.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_bronze_add.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_bronze_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_gold_1.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_gold_2.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_gold_3.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_gold_add.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_gold_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_silver_1.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_silver_2.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_silver_3.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_silver_add.png +0 -0
- data/admix/app/assets/images/admix/icons/medal_silver_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/money.png +0 -0
- data/admix/app/assets/images/admix/icons/money_add.png +0 -0
- data/admix/app/assets/images/admix/icons/money_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/money_dollar.png +0 -0
- data/admix/app/assets/images/admix/icons/money_euro.png +0 -0
- data/admix/app/assets/images/admix/icons/money_pound.png +0 -0
- data/admix/app/assets/images/admix/icons/money_yen.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_add.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_error.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_go.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/monitor_link.png +0 -0
- data/admix/app/assets/images/admix/icons/mouse.png +0 -0
- data/admix/app/assets/images/admix/icons/mouse_add.png +0 -0
- data/admix/app/assets/images/admix/icons/mouse_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/mouse_error.png +0 -0
- data/admix/app/assets/images/admix/icons/music.png +0 -0
- data/admix/app/assets/images/admix/icons/new.png +0 -0
- data/admix/app/assets/images/admix/icons/newspaper.png +0 -0
- data/admix/app/assets/images/admix/icons/newspaper_add.png +0 -0
- data/admix/app/assets/images/admix/icons/newspaper_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/newspaper_go.png +0 -0
- data/admix/app/assets/images/admix/icons/newspaper_link.png +0 -0
- data/admix/app/assets/images/admix/icons/note.png +0 -0
- data/admix/app/assets/images/admix/icons/note_add.png +0 -0
- data/admix/app/assets/images/admix/icons/note_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/note_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/note_error.png +0 -0
- data/admix/app/assets/images/admix/icons/note_go.png +0 -0
- data/admix/app/assets/images/admix/icons/overlays.png +0 -0
- data/admix/app/assets/images/admix/icons/package.png +0 -0
- data/admix/app/assets/images/admix/icons/package_add.png +0 -0
- data/admix/app/assets/images/admix/icons/package_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/package_go.png +0 -0
- data/admix/app/assets/images/admix/icons/package_green.png +0 -0
- data/admix/app/assets/images/admix/icons/package_link.png +0 -0
- data/admix/app/assets/images/admix/icons/page.png +0 -0
- data/admix/app/assets/images/admix/icons/page_add.png +0 -0
- data/admix/app/assets/images/admix/icons/page_attach.png +0 -0
- data/admix/app/assets/images/admix/icons/page_code.png +0 -0
- data/admix/app/assets/images/admix/icons/page_copy.png +0 -0
- data/admix/app/assets/images/admix/icons/page_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/page_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/page_error.png +0 -0
- data/admix/app/assets/images/admix/icons/page_excel.png +0 -0
- data/admix/app/assets/images/admix/icons/page_find.png +0 -0
- data/admix/app/assets/images/admix/icons/page_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/page_go.png +0 -0
- data/admix/app/assets/images/admix/icons/page_green.png +0 -0
- data/admix/app/assets/images/admix/icons/page_key.png +0 -0
- data/admix/app/assets/images/admix/icons/page_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/page_link.png +0 -0
- data/admix/app/assets/images/admix/icons/page_paintbrush.png +0 -0
- data/admix/app/assets/images/admix/icons/page_paste.png +0 -0
- data/admix/app/assets/images/admix/icons/page_red.png +0 -0
- data/admix/app/assets/images/admix/icons/page_refresh.png +0 -0
- data/admix/app/assets/images/admix/icons/page_save.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_acrobat.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_actionscript.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_add.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_c.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_camera.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_cd.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_code.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_code_red.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_coldfusion.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_compressed.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_copy.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_cplusplus.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_csharp.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_cup.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_database.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_dvd.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_error.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_excel.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_find.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_flash.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_freehand.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_get.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_go.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_h.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_horizontal.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_key.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_link.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_medal.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_office.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_paint.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_paintbrush.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_paste.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_php.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_picture.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_powerpoint.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_put.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_ruby.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_stack.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_star.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_swoosh.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_text.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_text_width.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_tux.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_vector.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_visualstudio.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_width.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_word.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_world.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_wrench.png +0 -0
- data/admix/app/assets/images/admix/icons/page_white_zip.png +0 -0
- data/admix/app/assets/images/admix/icons/page_word.png +0 -0
- data/admix/app/assets/images/admix/icons/page_world.png +0 -0
- data/admix/app/assets/images/admix/icons/paintbrush.png +0 -0
- data/admix/app/assets/images/admix/icons/paintcan.png +0 -0
- data/admix/app/assets/images/admix/icons/palette.png +0 -0
- data/admix/app/assets/images/admix/icons/paste_plain.png +0 -0
- data/admix/app/assets/images/admix/icons/paste_word.png +0 -0
- data/admix/app/assets/images/admix/icons/pencil.png +0 -0
- data/admix/app/assets/images/admix/icons/pencil_add.png +0 -0
- data/admix/app/assets/images/admix/icons/pencil_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/pencil_go.png +0 -0
- data/admix/app/assets/images/admix/icons/phone.png +0 -0
- data/admix/app/assets/images/admix/icons/phone_add.png +0 -0
- data/admix/app/assets/images/admix/icons/phone_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/phone_sound.png +0 -0
- data/admix/app/assets/images/admix/icons/photo.png +0 -0
- data/admix/app/assets/images/admix/icons/photo_add.png +0 -0
- data/admix/app/assets/images/admix/icons/photo_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/photo_link.png +0 -0
- data/admix/app/assets/images/admix/icons/photos.png +0 -0
- data/admix/app/assets/images/admix/icons/picture.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_add.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_empty.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_error.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_go.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_key.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_link.png +0 -0
- data/admix/app/assets/images/admix/icons/picture_save.png +0 -0
- data/admix/app/assets/images/admix/icons/pictures.png +0 -0
- data/admix/app/assets/images/admix/icons/pilcrow.png +0 -0
- data/admix/app/assets/images/admix/icons/pill.png +0 -0
- data/admix/app/assets/images/admix/icons/pill_add.png +0 -0
- data/admix/app/assets/images/admix/icons/pill_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/pill_go.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_add.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_disabled.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_error.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_go.png +0 -0
- data/admix/app/assets/images/admix/icons/plugin_link.png +0 -0
- data/admix/app/assets/images/admix/icons/printer.png +0 -0
- data/admix/app/assets/images/admix/icons/printer_add.png +0 -0
- data/admix/app/assets/images/admix/icons/printer_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/printer_empty.png +0 -0
- data/admix/app/assets/images/admix/icons/printer_error.png +0 -0
- data/admix/app/assets/images/admix/icons/rainbow.png +0 -0
- data/admix/app/assets/images/admix/icons/report.png +0 -0
- data/admix/app/assets/images/admix/icons/report_add.png +0 -0
- data/admix/app/assets/images/admix/icons/report_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/report_disk.png +0 -0
- data/admix/app/assets/images/admix/icons/report_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/report_go.png +0 -0
- data/admix/app/assets/images/admix/icons/report_key.png +0 -0
- data/admix/app/assets/images/admix/icons/report_link.png +0 -0
- data/admix/app/assets/images/admix/icons/report_magnify.png +0 -0
- data/admix/app/assets/images/admix/icons/report_picture.png +0 -0
- data/admix/app/assets/images/admix/icons/report_user.png +0 -0
- data/admix/app/assets/images/admix/icons/report_word.png +0 -0
- data/admix/app/assets/images/admix/icons/resultset_first.png +0 -0
- data/admix/app/assets/images/admix/icons/resultset_last.png +0 -0
- data/admix/app/assets/images/admix/icons/resultset_next.png +0 -0
- data/admix/app/assets/images/admix/icons/resultset_previous.png +0 -0
- data/admix/app/assets/images/admix/icons/rosette.png +0 -0
- data/admix/app/assets/images/admix/icons/rss.png +0 -0
- data/admix/app/assets/images/admix/icons/rss_add.png +0 -0
- data/admix/app/assets/images/admix/icons/rss_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/rss_go.png +0 -0
- data/admix/app/assets/images/admix/icons/rss_valid.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_add.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_get.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_go.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_key.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_link.png +0 -0
- data/admix/app/assets/images/admix/icons/ruby_put.png +0 -0
- data/admix/app/assets/images/admix/icons/script.png +0 -0
- data/admix/app/assets/images/admix/icons/script_add.png +0 -0
- data/admix/app/assets/images/admix/icons/script_code.png +0 -0
- data/admix/app/assets/images/admix/icons/script_code_red.png +0 -0
- data/admix/app/assets/images/admix/icons/script_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/script_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/script_error.png +0 -0
- data/admix/app/assets/images/admix/icons/script_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/script_go.png +0 -0
- data/admix/app/assets/images/admix/icons/script_key.png +0 -0
- data/admix/app/assets/images/admix/icons/script_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/script_link.png +0 -0
- data/admix/app/assets/images/admix/icons/script_palette.png +0 -0
- data/admix/app/assets/images/admix/icons/script_save.png +0 -0
- data/admix/app/assets/images/admix/icons/server.png +0 -0
- data/admix/app/assets/images/admix/icons/server_add.png +0 -0
- data/admix/app/assets/images/admix/icons/server_chart.png +0 -0
- data/admix/app/assets/images/admix/icons/server_compressed.png +0 -0
- data/admix/app/assets/images/admix/icons/server_connect.png +0 -0
- data/admix/app/assets/images/admix/icons/server_database.png +0 -0
- data/admix/app/assets/images/admix/icons/server_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/server_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/server_error.png +0 -0
- data/admix/app/assets/images/admix/icons/server_go.png +0 -0
- data/admix/app/assets/images/admix/icons/server_key.png +0 -0
- data/admix/app/assets/images/admix/icons/server_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/server_link.png +0 -0
- data/admix/app/assets/images/admix/icons/server_uncompressed.png +0 -0
- data/admix/app/assets/images/admix/icons/shading.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_bottom.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_center.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_left.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_middle.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_right.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_align_top.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_flip_horizontal.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_flip_vertical.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_group.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_handles.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_move_back.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_move_backwards.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_move_forwards.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_move_front.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_rotate_anticlockwise.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_rotate_clockwise.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_add.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_error.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_go.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_key.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_square_link.png +0 -0
- data/admix/app/assets/images/admix/icons/shape_ungroup.png +0 -0
- data/admix/app/assets/images/admix/icons/shield.png +0 -0
- data/admix/app/assets/images/admix/icons/shield_add.png +0 -0
- data/admix/app/assets/images/admix/icons/shield_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/shield_go.png +0 -0
- data/admix/app/assets/images/admix/icons/sitemap.png +0 -0
- data/admix/app/assets/images/admix/icons/sitemap_color.png +0 -0
- data/admix/app/assets/images/admix/icons/sound.png +0 -0
- data/admix/app/assets/images/admix/icons/sound_add.png +0 -0
- data/admix/app/assets/images/admix/icons/sound_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/sound_low.png +0 -0
- data/admix/app/assets/images/admix/icons/sound_mute.png +0 -0
- data/admix/app/assets/images/admix/icons/sound_none.png +0 -0
- data/admix/app/assets/images/admix/icons/spellcheck.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_8ball.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_basketball.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_football.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_golf.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_raquet.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_shuttlecock.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_soccer.png +0 -0
- data/admix/app/assets/images/admix/icons/sport_tennis.png +0 -0
- data/admix/app/assets/images/admix/icons/star.png +0 -0
- data/admix/app/assets/images/admix/icons/status_away.png +0 -0
- data/admix/app/assets/images/admix/icons/status_busy.png +0 -0
- data/admix/app/assets/images/admix/icons/status_offline.png +0 -0
- data/admix/app/assets/images/admix/icons/status_online.png +0 -0
- data/admix/app/assets/images/admix/icons/stop.png +0 -0
- data/admix/app/assets/images/admix/icons/style.png +0 -0
- data/admix/app/assets/images/admix/icons/style_add.png +0 -0
- data/admix/app/assets/images/admix/icons/style_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/style_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/style_go.png +0 -0
- data/admix/app/assets/images/admix/icons/sum.png +0 -0
- data/admix/app/assets/images/admix/icons/tab.png +0 -0
- data/admix/app/assets/images/admix/icons/tab_add.png +0 -0
- data/admix/app/assets/images/admix/icons/tab_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/tab_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/tab_go.png +0 -0
- data/admix/app/assets/images/admix/icons/table.png +0 -0
- data/admix/app/assets/images/admix/icons/table_add.png +0 -0
- data/admix/app/assets/images/admix/icons/table_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/table_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/table_error.png +0 -0
- data/admix/app/assets/images/admix/icons/table_gear.png +0 -0
- data/admix/app/assets/images/admix/icons/table_go.png +0 -0
- data/admix/app/assets/images/admix/icons/table_key.png +0 -0
- data/admix/app/assets/images/admix/icons/table_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/table_link.png +0 -0
- data/admix/app/assets/images/admix/icons/table_multiple.png +0 -0
- data/admix/app/assets/images/admix/icons/table_refresh.png +0 -0
- data/admix/app/assets/images/admix/icons/table_relationship.png +0 -0
- data/admix/app/assets/images/admix/icons/table_row_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/table_row_insert.png +0 -0
- data/admix/app/assets/images/admix/icons/table_save.png +0 -0
- data/admix/app/assets/images/admix/icons/table_sort.png +0 -0
- data/admix/app/assets/images/admix/icons/tag.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_blue_add.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_blue_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_blue_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_green.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_pink.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_purple.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_red.png +0 -0
- data/admix/app/assets/images/admix/icons/tag_yellow.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_add.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_error.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_go.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_key.png +0 -0
- data/admix/app/assets/images/admix/icons/telephone_link.png +0 -0
- data/admix/app/assets/images/admix/icons/television.png +0 -0
- data/admix/app/assets/images/admix/icons/television_add.png +0 -0
- data/admix/app/assets/images/admix/icons/television_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/text_align_center.png +0 -0
- data/admix/app/assets/images/admix/icons/text_align_justify.png +0 -0
- data/admix/app/assets/images/admix/icons/text_align_left.png +0 -0
- data/admix/app/assets/images/admix/icons/text_align_right.png +0 -0
- data/admix/app/assets/images/admix/icons/text_allcaps.png +0 -0
- data/admix/app/assets/images/admix/icons/text_bold.png +0 -0
- data/admix/app/assets/images/admix/icons/text_columns.png +0 -0
- data/admix/app/assets/images/admix/icons/text_dropcaps.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_1.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_2.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_3.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_4.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_5.png +0 -0
- data/admix/app/assets/images/admix/icons/text_heading_6.png +0 -0
- data/admix/app/assets/images/admix/icons/text_horizontalrule.png +0 -0
- data/admix/app/assets/images/admix/icons/text_indent.png +0 -0
- data/admix/app/assets/images/admix/icons/text_indent_remove.png +0 -0
- data/admix/app/assets/images/admix/icons/text_italic.png +0 -0
- data/admix/app/assets/images/admix/icons/text_kerning.png +0 -0
- data/admix/app/assets/images/admix/icons/text_letter_omega.png +0 -0
- data/admix/app/assets/images/admix/icons/text_letterspacing.png +0 -0
- data/admix/app/assets/images/admix/icons/text_linespacing.png +0 -0
- data/admix/app/assets/images/admix/icons/text_list_bullets.png +0 -0
- data/admix/app/assets/images/admix/icons/text_list_numbers.png +0 -0
- data/admix/app/assets/images/admix/icons/text_lowercase.png +0 -0
- data/admix/app/assets/images/admix/icons/text_padding_bottom.png +0 -0
- data/admix/app/assets/images/admix/icons/text_padding_left.png +0 -0
- data/admix/app/assets/images/admix/icons/text_padding_right.png +0 -0
- data/admix/app/assets/images/admix/icons/text_padding_top.png +0 -0
- data/admix/app/assets/images/admix/icons/text_replace.png +0 -0
- data/admix/app/assets/images/admix/icons/text_signature.png +0 -0
- data/admix/app/assets/images/admix/icons/text_smallcaps.png +0 -0
- data/admix/app/assets/images/admix/icons/text_strikethrough.png +0 -0
- data/admix/app/assets/images/admix/icons/text_subscript.png +0 -0
- data/admix/app/assets/images/admix/icons/text_superscript.png +0 -0
- data/admix/app/assets/images/admix/icons/text_underline.png +0 -0
- data/admix/app/assets/images/admix/icons/text_uppercase.png +0 -0
- data/admix/app/assets/images/admix/icons/textfield.png +0 -0
- data/admix/app/assets/images/admix/icons/textfield_add.png +0 -0
- data/admix/app/assets/images/admix/icons/textfield_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/textfield_key.png +0 -0
- data/admix/app/assets/images/admix/icons/textfield_rename.png +0 -0
- data/admix/app/assets/images/admix/icons/thumb_down.png +0 -0
- data/admix/app/assets/images/admix/icons/thumb_up.png +0 -0
- data/admix/app/assets/images/admix/icons/tick.png +0 -0
- data/admix/app/assets/images/admix/icons/time.png +0 -0
- data/admix/app/assets/images/admix/icons/time_add.png +0 -0
- data/admix/app/assets/images/admix/icons/time_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/time_go.png +0 -0
- data/admix/app/assets/images/admix/icons/timeline_marker.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_add.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_blue.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_error.png +0 -0
- data/admix/app/assets/images/admix/icons/transmit_go.png +0 -0
- data/admix/app/assets/images/admix/icons/tux.png +0 -0
- data/admix/app/assets/images/admix/icons/user.png +0 -0
- data/admix/app/assets/images/admix/icons/user_add.png +0 -0
- data/admix/app/assets/images/admix/icons/user_comment.png +0 -0
- data/admix/app/assets/images/admix/icons/user_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/user_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/user_female.png +0 -0
- data/admix/app/assets/images/admix/icons/user_go.png +0 -0
- data/admix/app/assets/images/admix/icons/user_gray.png +0 -0
- data/admix/app/assets/images/admix/icons/user_green.png +0 -0
- data/admix/app/assets/images/admix/icons/user_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/user_red.png +0 -0
- data/admix/app/assets/images/admix/icons/user_suit.png +0 -0
- data/admix/app/assets/images/admix/icons/vcard.png +0 -0
- data/admix/app/assets/images/admix/icons/vcard_add.png +0 -0
- data/admix/app/assets/images/admix/icons/vcard_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/vcard_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/vector.png +0 -0
- data/admix/app/assets/images/admix/icons/vector_add.png +0 -0
- data/admix/app/assets/images/admix/icons/vector_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/wand.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_clouds.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_cloudy.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_lightning.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_rain.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_snow.png +0 -0
- data/admix/app/assets/images/admix/icons/weather_sun.png +0 -0
- data/admix/app/assets/images/admix/icons/webcam.png +0 -0
- data/admix/app/assets/images/admix/icons/webcam_add.png +0 -0
- data/admix/app/assets/images/admix/icons/webcam_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/webcam_error.png +0 -0
- data/admix/app/assets/images/admix/icons/world.png +0 -0
- data/admix/app/assets/images/admix/icons/world_add.png +0 -0
- data/admix/app/assets/images/admix/icons/world_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/world_edit.png +0 -0
- data/admix/app/assets/images/admix/icons/world_go.png +0 -0
- data/admix/app/assets/images/admix/icons/world_link.png +0 -0
- data/admix/app/assets/images/admix/icons/wrench.png +0 -0
- data/admix/app/assets/images/admix/icons/wrench_orange.png +0 -0
- data/admix/app/assets/images/admix/icons/xhtml.png +0 -0
- data/admix/app/assets/images/admix/icons/xhtml_add.png +0 -0
- data/admix/app/assets/images/admix/icons/xhtml_delete.png +0 -0
- data/admix/app/assets/images/admix/icons/xhtml_go.png +0 -0
- data/admix/app/assets/images/admix/icons/xhtml_valid.png +0 -0
- data/admix/app/assets/images/admix/icons/zoom.png +0 -0
- data/admix/app/assets/images/admix/icons/zoom_in.png +0 -0
- data/admix/app/assets/images/admix/icons/zoom_out.png +0 -0
- data/admix/app/assets/images/admix/mix-framework-small.png +0 -0
- data/admix/app/assets/images/admix/page_edit.png +0 -0
- data/admix/app/assets/images/admix/zoom.png +0 -0
- data/admix/app/assets/javascripts/admix/application.js +11 -0
- data/admix/app/assets/javascripts/admix/backbone-min.js +42 -0
- data/admix/app/assets/javascripts/admix/bootstrap.js +2170 -0
- data/admix/app/assets/javascripts/admix/dates.js.coffee +6 -0
- data/admix/app/assets/javascripts/admix/nicedit_applier.js.coffee +12 -0
- data/admix/app/assets/javascripts/admix/tipsy_init.js +5 -0
- data/admix/app/assets/javascripts/admix/underscore-min.js +1 -0
- data/admix/app/assets/nicedit/nicEdit.js +128 -0
- data/admix/app/assets/nicedit/nicEditorIcons.gif +0 -0
- data/admix/app/assets/stylesheets/admix/application.css +15 -0
- data/admix/app/assets/stylesheets/admix/bootstrap.min.css +868 -0
- data/admix/app/assets/stylesheets/admix/style.css +79 -0
- data/admix/app/assets/tipsy/.gitignore +2 -0
- data/admix/app/assets/tipsy/LICENSE +21 -0
- data/admix/app/assets/tipsy/README.md +50 -0
- data/admix/app/assets/tipsy/src/javascripts/jquery.tipsy.js +258 -0
- data/admix/app/assets/tipsy/src/stylesheets/tipsy.css +25 -0
- data/admix/app/controllers/.gitkeep +0 -0
- data/admix/app/controllers/admix/admix_controller.rb +17 -0
- data/admix/app/controllers/admix/dashboard_controller.rb +7 -0
- data/admix/app/controllers/admix/inherited_controller.rb +77 -0
- data/admix/app/controllers/admix/passwords_controller.rb +3 -0
- data/admix/app/controllers/admix/sessions_controller.rb +3 -0
- data/admix/app/helpers/.gitkeep +0 -0
- data/admix/app/helpers/admix_helper.rb +7 -0
- data/admix/app/inputs/datepicker_input.rb +6 -0
- data/admix/app/inputs/richtext_input.rb +5 -0
- data/admix/app/mailers/.gitkeep +0 -0
- data/admix/app/mailers/admix_mailer.rb +7 -0
- data/admix/app/models/.gitkeep +0 -0
- data/admix/app/views/admix/dashboard/index.html.haml +1 -0
- data/admix/app/views/admix/inherited/_form.html.haml +14 -0
- data/admix/app/views/admix/inherited/_table_actions.html.haml +3 -0
- data/admix/app/views/admix/inherited/edit.html.haml +5 -0
- data/admix/app/views/admix/inherited/index.html.haml +6 -0
- data/admix/app/views/admix/inherited/new.html.haml +3 -0
- data/admix/app/views/admix/inherited/show.html.haml +6 -0
- data/admix/app/views/devise/sessions/new.html.haml +22 -0
- data/admix/app/views/layouts/admix/admix.html.haml +81 -0
- data/admix/app/views/layouts/admix/login.html.haml +32 -0
- data/admix/config/admix_navigation.rb +60 -0
- data/admix/config/application.rb +12 -0
- data/admix/config/initializers/admix.rb +4 -0
- data/admix/config/initializers/formtastic.rb +76 -0
- data/admix/config/initializers/locale.rb +1 -0
- data/admix/config/initializers/simple_form.rb +142 -0
- data/admix/config/initializers/simple_form_bootstrap.rb +45 -0
- data/admix/config/locales/admix.en.yml +12 -0
- data/admix/config/locales/admix.pt-BR.yml +33 -0
- data/admix/config/locales/devise.en.yml +58 -0
- data/admix/config/locales/en_crud.yml +64 -0
- data/admix/config/locales/simple_form.en.yml +26 -0
- data/admix/config/locales/simple_form.pt-BR.yml +30 -0
- data/admix/config/routes.rb +6 -0
- data/admix/lib/admix.rb +28 -0
- data/admix/lib/admix/engine.rb +7 -0
- data/admix/lib/admix/navigation/menu.rb +21 -0
- data/admix/lib/admix/navigation/navbar.rb +81 -0
- data/admix/lib/admix/table-actions.rb +17 -0
- data/admix/lib/breadcrumbs/render/list.rb +85 -0
- data/admix/lib/tasks/admix_tasks.rake +4 -0
- data/admix/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/admix/script/rails +8 -0
- data/admix/spec/dummy/README.rdoc +261 -0
- data/admix/spec/dummy/Rakefile +7 -0
- data/admix/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/admix/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/admix/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/admix/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/admix/spec/dummy/app/mailers/.gitkeep +0 -0
- data/admix/spec/dummy/app/models/.gitkeep +0 -0
- data/admix/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/admix/spec/dummy/config.ru +4 -0
- data/admix/spec/dummy/config/application.rb +65 -0
- data/admix/spec/dummy/config/boot.rb +10 -0
- data/admix/spec/dummy/config/environment.rb +5 -0
- data/admix/spec/dummy/config/environments/development.rb +31 -0
- data/admix/spec/dummy/config/environments/production.rb +64 -0
- data/admix/spec/dummy/config/environments/test.rb +35 -0
- data/admix/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/admix/spec/dummy/config/initializers/inflections.rb +15 -0
- data/admix/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/admix/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/admix/spec/dummy/config/initializers/session_store.rb +8 -0
- data/admix/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/admix/spec/dummy/config/locales/en.yml +5 -0
- data/admix/spec/dummy/config/mongoid.yml +80 -0
- data/admix/spec/dummy/config/routes.rb +58 -0
- data/admix/spec/dummy/lib/assets/.gitkeep +0 -0
- data/admix/spec/dummy/log/.gitkeep +0 -0
- data/admix/spec/dummy/public/404.html +26 -0
- data/admix/spec/dummy/public/422.html +26 -0
- data/admix/spec/dummy/public/500.html +25 -0
- data/admix/spec/dummy/public/favicon.ico +0 -0
- data/admix/spec/dummy/script/rails +6 -0
- data/admix/spec/menu_spec.rb +25 -0
- data/admix/spec/menuscontainer_spec.rb +62 -0
- data/admix/spec/spec_helper.rb +60 -0
- data/albums/.gitignore +7 -0
- data/albums/Gemfile +33 -0
- data/albums/MIT-LICENSE +20 -0
- data/albums/README.rdoc +3 -0
- data/albums/Rakefile +27 -0
- data/albums/app/assets/images/albums/.gitkeep +0 -0
- data/albums/app/assets/images/albums/crop.png +0 -0
- data/albums/app/assets/images/albums/delete.png +0 -0
- data/albums/app/assets/images/albums/photos.png +0 -0
- data/albums/app/assets/images/albums/rotate_ccw.png +0 -0
- data/albums/app/assets/images/albums/rotate_cw.png +0 -0
- data/albums/app/assets/images/colorbox/border.png +0 -0
- data/albums/app/assets/images/colorbox/controls.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderBottomCenter.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderBottomLeft.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderBottomRight.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderMiddleLeft.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderMiddleRight.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderTopCenter.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderTopLeft.png +0 -0
- data/albums/app/assets/images/colorbox/ie6/borderTopRight.png +0 -0
- data/albums/app/assets/images/colorbox/loading.gif +0 -0
- data/albums/app/assets/images/colorbox/loading_background.png +0 -0
- data/albums/app/assets/images/colorbox/overlay.png +0 -0
- data/albums/app/assets/javascripts/admix/photos.js.erb +78 -0
- data/albums/app/assets/javascripts/albums.js +0 -0
- data/albums/app/assets/javascripts/albums/.gitkeep +0 -0
- data/albums/app/assets/javascripts/albums/jquery.jcarousel.min.js +16 -0
- data/albums/app/assets/javascripts/albums/show.js.coffee +62 -0
- data/albums/app/assets/javascripts/collections/.gitkeep +0 -0
- data/albums/app/assets/javascripts/collections/filelist.js +5 -0
- data/albums/app/assets/javascripts/colorbox/jquery.colorbox-min.js +4 -0
- data/albums/app/assets/javascripts/models/.gitkeep +0 -0
- data/albums/app/assets/javascripts/models/fileitem.js +40 -0
- data/albums/app/assets/javascripts/models/filezip.js +8 -0
- data/albums/app/assets/javascripts/photo_uploader.coffee +2 -0
- data/albums/app/assets/javascripts/routers/.gitkeep +0 -0
- data/albums/app/assets/javascripts/templates/.gitkeep +0 -0
- data/albums/app/assets/javascripts/templates/photo_view.hamlc.erb +16 -0
- data/albums/app/assets/javascripts/views/.gitkeep +0 -0
- data/albums/app/assets/javascripts/views/filelistview.js +15 -0
- data/albums/app/assets/javascripts/views/fileview.js +34 -0
- data/albums/app/assets/javascripts/views/filezipview.js +42 -0
- data/albums/app/assets/stylesheets/albums/.gitkeep +0 -0
- data/albums/app/assets/stylesheets/colorbox/colorbox.css.scss +86 -0
- data/albums/app/assets/stylesheets/skins/ie7/credits.txt +1 -0
- data/albums/app/assets/stylesheets/skins/ie7/loading-small.gif +0 -0
- data/albums/app/assets/stylesheets/skins/ie7/loading.gif +0 -0
- data/albums/app/assets/stylesheets/skins/ie7/loading_small.gif +0 -0
- data/albums/app/assets/stylesheets/skins/ie7/next-horizontal.gif +0 -0
- data/albums/app/assets/stylesheets/skins/ie7/prev-horizontal.gif +0 -0
- data/albums/app/assets/stylesheets/skins/ie7/skin.css +190 -0
- data/albums/app/assets/stylesheets/skins/tango/credits.txt +1 -0
- data/albums/app/assets/stylesheets/skins/tango/next-horizontal.png +0 -0
- data/albums/app/assets/stylesheets/skins/tango/next-vertical.png +0 -0
- data/albums/app/assets/stylesheets/skins/tango/prev-horizontal.png +0 -0
- data/albums/app/assets/stylesheets/skins/tango/prev-vertical.png +0 -0
- data/albums/app/assets/stylesheets/skins/tango/skin.css +186 -0
- data/albums/app/controllers/.gitkeep +0 -0
- data/albums/app/controllers/admix/albums_controller.rb +5 -0
- data/albums/app/controllers/admix/photos_controller.rb +24 -0
- data/albums/app/controllers/albums_controller.rb +19 -0
- data/albums/app/helpers/.gitkeep +0 -0
- data/albums/app/helpers/admix/albums_helper.rb +11 -0
- data/albums/app/mailers/.gitkeep +0 -0
- data/albums/app/models/.gitkeep +0 -0
- data/albums/app/models/admix/albums_datagrid.rb +34 -0
- data/albums/app/models/admix/photos_datagrid.rb +15 -0
- data/albums/app/models/album.rb +29 -0
- data/albums/app/models/photo.rb +14 -0
- data/albums/app/uploaders/albums/image_uploader.rb +68 -0
- data/albums/app/views/.gitkeep +0 -0
- data/albums/app/views/admix/albums/_form_fields.html.haml +4 -0
- data/albums/app/views/admix/albums/_show.html.haml +7 -0
- data/albums/app/views/admix/albums/_table_actions.html.haml +4 -0
- data/albums/app/views/admix/photos/_upload.html.haml +26 -0
- data/albums/app/views/admix/photos/index.html.haml +1 -0
- data/albums/app/views/albums/index.html.haml +4 -0
- data/albums/app/views/albums/show.html.haml +3 -0
- data/albums/config/application.rb +1 -0
- data/albums/config/initializers/albums.rb +1 -0
- data/albums/config/initializers/carrierwave.rb +8 -0
- data/albums/config/locales/albums.en.yml +13 -0
- data/albums/config/locales/albums.pt-BR.yml +17 -0
- data/albums/config/locales/photos.pt-BR.yml +11 -0
- data/albums/config/routes.rb +13 -0
- data/albums/lib/albums.rb +10 -0
- data/albums/lib/albums/engine.rb +19 -0
- data/albums/lib/albums/version.rb +3 -0
- data/albums/lib/mix-rails-albums.rb +1 -0
- data/albums/lib/tasks/albums_tasks.rake +4 -0
- data/albums/mix-rails-albums.gemspec +27 -0
- data/albums/script/rails +8 -0
- data/albums/spec/dummy/README.rdoc +261 -0
- data/albums/spec/dummy/Rakefile +7 -0
- data/albums/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/albums/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/albums/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/albums/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/albums/spec/dummy/app/mailers/.gitkeep +0 -0
- data/albums/spec/dummy/app/models/.gitkeep +0 -0
- data/albums/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/albums/spec/dummy/config.ru +4 -0
- data/albums/spec/dummy/config/application.rb +65 -0
- data/albums/spec/dummy/config/boot.rb +10 -0
- data/albums/spec/dummy/config/environment.rb +5 -0
- data/albums/spec/dummy/config/environments/development.rb +31 -0
- data/albums/spec/dummy/config/environments/production.rb +64 -0
- data/albums/spec/dummy/config/environments/test.rb +35 -0
- data/albums/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/albums/spec/dummy/config/initializers/inflections.rb +15 -0
- data/albums/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/albums/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/albums/spec/dummy/config/initializers/session_store.rb +8 -0
- data/albums/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/albums/spec/dummy/config/locales/en.yml +5 -0
- data/albums/spec/dummy/config/mongoid.yml +80 -0
- data/albums/spec/dummy/config/routes.rb +58 -0
- data/albums/spec/dummy/lib/assets/.gitkeep +0 -0
- data/albums/spec/dummy/log/.gitkeep +0 -0
- data/albums/spec/dummy/public/404.html +26 -0
- data/albums/spec/dummy/public/422.html +26 -0
- data/albums/spec/dummy/public/500.html +25 -0
- data/albums/spec/dummy/public/favicon.ico +0 -0
- data/albums/spec/dummy/script/rails +6 -0
- data/auth/.gitignore +7 -0
- data/auth/Gemfile +20 -0
- data/auth/MIT-LICENSE +20 -0
- data/auth/README.rdoc +3 -0
- data/auth/Rakefile +27 -0
- data/auth/app/assets/images/auth/.gitkeep +0 -0
- data/auth/app/assets/javascripts/admix/users.js +2 -0
- data/auth/app/assets/javascripts/auth/.gitkeep +0 -0
- data/auth/app/assets/stylesheets/admix/users.css +4 -0
- data/auth/app/assets/stylesheets/auth/.gitkeep +0 -0
- data/auth/app/controllers/.gitkeep +0 -0
- data/auth/app/controllers/admix/users_controller.rb +8 -0
- data/auth/app/helpers/.gitkeep +0 -0
- data/auth/app/helpers/admix/users_helper.rb +5 -0
- data/auth/app/mailers/.gitkeep +0 -0
- data/auth/app/models/.gitkeep +0 -0
- data/auth/app/models/ability.rb +28 -0
- data/auth/app/models/admix/users_datagrid.rb +19 -0
- data/auth/app/models/user.rb +68 -0
- data/auth/app/views/.gitkeep +0 -0
- data/auth/app/views/admix/users/_form_fields.html.haml +10 -0
- data/auth/app/views/admix/users/_show.html.haml +4 -0
- data/auth/app/views/admix/users/_table_actions.html.haml +3 -0
- data/auth/config/initializers/devise.rb +232 -0
- data/auth/config/locales/auth.en.yml +17 -0
- data/auth/config/locales/auth.pt-BR.yml +24 -0
- data/auth/config/locales/devise.en.yml +58 -0
- data/auth/config/locales/devise.pt-BR.yml +59 -0
- data/auth/config/routes.rb +11 -0
- data/auth/lib/auth/engine.rb +28 -0
- data/auth/lib/mix-rails-auth.rb +5 -0
- data/auth/lib/tasks/auth_tasks.rake +4 -0
- data/auth/mix-rails-auth.gemspec +31 -0
- data/auth/script/rails +8 -0
- data/auth/spec/dummy/README.rdoc +261 -0
- data/auth/spec/dummy/Rakefile +7 -0
- data/auth/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/auth/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/auth/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/auth/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/auth/spec/dummy/app/mailers/.gitkeep +0 -0
- data/auth/spec/dummy/app/models/.gitkeep +0 -0
- data/auth/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/auth/spec/dummy/config.ru +4 -0
- data/auth/spec/dummy/config/application.rb +65 -0
- data/auth/spec/dummy/config/boot.rb +10 -0
- data/auth/spec/dummy/config/environment.rb +5 -0
- data/auth/spec/dummy/config/environments/development.rb +31 -0
- data/auth/spec/dummy/config/environments/production.rb +64 -0
- data/auth/spec/dummy/config/environments/test.rb +35 -0
- data/auth/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/auth/spec/dummy/config/initializers/inflections.rb +15 -0
- data/auth/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/auth/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/auth/spec/dummy/config/initializers/session_store.rb +8 -0
- data/auth/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/auth/spec/dummy/config/locales/en.yml +5 -0
- data/auth/spec/dummy/config/routes.rb +58 -0
- data/auth/spec/dummy/lib/assets/.gitkeep +0 -0
- data/auth/spec/dummy/log/.gitkeep +0 -0
- data/auth/spec/dummy/public/404.html +26 -0
- data/auth/spec/dummy/public/422.html +26 -0
- data/auth/spec/dummy/public/500.html +25 -0
- data/auth/spec/dummy/public/favicon.ico +0 -0
- data/auth/spec/dummy/script/rails +6 -0
- data/core/.gitignore +7 -0
- data/core/.rspec +2 -0
- data/core/Gemfile +59 -0
- data/core/MIT-LICENSE +20 -0
- data/{README.rdoc → core/README.rdoc} +0 -0
- data/core/Rakefile +27 -0
- data/core/app/assets/images/core/.gitkeep +0 -0
- data/core/app/assets/javascripts/core/.gitkeep +0 -0
- data/core/app/assets/javascripts/jquery.livequery.js +226 -0
- data/core/app/assets/stylesheets/core/.gitkeep +0 -0
- data/core/app/controllers/.gitkeep +0 -0
- data/core/app/controllers/gridfs_controller.rb +36 -0
- data/core/app/controllers/mix_controller.rb +10 -0
- data/core/app/helpers/.gitkeep +0 -0
- data/core/app/helpers/core_helper.rb +15 -0
- data/core/app/mailers/.gitkeep +0 -0
- data/core/app/models/.gitkeep +0 -0
- data/core/app/models/youtube_validator.rb +9 -0
- data/core/app/views/.gitkeep +0 -0
- data/core/app/views/application/_title.html.haml +1 -0
- data/core/config/locales/core.pt-BR.yml +42 -0
- data/core/config/routes.rb +3 -0
- data/core/lib/mix-rails-core.rb +37 -0
- data/{lib → core/lib}/mix-rails/concerns/engine.rb +0 -0
- data/{lib → core/lib}/mix-rails/engine.rb +3 -7
- data/{lib → core/lib}/mix-rails/railtie.rb +0 -0
- data/{lib → core/lib}/tasks/mix-rails_tasks.rake +0 -0
- data/core/mix-rails-core.gemspec +55 -0
- data/core/script/rails +8 -0
- data/core/spec/dummy/README.rdoc +261 -0
- data/core/spec/dummy/Rakefile +7 -0
- data/core/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/core/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/core/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/core/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/core/spec/dummy/app/mailers/.gitkeep +0 -0
- data/core/spec/dummy/app/models/.gitkeep +0 -0
- data/core/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/core/spec/dummy/config.ru +4 -0
- data/core/spec/dummy/config/application.rb +65 -0
- data/core/spec/dummy/config/boot.rb +10 -0
- data/core/spec/dummy/config/environment.rb +5 -0
- data/core/spec/dummy/config/environments/development.rb +31 -0
- data/core/spec/dummy/config/environments/production.rb +64 -0
- data/core/spec/dummy/config/environments/test.rb +35 -0
- data/core/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/core/spec/dummy/config/initializers/inflections.rb +15 -0
- data/core/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/core/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/core/spec/dummy/config/initializers/session_store.rb +8 -0
- data/core/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/core/spec/dummy/config/locales/en.yml +5 -0
- data/core/spec/dummy/config/routes.rb +58 -0
- data/core/spec/dummy/lib/assets/.gitkeep +0 -0
- data/core/spec/dummy/log/.gitkeep +0 -0
- data/core/spec/dummy/public/404.html +26 -0
- data/core/spec/dummy/public/422.html +26 -0
- data/core/spec/dummy/public/500.html +25 -0
- data/core/spec/dummy/public/favicon.ico +0 -0
- data/core/spec/dummy/script/rails +6 -0
- data/core/spec/spec_helper.rb +52 -0
- data/lib/mix-rails.rb +1 -12
- data/lib/mix-rails/all.rb +7 -0
- data/lib/mix-rails/version.rb +2 -2
- data/mix-rails.gemspec +33 -0
- data/settings/.gitignore +7 -0
- data/settings/Gemfile +19 -0
- data/settings/MIT-LICENSE +20 -0
- data/settings/README.rdoc +3 -0
- data/settings/Rakefile +27 -0
- data/settings/app/assets/images/settings/.gitkeep +0 -0
- data/settings/app/assets/javascripts/settings.js +2 -0
- data/settings/app/assets/javascripts/settings/.gitkeep +0 -0
- data/settings/app/assets/stylesheets/scaffold.css +56 -0
- data/settings/app/assets/stylesheets/settings.css +4 -0
- data/settings/app/assets/stylesheets/settings/.gitkeep +0 -0
- data/settings/app/controllers/.gitkeep +0 -0
- data/settings/app/controllers/admix/settings_controller.rb +5 -0
- data/settings/app/helpers/.gitkeep +0 -0
- data/settings/app/mailers/.gitkeep +0 -0
- data/settings/app/models/.gitkeep +0 -0
- data/settings/app/models/admix/settings_datagrid.rb +27 -0
- data/settings/app/models/setting.rb +54 -0
- data/settings/app/uploaders/settings/image_uploader.rb +68 -0
- data/settings/app/views/.gitkeep +0 -0
- data/settings/app/views/admix/settings/_form_fields.html.haml +5 -0
- data/settings/app/views/admix/settings/_show.html.haml +9 -0
- data/settings/config/locales/settings.en.yml +3 -0
- data/settings/config/locales/settings.pt-BR.yml +10 -0
- data/settings/config/routes.rb +5 -0
- data/settings/lib/mix-rails-settings.rb +1 -0
- data/settings/lib/settings.rb +4 -0
- data/settings/lib/settings/engine.rb +54 -0
- data/settings/lib/tasks/settings_tasks.rake +4 -0
- data/settings/mix-rails-settings.gemspec +23 -0
- data/settings/script/rails +8 -0
- data/settings/spec/dummy/README.rdoc +261 -0
- data/settings/spec/dummy/Rakefile +7 -0
- data/settings/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/settings/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/settings/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/settings/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/settings/spec/dummy/app/mailers/.gitkeep +0 -0
- data/settings/spec/dummy/app/models/.gitkeep +0 -0
- data/settings/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/settings/spec/dummy/config.ru +4 -0
- data/settings/spec/dummy/config/application.rb +66 -0
- data/settings/spec/dummy/config/boot.rb +10 -0
- data/settings/spec/dummy/config/environment.rb +5 -0
- data/settings/spec/dummy/config/environments/development.rb +31 -0
- data/settings/spec/dummy/config/environments/production.rb +64 -0
- data/settings/spec/dummy/config/environments/test.rb +35 -0
- data/settings/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/settings/spec/dummy/config/initializers/inflections.rb +15 -0
- data/settings/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/settings/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/settings/spec/dummy/config/initializers/session_store.rb +8 -0
- data/settings/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/settings/spec/dummy/config/locales/en.yml +5 -0
- data/settings/spec/dummy/config/mongoid.yml +80 -0
- data/settings/spec/dummy/config/routes.rb +59 -0
- data/settings/spec/dummy/lib/assets/.gitkeep +0 -0
- data/settings/spec/dummy/log/.gitkeep +0 -0
- data/settings/spec/dummy/public/404.html +26 -0
- data/settings/spec/dummy/public/422.html +26 -0
- data/settings/spec/dummy/public/500.html +25 -0
- data/settings/spec/dummy/public/favicon.ico +0 -0
- data/settings/spec/dummy/script/rails +6 -0
- data/writer/.gitignore +7 -0
- data/writer/Gemfile +17 -0
- data/writer/MIT-LICENSE +20 -0
- data/writer/README.rdoc +3 -0
- data/writer/Rakefile +27 -0
- data/writer/app/assets/images/writer/.gitkeep +0 -0
- data/writer/app/assets/javascripts/writer/.gitkeep +0 -0
- data/writer/app/assets/stylesheets/writer/.gitkeep +0 -0
- data/writer/app/assets/stylesheets/writer/posts/index.scss +0 -0
- data/writer/app/controllers/.gitkeep +0 -0
- data/writer/app/controllers/admix/news_controller.rb +3 -0
- data/writer/app/controllers/admix/posts_controller.rb +3 -0
- data/writer/app/controllers/news_controller.rb +13 -0
- data/writer/app/controllers/posts_controller.rb +3 -0
- data/writer/app/helpers/.gitkeep +0 -0
- data/writer/app/mailers/.gitkeep +0 -0
- data/writer/app/models/.gitkeep +0 -0
- data/writer/app/models/admix/news_datagrid.rb +38 -0
- data/writer/app/models/news.rb +3 -0
- data/writer/app/models/post.rb +26 -0
- data/writer/app/uploaders/writer/image_uploader.rb +68 -0
- data/writer/app/views/.gitkeep +0 -0
- data/writer/app/views/admix/posts/_form_fields.html.haml +6 -0
- data/writer/app/views/admix/posts/_show.html.haml +9 -0
- data/writer/app/views/admix/posts/_table_actions.html.haml +3 -0
- data/writer/app/views/admix/posts/_thumb_image.html.haml +0 -0
- data/writer/app/views/templates/news/index.html.haml +2 -0
- data/writer/config/locales/writer.pt-BR.yml +20 -0
- data/writer/config/routes.rb +19 -0
- data/writer/lib/mix-rails-writer.rb +1 -0
- data/writer/lib/tasks/writer_tasks.rake +4 -0
- data/writer/lib/writer.rb +4 -0
- data/writer/lib/writer/engine.rb +19 -0
- data/writer/mix-rails-writer.gemspec +21 -0
- data/writer/script/rails +8 -0
- data/writer/spec/dummy/README.rdoc +261 -0
- data/writer/spec/dummy/Rakefile +7 -0
- data/writer/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/writer/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/writer/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/writer/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/writer/spec/dummy/app/mailers/.gitkeep +0 -0
- data/writer/spec/dummy/app/models/.gitkeep +0 -0
- data/writer/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/writer/spec/dummy/config.ru +4 -0
- data/writer/spec/dummy/config/application.rb +65 -0
- data/writer/spec/dummy/config/boot.rb +10 -0
- data/writer/spec/dummy/config/environment.rb +5 -0
- data/writer/spec/dummy/config/environments/development.rb +31 -0
- data/writer/spec/dummy/config/environments/production.rb +64 -0
- data/writer/spec/dummy/config/environments/test.rb +35 -0
- data/writer/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/writer/spec/dummy/config/initializers/inflections.rb +15 -0
- data/writer/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/writer/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/writer/spec/dummy/config/initializers/session_store.rb +8 -0
- data/writer/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/writer/spec/dummy/config/locales/en.yml +5 -0
- data/writer/spec/dummy/config/routes.rb +58 -0
- data/writer/spec/dummy/lib/assets/.gitkeep +0 -0
- data/writer/spec/dummy/log/.gitkeep +0 -0
- data/writer/spec/dummy/public/404.html +26 -0
- data/writer/spec/dummy/public/422.html +26 -0
- data/writer/spec/dummy/public/500.html +25 -0
- data/writer/spec/dummy/public/favicon.ico +0 -0
- data/writer/spec/dummy/script/rails +6 -0
- metadata +1546 -98
- data/config/routes.rb +0 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,11 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
3
|
+
//= require jquery.ui.datepicker
|
4
|
+
//= require ../../bootstrap/js/bootstrap.min
|
5
|
+
//= require ./dates
|
6
|
+
//= require ./underscore-min
|
7
|
+
//= require ./backbone-min
|
8
|
+
//= require ../../nicedit/nicEdit
|
9
|
+
//= require ./nicedit_applier
|
10
|
+
//= require ../../tipsy/src/javascripts/jquery.tipsy
|
11
|
+
//= require ./tipsy_init
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// Backbone.js 0.9.9
|
2
|
+
|
3
|
+
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
|
4
|
+
// Backbone may be freely distributed under the MIT license.
|
5
|
+
// For all details and documentation:
|
6
|
+
// http://backbonejs.org
|
7
|
+
(function(){var k=this,y=k.Backbone,h=[],z=h.push,r=h.slice,A=h.splice,g;g="undefined"!==typeof exports?exports:k.Backbone={};g.VERSION="0.9.9";var e=k._;!e&&"undefined"!==typeof require&&(e=require("underscore"));g.$=k.jQuery||k.Zepto||k.ender;g.noConflict=function(){k.Backbone=y;return this};g.emulateHTTP=!1;g.emulateJSON=!1;var s=/\s+/,n=function(a,b,c,d){if(!c)return!0;if("object"===typeof c)for(var f in c)a[b].apply(a,[f,c[f]].concat(d));else if(s.test(c)){c=c.split(s);f=0;for(var e=c.length;f<
|
8
|
+
e;f++)a[b].apply(a,[c[f]].concat(d))}else return!0},t=function(a,b,c){var d,a=-1,f=b.length;switch(c.length){case 0:for(;++a<f;)(d=b[a]).callback.call(d.ctx);break;case 1:for(;++a<f;)(d=b[a]).callback.call(d.ctx,c[0]);break;case 2:for(;++a<f;)(d=b[a]).callback.call(d.ctx,c[0],c[1]);break;case 3:for(;++a<f;)(d=b[a]).callback.call(d.ctx,c[0],c[1],c[2]);break;default:for(;++a<f;)(d=b[a]).callback.apply(d.ctx,c)}},h=g.Events={on:function(a,b,c){if(!n(this,"on",a,[b,c])||!b)return this;this._events||(this._events=
|
9
|
+
{});(this._events[a]||(this._events[a]=[])).push({callback:b,context:c,ctx:c||this});return this},once:function(a,b,c){if(!n(this,"once",a,[b,c])||!b)return this;var d=this,f=e.once(function(){d.off(a,f);b.apply(this,arguments)});f._callback=b;this.on(a,f,c);return this},off:function(a,b,c){var d,f,l,g,i,m,h,j;if(!this._events||!n(this,"off",a,[b,c]))return this;if(!a&&!b&&!c)return this._events={},this;g=a?[a]:e.keys(this._events);i=0;for(m=g.length;i<m;i++)if(a=g[i],d=this._events[a]){l=[];if(b||
|
10
|
+
c){h=0;for(j=d.length;h<j;h++)f=d[h],(b&&b!==(f.callback._callback||f.callback)||c&&c!==f.context)&&l.push(f)}this._events[a]=l}return this},trigger:function(a){if(!this._events)return this;var b=r.call(arguments,1);if(!n(this,"trigger",a,b))return this;var c=this._events[a],d=this._events.all;c&&t(this,c,b);d&&t(this,d,arguments);return this},listenTo:function(a,b,c){var d=this._listeners||(this._listeners={}),f=a._listenerId||(a._listenerId=e.uniqueId("l"));d[f]=a;a.on(b,c||this,this);return this},
|
11
|
+
stopListening:function(a,b,c){var d=this._listeners;if(d){if(a)a.off(b,c,this),!b&&!c&&delete d[a._listenerId];else{for(var f in d)d[f].off(null,null,this);this._listeners={}}return this}}};h.bind=h.on;h.unbind=h.off;e.extend(g,h);var o=g.Model=function(a,b){var c,d=a||{};this.cid=e.uniqueId("c");this.changed={};this.attributes={};this._changes=[];b&&b.collection&&(this.collection=b.collection);b&&b.parse&&(d=this.parse(d));(c=e.result(this,"defaults"))&&e.defaults(d,c);this.set(d,{silent:!0});this._currentAttributes=
|
12
|
+
e.clone(this.attributes);this._previousAttributes=e.clone(this.attributes);this.initialize.apply(this,arguments)};e.extend(o.prototype,h,{changed:null,idAttribute:"id",initialize:function(){},toJSON:function(){return e.clone(this.attributes)},sync:function(){return g.sync.apply(this,arguments)},get:function(a){return this.attributes[a]},escape:function(a){return e.escape(this.get(a))},has:function(a){return null!=this.get(a)},set:function(a,b,c){var d,f;if(null==a)return this;e.isObject(a)?(f=a,c=
|
13
|
+
b):(f={})[a]=b;var a=c&&c.silent,l=c&&c.unset;if(!this._validate(f,c))return!1;this.idAttribute in f&&(this.id=f[this.idAttribute]);var g=this.attributes;for(d in f)b=f[d],l?delete g[d]:g[d]=b,this._changes.push(d,b);this._hasComputed=!1;a||this.change(c);return this},unset:function(a,b){return this.set(a,void 0,e.extend({},b,{unset:!0}))},clear:function(a){var b={},c;for(c in this.attributes)b[c]=void 0;return this.set(b,e.extend({},a,{unset:!0}))},fetch:function(a){a=a?e.clone(a):{};void 0===a.parse&&
|
14
|
+
(a.parse=!0);var b=this,c=a.success;a.success=function(d){if(!b.set(b.parse(d),a))return false;c&&c(b,d,a)};return this.sync("read",this,a)},save:function(a,b,c){var d,f,g;null==a||e.isObject(a)?(d=a,c=b):null!=a&&((d={})[a]=b);c=c?e.clone(c):{};if(c.wait){if(d&&!this._validate(d,c))return!1;f=e.clone(this.attributes)}a=e.extend({},c,{silent:!0});if(d&&!this.set(d,c.wait?a:c)||!d&&!this._validate(null,c))return!1;var q=this,i=c.success;c.success=function(a){g=true;var b=q.parse(a);c.wait&&(b=e.extend(d||
|
15
|
+
{},b));if(!q.set(b,c))return false;i&&i(q,a,c)};b=this.isNew()?"create":c.patch?"patch":"update";"patch"==b&&(c.attrs=d);b=this.sync(b,this,c);!g&&c.wait&&(this.clear(a),this.set(f,a));return b},destroy:function(a){var a=a?e.clone(a):{},b=this,c=a.success,d=function(){b.trigger("destroy",b,b.collection,a)};a.success=function(f){(a.wait||b.isNew())&&d();c&&c(b,f,a)};if(this.isNew())return a.success(),!1;var f=this.sync("delete",this,a);a.wait||d();return f},url:function(){var a=e.result(this,"urlRoot")||
|
16
|
+
e.result(this.collection,"url")||u();return this.isNew()?a:a+("/"===a.charAt(a.length-1)?"":"/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return null==this.id},change:function(a){var b=this._changing;this._changing=!0;var c=this._computeChanges(!0);this._pending=!!c.length;for(var d=c.length-2;0<=d;d-=2)this.trigger("change:"+c[d],this,c[d+1],a);if(b)return this;for(;this._pending;)this._pending=!1,this.trigger("change",
|
17
|
+
this,a),this._previousAttributes=e.clone(this.attributes);this._changing=!1;return this},hasChanged:function(a){this._hasComputed||this._computeChanges();return null==a?!e.isEmpty(this.changed):e.has(this.changed,a)},changedAttributes:function(a){if(!a)return this.hasChanged()?e.clone(this.changed):!1;var b,c=!1,d=this._previousAttributes,f;for(f in a)if(!e.isEqual(d[f],b=a[f]))(c||(c={}))[f]=b;return c},_computeChanges:function(a){this.changed={};for(var b={},c=[],d=this._currentAttributes,f=this._changes,
|
18
|
+
e=f.length-2;0<=e;e-=2){var g=f[e],i=f[e+1];b[g]||(b[g]=!0,d[g]!==i&&(this.changed[g]=i,a&&(c.push(g,i),d[g]=i)))}a&&(this._changes=[]);this._hasComputed=!0;return c},previous:function(a){return null==a||!this._previousAttributes?null:this._previousAttributes[a]},previousAttributes:function(){return e.clone(this._previousAttributes)},_validate:function(a,b){if(!this.validate)return!0;var a=e.extend({},this.attributes,a),c=this.validate(a,b);if(!c)return!0;b&&b.error&&b.error(this,c,b);this.trigger("error",
|
19
|
+
this,c,b);return!1}});var p=g.Collection=function(a,b){b||(b={});b.model&&(this.model=b.model);void 0!==b.comparator&&(this.comparator=b.comparator);this._reset();this.initialize.apply(this,arguments);a&&this.reset(a,e.extend({silent:!0},b))};e.extend(p.prototype,h,{model:o,initialize:function(){},toJSON:function(a){return this.map(function(b){return b.toJSON(a)})},sync:function(){return g.sync.apply(this,arguments)},add:function(a,b){var c,d,f,g,h=b&&b.at,i=null==(b&&b.sort)?!0:b.sort,a=e.isArray(a)?
|
20
|
+
a.slice():[a];for(c=a.length-1;0<=c;c--)(d=this._prepareModel(a[c],b))?(a[c]=d,(f=null!=d.id&&this._byId[d.id])||this._byCid[d.cid]?(b&&(b.merge&&f)&&(f.set(d.attributes,b),g=i),a.splice(c,1)):(d.on("all",this._onModelEvent,this),this._byCid[d.cid]=d,null!=d.id&&(this._byId[d.id]=d))):(this.trigger("error",this,a[c],b),a.splice(c,1));a.length&&(g=i);this.length+=a.length;c=[null!=h?h:this.models.length,0];z.apply(c,a);A.apply(this.models,c);g&&(this.comparator&&null==h)&&this.sort({silent:!0});if(b&&
|
21
|
+
b.silent)return this;for(;d=a.shift();)d.trigger("add",d,this,b);return this},remove:function(a,b){var c,d,f,g;b||(b={});a=e.isArray(a)?a.slice():[a];c=0;for(d=a.length;c<d;c++)if(g=this.get(a[c]))delete this._byId[g.id],delete this._byCid[g.cid],f=this.indexOf(g),this.models.splice(f,1),this.length--,b.silent||(b.index=f,g.trigger("remove",g,this,b)),this._removeReference(g);return this},push:function(a,b){a=this._prepareModel(a,b);this.add(a,e.extend({at:this.length},b));return a},pop:function(a){var b=
|
22
|
+
this.at(this.length-1);this.remove(b,a);return b},unshift:function(a,b){a=this._prepareModel(a,b);this.add(a,e.extend({at:0},b));return a},shift:function(a){var b=this.at(0);this.remove(b,a);return b},slice:function(a,b){return this.models.slice(a,b)},get:function(a){return null==a?void 0:this._byId[null!=a.id?a.id:a]||this._byCid[a.cid||a]},at:function(a){return this.models[a]},where:function(a){return e.isEmpty(a)?[]:this.filter(function(b){for(var c in a)if(a[c]!==b.get(c))return!1;return!0})},
|
23
|
+
sort:function(a){if(!this.comparator)throw Error("Cannot sort a set without a comparator");e.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(e.bind(this.comparator,this));(!a||!a.silent)&&this.trigger("sort",this,a);return this},pluck:function(a){return e.invoke(this.models,"get",a)},update:function(a,b){var c,d,f,g,h=[],i=[],m={},j=this.model.prototype.idAttribute,b=e.extend({add:!0,merge:!0,remove:!0},b);b.parse&&(a=this.parse(a));
|
24
|
+
e.isArray(a)||(a=a?[a]:[]);if(b.add&&!b.remove)return this.add(a,b);d=0;for(f=a.length;d<f;d++)c=a[d],g=this.get(c.id||c.cid||c[j]),b.remove&&g&&(m[g.cid]=!0),(b.add&&!g||b.merge&&g)&&h.push(c);if(b.remove){d=0;for(f=this.models.length;d<f;d++)c=this.models[d],m[c.cid]||i.push(c)}i.length&&this.remove(i,b);h.length&&this.add(h,b);return this},reset:function(a,b){b||(b={});b.parse&&(a=this.parse(a));for(var c=0,d=this.models.length;c<d;c++)this._removeReference(this.models[c]);b.previousModels=this.models;
|
25
|
+
this._reset();a&&this.add(a,e.extend({silent:!0},b));b.silent||this.trigger("reset",this,b);return this},fetch:function(a){a=a?e.clone(a):{};void 0===a.parse&&(a.parse=!0);var b=this,c=a.success;a.success=function(d){b[a.update?"update":"reset"](d,a);c&&c(b,d,a)};return this.sync("read",this,a)},create:function(a,b){var c=this,b=b?e.clone(b):{},a=this._prepareModel(a,b);if(!a)return!1;b.wait||c.add(a,b);var d=b.success;b.success=function(a,b,e){e.wait&&c.add(a,e);d&&d(a,b,e)};a.save(null,b);return a},
|
26
|
+
parse:function(a){return a},clone:function(){return new this.constructor(this.models)},chain:function(){return e(this.models).chain()},_reset:function(){this.length=0;this.models=[];this._byId={};this._byCid={}},_prepareModel:function(a,b){if(a instanceof o)return a.collection||(a.collection=this),a;b||(b={});b.collection=this;var c=new this.model(a,b);return!c._validate(a,b)?!1:c},_removeReference:function(a){this===a.collection&&delete a.collection;a.off("all",this._onModelEvent,this)},_onModelEvent:function(a,
|
27
|
+
b,c,d){("add"===a||"remove"===a)&&c!==this||("destroy"===a&&this.remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],null!=b.id&&(this._byId[b.id]=b)),this.trigger.apply(this,arguments))}});e.each("forEach each map collect reduce foldl inject reduceRight foldr find detect filter select reject every all some any include contains invoke max min sortedIndex toArray size first head take initial rest tail last without indexOf shuffle lastIndexOf isEmpty".split(" "),
|
28
|
+
function(a){p.prototype[a]=function(){var b=r.call(arguments);b.unshift(this.models);return e[a].apply(e,b)}});e.each(["groupBy","countBy","sortBy"],function(a){p.prototype[a]=function(b,c){var d=e.isFunction(b)?b:function(a){return a.get(b)};return e[a](this.models,d,c)}});var v=g.Router=function(a){a||(a={});a.routes&&(this.routes=a.routes);this._bindRoutes();this.initialize.apply(this,arguments)},B=/\((.*?)\)/g,C=/:\w+/g,D=/\*\w+/g,E=/[\-{}\[\]+?.,\\\^$|#\s]/g;e.extend(v.prototype,h,{initialize:function(){},
|
29
|
+
route:function(a,b,c){e.isRegExp(a)||(a=this._routeToRegExp(a));c||(c=this[b]);g.history.route(a,e.bind(function(d){d=this._extractParameters(a,d);c&&c.apply(this,d);this.trigger.apply(this,["route:"+b].concat(d));g.history.trigger("route",this,b,d)},this));return this},navigate:function(a,b){g.history.navigate(a,b);return this},_bindRoutes:function(){if(this.routes)for(var a,b=e.keys(this.routes);null!=(a=b.pop());)this.route(a,this.routes[a])},_routeToRegExp:function(a){a=a.replace(E,"\\$&").replace(B,
|
30
|
+
"(?:$1)?").replace(C,"([^/]+)").replace(D,"(.*?)");return RegExp("^"+a+"$")},_extractParameters:function(a,b){return a.exec(b).slice(1)}});var j=g.History=function(){this.handlers=[];e.bindAll(this,"checkUrl");"undefined"!==typeof window&&(this.location=window.location,this.history=window.history)},w=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,G=/msie [\w.]+/,H=/\/$/;j.started=!1;e.extend(j.prototype,h,{interval:50,getHash:function(a){return(a=(a||this).location.href.match(/#(.*)$/))?a[1]:""},getFragment:function(a,
|
31
|
+
b){if(null==a)if(this._hasPushState||!this._wantsHashChange||b){var a=this.location.pathname,c=this.root.replace(H,"");a.indexOf(c)||(a=a.substr(c.length))}else a=this.getHash();return a.replace(w,"")},start:function(a){if(j.started)throw Error("Backbone.history has already been started");j.started=!0;this.options=e.extend({},{root:"/"},this.options,a);this.root=this.options.root;this._wantsHashChange=!1!==this.options.hashChange;this._wantsPushState=!!this.options.pushState;this._hasPushState=!(!this.options.pushState||
|
32
|
+
!this.history||!this.history.pushState);var a=this.getFragment(),b=document.documentMode,b=G.exec(navigator.userAgent.toLowerCase())&&(!b||7>=b);this.root=("/"+this.root+"/").replace(F,"/");b&&this._wantsHashChange&&(this.iframe=g.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(a));this._hasPushState?g.$(window).bind("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!b?g.$(window).bind("hashchange",this.checkUrl):this._wantsHashChange&&
|
33
|
+
(this._checkUrlInterval=setInterval(this.checkUrl,this.interval));this.fragment=a;a=this.location;b=a.pathname.replace(/[^\/]$/,"$&/")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!b)return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+this.location.search+"#"+this.fragment),!0;this._wantsPushState&&(this._hasPushState&&b&&a.hash)&&(this.fragment=this.getHash().replace(w,""),this.history.replaceState({},document.title,this.root+this.fragment+
|
34
|
+
a.search));if(!this.options.silent)return this.loadUrl()},stop:function(){g.$(window).unbind("popstate",this.checkUrl).unbind("hashchange",this.checkUrl);clearInterval(this._checkUrlInterval);j.started=!1},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();a===this.fragment&&this.iframe&&(a=this.getFragment(this.getHash(this.iframe)));if(a===this.fragment)return!1;this.iframe&&this.navigate(a);this.loadUrl()||this.loadUrl(this.getHash())},
|
35
|
+
loadUrl:function(a){var b=this.fragment=this.getFragment(a);return e.any(this.handlers,function(a){if(a.route.test(b))return a.callback(b),!0})},navigate:function(a,b){if(!j.started)return!1;if(!b||!0===b)b={trigger:b};a=this.getFragment(a||"");if(this.fragment!==a){this.fragment=a;var c=this.root+a;if(this._hasPushState)this.history[b.replace?"replaceState":"pushState"]({},document.title,c);else if(this._wantsHashChange)this._updateHash(this.location,a,b.replace),this.iframe&&a!==this.getFragment(this.getHash(this.iframe))&&
|
36
|
+
(b.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,a,b.replace));else return this.location.assign(c);b.trigger&&this.loadUrl(a)}},_updateHash:function(a,b,c){c?(c=a.href.replace(/(javascript:|#).*$/,""),a.replace(c+"#"+b)):a.hash="#"+b}});g.history=new j;var x=g.View=function(a){this.cid=e.uniqueId("view");this._configure(a||{});this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()},I=/^(\S+)\s*(.*)$/,J="model collection el id attributes className tagName events".split(" ");
|
37
|
+
e.extend(x.prototype,h,{tagName:"div",$:function(a){return this.$el.find(a)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},make:function(a,b,c){a=document.createElement(a);b&&g.$(a).attr(b);null!=c&&g.$(a).html(c);return a},setElement:function(a,b){this.$el&&this.undelegateEvents();this.$el=a instanceof g.$?a:g.$(a);this.el=this.$el[0];!1!==b&&this.delegateEvents();return this},delegateEvents:function(a){if(a||(a=e.result(this,
|
38
|
+
"events"))){this.undelegateEvents();for(var b in a){var c=a[b];e.isFunction(c)||(c=this[a[b]]);if(!c)throw Error('Method "'+a[b]+'" does not exist');var d=b.match(I),f=d[1],d=d[2],c=e.bind(c,this),f=f+(".delegateEvents"+this.cid);""===d?this.$el.bind(f,c):this.$el.delegate(d,f,c)}}},undelegateEvents:function(){this.$el.unbind(".delegateEvents"+this.cid)},_configure:function(a){this.options&&(a=e.extend({},e.result(this,"options"),a));e.extend(this,e.pick(a,J));this.options=a},_ensureElement:function(){if(this.el)this.setElement(e.result(this,
|
39
|
+
"el"),!1);else{var a=e.extend({},e.result(this,"attributes"));this.id&&(a.id=e.result(this,"id"));this.className&&(a["class"]=e.result(this,"className"));this.setElement(this.make(e.result(this,"tagName"),a),!1)}}});var K={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};g.sync=function(a,b,c){var d=K[a];e.defaults(c||(c={}),{emulateHTTP:g.emulateHTTP,emulateJSON:g.emulateJSON});var f={type:d,dataType:"json"};c.url||(f.url=e.result(b,"url")||u());if(null==c.data&&b&&("create"===
|
40
|
+
a||"update"===a||"patch"===a))f.contentType="application/json",f.data=JSON.stringify(c.attrs||b.toJSON(c));c.emulateJSON&&(f.contentType="application/x-www-form-urlencoded",f.data=f.data?{model:f.data}:{});if(c.emulateHTTP&&("PUT"===d||"DELETE"===d||"PATCH"===d)){f.type="POST";c.emulateJSON&&(f.data._method=d);var h=c.beforeSend;c.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",d);if(h)return h.apply(this,arguments)}}"GET"!==f.type&&!c.emulateJSON&&(f.processData=!1);var j=c.success;
|
41
|
+
c.success=function(a,d,e){j&&j(a,d,e);b.trigger("sync",b,a,c)};var i=c.error;c.error=function(a){i&&i(b,a,c);b.trigger("error",b,a,c)};a=g.ajax(e.extend(f,c));b.trigger("request",b,a,c);return a};g.ajax=function(){return g.$.ajax.apply(g.$,arguments)};o.extend=p.extend=v.extend=x.extend=j.extend=function(a,b){var c=this,d;d=a&&e.has(a,"constructor")?a.constructor:function(){c.apply(this,arguments)};e.extend(d,c,b);var f=function(){this.constructor=d};f.prototype=c.prototype;d.prototype=new f;a&&e.extend(d.prototype,
|
42
|
+
a);d.__super__=c.prototype;return d};var u=function(){throw Error('A "url" property or function must be specified');}}).call(this);
|
@@ -0,0 +1,2170 @@
|
|
1
|
+
/* ===================================================
|
2
|
+
* bootstrap-transition.js v2.2.2
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
|
+
* ===================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ========================================================== */
|
19
|
+
|
20
|
+
|
21
|
+
!function ($) {
|
22
|
+
|
23
|
+
"use strict"; // jshint ;_;
|
24
|
+
|
25
|
+
|
26
|
+
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
27
|
+
* ======================================================= */
|
28
|
+
|
29
|
+
$(function () {
|
30
|
+
|
31
|
+
$.support.transition = (function () {
|
32
|
+
|
33
|
+
var transitionEnd = (function () {
|
34
|
+
|
35
|
+
var el = document.createElement('bootstrap')
|
36
|
+
, transEndEventNames = {
|
37
|
+
'WebkitTransition' : 'webkitTransitionEnd'
|
38
|
+
, 'MozTransition' : 'transitionend'
|
39
|
+
, 'OTransition' : 'oTransitionEnd otransitionend'
|
40
|
+
, 'transition' : 'transitionend'
|
41
|
+
}
|
42
|
+
, name
|
43
|
+
|
44
|
+
for (name in transEndEventNames){
|
45
|
+
if (el.style[name] !== undefined) {
|
46
|
+
return transEndEventNames[name]
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
}())
|
51
|
+
|
52
|
+
return transitionEnd && {
|
53
|
+
end: transitionEnd
|
54
|
+
}
|
55
|
+
|
56
|
+
})()
|
57
|
+
|
58
|
+
})
|
59
|
+
|
60
|
+
}(window.jQuery);
|
61
|
+
/* =========================================================
|
62
|
+
* bootstrap-modal.js v2.2.2
|
63
|
+
* http://twitter.github.com/bootstrap/javascript.html#modals
|
64
|
+
* =========================================================
|
65
|
+
* Copyright 2012 Twitter, Inc.
|
66
|
+
*
|
67
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
68
|
+
* you may not use this file except in compliance with the License.
|
69
|
+
* You may obtain a copy of the License at
|
70
|
+
*
|
71
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
72
|
+
*
|
73
|
+
* Unless required by applicable law or agreed to in writing, software
|
74
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
75
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
76
|
+
* See the License for the specific language governing permissions and
|
77
|
+
* limitations under the License.
|
78
|
+
* ========================================================= */
|
79
|
+
|
80
|
+
|
81
|
+
!function ($) {
|
82
|
+
|
83
|
+
"use strict"; // jshint ;_;
|
84
|
+
|
85
|
+
|
86
|
+
/* MODAL CLASS DEFINITION
|
87
|
+
* ====================== */
|
88
|
+
|
89
|
+
var Modal = function (element, options) {
|
90
|
+
this.options = options
|
91
|
+
this.$element = $(element)
|
92
|
+
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
93
|
+
this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
|
94
|
+
}
|
95
|
+
|
96
|
+
Modal.prototype = {
|
97
|
+
|
98
|
+
constructor: Modal
|
99
|
+
|
100
|
+
, toggle: function () {
|
101
|
+
return this[!this.isShown ? 'show' : 'hide']()
|
102
|
+
}
|
103
|
+
|
104
|
+
, show: function () {
|
105
|
+
var that = this
|
106
|
+
, e = $.Event('show')
|
107
|
+
|
108
|
+
this.$element.trigger(e)
|
109
|
+
|
110
|
+
if (this.isShown || e.isDefaultPrevented()) return
|
111
|
+
|
112
|
+
this.isShown = true
|
113
|
+
|
114
|
+
this.escape()
|
115
|
+
|
116
|
+
this.backdrop(function () {
|
117
|
+
var transition = $.support.transition && that.$element.hasClass('fade')
|
118
|
+
|
119
|
+
if (!that.$element.parent().length) {
|
120
|
+
that.$element.appendTo(document.body) //don't move modals dom position
|
121
|
+
}
|
122
|
+
|
123
|
+
that.$element
|
124
|
+
.show()
|
125
|
+
|
126
|
+
if (transition) {
|
127
|
+
that.$element[0].offsetWidth // force reflow
|
128
|
+
}
|
129
|
+
|
130
|
+
that.$element
|
131
|
+
.addClass('in')
|
132
|
+
.attr('aria-hidden', false)
|
133
|
+
|
134
|
+
that.enforceFocus()
|
135
|
+
|
136
|
+
transition ?
|
137
|
+
that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) :
|
138
|
+
that.$element.focus().trigger('shown')
|
139
|
+
|
140
|
+
})
|
141
|
+
}
|
142
|
+
|
143
|
+
, hide: function (e) {
|
144
|
+
e && e.preventDefault()
|
145
|
+
|
146
|
+
var that = this
|
147
|
+
|
148
|
+
e = $.Event('hide')
|
149
|
+
|
150
|
+
this.$element.trigger(e)
|
151
|
+
|
152
|
+
if (!this.isShown || e.isDefaultPrevented()) return
|
153
|
+
|
154
|
+
this.isShown = false
|
155
|
+
|
156
|
+
this.escape()
|
157
|
+
|
158
|
+
$(document).off('focusin.modal')
|
159
|
+
|
160
|
+
this.$element
|
161
|
+
.removeClass('in')
|
162
|
+
.attr('aria-hidden', true)
|
163
|
+
|
164
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
165
|
+
this.hideWithTransition() :
|
166
|
+
this.hideModal()
|
167
|
+
}
|
168
|
+
|
169
|
+
, enforceFocus: function () {
|
170
|
+
var that = this
|
171
|
+
$(document).on('focusin.modal', function (e) {
|
172
|
+
if (that.$element[0] !== e.target && !that.$element.has(e.target).length) {
|
173
|
+
that.$element.focus()
|
174
|
+
}
|
175
|
+
})
|
176
|
+
}
|
177
|
+
|
178
|
+
, escape: function () {
|
179
|
+
var that = this
|
180
|
+
if (this.isShown && this.options.keyboard) {
|
181
|
+
this.$element.on('keyup.dismiss.modal', function ( e ) {
|
182
|
+
e.which == 27 && that.hide()
|
183
|
+
})
|
184
|
+
} else if (!this.isShown) {
|
185
|
+
this.$element.off('keyup.dismiss.modal')
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
, hideWithTransition: function () {
|
190
|
+
var that = this
|
191
|
+
, timeout = setTimeout(function () {
|
192
|
+
that.$element.off($.support.transition.end)
|
193
|
+
that.hideModal()
|
194
|
+
}, 500)
|
195
|
+
|
196
|
+
this.$element.one($.support.transition.end, function () {
|
197
|
+
clearTimeout(timeout)
|
198
|
+
that.hideModal()
|
199
|
+
})
|
200
|
+
}
|
201
|
+
|
202
|
+
, hideModal: function (that) {
|
203
|
+
this.$element
|
204
|
+
.hide()
|
205
|
+
.trigger('hidden')
|
206
|
+
|
207
|
+
this.backdrop()
|
208
|
+
}
|
209
|
+
|
210
|
+
, removeBackdrop: function () {
|
211
|
+
this.$backdrop.remove()
|
212
|
+
this.$backdrop = null
|
213
|
+
}
|
214
|
+
|
215
|
+
, backdrop: function (callback) {
|
216
|
+
var that = this
|
217
|
+
, animate = this.$element.hasClass('fade') ? 'fade' : ''
|
218
|
+
|
219
|
+
if (this.isShown && this.options.backdrop) {
|
220
|
+
var doAnimate = $.support.transition && animate
|
221
|
+
|
222
|
+
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
223
|
+
.appendTo(document.body)
|
224
|
+
|
225
|
+
this.$backdrop.click(
|
226
|
+
this.options.backdrop == 'static' ?
|
227
|
+
$.proxy(this.$element[0].focus, this.$element[0])
|
228
|
+
: $.proxy(this.hide, this)
|
229
|
+
)
|
230
|
+
|
231
|
+
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
232
|
+
|
233
|
+
this.$backdrop.addClass('in')
|
234
|
+
|
235
|
+
doAnimate ?
|
236
|
+
this.$backdrop.one($.support.transition.end, callback) :
|
237
|
+
callback()
|
238
|
+
|
239
|
+
} else if (!this.isShown && this.$backdrop) {
|
240
|
+
this.$backdrop.removeClass('in')
|
241
|
+
|
242
|
+
$.support.transition && this.$element.hasClass('fade')?
|
243
|
+
this.$backdrop.one($.support.transition.end, $.proxy(this.removeBackdrop, this)) :
|
244
|
+
this.removeBackdrop()
|
245
|
+
|
246
|
+
} else if (callback) {
|
247
|
+
callback()
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
|
253
|
+
/* MODAL PLUGIN DEFINITION
|
254
|
+
* ======================= */
|
255
|
+
|
256
|
+
var old = $.fn.modal
|
257
|
+
|
258
|
+
$.fn.modal = function (option) {
|
259
|
+
return this.each(function () {
|
260
|
+
var $this = $(this)
|
261
|
+
, data = $this.data('modal')
|
262
|
+
, options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)
|
263
|
+
if (!data) $this.data('modal', (data = new Modal(this, options)))
|
264
|
+
if (typeof option == 'string') data[option]()
|
265
|
+
else if (options.show) data.show()
|
266
|
+
})
|
267
|
+
}
|
268
|
+
|
269
|
+
$.fn.modal.defaults = {
|
270
|
+
backdrop: true
|
271
|
+
, keyboard: true
|
272
|
+
, show: true
|
273
|
+
}
|
274
|
+
|
275
|
+
$.fn.modal.Constructor = Modal
|
276
|
+
|
277
|
+
|
278
|
+
/* MODAL NO CONFLICT
|
279
|
+
* ================= */
|
280
|
+
|
281
|
+
$.fn.modal.noConflict = function () {
|
282
|
+
$.fn.modal = old
|
283
|
+
return this
|
284
|
+
}
|
285
|
+
|
286
|
+
|
287
|
+
/* MODAL DATA-API
|
288
|
+
* ============== */
|
289
|
+
|
290
|
+
$(document).on('click.modal.data-api', '[data-toggle="modal"]', function (e) {
|
291
|
+
var $this = $(this)
|
292
|
+
, href = $this.attr('href')
|
293
|
+
, $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
|
294
|
+
, option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data())
|
295
|
+
|
296
|
+
e.preventDefault()
|
297
|
+
|
298
|
+
$target
|
299
|
+
.modal(option)
|
300
|
+
.one('hide', function () {
|
301
|
+
$this.focus()
|
302
|
+
})
|
303
|
+
})
|
304
|
+
|
305
|
+
}(window.jQuery);
|
306
|
+
|
307
|
+
/* ============================================================
|
308
|
+
* bootstrap-dropdown.js v2.2.2
|
309
|
+
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
310
|
+
* ============================================================
|
311
|
+
* Copyright 2012 Twitter, Inc.
|
312
|
+
*
|
313
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
314
|
+
* you may not use this file except in compliance with the License.
|
315
|
+
* You may obtain a copy of the License at
|
316
|
+
*
|
317
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
318
|
+
*
|
319
|
+
* Unless required by applicable law or agreed to in writing, software
|
320
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
321
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
322
|
+
* See the License for the specific language governing permissions and
|
323
|
+
* limitations under the License.
|
324
|
+
* ============================================================ */
|
325
|
+
|
326
|
+
|
327
|
+
!function ($) {
|
328
|
+
|
329
|
+
"use strict"; // jshint ;_;
|
330
|
+
|
331
|
+
|
332
|
+
/* DROPDOWN CLASS DEFINITION
|
333
|
+
* ========================= */
|
334
|
+
|
335
|
+
var toggle = '[data-toggle=dropdown]'
|
336
|
+
, Dropdown = function (element) {
|
337
|
+
var $el = $(element).on('click.dropdown.data-api', this.toggle)
|
338
|
+
$('html').on('click.dropdown.data-api', function () {
|
339
|
+
$el.parent().removeClass('open')
|
340
|
+
})
|
341
|
+
}
|
342
|
+
|
343
|
+
Dropdown.prototype = {
|
344
|
+
|
345
|
+
constructor: Dropdown
|
346
|
+
|
347
|
+
, toggle: function (e) {
|
348
|
+
var $this = $(this)
|
349
|
+
, $parent
|
350
|
+
, isActive
|
351
|
+
|
352
|
+
if ($this.is('.disabled, :disabled')) return
|
353
|
+
|
354
|
+
$parent = getParent($this)
|
355
|
+
|
356
|
+
isActive = $parent.hasClass('open')
|
357
|
+
|
358
|
+
clearMenus()
|
359
|
+
|
360
|
+
if (!isActive) {
|
361
|
+
$parent.toggleClass('open')
|
362
|
+
}
|
363
|
+
|
364
|
+
$this.focus()
|
365
|
+
|
366
|
+
return false
|
367
|
+
}
|
368
|
+
|
369
|
+
, keydown: function (e) {
|
370
|
+
var $this
|
371
|
+
, $items
|
372
|
+
, $active
|
373
|
+
, $parent
|
374
|
+
, isActive
|
375
|
+
, index
|
376
|
+
|
377
|
+
if (!/(38|40|27)/.test(e.keyCode)) return
|
378
|
+
|
379
|
+
$this = $(this)
|
380
|
+
|
381
|
+
e.preventDefault()
|
382
|
+
e.stopPropagation()
|
383
|
+
|
384
|
+
if ($this.is('.disabled, :disabled')) return
|
385
|
+
|
386
|
+
$parent = getParent($this)
|
387
|
+
|
388
|
+
isActive = $parent.hasClass('open')
|
389
|
+
|
390
|
+
if (!isActive || (isActive && e.keyCode == 27)) return $this.click()
|
391
|
+
|
392
|
+
$items = $('[role=menu] li:not(.divider):visible a', $parent)
|
393
|
+
|
394
|
+
if (!$items.length) return
|
395
|
+
|
396
|
+
index = $items.index($items.filter(':focus'))
|
397
|
+
|
398
|
+
if (e.keyCode == 38 && index > 0) index-- // up
|
399
|
+
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
|
400
|
+
if (!~index) index = 0
|
401
|
+
|
402
|
+
$items
|
403
|
+
.eq(index)
|
404
|
+
.focus()
|
405
|
+
}
|
406
|
+
|
407
|
+
}
|
408
|
+
|
409
|
+
function clearMenus() {
|
410
|
+
$(toggle).each(function () {
|
411
|
+
getParent($(this)).removeClass('open')
|
412
|
+
})
|
413
|
+
}
|
414
|
+
|
415
|
+
function getParent($this) {
|
416
|
+
var selector = $this.attr('data-target')
|
417
|
+
, $parent
|
418
|
+
|
419
|
+
if (!selector) {
|
420
|
+
selector = $this.attr('href')
|
421
|
+
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
422
|
+
}
|
423
|
+
|
424
|
+
$parent = $(selector)
|
425
|
+
$parent.length || ($parent = $this.parent())
|
426
|
+
|
427
|
+
return $parent
|
428
|
+
}
|
429
|
+
|
430
|
+
|
431
|
+
/* DROPDOWN PLUGIN DEFINITION
|
432
|
+
* ========================== */
|
433
|
+
|
434
|
+
var old = $.fn.dropdown
|
435
|
+
|
436
|
+
$.fn.dropdown = function (option) {
|
437
|
+
return this.each(function () {
|
438
|
+
var $this = $(this)
|
439
|
+
, data = $this.data('dropdown')
|
440
|
+
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
|
441
|
+
if (typeof option == 'string') data[option].call($this)
|
442
|
+
})
|
443
|
+
}
|
444
|
+
|
445
|
+
$.fn.dropdown.Constructor = Dropdown
|
446
|
+
|
447
|
+
|
448
|
+
/* DROPDOWN NO CONFLICT
|
449
|
+
* ==================== */
|
450
|
+
|
451
|
+
$.fn.dropdown.noConflict = function () {
|
452
|
+
$.fn.dropdown = old
|
453
|
+
return this
|
454
|
+
}
|
455
|
+
|
456
|
+
|
457
|
+
/* APPLY TO STANDARD DROPDOWN ELEMENTS
|
458
|
+
* =================================== */
|
459
|
+
|
460
|
+
$(document)
|
461
|
+
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
462
|
+
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
463
|
+
.on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { e.stopPropagation() })
|
464
|
+
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
465
|
+
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
466
|
+
|
467
|
+
}(window.jQuery);
|
468
|
+
/* =============================================================
|
469
|
+
* bootstrap-scrollspy.js v2.2.2
|
470
|
+
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
471
|
+
* =============================================================
|
472
|
+
* Copyright 2012 Twitter, Inc.
|
473
|
+
*
|
474
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
475
|
+
* you may not use this file except in compliance with the License.
|
476
|
+
* You may obtain a copy of the License at
|
477
|
+
*
|
478
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
479
|
+
*
|
480
|
+
* Unless required by applicable law or agreed to in writing, software
|
481
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
482
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
483
|
+
* See the License for the specific language governing permissions and
|
484
|
+
* limitations under the License.
|
485
|
+
* ============================================================== */
|
486
|
+
|
487
|
+
|
488
|
+
!function ($) {
|
489
|
+
|
490
|
+
"use strict"; // jshint ;_;
|
491
|
+
|
492
|
+
|
493
|
+
/* SCROLLSPY CLASS DEFINITION
|
494
|
+
* ========================== */
|
495
|
+
|
496
|
+
function ScrollSpy(element, options) {
|
497
|
+
var process = $.proxy(this.process, this)
|
498
|
+
, $element = $(element).is('body') ? $(window) : $(element)
|
499
|
+
, href
|
500
|
+
this.options = $.extend({}, $.fn.scrollspy.defaults, options)
|
501
|
+
this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)
|
502
|
+
this.selector = (this.options.target
|
503
|
+
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
504
|
+
|| '') + ' .nav li > a'
|
505
|
+
this.$body = $('body')
|
506
|
+
this.refresh()
|
507
|
+
this.process()
|
508
|
+
}
|
509
|
+
|
510
|
+
ScrollSpy.prototype = {
|
511
|
+
|
512
|
+
constructor: ScrollSpy
|
513
|
+
|
514
|
+
, refresh: function () {
|
515
|
+
var self = this
|
516
|
+
, $targets
|
517
|
+
|
518
|
+
this.offsets = $([])
|
519
|
+
this.targets = $([])
|
520
|
+
|
521
|
+
$targets = this.$body
|
522
|
+
.find(this.selector)
|
523
|
+
.map(function () {
|
524
|
+
var $el = $(this)
|
525
|
+
, href = $el.data('target') || $el.attr('href')
|
526
|
+
, $href = /^#\w/.test(href) && $(href)
|
527
|
+
return ( $href
|
528
|
+
&& $href.length
|
529
|
+
&& [[ $href.position().top + self.$scrollElement.scrollTop(), href ]] ) || null
|
530
|
+
})
|
531
|
+
.sort(function (a, b) { return a[0] - b[0] })
|
532
|
+
.each(function () {
|
533
|
+
self.offsets.push(this[0])
|
534
|
+
self.targets.push(this[1])
|
535
|
+
})
|
536
|
+
}
|
537
|
+
|
538
|
+
, process: function () {
|
539
|
+
var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
|
540
|
+
, scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
|
541
|
+
, maxScroll = scrollHeight - this.$scrollElement.height()
|
542
|
+
, offsets = this.offsets
|
543
|
+
, targets = this.targets
|
544
|
+
, activeTarget = this.activeTarget
|
545
|
+
, i
|
546
|
+
|
547
|
+
if (scrollTop >= maxScroll) {
|
548
|
+
return activeTarget != (i = targets.last()[0])
|
549
|
+
&& this.activate ( i )
|
550
|
+
}
|
551
|
+
|
552
|
+
for (i = offsets.length; i--;) {
|
553
|
+
activeTarget != targets[i]
|
554
|
+
&& scrollTop >= offsets[i]
|
555
|
+
&& (!offsets[i + 1] || scrollTop <= offsets[i + 1])
|
556
|
+
&& this.activate( targets[i] )
|
557
|
+
}
|
558
|
+
}
|
559
|
+
|
560
|
+
, activate: function (target) {
|
561
|
+
var active
|
562
|
+
, selector
|
563
|
+
|
564
|
+
this.activeTarget = target
|
565
|
+
|
566
|
+
$(this.selector)
|
567
|
+
.parent('.active')
|
568
|
+
.removeClass('active')
|
569
|
+
|
570
|
+
selector = this.selector
|
571
|
+
+ '[data-target="' + target + '"],'
|
572
|
+
+ this.selector + '[href="' + target + '"]'
|
573
|
+
|
574
|
+
active = $(selector)
|
575
|
+
.parent('li')
|
576
|
+
.addClass('active')
|
577
|
+
|
578
|
+
if (active.parent('.dropdown-menu').length) {
|
579
|
+
active = active.closest('li.dropdown').addClass('active')
|
580
|
+
}
|
581
|
+
|
582
|
+
active.trigger('activate')
|
583
|
+
}
|
584
|
+
|
585
|
+
}
|
586
|
+
|
587
|
+
|
588
|
+
/* SCROLLSPY PLUGIN DEFINITION
|
589
|
+
* =========================== */
|
590
|
+
|
591
|
+
var old = $.fn.scrollspy
|
592
|
+
|
593
|
+
$.fn.scrollspy = function (option) {
|
594
|
+
return this.each(function () {
|
595
|
+
var $this = $(this)
|
596
|
+
, data = $this.data('scrollspy')
|
597
|
+
, options = typeof option == 'object' && option
|
598
|
+
if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))
|
599
|
+
if (typeof option == 'string') data[option]()
|
600
|
+
})
|
601
|
+
}
|
602
|
+
|
603
|
+
$.fn.scrollspy.Constructor = ScrollSpy
|
604
|
+
|
605
|
+
$.fn.scrollspy.defaults = {
|
606
|
+
offset: 10
|
607
|
+
}
|
608
|
+
|
609
|
+
|
610
|
+
/* SCROLLSPY NO CONFLICT
|
611
|
+
* ===================== */
|
612
|
+
|
613
|
+
$.fn.scrollspy.noConflict = function () {
|
614
|
+
$.fn.scrollspy = old
|
615
|
+
return this
|
616
|
+
}
|
617
|
+
|
618
|
+
|
619
|
+
/* SCROLLSPY DATA-API
|
620
|
+
* ================== */
|
621
|
+
|
622
|
+
$(window).on('load', function () {
|
623
|
+
$('[data-spy="scroll"]').each(function () {
|
624
|
+
var $spy = $(this)
|
625
|
+
$spy.scrollspy($spy.data())
|
626
|
+
})
|
627
|
+
})
|
628
|
+
|
629
|
+
}(window.jQuery);
|
630
|
+
/* ========================================================
|
631
|
+
* bootstrap-tab.js v2.2.2
|
632
|
+
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
633
|
+
* ========================================================
|
634
|
+
* Copyright 2012 Twitter, Inc.
|
635
|
+
*
|
636
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
637
|
+
* you may not use this file except in compliance with the License.
|
638
|
+
* You may obtain a copy of the License at
|
639
|
+
*
|
640
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
641
|
+
*
|
642
|
+
* Unless required by applicable law or agreed to in writing, software
|
643
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
644
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
645
|
+
* See the License for the specific language governing permissions and
|
646
|
+
* limitations under the License.
|
647
|
+
* ======================================================== */
|
648
|
+
|
649
|
+
|
650
|
+
!function ($) {
|
651
|
+
|
652
|
+
"use strict"; // jshint ;_;
|
653
|
+
|
654
|
+
|
655
|
+
/* TAB CLASS DEFINITION
|
656
|
+
* ==================== */
|
657
|
+
|
658
|
+
var Tab = function (element) {
|
659
|
+
this.element = $(element)
|
660
|
+
}
|
661
|
+
|
662
|
+
Tab.prototype = {
|
663
|
+
|
664
|
+
constructor: Tab
|
665
|
+
|
666
|
+
, show: function () {
|
667
|
+
var $this = this.element
|
668
|
+
, $ul = $this.closest('ul:not(.dropdown-menu)')
|
669
|
+
, selector = $this.attr('data-target')
|
670
|
+
, previous
|
671
|
+
, $target
|
672
|
+
, e
|
673
|
+
|
674
|
+
if (!selector) {
|
675
|
+
selector = $this.attr('href')
|
676
|
+
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
677
|
+
}
|
678
|
+
|
679
|
+
if ( $this.parent('li').hasClass('active') ) return
|
680
|
+
|
681
|
+
previous = $ul.find('.active:last a')[0]
|
682
|
+
|
683
|
+
e = $.Event('show', {
|
684
|
+
relatedTarget: previous
|
685
|
+
})
|
686
|
+
|
687
|
+
$this.trigger(e)
|
688
|
+
|
689
|
+
if (e.isDefaultPrevented()) return
|
690
|
+
|
691
|
+
$target = $(selector)
|
692
|
+
|
693
|
+
this.activate($this.parent('li'), $ul)
|
694
|
+
this.activate($target, $target.parent(), function () {
|
695
|
+
$this.trigger({
|
696
|
+
type: 'shown'
|
697
|
+
, relatedTarget: previous
|
698
|
+
})
|
699
|
+
})
|
700
|
+
}
|
701
|
+
|
702
|
+
, activate: function ( element, container, callback) {
|
703
|
+
var $active = container.find('> .active')
|
704
|
+
, transition = callback
|
705
|
+
&& $.support.transition
|
706
|
+
&& $active.hasClass('fade')
|
707
|
+
|
708
|
+
function next() {
|
709
|
+
$active
|
710
|
+
.removeClass('active')
|
711
|
+
.find('> .dropdown-menu > .active')
|
712
|
+
.removeClass('active')
|
713
|
+
|
714
|
+
element.addClass('active')
|
715
|
+
|
716
|
+
if (transition) {
|
717
|
+
element[0].offsetWidth // reflow for transition
|
718
|
+
element.addClass('in')
|
719
|
+
} else {
|
720
|
+
element.removeClass('fade')
|
721
|
+
}
|
722
|
+
|
723
|
+
if ( element.parent('.dropdown-menu') ) {
|
724
|
+
element.closest('li.dropdown').addClass('active')
|
725
|
+
}
|
726
|
+
|
727
|
+
callback && callback()
|
728
|
+
}
|
729
|
+
|
730
|
+
transition ?
|
731
|
+
$active.one($.support.transition.end, next) :
|
732
|
+
next()
|
733
|
+
|
734
|
+
$active.removeClass('in')
|
735
|
+
}
|
736
|
+
}
|
737
|
+
|
738
|
+
|
739
|
+
/* TAB PLUGIN DEFINITION
|
740
|
+
* ===================== */
|
741
|
+
|
742
|
+
var old = $.fn.tab
|
743
|
+
|
744
|
+
$.fn.tab = function ( option ) {
|
745
|
+
return this.each(function () {
|
746
|
+
var $this = $(this)
|
747
|
+
, data = $this.data('tab')
|
748
|
+
if (!data) $this.data('tab', (data = new Tab(this)))
|
749
|
+
if (typeof option == 'string') data[option]()
|
750
|
+
})
|
751
|
+
}
|
752
|
+
|
753
|
+
$.fn.tab.Constructor = Tab
|
754
|
+
|
755
|
+
|
756
|
+
/* TAB NO CONFLICT
|
757
|
+
* =============== */
|
758
|
+
|
759
|
+
$.fn.tab.noConflict = function () {
|
760
|
+
$.fn.tab = old
|
761
|
+
return this
|
762
|
+
}
|
763
|
+
|
764
|
+
|
765
|
+
/* TAB DATA-API
|
766
|
+
* ============ */
|
767
|
+
|
768
|
+
$(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
|
769
|
+
e.preventDefault()
|
770
|
+
$(this).tab('show')
|
771
|
+
})
|
772
|
+
|
773
|
+
}(window.jQuery);
|
774
|
+
/* ===========================================================
|
775
|
+
* bootstrap-tooltip.js v2.2.2
|
776
|
+
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
777
|
+
* Inspired by the original jQuery.tipsy by Jason Frame
|
778
|
+
* ===========================================================
|
779
|
+
* Copyright 2012 Twitter, Inc.
|
780
|
+
*
|
781
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
782
|
+
* you may not use this file except in compliance with the License.
|
783
|
+
* You may obtain a copy of the License at
|
784
|
+
*
|
785
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
786
|
+
*
|
787
|
+
* Unless required by applicable law or agreed to in writing, software
|
788
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
789
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
790
|
+
* See the License for the specific language governing permissions and
|
791
|
+
* limitations under the License.
|
792
|
+
* ========================================================== */
|
793
|
+
|
794
|
+
|
795
|
+
!function ($) {
|
796
|
+
|
797
|
+
"use strict"; // jshint ;_;
|
798
|
+
|
799
|
+
|
800
|
+
/* TOOLTIP PUBLIC CLASS DEFINITION
|
801
|
+
* =============================== */
|
802
|
+
|
803
|
+
var Tooltip = function (element, options) {
|
804
|
+
this.init('tooltip', element, options)
|
805
|
+
}
|
806
|
+
|
807
|
+
Tooltip.prototype = {
|
808
|
+
|
809
|
+
constructor: Tooltip
|
810
|
+
|
811
|
+
, init: function (type, element, options) {
|
812
|
+
var eventIn
|
813
|
+
, eventOut
|
814
|
+
|
815
|
+
this.type = type
|
816
|
+
this.$element = $(element)
|
817
|
+
this.options = this.getOptions(options)
|
818
|
+
this.enabled = true
|
819
|
+
|
820
|
+
if (this.options.trigger == 'click') {
|
821
|
+
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
|
822
|
+
} else if (this.options.trigger != 'manual') {
|
823
|
+
eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
|
824
|
+
eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
|
825
|
+
this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
|
826
|
+
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
|
827
|
+
}
|
828
|
+
|
829
|
+
this.options.selector ?
|
830
|
+
(this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
|
831
|
+
this.fixTitle()
|
832
|
+
}
|
833
|
+
|
834
|
+
, getOptions: function (options) {
|
835
|
+
options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data())
|
836
|
+
|
837
|
+
if (options.delay && typeof options.delay == 'number') {
|
838
|
+
options.delay = {
|
839
|
+
show: options.delay
|
840
|
+
, hide: options.delay
|
841
|
+
}
|
842
|
+
}
|
843
|
+
|
844
|
+
return options
|
845
|
+
}
|
846
|
+
|
847
|
+
, enter: function (e) {
|
848
|
+
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
849
|
+
|
850
|
+
if (!self.options.delay || !self.options.delay.show) return self.show()
|
851
|
+
|
852
|
+
clearTimeout(this.timeout)
|
853
|
+
self.hoverState = 'in'
|
854
|
+
this.timeout = setTimeout(function() {
|
855
|
+
if (self.hoverState == 'in') self.show()
|
856
|
+
}, self.options.delay.show)
|
857
|
+
}
|
858
|
+
|
859
|
+
, leave: function (e) {
|
860
|
+
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
861
|
+
|
862
|
+
if (this.timeout) clearTimeout(this.timeout)
|
863
|
+
if (!self.options.delay || !self.options.delay.hide) return self.hide()
|
864
|
+
|
865
|
+
self.hoverState = 'out'
|
866
|
+
this.timeout = setTimeout(function() {
|
867
|
+
if (self.hoverState == 'out') self.hide()
|
868
|
+
}, self.options.delay.hide)
|
869
|
+
}
|
870
|
+
|
871
|
+
, show: function () {
|
872
|
+
var $tip
|
873
|
+
, inside
|
874
|
+
, pos
|
875
|
+
, actualWidth
|
876
|
+
, actualHeight
|
877
|
+
, placement
|
878
|
+
, tp
|
879
|
+
|
880
|
+
if (this.hasContent() && this.enabled) {
|
881
|
+
$tip = this.tip()
|
882
|
+
this.setContent()
|
883
|
+
|
884
|
+
if (this.options.animation) {
|
885
|
+
$tip.addClass('fade')
|
886
|
+
}
|
887
|
+
|
888
|
+
placement = typeof this.options.placement == 'function' ?
|
889
|
+
this.options.placement.call(this, $tip[0], this.$element[0]) :
|
890
|
+
this.options.placement
|
891
|
+
|
892
|
+
inside = /in/.test(placement)
|
893
|
+
|
894
|
+
$tip
|
895
|
+
.detach()
|
896
|
+
.css({ top: 0, left: 0, display: 'block' })
|
897
|
+
.insertAfter(this.$element)
|
898
|
+
|
899
|
+
pos = this.getPosition(inside)
|
900
|
+
|
901
|
+
actualWidth = $tip[0].offsetWidth
|
902
|
+
actualHeight = $tip[0].offsetHeight
|
903
|
+
|
904
|
+
switch (inside ? placement.split(' ')[1] : placement) {
|
905
|
+
case 'bottom':
|
906
|
+
tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2}
|
907
|
+
break
|
908
|
+
case 'top':
|
909
|
+
tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2}
|
910
|
+
break
|
911
|
+
case 'left':
|
912
|
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth}
|
913
|
+
break
|
914
|
+
case 'right':
|
915
|
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width}
|
916
|
+
break
|
917
|
+
}
|
918
|
+
|
919
|
+
$tip
|
920
|
+
.offset(tp)
|
921
|
+
.addClass(placement)
|
922
|
+
.addClass('in')
|
923
|
+
}
|
924
|
+
}
|
925
|
+
|
926
|
+
, setContent: function () {
|
927
|
+
var $tip = this.tip()
|
928
|
+
, title = this.getTitle()
|
929
|
+
|
930
|
+
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
|
931
|
+
$tip.removeClass('fade in top bottom left right')
|
932
|
+
}
|
933
|
+
|
934
|
+
, hide: function () {
|
935
|
+
var that = this
|
936
|
+
, $tip = this.tip()
|
937
|
+
|
938
|
+
$tip.removeClass('in')
|
939
|
+
|
940
|
+
function removeWithAnimation() {
|
941
|
+
var timeout = setTimeout(function () {
|
942
|
+
$tip.off($.support.transition.end).detach()
|
943
|
+
}, 500)
|
944
|
+
|
945
|
+
$tip.one($.support.transition.end, function () {
|
946
|
+
clearTimeout(timeout)
|
947
|
+
$tip.detach()
|
948
|
+
})
|
949
|
+
}
|
950
|
+
|
951
|
+
$.support.transition && this.$tip.hasClass('fade') ?
|
952
|
+
removeWithAnimation() :
|
953
|
+
$tip.detach()
|
954
|
+
|
955
|
+
return this
|
956
|
+
}
|
957
|
+
|
958
|
+
, fixTitle: function () {
|
959
|
+
var $e = this.$element
|
960
|
+
if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
|
961
|
+
$e.attr('data-original-title', $e.attr('title') || '').removeAttr('title')
|
962
|
+
}
|
963
|
+
}
|
964
|
+
|
965
|
+
, hasContent: function () {
|
966
|
+
return this.getTitle()
|
967
|
+
}
|
968
|
+
|
969
|
+
, getPosition: function (inside) {
|
970
|
+
return $.extend({}, (inside ? {top: 0, left: 0} : this.$element.offset()), {
|
971
|
+
width: this.$element[0].offsetWidth
|
972
|
+
, height: this.$element[0].offsetHeight
|
973
|
+
})
|
974
|
+
}
|
975
|
+
|
976
|
+
, getTitle: function () {
|
977
|
+
var title
|
978
|
+
, $e = this.$element
|
979
|
+
, o = this.options
|
980
|
+
|
981
|
+
title = $e.attr('data-original-title')
|
982
|
+
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
|
983
|
+
|
984
|
+
return title
|
985
|
+
}
|
986
|
+
|
987
|
+
, tip: function () {
|
988
|
+
return this.$tip = this.$tip || $(this.options.template)
|
989
|
+
}
|
990
|
+
|
991
|
+
, validate: function () {
|
992
|
+
if (!this.$element[0].parentNode) {
|
993
|
+
this.hide()
|
994
|
+
this.$element = null
|
995
|
+
this.options = null
|
996
|
+
}
|
997
|
+
}
|
998
|
+
|
999
|
+
, enable: function () {
|
1000
|
+
this.enabled = true
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
, disable: function () {
|
1004
|
+
this.enabled = false
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
, toggleEnabled: function () {
|
1008
|
+
this.enabled = !this.enabled
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
, toggle: function (e) {
|
1012
|
+
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
1013
|
+
self[self.tip().hasClass('in') ? 'hide' : 'show']()
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
, destroy: function () {
|
1017
|
+
this.hide().$element.off('.' + this.type).removeData(this.type)
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
|
1023
|
+
/* TOOLTIP PLUGIN DEFINITION
|
1024
|
+
* ========================= */
|
1025
|
+
|
1026
|
+
var old = $.fn.tooltip
|
1027
|
+
|
1028
|
+
$.fn.tooltip = function ( option ) {
|
1029
|
+
return this.each(function () {
|
1030
|
+
var $this = $(this)
|
1031
|
+
, data = $this.data('tooltip')
|
1032
|
+
, options = typeof option == 'object' && option
|
1033
|
+
if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
|
1034
|
+
if (typeof option == 'string') data[option]()
|
1035
|
+
})
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
$.fn.tooltip.Constructor = Tooltip
|
1039
|
+
|
1040
|
+
$.fn.tooltip.defaults = {
|
1041
|
+
animation: true
|
1042
|
+
, placement: 'top'
|
1043
|
+
, selector: false
|
1044
|
+
, template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
|
1045
|
+
, trigger: 'hover'
|
1046
|
+
, title: ''
|
1047
|
+
, delay: 0
|
1048
|
+
, html: false
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
|
1052
|
+
/* TOOLTIP NO CONFLICT
|
1053
|
+
* =================== */
|
1054
|
+
|
1055
|
+
$.fn.tooltip.noConflict = function () {
|
1056
|
+
$.fn.tooltip = old
|
1057
|
+
return this
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
}(window.jQuery);
|
1061
|
+
/* ===========================================================
|
1062
|
+
* bootstrap-popover.js v2.2.2
|
1063
|
+
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
1064
|
+
* ===========================================================
|
1065
|
+
* Copyright 2012 Twitter, Inc.
|
1066
|
+
*
|
1067
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1068
|
+
* you may not use this file except in compliance with the License.
|
1069
|
+
* You may obtain a copy of the License at
|
1070
|
+
*
|
1071
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1072
|
+
*
|
1073
|
+
* Unless required by applicable law or agreed to in writing, software
|
1074
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1075
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1076
|
+
* See the License for the specific language governing permissions and
|
1077
|
+
* limitations under the License.
|
1078
|
+
* =========================================================== */
|
1079
|
+
|
1080
|
+
|
1081
|
+
!function ($) {
|
1082
|
+
|
1083
|
+
"use strict"; // jshint ;_;
|
1084
|
+
|
1085
|
+
|
1086
|
+
/* POPOVER PUBLIC CLASS DEFINITION
|
1087
|
+
* =============================== */
|
1088
|
+
|
1089
|
+
var Popover = function (element, options) {
|
1090
|
+
this.init('popover', element, options)
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
|
1094
|
+
/* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
|
1095
|
+
========================================== */
|
1096
|
+
|
1097
|
+
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
|
1098
|
+
|
1099
|
+
constructor: Popover
|
1100
|
+
|
1101
|
+
, setContent: function () {
|
1102
|
+
var $tip = this.tip()
|
1103
|
+
, title = this.getTitle()
|
1104
|
+
, content = this.getContent()
|
1105
|
+
|
1106
|
+
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
1107
|
+
$tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
|
1108
|
+
|
1109
|
+
$tip.removeClass('fade top bottom left right in')
|
1110
|
+
}
|
1111
|
+
|
1112
|
+
, hasContent: function () {
|
1113
|
+
return this.getTitle() || this.getContent()
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
, getContent: function () {
|
1117
|
+
var content
|
1118
|
+
, $e = this.$element
|
1119
|
+
, o = this.options
|
1120
|
+
|
1121
|
+
content = $e.attr('data-content')
|
1122
|
+
|| (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
|
1123
|
+
|
1124
|
+
return content
|
1125
|
+
}
|
1126
|
+
|
1127
|
+
, tip: function () {
|
1128
|
+
if (!this.$tip) {
|
1129
|
+
this.$tip = $(this.options.template)
|
1130
|
+
}
|
1131
|
+
return this.$tip
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
, destroy: function () {
|
1135
|
+
this.hide().$element.off('.' + this.type).removeData(this.type)
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
})
|
1139
|
+
|
1140
|
+
|
1141
|
+
/* POPOVER PLUGIN DEFINITION
|
1142
|
+
* ======================= */
|
1143
|
+
|
1144
|
+
var old = $.fn.popover
|
1145
|
+
|
1146
|
+
$.fn.popover = function (option) {
|
1147
|
+
return this.each(function () {
|
1148
|
+
var $this = $(this)
|
1149
|
+
, data = $this.data('popover')
|
1150
|
+
, options = typeof option == 'object' && option
|
1151
|
+
if (!data) $this.data('popover', (data = new Popover(this, options)))
|
1152
|
+
if (typeof option == 'string') data[option]()
|
1153
|
+
})
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
$.fn.popover.Constructor = Popover
|
1157
|
+
|
1158
|
+
$.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
|
1159
|
+
placement: 'right'
|
1160
|
+
, trigger: 'click'
|
1161
|
+
, content: ''
|
1162
|
+
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>'
|
1163
|
+
})
|
1164
|
+
|
1165
|
+
|
1166
|
+
/* POPOVER NO CONFLICT
|
1167
|
+
* =================== */
|
1168
|
+
|
1169
|
+
$.fn.popover.noConflict = function () {
|
1170
|
+
$.fn.popover = old
|
1171
|
+
return this
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
}(window.jQuery);
|
1175
|
+
/* ==========================================================
|
1176
|
+
* bootstrap-affix.js v2.2.2
|
1177
|
+
* http://twitter.github.com/bootstrap/javascript.html#affix
|
1178
|
+
* ==========================================================
|
1179
|
+
* Copyright 2012 Twitter, Inc.
|
1180
|
+
*
|
1181
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1182
|
+
* you may not use this file except in compliance with the License.
|
1183
|
+
* You may obtain a copy of the License at
|
1184
|
+
*
|
1185
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1186
|
+
*
|
1187
|
+
* Unless required by applicable law or agreed to in writing, software
|
1188
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1189
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1190
|
+
* See the License for the specific language governing permissions and
|
1191
|
+
* limitations under the License.
|
1192
|
+
* ========================================================== */
|
1193
|
+
|
1194
|
+
|
1195
|
+
!function ($) {
|
1196
|
+
|
1197
|
+
"use strict"; // jshint ;_;
|
1198
|
+
|
1199
|
+
|
1200
|
+
/* AFFIX CLASS DEFINITION
|
1201
|
+
* ====================== */
|
1202
|
+
|
1203
|
+
var Affix = function (element, options) {
|
1204
|
+
this.options = $.extend({}, $.fn.affix.defaults, options)
|
1205
|
+
this.$window = $(window)
|
1206
|
+
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
1207
|
+
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
1208
|
+
this.$element = $(element)
|
1209
|
+
this.checkPosition()
|
1210
|
+
}
|
1211
|
+
|
1212
|
+
Affix.prototype.checkPosition = function () {
|
1213
|
+
if (!this.$element.is(':visible')) return
|
1214
|
+
|
1215
|
+
var scrollHeight = $(document).height()
|
1216
|
+
, scrollTop = this.$window.scrollTop()
|
1217
|
+
, position = this.$element.offset()
|
1218
|
+
, offset = this.options.offset
|
1219
|
+
, offsetBottom = offset.bottom
|
1220
|
+
, offsetTop = offset.top
|
1221
|
+
, reset = 'affix affix-top affix-bottom'
|
1222
|
+
, affix
|
1223
|
+
|
1224
|
+
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
1225
|
+
if (typeof offsetTop == 'function') offsetTop = offset.top()
|
1226
|
+
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
|
1227
|
+
|
1228
|
+
affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
|
1229
|
+
false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
|
1230
|
+
'bottom' : offsetTop != null && scrollTop <= offsetTop ?
|
1231
|
+
'top' : false
|
1232
|
+
|
1233
|
+
if (this.affixed === affix) return
|
1234
|
+
|
1235
|
+
this.affixed = affix
|
1236
|
+
this.unpin = affix == 'bottom' ? position.top - scrollTop : null
|
1237
|
+
|
1238
|
+
this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
|
1239
|
+
}
|
1240
|
+
|
1241
|
+
|
1242
|
+
/* AFFIX PLUGIN DEFINITION
|
1243
|
+
* ======================= */
|
1244
|
+
|
1245
|
+
var old = $.fn.affix
|
1246
|
+
|
1247
|
+
$.fn.affix = function (option) {
|
1248
|
+
return this.each(function () {
|
1249
|
+
var $this = $(this)
|
1250
|
+
, data = $this.data('affix')
|
1251
|
+
, options = typeof option == 'object' && option
|
1252
|
+
if (!data) $this.data('affix', (data = new Affix(this, options)))
|
1253
|
+
if (typeof option == 'string') data[option]()
|
1254
|
+
})
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
$.fn.affix.Constructor = Affix
|
1258
|
+
|
1259
|
+
$.fn.affix.defaults = {
|
1260
|
+
offset: 0
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
|
1264
|
+
/* AFFIX NO CONFLICT
|
1265
|
+
* ================= */
|
1266
|
+
|
1267
|
+
$.fn.affix.noConflict = function () {
|
1268
|
+
$.fn.affix = old
|
1269
|
+
return this
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
|
1273
|
+
/* AFFIX DATA-API
|
1274
|
+
* ============== */
|
1275
|
+
|
1276
|
+
$(window).on('load', function () {
|
1277
|
+
$('[data-spy="affix"]').each(function () {
|
1278
|
+
var $spy = $(this)
|
1279
|
+
, data = $spy.data()
|
1280
|
+
|
1281
|
+
data.offset = data.offset || {}
|
1282
|
+
|
1283
|
+
data.offsetBottom && (data.offset.bottom = data.offsetBottom)
|
1284
|
+
data.offsetTop && (data.offset.top = data.offsetTop)
|
1285
|
+
|
1286
|
+
$spy.affix(data)
|
1287
|
+
})
|
1288
|
+
})
|
1289
|
+
|
1290
|
+
|
1291
|
+
}(window.jQuery);
|
1292
|
+
/* ==========================================================
|
1293
|
+
* bootstrap-alert.js v2.2.2
|
1294
|
+
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
1295
|
+
* ==========================================================
|
1296
|
+
* Copyright 2012 Twitter, Inc.
|
1297
|
+
*
|
1298
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1299
|
+
* you may not use this file except in compliance with the License.
|
1300
|
+
* You may obtain a copy of the License at
|
1301
|
+
*
|
1302
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1303
|
+
*
|
1304
|
+
* Unless required by applicable law or agreed to in writing, software
|
1305
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1306
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1307
|
+
* See the License for the specific language governing permissions and
|
1308
|
+
* limitations under the License.
|
1309
|
+
* ========================================================== */
|
1310
|
+
|
1311
|
+
|
1312
|
+
!function ($) {
|
1313
|
+
|
1314
|
+
"use strict"; // jshint ;_;
|
1315
|
+
|
1316
|
+
|
1317
|
+
/* ALERT CLASS DEFINITION
|
1318
|
+
* ====================== */
|
1319
|
+
|
1320
|
+
var dismiss = '[data-dismiss="alert"]'
|
1321
|
+
, Alert = function (el) {
|
1322
|
+
$(el).on('click', dismiss, this.close)
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
Alert.prototype.close = function (e) {
|
1326
|
+
var $this = $(this)
|
1327
|
+
, selector = $this.attr('data-target')
|
1328
|
+
, $parent
|
1329
|
+
|
1330
|
+
if (!selector) {
|
1331
|
+
selector = $this.attr('href')
|
1332
|
+
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
$parent = $(selector)
|
1336
|
+
|
1337
|
+
e && e.preventDefault()
|
1338
|
+
|
1339
|
+
$parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())
|
1340
|
+
|
1341
|
+
$parent.trigger(e = $.Event('close'))
|
1342
|
+
|
1343
|
+
if (e.isDefaultPrevented()) return
|
1344
|
+
|
1345
|
+
$parent.removeClass('in')
|
1346
|
+
|
1347
|
+
function removeElement() {
|
1348
|
+
$parent
|
1349
|
+
.trigger('closed')
|
1350
|
+
.remove()
|
1351
|
+
}
|
1352
|
+
|
1353
|
+
$.support.transition && $parent.hasClass('fade') ?
|
1354
|
+
$parent.on($.support.transition.end, removeElement) :
|
1355
|
+
removeElement()
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
|
1359
|
+
/* ALERT PLUGIN DEFINITION
|
1360
|
+
* ======================= */
|
1361
|
+
|
1362
|
+
var old = $.fn.alert
|
1363
|
+
|
1364
|
+
$.fn.alert = function (option) {
|
1365
|
+
return this.each(function () {
|
1366
|
+
var $this = $(this)
|
1367
|
+
, data = $this.data('alert')
|
1368
|
+
if (!data) $this.data('alert', (data = new Alert(this)))
|
1369
|
+
if (typeof option == 'string') data[option].call($this)
|
1370
|
+
})
|
1371
|
+
}
|
1372
|
+
|
1373
|
+
$.fn.alert.Constructor = Alert
|
1374
|
+
|
1375
|
+
|
1376
|
+
/* ALERT NO CONFLICT
|
1377
|
+
* ================= */
|
1378
|
+
|
1379
|
+
$.fn.alert.noConflict = function () {
|
1380
|
+
$.fn.alert = old
|
1381
|
+
return this
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
|
1385
|
+
/* ALERT DATA-API
|
1386
|
+
* ============== */
|
1387
|
+
|
1388
|
+
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
|
1389
|
+
|
1390
|
+
}(window.jQuery);
|
1391
|
+
/* ============================================================
|
1392
|
+
* bootstrap-button.js v2.2.2
|
1393
|
+
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
1394
|
+
* ============================================================
|
1395
|
+
* Copyright 2012 Twitter, Inc.
|
1396
|
+
*
|
1397
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1398
|
+
* you may not use this file except in compliance with the License.
|
1399
|
+
* You may obtain a copy of the License at
|
1400
|
+
*
|
1401
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1402
|
+
*
|
1403
|
+
* Unless required by applicable law or agreed to in writing, software
|
1404
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1405
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1406
|
+
* See the License for the specific language governing permissions and
|
1407
|
+
* limitations under the License.
|
1408
|
+
* ============================================================ */
|
1409
|
+
|
1410
|
+
|
1411
|
+
!function ($) {
|
1412
|
+
|
1413
|
+
"use strict"; // jshint ;_;
|
1414
|
+
|
1415
|
+
|
1416
|
+
/* BUTTON PUBLIC CLASS DEFINITION
|
1417
|
+
* ============================== */
|
1418
|
+
|
1419
|
+
var Button = function (element, options) {
|
1420
|
+
this.$element = $(element)
|
1421
|
+
this.options = $.extend({}, $.fn.button.defaults, options)
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
Button.prototype.setState = function (state) {
|
1425
|
+
var d = 'disabled'
|
1426
|
+
, $el = this.$element
|
1427
|
+
, data = $el.data()
|
1428
|
+
, val = $el.is('input') ? 'val' : 'html'
|
1429
|
+
|
1430
|
+
state = state + 'Text'
|
1431
|
+
data.resetText || $el.data('resetText', $el[val]())
|
1432
|
+
|
1433
|
+
$el[val](data[state] || this.options[state])
|
1434
|
+
|
1435
|
+
// push to event loop to allow forms to submit
|
1436
|
+
setTimeout(function () {
|
1437
|
+
state == 'loadingText' ?
|
1438
|
+
$el.addClass(d).attr(d, d) :
|
1439
|
+
$el.removeClass(d).removeAttr(d)
|
1440
|
+
}, 0)
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
Button.prototype.toggle = function () {
|
1444
|
+
var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
|
1445
|
+
|
1446
|
+
$parent && $parent
|
1447
|
+
.find('.active')
|
1448
|
+
.removeClass('active')
|
1449
|
+
|
1450
|
+
this.$element.toggleClass('active')
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
|
1454
|
+
/* BUTTON PLUGIN DEFINITION
|
1455
|
+
* ======================== */
|
1456
|
+
|
1457
|
+
var old = $.fn.button
|
1458
|
+
|
1459
|
+
$.fn.button = function (option) {
|
1460
|
+
return this.each(function () {
|
1461
|
+
var $this = $(this)
|
1462
|
+
, data = $this.data('button')
|
1463
|
+
, options = typeof option == 'object' && option
|
1464
|
+
if (!data) $this.data('button', (data = new Button(this, options)))
|
1465
|
+
if (option == 'toggle') data.toggle()
|
1466
|
+
else if (option) data.setState(option)
|
1467
|
+
})
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
$.fn.button.defaults = {
|
1471
|
+
loadingText: 'loading...'
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
$.fn.button.Constructor = Button
|
1475
|
+
|
1476
|
+
|
1477
|
+
/* BUTTON NO CONFLICT
|
1478
|
+
* ================== */
|
1479
|
+
|
1480
|
+
$.fn.button.noConflict = function () {
|
1481
|
+
$.fn.button = old
|
1482
|
+
return this
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
|
1486
|
+
/* BUTTON DATA-API
|
1487
|
+
* =============== */
|
1488
|
+
|
1489
|
+
$(document).on('click.button.data-api', '[data-toggle^=button]', function (e) {
|
1490
|
+
var $btn = $(e.target)
|
1491
|
+
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
|
1492
|
+
$btn.button('toggle')
|
1493
|
+
})
|
1494
|
+
|
1495
|
+
}(window.jQuery);
|
1496
|
+
/* =============================================================
|
1497
|
+
* bootstrap-collapse.js v2.2.2
|
1498
|
+
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
1499
|
+
* =============================================================
|
1500
|
+
* Copyright 2012 Twitter, Inc.
|
1501
|
+
*
|
1502
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1503
|
+
* you may not use this file except in compliance with the License.
|
1504
|
+
* You may obtain a copy of the License at
|
1505
|
+
*
|
1506
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1507
|
+
*
|
1508
|
+
* Unless required by applicable law or agreed to in writing, software
|
1509
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1510
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1511
|
+
* See the License for the specific language governing permissions and
|
1512
|
+
* limitations under the License.
|
1513
|
+
* ============================================================ */
|
1514
|
+
|
1515
|
+
|
1516
|
+
!function ($) {
|
1517
|
+
|
1518
|
+
"use strict"; // jshint ;_;
|
1519
|
+
|
1520
|
+
|
1521
|
+
/* COLLAPSE PUBLIC CLASS DEFINITION
|
1522
|
+
* ================================ */
|
1523
|
+
|
1524
|
+
var Collapse = function (element, options) {
|
1525
|
+
this.$element = $(element)
|
1526
|
+
this.options = $.extend({}, $.fn.collapse.defaults, options)
|
1527
|
+
|
1528
|
+
if (this.options.parent) {
|
1529
|
+
this.$parent = $(this.options.parent)
|
1530
|
+
}
|
1531
|
+
|
1532
|
+
this.options.toggle && this.toggle()
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
Collapse.prototype = {
|
1536
|
+
|
1537
|
+
constructor: Collapse
|
1538
|
+
|
1539
|
+
, dimension: function () {
|
1540
|
+
var hasWidth = this.$element.hasClass('width')
|
1541
|
+
return hasWidth ? 'width' : 'height'
|
1542
|
+
}
|
1543
|
+
|
1544
|
+
, show: function () {
|
1545
|
+
var dimension
|
1546
|
+
, scroll
|
1547
|
+
, actives
|
1548
|
+
, hasData
|
1549
|
+
|
1550
|
+
if (this.transitioning) return
|
1551
|
+
|
1552
|
+
dimension = this.dimension()
|
1553
|
+
scroll = $.camelCase(['scroll', dimension].join('-'))
|
1554
|
+
actives = this.$parent && this.$parent.find('> .accordion-group > .in')
|
1555
|
+
|
1556
|
+
if (actives && actives.length) {
|
1557
|
+
hasData = actives.data('collapse')
|
1558
|
+
if (hasData && hasData.transitioning) return
|
1559
|
+
actives.collapse('hide')
|
1560
|
+
hasData || actives.data('collapse', null)
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
this.$element[dimension](0)
|
1564
|
+
this.transition('addClass', $.Event('show'), 'shown')
|
1565
|
+
$.support.transition && this.$element[dimension](this.$element[0][scroll])
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
, hide: function () {
|
1569
|
+
var dimension
|
1570
|
+
if (this.transitioning) return
|
1571
|
+
dimension = this.dimension()
|
1572
|
+
this.reset(this.$element[dimension]())
|
1573
|
+
this.transition('removeClass', $.Event('hide'), 'hidden')
|
1574
|
+
this.$element[dimension](0)
|
1575
|
+
}
|
1576
|
+
|
1577
|
+
, reset: function (size) {
|
1578
|
+
var dimension = this.dimension()
|
1579
|
+
|
1580
|
+
this.$element
|
1581
|
+
.removeClass('collapse')
|
1582
|
+
[dimension](size || 'auto')
|
1583
|
+
[0].offsetWidth
|
1584
|
+
|
1585
|
+
this.$element[size !== null ? 'addClass' : 'removeClass']('collapse')
|
1586
|
+
|
1587
|
+
return this
|
1588
|
+
}
|
1589
|
+
|
1590
|
+
, transition: function (method, startEvent, completeEvent) {
|
1591
|
+
var that = this
|
1592
|
+
, complete = function () {
|
1593
|
+
if (startEvent.type == 'show') that.reset()
|
1594
|
+
that.transitioning = 0
|
1595
|
+
that.$element.trigger(completeEvent)
|
1596
|
+
}
|
1597
|
+
|
1598
|
+
this.$element.trigger(startEvent)
|
1599
|
+
|
1600
|
+
if (startEvent.isDefaultPrevented()) return
|
1601
|
+
|
1602
|
+
this.transitioning = 1
|
1603
|
+
|
1604
|
+
this.$element[method]('in')
|
1605
|
+
|
1606
|
+
$.support.transition && this.$element.hasClass('collapse') ?
|
1607
|
+
this.$element.one($.support.transition.end, complete) :
|
1608
|
+
complete()
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
, toggle: function () {
|
1612
|
+
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
1613
|
+
}
|
1614
|
+
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
|
1618
|
+
/* COLLAPSE PLUGIN DEFINITION
|
1619
|
+
* ========================== */
|
1620
|
+
|
1621
|
+
var old = $.fn.collapse
|
1622
|
+
|
1623
|
+
$.fn.collapse = function (option) {
|
1624
|
+
return this.each(function () {
|
1625
|
+
var $this = $(this)
|
1626
|
+
, data = $this.data('collapse')
|
1627
|
+
, options = typeof option == 'object' && option
|
1628
|
+
if (!data) $this.data('collapse', (data = new Collapse(this, options)))
|
1629
|
+
if (typeof option == 'string') data[option]()
|
1630
|
+
})
|
1631
|
+
}
|
1632
|
+
|
1633
|
+
$.fn.collapse.defaults = {
|
1634
|
+
toggle: true
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
$.fn.collapse.Constructor = Collapse
|
1638
|
+
|
1639
|
+
|
1640
|
+
/* COLLAPSE NO CONFLICT
|
1641
|
+
* ==================== */
|
1642
|
+
|
1643
|
+
$.fn.collapse.noConflict = function () {
|
1644
|
+
$.fn.collapse = old
|
1645
|
+
return this
|
1646
|
+
}
|
1647
|
+
|
1648
|
+
|
1649
|
+
/* COLLAPSE DATA-API
|
1650
|
+
* ================= */
|
1651
|
+
|
1652
|
+
$(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) {
|
1653
|
+
var $this = $(this), href
|
1654
|
+
, target = $this.attr('data-target')
|
1655
|
+
|| e.preventDefault()
|
1656
|
+
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|
1657
|
+
, option = $(target).data('collapse') ? 'toggle' : $this.data()
|
1658
|
+
$this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
|
1659
|
+
$(target).collapse(option)
|
1660
|
+
})
|
1661
|
+
|
1662
|
+
}(window.jQuery);
|
1663
|
+
/* ==========================================================
|
1664
|
+
* bootstrap-carousel.js v2.2.2
|
1665
|
+
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
1666
|
+
* ==========================================================
|
1667
|
+
* Copyright 2012 Twitter, Inc.
|
1668
|
+
*
|
1669
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1670
|
+
* you may not use this file except in compliance with the License.
|
1671
|
+
* You may obtain a copy of the License at
|
1672
|
+
*
|
1673
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1674
|
+
*
|
1675
|
+
* Unless required by applicable law or agreed to in writing, software
|
1676
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1677
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1678
|
+
* See the License for the specific language governing permissions and
|
1679
|
+
* limitations under the License.
|
1680
|
+
* ========================================================== */
|
1681
|
+
|
1682
|
+
|
1683
|
+
!function ($) {
|
1684
|
+
|
1685
|
+
"use strict"; // jshint ;_;
|
1686
|
+
|
1687
|
+
|
1688
|
+
/* CAROUSEL CLASS DEFINITION
|
1689
|
+
* ========================= */
|
1690
|
+
|
1691
|
+
var Carousel = function (element, options) {
|
1692
|
+
this.$element = $(element)
|
1693
|
+
this.options = options
|
1694
|
+
this.options.pause == 'hover' && this.$element
|
1695
|
+
.on('mouseenter', $.proxy(this.pause, this))
|
1696
|
+
.on('mouseleave', $.proxy(this.cycle, this))
|
1697
|
+
}
|
1698
|
+
|
1699
|
+
Carousel.prototype = {
|
1700
|
+
|
1701
|
+
cycle: function (e) {
|
1702
|
+
if (!e) this.paused = false
|
1703
|
+
this.options.interval
|
1704
|
+
&& !this.paused
|
1705
|
+
&& (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
|
1706
|
+
return this
|
1707
|
+
}
|
1708
|
+
|
1709
|
+
, to: function (pos) {
|
1710
|
+
var $active = this.$element.find('.item.active')
|
1711
|
+
, children = $active.parent().children()
|
1712
|
+
, activePos = children.index($active)
|
1713
|
+
, that = this
|
1714
|
+
|
1715
|
+
if (pos > (children.length - 1) || pos < 0) return
|
1716
|
+
|
1717
|
+
if (this.sliding) {
|
1718
|
+
return this.$element.one('slid', function () {
|
1719
|
+
that.to(pos)
|
1720
|
+
})
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
if (activePos == pos) {
|
1724
|
+
return this.pause().cycle()
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos]))
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
, pause: function (e) {
|
1731
|
+
if (!e) this.paused = true
|
1732
|
+
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
1733
|
+
this.$element.trigger($.support.transition.end)
|
1734
|
+
this.cycle()
|
1735
|
+
}
|
1736
|
+
clearInterval(this.interval)
|
1737
|
+
this.interval = null
|
1738
|
+
return this
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
, next: function () {
|
1742
|
+
if (this.sliding) return
|
1743
|
+
return this.slide('next')
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
, prev: function () {
|
1747
|
+
if (this.sliding) return
|
1748
|
+
return this.slide('prev')
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
, slide: function (type, next) {
|
1752
|
+
var $active = this.$element.find('.item.active')
|
1753
|
+
, $next = next || $active[type]()
|
1754
|
+
, isCycling = this.interval
|
1755
|
+
, direction = type == 'next' ? 'left' : 'right'
|
1756
|
+
, fallback = type == 'next' ? 'first' : 'last'
|
1757
|
+
, that = this
|
1758
|
+
, e
|
1759
|
+
|
1760
|
+
this.sliding = true
|
1761
|
+
|
1762
|
+
isCycling && this.pause()
|
1763
|
+
|
1764
|
+
$next = $next.length ? $next : this.$element.find('.item')[fallback]()
|
1765
|
+
|
1766
|
+
e = $.Event('slide', {
|
1767
|
+
relatedTarget: $next[0]
|
1768
|
+
})
|
1769
|
+
|
1770
|
+
if ($next.hasClass('active')) return
|
1771
|
+
|
1772
|
+
if ($.support.transition && this.$element.hasClass('slide')) {
|
1773
|
+
this.$element.trigger(e)
|
1774
|
+
if (e.isDefaultPrevented()) return
|
1775
|
+
$next.addClass(type)
|
1776
|
+
$next[0].offsetWidth // force reflow
|
1777
|
+
$active.addClass(direction)
|
1778
|
+
$next.addClass(direction)
|
1779
|
+
this.$element.one($.support.transition.end, function () {
|
1780
|
+
$next.removeClass([type, direction].join(' ')).addClass('active')
|
1781
|
+
$active.removeClass(['active', direction].join(' '))
|
1782
|
+
that.sliding = false
|
1783
|
+
setTimeout(function () { that.$element.trigger('slid') }, 0)
|
1784
|
+
})
|
1785
|
+
} else {
|
1786
|
+
this.$element.trigger(e)
|
1787
|
+
if (e.isDefaultPrevented()) return
|
1788
|
+
$active.removeClass('active')
|
1789
|
+
$next.addClass('active')
|
1790
|
+
this.sliding = false
|
1791
|
+
this.$element.trigger('slid')
|
1792
|
+
}
|
1793
|
+
|
1794
|
+
isCycling && this.cycle()
|
1795
|
+
|
1796
|
+
return this
|
1797
|
+
}
|
1798
|
+
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
|
1802
|
+
/* CAROUSEL PLUGIN DEFINITION
|
1803
|
+
* ========================== */
|
1804
|
+
|
1805
|
+
var old = $.fn.carousel
|
1806
|
+
|
1807
|
+
$.fn.carousel = function (option) {
|
1808
|
+
return this.each(function () {
|
1809
|
+
var $this = $(this)
|
1810
|
+
, data = $this.data('carousel')
|
1811
|
+
, options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option)
|
1812
|
+
, action = typeof option == 'string' ? option : options.slide
|
1813
|
+
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
|
1814
|
+
if (typeof option == 'number') data.to(option)
|
1815
|
+
else if (action) data[action]()
|
1816
|
+
else if (options.interval) data.cycle()
|
1817
|
+
})
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
$.fn.carousel.defaults = {
|
1821
|
+
interval: 5000
|
1822
|
+
, pause: 'hover'
|
1823
|
+
}
|
1824
|
+
|
1825
|
+
$.fn.carousel.Constructor = Carousel
|
1826
|
+
|
1827
|
+
|
1828
|
+
/* CAROUSEL NO CONFLICT
|
1829
|
+
* ==================== */
|
1830
|
+
|
1831
|
+
$.fn.carousel.noConflict = function () {
|
1832
|
+
$.fn.carousel = old
|
1833
|
+
return this
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
/* CAROUSEL DATA-API
|
1837
|
+
* ================= */
|
1838
|
+
|
1839
|
+
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
|
1840
|
+
var $this = $(this), href
|
1841
|
+
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
1842
|
+
, options = $.extend({}, $target.data(), $this.data())
|
1843
|
+
$target.carousel(options)
|
1844
|
+
e.preventDefault()
|
1845
|
+
})
|
1846
|
+
|
1847
|
+
}(window.jQuery);
|
1848
|
+
/* =============================================================
|
1849
|
+
* bootstrap-typeahead.js v2.2.2
|
1850
|
+
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
1851
|
+
* =============================================================
|
1852
|
+
* Copyright 2012 Twitter, Inc.
|
1853
|
+
*
|
1854
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1855
|
+
* you may not use this file except in compliance with the License.
|
1856
|
+
* You may obtain a copy of the License at
|
1857
|
+
*
|
1858
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1859
|
+
*
|
1860
|
+
* Unless required by applicable law or agreed to in writing, software
|
1861
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1862
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1863
|
+
* See the License for the specific language governing permissions and
|
1864
|
+
* limitations under the License.
|
1865
|
+
* ============================================================ */
|
1866
|
+
|
1867
|
+
|
1868
|
+
!function($){
|
1869
|
+
|
1870
|
+
"use strict"; // jshint ;_;
|
1871
|
+
|
1872
|
+
|
1873
|
+
/* TYPEAHEAD PUBLIC CLASS DEFINITION
|
1874
|
+
* ================================= */
|
1875
|
+
|
1876
|
+
var Typeahead = function (element, options) {
|
1877
|
+
this.$element = $(element)
|
1878
|
+
this.options = $.extend({}, $.fn.typeahead.defaults, options)
|
1879
|
+
this.matcher = this.options.matcher || this.matcher
|
1880
|
+
this.sorter = this.options.sorter || this.sorter
|
1881
|
+
this.highlighter = this.options.highlighter || this.highlighter
|
1882
|
+
this.updater = this.options.updater || this.updater
|
1883
|
+
this.source = this.options.source
|
1884
|
+
this.$menu = $(this.options.menu)
|
1885
|
+
this.shown = false
|
1886
|
+
this.listen()
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
Typeahead.prototype = {
|
1890
|
+
|
1891
|
+
constructor: Typeahead
|
1892
|
+
|
1893
|
+
, select: function () {
|
1894
|
+
var val = this.$menu.find('.active').attr('data-value')
|
1895
|
+
this.$element
|
1896
|
+
.val(this.updater(val))
|
1897
|
+
.change()
|
1898
|
+
return this.hide()
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
, updater: function (item) {
|
1902
|
+
return item
|
1903
|
+
}
|
1904
|
+
|
1905
|
+
, show: function () {
|
1906
|
+
var pos = $.extend({}, this.$element.position(), {
|
1907
|
+
height: this.$element[0].offsetHeight
|
1908
|
+
})
|
1909
|
+
|
1910
|
+
this.$menu
|
1911
|
+
.insertAfter(this.$element)
|
1912
|
+
.css({
|
1913
|
+
top: pos.top + pos.height
|
1914
|
+
, left: pos.left
|
1915
|
+
})
|
1916
|
+
.show()
|
1917
|
+
|
1918
|
+
this.shown = true
|
1919
|
+
return this
|
1920
|
+
}
|
1921
|
+
|
1922
|
+
, hide: function () {
|
1923
|
+
this.$menu.hide()
|
1924
|
+
this.shown = false
|
1925
|
+
return this
|
1926
|
+
}
|
1927
|
+
|
1928
|
+
, lookup: function (event) {
|
1929
|
+
var items
|
1930
|
+
|
1931
|
+
this.query = this.$element.val()
|
1932
|
+
|
1933
|
+
if (!this.query || this.query.length < this.options.minLength) {
|
1934
|
+
return this.shown ? this.hide() : this
|
1935
|
+
}
|
1936
|
+
|
1937
|
+
items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source
|
1938
|
+
|
1939
|
+
return items ? this.process(items) : this
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
, process: function (items) {
|
1943
|
+
var that = this
|
1944
|
+
|
1945
|
+
items = $.grep(items, function (item) {
|
1946
|
+
return that.matcher(item)
|
1947
|
+
})
|
1948
|
+
|
1949
|
+
items = this.sorter(items)
|
1950
|
+
|
1951
|
+
if (!items.length) {
|
1952
|
+
return this.shown ? this.hide() : this
|
1953
|
+
}
|
1954
|
+
|
1955
|
+
return this.render(items.slice(0, this.options.items)).show()
|
1956
|
+
}
|
1957
|
+
|
1958
|
+
, matcher: function (item) {
|
1959
|
+
return ~item.toLowerCase().indexOf(this.query.toLowerCase())
|
1960
|
+
}
|
1961
|
+
|
1962
|
+
, sorter: function (items) {
|
1963
|
+
var beginswith = []
|
1964
|
+
, caseSensitive = []
|
1965
|
+
, caseInsensitive = []
|
1966
|
+
, item
|
1967
|
+
|
1968
|
+
while (item = items.shift()) {
|
1969
|
+
if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
|
1970
|
+
else if (~item.indexOf(this.query)) caseSensitive.push(item)
|
1971
|
+
else caseInsensitive.push(item)
|
1972
|
+
}
|
1973
|
+
|
1974
|
+
return beginswith.concat(caseSensitive, caseInsensitive)
|
1975
|
+
}
|
1976
|
+
|
1977
|
+
, highlighter: function (item) {
|
1978
|
+
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&')
|
1979
|
+
return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
|
1980
|
+
return '<strong>' + match + '</strong>'
|
1981
|
+
})
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
, render: function (items) {
|
1985
|
+
var that = this
|
1986
|
+
|
1987
|
+
items = $(items).map(function (i, item) {
|
1988
|
+
i = $(that.options.item).attr('data-value', item)
|
1989
|
+
i.find('a').html(that.highlighter(item))
|
1990
|
+
return i[0]
|
1991
|
+
})
|
1992
|
+
|
1993
|
+
items.first().addClass('active')
|
1994
|
+
this.$menu.html(items)
|
1995
|
+
return this
|
1996
|
+
}
|
1997
|
+
|
1998
|
+
, next: function (event) {
|
1999
|
+
var active = this.$menu.find('.active').removeClass('active')
|
2000
|
+
, next = active.next()
|
2001
|
+
|
2002
|
+
if (!next.length) {
|
2003
|
+
next = $(this.$menu.find('li')[0])
|
2004
|
+
}
|
2005
|
+
|
2006
|
+
next.addClass('active')
|
2007
|
+
}
|
2008
|
+
|
2009
|
+
, prev: function (event) {
|
2010
|
+
var active = this.$menu.find('.active').removeClass('active')
|
2011
|
+
, prev = active.prev()
|
2012
|
+
|
2013
|
+
if (!prev.length) {
|
2014
|
+
prev = this.$menu.find('li').last()
|
2015
|
+
}
|
2016
|
+
|
2017
|
+
prev.addClass('active')
|
2018
|
+
}
|
2019
|
+
|
2020
|
+
, listen: function () {
|
2021
|
+
this.$element
|
2022
|
+
.on('blur', $.proxy(this.blur, this))
|
2023
|
+
.on('keypress', $.proxy(this.keypress, this))
|
2024
|
+
.on('keyup', $.proxy(this.keyup, this))
|
2025
|
+
|
2026
|
+
if (this.eventSupported('keydown')) {
|
2027
|
+
this.$element.on('keydown', $.proxy(this.keydown, this))
|
2028
|
+
}
|
2029
|
+
|
2030
|
+
this.$menu
|
2031
|
+
.on('click', $.proxy(this.click, this))
|
2032
|
+
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
2033
|
+
}
|
2034
|
+
|
2035
|
+
, eventSupported: function(eventName) {
|
2036
|
+
var isSupported = eventName in this.$element
|
2037
|
+
if (!isSupported) {
|
2038
|
+
this.$element.setAttribute(eventName, 'return;')
|
2039
|
+
isSupported = typeof this.$element[eventName] === 'function'
|
2040
|
+
}
|
2041
|
+
return isSupported
|
2042
|
+
}
|
2043
|
+
|
2044
|
+
, move: function (e) {
|
2045
|
+
if (!this.shown) return
|
2046
|
+
|
2047
|
+
switch(e.keyCode) {
|
2048
|
+
case 9: // tab
|
2049
|
+
case 13: // enter
|
2050
|
+
case 27: // escape
|
2051
|
+
e.preventDefault()
|
2052
|
+
break
|
2053
|
+
|
2054
|
+
case 38: // up arrow
|
2055
|
+
e.preventDefault()
|
2056
|
+
this.prev()
|
2057
|
+
break
|
2058
|
+
|
2059
|
+
case 40: // down arrow
|
2060
|
+
e.preventDefault()
|
2061
|
+
this.next()
|
2062
|
+
break
|
2063
|
+
}
|
2064
|
+
|
2065
|
+
e.stopPropagation()
|
2066
|
+
}
|
2067
|
+
|
2068
|
+
, keydown: function (e) {
|
2069
|
+
this.suppressKeyPressRepeat = ~$.inArray(e.keyCode, [40,38,9,13,27])
|
2070
|
+
this.move(e)
|
2071
|
+
}
|
2072
|
+
|
2073
|
+
, keypress: function (e) {
|
2074
|
+
if (this.suppressKeyPressRepeat) return
|
2075
|
+
this.move(e)
|
2076
|
+
}
|
2077
|
+
|
2078
|
+
, keyup: function (e) {
|
2079
|
+
switch(e.keyCode) {
|
2080
|
+
case 40: // down arrow
|
2081
|
+
case 38: // up arrow
|
2082
|
+
case 16: // shift
|
2083
|
+
case 17: // ctrl
|
2084
|
+
case 18: // alt
|
2085
|
+
break
|
2086
|
+
|
2087
|
+
case 9: // tab
|
2088
|
+
case 13: // enter
|
2089
|
+
if (!this.shown) return
|
2090
|
+
this.select()
|
2091
|
+
break
|
2092
|
+
|
2093
|
+
case 27: // escape
|
2094
|
+
if (!this.shown) return
|
2095
|
+
this.hide()
|
2096
|
+
break
|
2097
|
+
|
2098
|
+
default:
|
2099
|
+
this.lookup()
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
e.stopPropagation()
|
2103
|
+
e.preventDefault()
|
2104
|
+
}
|
2105
|
+
|
2106
|
+
, blur: function (e) {
|
2107
|
+
var that = this
|
2108
|
+
setTimeout(function () { that.hide() }, 150)
|
2109
|
+
}
|
2110
|
+
|
2111
|
+
, click: function (e) {
|
2112
|
+
e.stopPropagation()
|
2113
|
+
e.preventDefault()
|
2114
|
+
this.select()
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
, mouseenter: function (e) {
|
2118
|
+
this.$menu.find('.active').removeClass('active')
|
2119
|
+
$(e.currentTarget).addClass('active')
|
2120
|
+
}
|
2121
|
+
|
2122
|
+
}
|
2123
|
+
|
2124
|
+
|
2125
|
+
/* TYPEAHEAD PLUGIN DEFINITION
|
2126
|
+
* =========================== */
|
2127
|
+
|
2128
|
+
var old = $.fn.typeahead
|
2129
|
+
|
2130
|
+
$.fn.typeahead = function (option) {
|
2131
|
+
return this.each(function () {
|
2132
|
+
var $this = $(this)
|
2133
|
+
, data = $this.data('typeahead')
|
2134
|
+
, options = typeof option == 'object' && option
|
2135
|
+
if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
|
2136
|
+
if (typeof option == 'string') data[option]()
|
2137
|
+
})
|
2138
|
+
}
|
2139
|
+
|
2140
|
+
$.fn.typeahead.defaults = {
|
2141
|
+
source: []
|
2142
|
+
, items: 8
|
2143
|
+
, menu: '<ul class="typeahead dropdown-menu"></ul>'
|
2144
|
+
, item: '<li><a href="#"></a></li>'
|
2145
|
+
, minLength: 1
|
2146
|
+
}
|
2147
|
+
|
2148
|
+
$.fn.typeahead.Constructor = Typeahead
|
2149
|
+
|
2150
|
+
|
2151
|
+
/* TYPEAHEAD NO CONFLICT
|
2152
|
+
* =================== */
|
2153
|
+
|
2154
|
+
$.fn.typeahead.noConflict = function () {
|
2155
|
+
$.fn.typeahead = old
|
2156
|
+
return this
|
2157
|
+
}
|
2158
|
+
|
2159
|
+
|
2160
|
+
/* TYPEAHEAD DATA-API
|
2161
|
+
* ================== */
|
2162
|
+
|
2163
|
+
$(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
2164
|
+
var $this = $(this)
|
2165
|
+
if ($this.data('typeahead')) return
|
2166
|
+
e.preventDefault()
|
2167
|
+
$this.typeahead($this.data())
|
2168
|
+
})
|
2169
|
+
|
2170
|
+
}(window.jQuery);
|