typus 3.1.0.rc8 → 3.1.0.rc9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +1 -1
- data/app/controllers/admin/resources_controller.rb +29 -13
- data/app/helpers/admin/resources/data_types/datetime_helper.rb +2 -0
- data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +1 -2
- data/app/helpers/admin/resources/data_types/float_helper.rb +0 -1
- data/app/helpers/admin/resources/data_types/paperclip_helper.rb +11 -13
- data/app/helpers/admin/resources/data_types/string_helper.rb +2 -0
- data/app/helpers/admin/resources/filters_helper.rb +14 -16
- data/app/helpers/admin/resources/relationships_helper.rb +1 -5
- data/app/helpers/admin/resources_helper.rb +1 -1
- data/app/mailers/admin/mailer.rb +1 -2
- data/app/themes/default/assets/javascripts/typus.js +8 -0
- data/app/{assets → themes/default/assets}/javascripts/typus/application.js +0 -1
- data/app/{assets → themes/default/assets}/javascripts/typus/jquery.application.js +0 -0
- data/app/{assets → themes/default/assets}/stylesheets/typus.css +2 -1
- data/app/{assets → themes/default/assets}/stylesheets/typus/application.css +0 -0
- data/app/{assets → themes/default/assets}/stylesheets/typus/pagination.css +0 -0
- data/app/{assets → themes/default/assets}/stylesheets/typus/reset.css +0 -0
- data/app/{assets → themes/default/assets}/stylesheets/typus/screen.css +0 -0
- data/app/{views → themes/default/views}/admin/account/forgot_password.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/account/new.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/base/user_guide.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/dashboard/_applications.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/dashboard/_sidebar.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/dashboard/show.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/dashboard/styles.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/mailer/reset_password_link.text.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/_edit.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/_form.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/_index.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/_new.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/_show.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/edit.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/index.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/new.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/resources/show.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/session/new.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/shared/_head.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_belongs_to.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
- data/app/{views → themes/default/views}/admin/templates/_boolean.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_date.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_datetime.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_dragonfly.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_dragonfly_preview.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_has_n.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_has_one.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_paperclip.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_paperclip_preview.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_password.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_profile_sidebar.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_selector.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_string.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_string_with_preview.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_text.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_text_with_ckeditor.html.erb +1 -1
- data/app/{views → themes/default/views}/admin/templates/_text_with_ckeditor_and_assets.html.erb +1 -1
- data/app/{views → themes/default/views}/admin/templates/_time.html.erb +0 -0
- data/app/{views → themes/default/views}/admin/templates/_tree.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/base/_apps.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/base/_flash_message.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/base/_header.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/base/_login_info.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/dashboard/_resources.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_actions.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_errors.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_filters.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_search.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_sidebar.html.erb +0 -0
- data/app/{views → themes/default/views}/helpers/admin/resources/_table.html.erb +0 -0
- data/app/{views → themes/default/views}/layouts/admin/base.html.erb +0 -0
- data/app/{views → themes/default/views}/layouts/admin/headless.html.erb +0 -0
- data/app/{views → themes/default/views}/layouts/admin/session.html.erb +0 -0
- data/config/locales/typus.pt-PT.models.yml +17 -0
- data/config/locales/typus.pt-PT.yml +83 -0
- data/lib/typus.rb +3 -2
- data/lib/typus/controller/associations.rb +1 -1
- data/lib/typus/controller/format.rb +1 -1
- data/lib/typus/engine.rb +2 -1
- data/lib/typus/orm/base.rb +1 -1
- data/lib/typus/version.rb +1 -1
- data/typus.gemspec +1 -1
- data/{app → vendor}/assets/images/blank.gif +0 -0
- data/{app → vendor}/assets/images/fancy_close.png +0 -0
- data/{app → vendor}/assets/images/fancy_loading.png +0 -0
- data/{app → vendor}/assets/images/fancy_nav_left.png +0 -0
- data/{app → vendor}/assets/images/fancy_nav_right.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_e.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_n.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_ne.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_nw.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_s.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_se.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_sw.png +0 -0
- data/{app → vendor}/assets/images/fancy_shadow_w.png +0 -0
- data/{app → vendor}/assets/images/fancy_title_left.png +0 -0
- data/{app → vendor}/assets/images/fancy_title_main.png +0 -0
- data/{app → vendor}/assets/images/fancy_title_over.png +0 -0
- data/{app → vendor}/assets/images/fancy_title_right.png +0 -0
- data/{app → vendor}/assets/images/fancybox-x.png +0 -0
- data/{app → vendor}/assets/images/fancybox-y.png +0 -0
- data/{app → vendor}/assets/images/fancybox.png +0 -0
- data/{app/assets/vendor/jquery.fancybox-1.3.4/fancybox → vendor/assets/javascripts}/jquery.fancybox-1.3.4.pack.js +0 -0
- data/{app/assets/javascripts/typus → vendor/assets/javascripts}/jquery.rails.autocomplete.js +0 -0
- data/{app/assets/javascripts/typus → vendor/assets/javascripts}/jquery.searchField.js +0 -0
- data/{app/assets/vendor/jquery-tokeninput/js → vendor/assets/javascripts}/jquery.tokeninput.js +0 -0
- data/{app/assets/vendor/jquery.fancybox-1.3.4/fancybox → vendor/assets/stylesheets}/jquery.fancybox-1.3.4.css +0 -0
- data/{app/assets/vendor/jquery-tokeninput/css → vendor/assets/stylesheets}/token-input.css +0 -0
- metadata +175 -219
- data/app/assets/javascripts/typus.js +0 -7
- data/app/assets/vendor/jquery-tokeninput/css/token-input-facebook.css +0 -122
- data/app/assets/vendor/jquery-tokeninput/css/token-input-mac.css +0 -204
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/jquery-ui-1.8.12.custom.css +0 -578
- data/app/assets/vendor/jquery-ui-1.8.12.custom/index.html +0 -367
- data/app/assets/vendor/jquery-ui-1.8.12.custom/js/jquery-ui-1.8.12.custom.min.js +0 -783
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png +0 -0
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js +0 -72
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js +0 -1156
- data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -14
@@ -1,14 +0,0 @@
|
|
1
|
-
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
|
2
|
-
* Licensed under the MIT License (LICENSE.txt).
|
3
|
-
*
|
4
|
-
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
|
5
|
-
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
|
6
|
-
* Thanks to: Seamus Leahy for adding deltaX and deltaY
|
7
|
-
*
|
8
|
-
* Version: 3.0.4
|
9
|
-
*
|
10
|
-
* Requires: 1.2.2+
|
11
|
-
*/
|
12
|
-
|
13
|
-
(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
|
14
|
-
f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
|