padrino-admin 0.8.5 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +40 -84
- data/VERSION +1 -1
- data/lib/padrino-admin.rb +3 -20
- data/lib/padrino-admin/access_control.rb +78 -326
- data/lib/padrino-admin/generators/actions.rb +6 -26
- data/lib/padrino-admin/generators/admin_app.rb +40 -11
- data/lib/padrino-admin/generators/admin_page.rb +11 -17
- data/lib/padrino-admin/generators/orm.rb +85 -0
- data/lib/padrino-admin/generators/templates/account/activerecord.rb.tt +43 -0
- data/lib/padrino-admin/generators/templates/account/datamapper.rb.tt +54 -0
- data/lib/padrino-admin/generators/templates/{page/db → account}/seeds.rb.tt +5 -6
- data/lib/padrino-admin/generators/{app/app.rb.tt → templates/app/app.rb} +2 -10
- data/lib/padrino-admin/generators/templates/app/controllers/base.rb +7 -0
- data/lib/padrino-admin/generators/{app → templates/app}/controllers/sessions.rb +6 -6
- data/lib/padrino-admin/generators/templates/assets/stylesheets/base.css +370 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css +364 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css +290 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css +301 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css +287 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css +373 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css +305 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/kathleene/style.css +279 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css +345 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css +269 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css +302 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css +281 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/warehouse/style.css +391 -0
- data/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt +13 -0
- data/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt +17 -0
- data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +44 -0
- data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +46 -0
- data/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt +11 -0
- data/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt +18 -0
- data/lib/padrino-admin/generators/templates/erb/page/index.erb.tt +36 -0
- data/lib/padrino-admin/generators/templates/erb/page/new.erb.tt +17 -0
- data/lib/padrino-admin/generators/templates/page/controller.rb.tt +32 -22
- data/lib/padrino-admin/helpers/authentication_helpers.rb +8 -9
- data/lib/padrino-admin/helpers/view_helpers.rb +20 -338
- data/lib/padrino-admin/locale/admin/de.yml +15 -49
- data/lib/padrino-admin/locale/admin/en.yml +12 -50
- data/lib/padrino-admin/locale/admin/it.yml +15 -50
- data/padrino-admin.gemspec +40 -321
- data/test/fixtures/data_mapper.rb +56 -7
- data/test/generators/test_admin_app_generator.rb +17 -16
- data/test/generators/test_admin_page_generator.rb +12 -16
- data/test/test_admin_application.rb +193 -12
- metadata +33 -314
- data/lib/padrino-admin/column_store.rb +0 -156
- data/lib/padrino-admin/config.rb +0 -36
- data/lib/padrino-admin/generators/admin_uploader.rb +0 -88
- data/lib/padrino-admin/generators/app/controllers/accounts.rb +0 -37
- data/lib/padrino-admin/generators/app/controllers/base.rb +0 -11
- data/lib/padrino-admin/generators/app/controllers/javascripts.rb +0 -10
- data/lib/padrino-admin/generators/app/views/accounts/_form.haml +0 -24
- data/lib/padrino-admin/generators/app/views/accounts/edit.haml +0 -3
- data/lib/padrino-admin/generators/app/views/accounts/grid.js.erb +0 -9
- data/lib/padrino-admin/generators/app/views/accounts/new.haml +0 -3
- data/lib/padrino-admin/generators/app/views/accounts/store.jml +0 -7
- data/lib/padrino-admin/generators/app/views/base/dashboard.haml +0 -3
- data/lib/padrino-admin/generators/app/views/base/index.haml +0 -19
- data/lib/padrino-admin/generators/app/views/javascripts/admin.js.erb +0 -490
- data/lib/padrino-admin/generators/app/views/javascripts/locale.js.erb +0 -135
- data/lib/padrino-admin/generators/app/views/sessions/new.haml +0 -26
- data/lib/padrino-admin/generators/assets/flash/charts.swf +0 -0
- data/lib/padrino-admin/generators/assets/flash/clippy.swf +0 -0
- data/lib/padrino-admin/generators/assets/flash/expressinstall.swf +0 -0
- data/lib/padrino-admin/generators/assets/flash/swfupload.swf +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/back.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/background.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-content.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-hd-slate.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-hd.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-intro.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-login.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-menu-slate.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg-menu.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/bg.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/btn-login.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/cancel.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/categories.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/close.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/close.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/delete.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/download.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/duplicate.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/edit.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/export.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/hd-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/image.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/loader.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/logo-loader.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/logo-small.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/new.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/no-image.png +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/preview.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/print.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/save.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/support.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/admin/up.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/corners-blue.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/corners.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/l-blue.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/l.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/r-blue.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/r.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/tb-blue.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/box/tb.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/arrow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/btn.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/group-cs.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/group-lr.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/group-tb.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow-b-noline.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow-b.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow-bo.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow-noline.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow-o.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/button/s-arrow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/dd/drop-add.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/dd/drop-no.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/dd/drop-yes.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/editor/tb-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/checkbox.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/clear-trigger.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/clear-trigger.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/date-trigger.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/date-trigger.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/error-tip-corners.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/exclamation.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/radio.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/search-trigger.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/search-trigger.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/text-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/trigger-tpl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/trigger.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/form/trigger.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/gradient-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/Thumbs.db +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/arrow-left-white.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/arrow-right-white.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/col-move-bottom.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/col-move-top.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/columns.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/dirty.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/done.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/drop-no.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/drop-yes.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/footer-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-blue-hd.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-blue-split.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-hrow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-loading.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-split.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid-vista-hd.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid3-hd-btn.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid3-hrow-over.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid3-hrow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid3-special-col-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/group-by.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/group-expand-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hd-pop.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-asc.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-desc.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-lock.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-lock.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-unlock.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/hmenu-unlock.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/invalid_line.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/loading.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/mso-hd.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/nowait.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-first-disabled.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-first.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-last-disabled.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-last.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-next-disabled.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-next.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-prev-disabled.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/page-prev.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/pick-button.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/refresh.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/row-check-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/row-expand-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/row-over.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/row-sel.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/sort-hd.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/sort_asc.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/sort_desc.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/grid/wait.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/collapse.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/expand.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/gradient-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/mini-bottom.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/mini-left.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/mini-right.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/mini-top.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/ns-collapse.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/ns-expand.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/panel-close.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/panel-title-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/panel-title-light-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/stick.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/stuck.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/tab-close-on.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/layout/tab-close.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/checked.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/group-checked.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/item-over.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/menu-parent.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/menu.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/menu/unchecked.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/corners-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/left-right.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/light-hd.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/tool-sprite-tpl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/tool-sprites.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/tools-sprites-trans.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/top-bottom.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/top-bottom.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/white-corners-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/white-left-right.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/panel/white-top-bottom.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/progress/progress-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/qtip/bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/qtip/close.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/qtip/tip-anchor-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/qtip/tip-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/s.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shadow-c.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shadow-lr.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shadow.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/blue-loading.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/calendar.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/glass-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/hd-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/large-loading.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/left-btn.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/loading-balls.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/right-btn.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/shared/warning.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/e-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/e-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/ne-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/ne-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/nw-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/nw-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/s-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/s-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/se-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/se-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/square.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/sw-handle-dark.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/sizer/sw-handle.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/slider/slider-bg.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/slider/slider-thumb.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/slider/slider-v-bg.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/slider/slider-v-thumb.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/scroll-left.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/scroll-right.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/scroller-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-btm-left-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-btm-right-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-close.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-strip-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-strip-bg.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tabs/tabs-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/btn-arrow-light.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/btn-arrow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/btn-over-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/gray-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/more.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/tb-bg.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/tb-btn-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/toolbar/tb-xl-sep.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/arrows.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-add.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-between.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-no.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-over.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-under.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/drop-yes.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-end-minus-nl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-end-minus.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-end-plus-nl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-end-plus.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-end.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-line.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-minus-nl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-minus.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-plus-nl.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow-plus.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/elbow.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/folder-open.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/folder.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/leaf.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/loading.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/tree/s.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/icon-error.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/icon-info.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/icon-question.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/icon-warning.gif +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/left-corners.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/left-corners.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/left-right.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/left-right.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/right-corners.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/right-corners.psd +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/top-bottom.png +0 -0
- data/lib/padrino-admin/generators/assets/images/ext/default/window/top-bottom.psd +0 -0
- data/lib/padrino-admin/generators/assets/javascripts/controls.js +0 -3
- data/lib/padrino-admin/generators/assets/javascripts/dragdrop.js +0 -3
- data/lib/padrino-admin/generators/assets/javascripts/effects.js +0 -4
- data/lib/padrino-admin/generators/assets/javascripts/ext.js +0 -29
- data/lib/padrino-admin/generators/assets/javascripts/prototype.js +0 -14
- data/lib/padrino-admin/generators/assets/javascripts/swfupload.js +0 -4
- data/lib/padrino-admin/generators/assets/stylesheets/admin.css +0 -60
- data/lib/padrino-admin/generators/assets/stylesheets/ext.css +0 -1543
- data/lib/padrino-admin/generators/assets/stylesheets/login.css +0 -17
- data/lib/padrino-admin/generators/assets/stylesheets/standard.css +0 -62
- data/lib/padrino-admin/generators/templates/page/views/_form.haml.tt +0 -9
- data/lib/padrino-admin/generators/templates/page/views/edit.haml.tt +0 -3
- data/lib/padrino-admin/generators/templates/page/views/grid.js.erb.tt +0 -9
- data/lib/padrino-admin/generators/templates/page/views/new.haml.tt +0 -3
- data/lib/padrino-admin/generators/templates/page/views/store.jml.tt +0 -6
- data/lib/padrino-admin/generators/templates/uploader/controller.rb +0 -24
- data/lib/padrino-admin/generators/templates/uploader/lib/uploader.rb +0 -66
- data/lib/padrino-admin/generators/templates/uploader/views/grid.js.erb +0 -57
- data/lib/padrino-admin/generators/templates/uploader/views/store.jml +0 -10
- data/lib/padrino-admin/locale/extjs/de.yml +0 -147
- data/lib/padrino-admin/locale/extjs/en.yml +0 -147
- data/lib/padrino-admin/locale/extjs/it.yml +0 -147
- data/lib/padrino-admin/orm.rb +0 -48
- data/lib/padrino-admin/orm/abstract.rb +0 -95
- data/lib/padrino-admin/orm/activerecord.rb +0 -144
- data/lib/padrino-admin/orm/datamapper.rb +0 -229
- data/lib/padrino-admin/orm/mongomapper.rb +0 -65
- data/lib/padrino-admin/utils/literal.rb +0 -13
- data/test/fixtures/active_record.rb +0 -29
- data/test/fixtures/mongo_mapper.rb +0 -12
- data/test/fixtures/test_column_store.jml +0 -11
- data/test/generators/test_admin_uploader_generator.rb +0 -56
- data/test/test_access_control.rb +0 -99
- data/test/test_active_record.rb +0 -96
- data/test/test_column_store.rb +0 -87
- data/test/test_config.rb +0 -13
- data/test/test_data_mapper.rb +0 -114
- data/test/test_mongo_mapper.rb +0 -30
@@ -1,17 +0,0 @@
|
|
1
|
-
/*Base*/
|
2
|
-
body {font-size:12px; font-family: Arial, "MS Trebuchet", sans-serif; position: absolute; top:0; left:0; height:100%; width:100%; margin:0; padding:0; overflow: hidden;}
|
3
|
-
img { border:none; }
|
4
|
-
h2 { color:#525151; font-size:18px; margin:0px 0px 15px 0px; padding:0; }
|
5
|
-
a { color:#525151; }
|
6
|
-
/*Login Page*/
|
7
|
-
#wrapper { top:0; left:0; background: transparent url('../images/admin/background.png') repeat-x scroll center center; height:100%; width:100%; position:absolute; }
|
8
|
-
#login-box { margin:0; padding:0px; position:absolute; width:413px; height:478px; background-image: url('../images/admin/bg-login.png'); top:50%; left:50%; margin-top:-239px; margin-left:-220px; }
|
9
|
-
#intro-box { margin:0; padding:0px; position:absolute; width:413px; height:478px; background-image: url('../images/admin/bg_intro.png'); top:50%; left:50%; margin-top:-239px; margin-left:-220px; }
|
10
|
-
#logo-small { position:absolute; top:10px; left:100%; margin-left:-110px; }
|
11
|
-
#logo-credit { position:absolute; top:10px; left:100%; margin-left:-225px; }
|
12
|
-
#content { text-align:left; margin:150px 20px 0px 100px; }
|
13
|
-
#content_intro { text-align:center; margin:210px 0px 0px 0px; color: #525151;}
|
14
|
-
#content_intro a { color: #525151;}
|
15
|
-
#copyright { position:absolute; top:100%; left:20px; margin-top:-30px; color:#FFF; }
|
16
|
-
.field { padding-bottom:5px; }
|
17
|
-
.bottom { color:#0BB1E1; margin-top:20px; }
|
@@ -1,62 +0,0 @@
|
|
1
|
-
body { font-size:12px; font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif; padding:0; margin:0; color:#222; }
|
2
|
-
table { font-size:12px; font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif; }
|
3
|
-
table.form { padding:10px; }
|
4
|
-
table.form td { padding:1px; }
|
5
|
-
table.form th { padding:1px; }
|
6
|
-
th { font-weight:bold; }
|
7
|
-
table.padded td { padding:2px; }
|
8
|
-
tr.alternate { background-color:#DDDDDD; }
|
9
|
-
h1 { margin:10px 0px 5px 0px; }
|
10
|
-
a { text-decoration:none; color:#663900; }
|
11
|
-
a:hover { text-decoration:none; color:#CC6600; }
|
12
|
-
a.black { text-decoration:none; color:#222; }
|
13
|
-
a:hover.black { text-decoration:none; color:#663900; }
|
14
|
-
a.white { text-decoration:none; color:#FFF; }
|
15
|
-
a:hover.white { text-decoration:none; color:#663900; }
|
16
|
-
img { border:none; }
|
17
|
-
.blue { color:#3764A0; }
|
18
|
-
.fixed { width:150px; }
|
19
|
-
.full { width:100%; }
|
20
|
-
.half { width:50%; }
|
21
|
-
.left { float:left; }
|
22
|
-
.right { float:right; }
|
23
|
-
.clear { clear:both; }
|
24
|
-
.align-center { text-align:center; }
|
25
|
-
.align-left { text-align:left; }
|
26
|
-
.align-right { text-align:right; }
|
27
|
-
.align-top { vertical-align:top; }
|
28
|
-
.through { text-decoration: line-through;}
|
29
|
-
.small { font-size:0.9em; }
|
30
|
-
.super-small { font-size:0.8em; }
|
31
|
-
.big { font-size:1.1em; }
|
32
|
-
.bold { font-weight:bold; }
|
33
|
-
.underline { border-bottom:1px solid #000;}
|
34
|
-
.italic { font-style: italic; }
|
35
|
-
.red { color:#eb5723; }
|
36
|
-
.padding-left { padding-left:5px; }
|
37
|
-
.padding-right { padding-right:5px; }
|
38
|
-
.padding-top { padding-top:5px; }
|
39
|
-
.padding-bottom { padding-bottom:5px; }
|
40
|
-
.padding { padding:5px; }
|
41
|
-
.bordered { border:1px solid #FF8D35; }
|
42
|
-
.border-top { border-top:1px solid #FF8D35; }
|
43
|
-
.border-bottom { border-bottom:1px solid #FF8D35; }
|
44
|
-
.no-space { font-size:0em; }
|
45
|
-
.no-margin-top { margin-top:0px; }
|
46
|
-
.no-margin-bottom { margin-bottom:0px; }
|
47
|
-
.margin { margin:10px; }
|
48
|
-
.margin-top { margin-top:10px; }
|
49
|
-
.margin-bottom { margin-bottom:10px; }
|
50
|
-
.margin-left { margin-left:10px; }
|
51
|
-
.margin-right { margin-right:10px; }
|
52
|
-
.exception { padding:10px; }
|
53
|
-
.page { height:500px; }
|
54
|
-
/* Default Style for inputs */
|
55
|
-
input,textarea{margin:0;font:normal 12px tahoma,arial,helvetica,sans-serif;width:100%;}
|
56
|
-
input,textarea{padding:1px 3px;background:#fff url(../images/ext/default/form/text-bg.gif) repeat-x 0 0;border:1px solid #B5B8C8;}
|
57
|
-
input{height:22px;line-height:18px;vertical-align:middle;}
|
58
|
-
/* Errors */
|
59
|
-
.field-errors{border:2px solid red;background-color:#ECEBC3;padding:10px;margin-top:5px;margin-bottom:5px;}
|
60
|
-
.field-errors h2{font-size:1.2em}
|
61
|
-
.field-errors ul{list-style-type: disc;margin-left:25px;margin-top:10px;display:block;}
|
62
|
-
.field-errors ul li{margin-left:0px;padding-top:5px;margin:0px;}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
var grid = new Admin.grid({
|
2
|
-
id: 'grid-<%= @model_plural %>',
|
3
|
-
title: 'List <%= @model_name %>',
|
4
|
-
baseUrl: '/admin/<%= @model_plural %>',
|
5
|
-
column_fields: <%%= @store.column_fields %>,
|
6
|
-
store_fields: <%%= @store.store_fields %>
|
7
|
-
});
|
8
|
-
|
9
|
-
Admin.app.addItem(grid, '<%%= params[:small] %>');
|
@@ -1,24 +0,0 @@
|
|
1
|
-
Admin.controllers :uploads do
|
2
|
-
|
3
|
-
get :index, :respond_to => [:js, :json] do
|
4
|
-
@store = Upload.column_store(options.views, "uploads/store")
|
5
|
-
@session_id = options.session_id
|
6
|
-
case content_type
|
7
|
-
when :js then render 'uploads/grid.js'
|
8
|
-
when :json then @store.store_data(params)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
post :create do
|
13
|
-
@upload = Upload.new
|
14
|
-
@upload.file = params[:file]
|
15
|
-
@upload.save
|
16
|
-
render :success => true
|
17
|
-
end
|
18
|
-
|
19
|
-
delete :destroy, :respond_to => :json do
|
20
|
-
uploads = Upload.all(:conditions => { :id => params[:ids].split(",") })
|
21
|
-
errors = uploads.map { |upload| I18n.t("admin.general.cantDelete", :record => upload.id) unless upload.destroy }.compact
|
22
|
-
render :success => errors.empty?, :msg => errors.join("<br />")
|
23
|
-
end
|
24
|
-
end
|
@@ -1,66 +0,0 @@
|
|
1
|
-
class Uploader < CarrierWave::Uploader::Base
|
2
|
-
|
3
|
-
##
|
4
|
-
# Image manipulator library:
|
5
|
-
#
|
6
|
-
# include CarrierWave::RMagick
|
7
|
-
# include CarrierWave::ImageScience
|
8
|
-
# include CarrierWave::MiniMagick
|
9
|
-
|
10
|
-
##
|
11
|
-
# Storage type
|
12
|
-
#
|
13
|
-
storage :file
|
14
|
-
# storage :s3
|
15
|
-
|
16
|
-
##
|
17
|
-
# Directory where uploaded files will be stored (default is /public/uploads)
|
18
|
-
#
|
19
|
-
def store_dir
|
20
|
-
"uploads"
|
21
|
-
end
|
22
|
-
|
23
|
-
##
|
24
|
-
# Directory where uploaded temp files will be stored (default is [root]/tmp)
|
25
|
-
#
|
26
|
-
def cache_dir
|
27
|
-
Padrino.root("tmp")
|
28
|
-
end
|
29
|
-
|
30
|
-
##
|
31
|
-
# Default URL as a default if there hasn't been a file uploaded
|
32
|
-
#
|
33
|
-
# def default_url
|
34
|
-
# "/images/fallback/" + [version_name, "default.png"].compact.join('_')
|
35
|
-
# end
|
36
|
-
|
37
|
-
##
|
38
|
-
# Process files as they are uploaded.
|
39
|
-
#
|
40
|
-
# process :resize_to_fit => [640, 480]
|
41
|
-
#
|
42
|
-
# def scale(width, height)
|
43
|
-
# # do something
|
44
|
-
# end
|
45
|
-
|
46
|
-
##
|
47
|
-
# Create different versions of your uploaded files
|
48
|
-
#
|
49
|
-
# version :thumb do
|
50
|
-
# process :resize_to_fit => [128, 128]
|
51
|
-
# end
|
52
|
-
|
53
|
-
##
|
54
|
-
# White list of extensions which are allowed to be uploaded:
|
55
|
-
#
|
56
|
-
# def extension_white_list
|
57
|
-
# %w(jpg jpeg gif png)
|
58
|
-
# end
|
59
|
-
|
60
|
-
##
|
61
|
-
# Override the filename of the uploaded files
|
62
|
-
#
|
63
|
-
# def filename
|
64
|
-
# "something.jpg" if original_filename
|
65
|
-
# end
|
66
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
var grid = new Admin.grid({
|
2
|
-
id: 'grid-uploads',
|
3
|
-
title: 'List Upload',
|
4
|
-
baseUrl: '/admin/uploads',
|
5
|
-
buttons: ['remove'],
|
6
|
-
column_fields: <%= @store.column_fields %>,
|
7
|
-
store_fields: <%= @store.store_fields %>
|
8
|
-
});
|
9
|
-
|
10
|
-
grid.on('dblclick', function(r){
|
11
|
-
var sel = grid.getSelectionModel().getSelected();
|
12
|
-
if (!sel) return;
|
13
|
-
Admin.app.mask();
|
14
|
-
var image = new Image();
|
15
|
-
image.src = sel.data['uploads.file'];
|
16
|
-
image.onerror = function(){ Admin.app.unmask() };
|
17
|
-
image.onload = function(){
|
18
|
-
if (image.width == 0 || image.height == 0) return;
|
19
|
-
var win = new Ext.Window({
|
20
|
-
resizable: false,
|
21
|
-
title: sel.data['uploads.file'],
|
22
|
-
html: '<img src="'+sel.data['uploads.file']+'" height="'+image.height+'" width="'+image.width+'" />'
|
23
|
-
});
|
24
|
-
Admin.app.unmask();
|
25
|
-
win.show();
|
26
|
-
}
|
27
|
-
});
|
28
|
-
|
29
|
-
var upload = new Ext.SwfUploadPanel({
|
30
|
-
id: 'grid-upload',
|
31
|
-
title: 'Upload a new file',
|
32
|
-
region: 'south',
|
33
|
-
collapsible: true,
|
34
|
-
collapseMode:'mini',
|
35
|
-
split: true,
|
36
|
-
single_select: this.single_select,
|
37
|
-
file_types: "*.*", // Default allow all file types
|
38
|
-
file_types_description: "All Files", // A text description that is displayed to the user in the File Browser dialog.
|
39
|
-
file_size_limit: "1MB", // Default size limit 1MB
|
40
|
-
file_upload_limit: "0", // Default no upload limit
|
41
|
-
file_queue_limit: "0", // Default no queue limit
|
42
|
-
upload_url: '/admin/uploads/create',
|
43
|
-
post_params: { '<%= @session_id %>': '<%= session[@session_id] %>' },
|
44
|
-
flash_url: '<%= uri_root_path("flash/swfupload.swf") %>',
|
45
|
-
labelWidth: 110,
|
46
|
-
height: 300
|
47
|
-
});
|
48
|
-
|
49
|
-
upload.on('fileUploadComplete', function(){ grid.store.reload() });
|
50
|
-
|
51
|
-
var panel = new Ext.Panel({
|
52
|
-
layout: 'border',
|
53
|
-
border: false,
|
54
|
-
items: [grid, upload]
|
55
|
-
});
|
56
|
-
|
57
|
-
Admin.app.addItem(panel, '<%= params[:small] %>');
|
@@ -1,147 +0,0 @@
|
|
1
|
-
de:
|
2
|
-
extjs:
|
3
|
-
dateFormat: "d.m.Y"
|
4
|
-
dateTimeFormat: "d.m.Y G:i"
|
5
|
-
ddText: "{0} selektierten Datensatz/-sätze"
|
6
|
-
closeText: "Schliesse diesen Tab"
|
7
|
-
invalidText: "Der Wert in diesem Feld ist ungültig"
|
8
|
-
msg: "Lade..."
|
9
|
-
emptyText: ""
|
10
|
-
splitRegion:
|
11
|
-
splitTip: "Ziehen um Größe zu verändern."
|
12
|
-
collapsibleSplitTip: "Ziehen um Größe zu verändern. Doppelklick zum verstecken."
|
13
|
-
messageBox:
|
14
|
-
ok: "OK"
|
15
|
-
yesse: "Ja"
|
16
|
-
cancel: "Abbruch"
|
17
|
-
none: "Nein"
|
18
|
-
datePicker:
|
19
|
-
todayText: "Heute"
|
20
|
-
minText: "Dieses Datum ist vor dem Minimum-Datum"
|
21
|
-
maxText: "Dieses Datum ist nach dem Maximum-Datum"
|
22
|
-
disabledDaysText: ""
|
23
|
-
disabledDatesText: ""
|
24
|
-
nextText: 'Nächsten Monat (Control+Rechts)'
|
25
|
-
prevText: 'Vorherigen Monat(Control+Links)'
|
26
|
-
monthYearText: 'Wähle ein Monat (Control+Auf/Runter um Jahre zu ändern)'
|
27
|
-
todayTip: "{0} (Leertaste)"
|
28
|
-
format: "d.m.y"
|
29
|
-
cancelText: "Abbruch"
|
30
|
-
okText: " OK "
|
31
|
-
startDay: 0
|
32
|
-
grid:
|
33
|
-
gridView:
|
34
|
-
sortAscText: "Sortiere aufsteigend"
|
35
|
-
sortDescText: "Sortiere absteigend"
|
36
|
-
lockText: "Sperren Spalte"
|
37
|
-
unlockText: "Spaltesperre aufheben"
|
38
|
-
columnsText: "Spalte"
|
39
|
-
groupingView:
|
40
|
-
emptyGroupText: '(Nichts)'
|
41
|
-
groupByText: 'Gruppiere mit diesem Feld'
|
42
|
-
showGroupsText: 'Anzeige in Gruppen'
|
43
|
-
propertyColumnModel:
|
44
|
-
nameText: "Name"
|
45
|
-
valueText: "Wert"
|
46
|
-
dateFormat: "m/j/Y"
|
47
|
-
search:
|
48
|
-
searchText: "Suche"
|
49
|
-
searchTipText: "Füge ein Wort ein oder drücke Suchen"
|
50
|
-
selectAllText: "Selektiere alle"
|
51
|
-
minCharsTipText: "Füge mindestens {0} Zeichen ein"
|
52
|
-
pagingToolbar:
|
53
|
-
beforePageText: "Seite"
|
54
|
-
afterPageText: "von {0}"
|
55
|
-
firstText: "Erste Seite"
|
56
|
-
prevText: "Vorherige Seite"
|
57
|
-
nextText: "Nächste Seite"
|
58
|
-
lastText: "Letzte Seite"
|
59
|
-
refreshText: "Auffrischen"
|
60
|
-
displayMsg: "Anzeige {0} - {1} von {2}"
|
61
|
-
emptyMsg: 'Keine Daten zum Anzeigen'
|
62
|
-
form:
|
63
|
-
textField:
|
64
|
-
minLengthText: "Die minimale Eingabelänge für dieses Feld ist {0}"
|
65
|
-
maxLengthText: "Die maximale Eingabelänge für dieses Feld ist {0}"
|
66
|
-
blankText: "Dieses Feld wird benötigt"
|
67
|
-
regexText: ""
|
68
|
-
emptyText: ""
|
69
|
-
numberField:
|
70
|
-
minText: "Der minimale Wert für dieses Feld ist {0}"
|
71
|
-
maxText: "Der maximale Wert für dieses Feld ist {0}"
|
72
|
-
nanText: "{0} ist nicht eine gültige Zahl"
|
73
|
-
dateField:
|
74
|
-
disabledDaysText: "Nicht verfügbar"
|
75
|
-
disabledDatesText: "Nicht verfügbar"
|
76
|
-
minText: "Das Datum in diesem Feld muss nach dem {0} sein"
|
77
|
-
maxText: "Das Datum in diesem Feld muss vor dem {0} sein"
|
78
|
-
invalidText: "{0} ist kein gültiges Datum - es muss in dem Format sein: {1}"
|
79
|
-
format: "d.m.y"
|
80
|
-
altFormats: "d.m.Y|m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
|
81
|
-
comboBox:
|
82
|
-
loadingText: "Lade..."
|
83
|
-
valueNotFoundText: ""
|
84
|
-
vTypes:
|
85
|
-
emailText: 'Dieses Feld soll eine E-Mail Adresse in dem Format "user@domain.com" sein'
|
86
|
-
urlText: 'Dieses Feld soll eine URL in dem Format "http://www.domain.com" sein'
|
87
|
-
alphaText: 'Dieses Feld soll nur Buchstaben und _ enthalten'
|
88
|
-
alphanumText: 'Dieses Feld soll nur Buchstaben, Nummern und _ enthalten'
|
89
|
-
htmlEditor:
|
90
|
-
createLinkText: 'Bitte gebe die URL für den Link ein:'
|
91
|
-
buttonTips:
|
92
|
-
bold:
|
93
|
-
title: 'Fett (Ctrl+B)'
|
94
|
-
text: 'Stelle den selektierten Text fett dar.'
|
95
|
-
cls: 'x-html-editor-tip'
|
96
|
-
italic:
|
97
|
-
title: 'Italic (Ctrl+I)'
|
98
|
-
text: 'Stelle den selektierten Text italic dar.'
|
99
|
-
cls: 'x-html-editor-tip'
|
100
|
-
underline:
|
101
|
-
title: 'Untertrichen (Ctrl+U)'
|
102
|
-
text: 'Unterstreicht den selektierten Text.'
|
103
|
-
cls: 'x-html-editor-tip'
|
104
|
-
increasefontsize:
|
105
|
-
title: 'Vergrößern Text'
|
106
|
-
text: 'Vergrößert die Schriftgröße.'
|
107
|
-
cls: 'x-html-editor-tip'
|
108
|
-
decreasefontsize:
|
109
|
-
title: 'Verkleinern Text'
|
110
|
-
text: 'Verkleinert die Schriftgröße.'
|
111
|
-
cls: 'x-html-editor-tip'
|
112
|
-
backcolor:
|
113
|
-
title: 'Text Hintergrund Farbe'
|
114
|
-
text: 'Ändert Hintergrundfarbe des selektierten Textes'
|
115
|
-
cls: 'x-html-editor-tip'
|
116
|
-
forecolor:
|
117
|
-
title: 'Text Schrift Farbe'
|
118
|
-
text: 'Ändert die Farbe des selektierten Textes'
|
119
|
-
cls: 'x-html-editor-tip'
|
120
|
-
justifyleft:
|
121
|
-
title: 'Text linksbündig anordnen'
|
122
|
-
text: 'Stelle text linksbündig dar'
|
123
|
-
cls: 'x-html-editor-tip'
|
124
|
-
justifycenter:
|
125
|
-
title: 'Zentriere Text'
|
126
|
-
text: 'Zentriert den Text in dem Editor.'
|
127
|
-
cls: 'x-html-editor-tip'
|
128
|
-
justifyright:
|
129
|
-
title: 'Text rechtsbündig anordnen'
|
130
|
-
text: 'Stelle text rechtsbündig dar.'
|
131
|
-
cls: 'x-html-editor-tip'
|
132
|
-
insertunorderedlist:
|
133
|
-
title: 'Gliederungs-Liste'
|
134
|
-
text: 'Beginnt eine Gliederungsliste.'
|
135
|
-
cls: 'x-html-editor-tip'
|
136
|
-
insertorderedlist:
|
137
|
-
title: 'Nummerierte Liste'
|
138
|
-
text: 'Beginnt eine nummerierte Liste.'
|
139
|
-
cls: 'x-html-editor-tip'
|
140
|
-
createlink:
|
141
|
-
title: 'Hyperlink'
|
142
|
-
text: 'Stelle selektierten Text als Hyperlink dar.'
|
143
|
-
cls: 'x-html-editor-tip'
|
144
|
-
sourceedit:
|
145
|
-
title: 'Quelle Editieren'
|
146
|
-
text: 'Wechsel zur Quelle im Editierungs-Modus.'
|
147
|
-
cls: 'x-html-editor-tip'
|
@@ -1,147 +0,0 @@
|
|
1
|
-
en:
|
2
|
-
extjs:
|
3
|
-
dateFormat: "m/d/Y"
|
4
|
-
dateTimeFormat: "m/d/Y G:i"
|
5
|
-
ddText: "{0} selected row(s)"
|
6
|
-
closeText: "Close this tab"
|
7
|
-
invalidText: "The value in this field is invalid"
|
8
|
-
msg: "Loading..."
|
9
|
-
emptyText: ""
|
10
|
-
splitRegion:
|
11
|
-
splitTip: "Drag to resize."
|
12
|
-
collapsibleSplitTip: "Drag to resize. Double click to hide."
|
13
|
-
messageBox:
|
14
|
-
ok: "OK"
|
15
|
-
yesse: "Yes"
|
16
|
-
cancel: "Cancel"
|
17
|
-
none: "No"
|
18
|
-
datePicker:
|
19
|
-
todayText: "Today"
|
20
|
-
minText: "This date is before the minimum date"
|
21
|
-
maxText: "This date is after the maximum date"
|
22
|
-
disabledDaysText: ""
|
23
|
-
disabledDatesText: ""
|
24
|
-
nextText: 'Next Month (Control+Right)'
|
25
|
-
prevText: 'Previous Month (Control+Left)'
|
26
|
-
monthYearText: 'Choose a month (Control+Up/Down to move years)'
|
27
|
-
todayTip: "{0} (Spacebar)"
|
28
|
-
format: "m/d/y"
|
29
|
-
cancelText: "Cancel"
|
30
|
-
okText: " OK "
|
31
|
-
startDay: 0
|
32
|
-
grid:
|
33
|
-
gridView:
|
34
|
-
sortAscText: "Sort Ascending"
|
35
|
-
sortDescText: "Sort Descending"
|
36
|
-
lockText: "Lock Column"
|
37
|
-
unlockText: "Unlock Column"
|
38
|
-
columnsText: "Columns"
|
39
|
-
groupingView:
|
40
|
-
emptyGroupText: '(None)'
|
41
|
-
groupByText: 'Group By This Field'
|
42
|
-
showGroupsText: 'Show in Groups'
|
43
|
-
propertyColumnModel:
|
44
|
-
nameText: "Name"
|
45
|
-
valueText: "Value"
|
46
|
-
dateFormat: "m/j/Y"
|
47
|
-
search:
|
48
|
-
searchText: "Search"
|
49
|
-
searchTipText: "Insert a word or press Search"
|
50
|
-
selectAllText: "Select All"
|
51
|
-
minCharsTipText: "Insert at least {0} characters"
|
52
|
-
pagingToolbar:
|
53
|
-
beforePageText: "Page"
|
54
|
-
afterPageText: "of {0}"
|
55
|
-
firstText: "First Page"
|
56
|
-
prevText: "Previous Page"
|
57
|
-
nextText: "Next Page"
|
58
|
-
lastText: "Last Page"
|
59
|
-
refreshText: "Refresh"
|
60
|
-
displayMsg: "Displaying {0} - {1} of {2}"
|
61
|
-
emptyMsg: 'No data to display'
|
62
|
-
form:
|
63
|
-
textField:
|
64
|
-
minLengthText: "The minimum length for this field is {0}"
|
65
|
-
maxLengthText: "The maximum length for this field is {0}"
|
66
|
-
blankText: "This field is required"
|
67
|
-
regexText: ""
|
68
|
-
emptyText: ""
|
69
|
-
numberField:
|
70
|
-
minText: "The minimum value for this field is {0}"
|
71
|
-
maxText: "The maximum value for this field is {0}"
|
72
|
-
nanText: "{0} is not a valid number"
|
73
|
-
dateField:
|
74
|
-
disabledDaysText: "Disabled"
|
75
|
-
disabledDatesText: "Disabled"
|
76
|
-
minText: "The date in this field must be after {0}"
|
77
|
-
maxText: "The date in this field must be before {0}"
|
78
|
-
invalidText: "{0} is not a valid date - it must be in the format {1}"
|
79
|
-
format: "m/d/y"
|
80
|
-
altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
|
81
|
-
comboBox:
|
82
|
-
loadingText: "Loading..."
|
83
|
-
valueNotFoundText: ""
|
84
|
-
vTypes:
|
85
|
-
emailText: 'This field should be an e-mail address in the format "user@domain.com"'
|
86
|
-
urlText: 'This field should be a URL in the format "http://www.domain.com"'
|
87
|
-
alphaText: 'This field should only contain letters and _'
|
88
|
-
alphanumText: 'This field should only contain letters, numbers and _'
|
89
|
-
htmlEditor:
|
90
|
-
createLinkText: 'Please enter the URL for the link:'
|
91
|
-
buttonTips:
|
92
|
-
bold:
|
93
|
-
title: 'Bold (Ctrl+B)'
|
94
|
-
text: 'Make the selected text bold.'
|
95
|
-
cls: 'x-html-editor-tip'
|
96
|
-
italic:
|
97
|
-
title: 'Italic (Ctrl+I)'
|
98
|
-
text: 'Make the selected text italic.'
|
99
|
-
cls: 'x-html-editor-tip'
|
100
|
-
underline:
|
101
|
-
title: 'Underline (Ctrl+U)'
|
102
|
-
text: 'Underline the selected text.'
|
103
|
-
cls: 'x-html-editor-tip'
|
104
|
-
increasefontsize:
|
105
|
-
title: 'Grow Text'
|
106
|
-
text: 'Increase the font size.'
|
107
|
-
cls: 'x-html-editor-tip'
|
108
|
-
decreasefontsize:
|
109
|
-
title: 'Shrink Text'
|
110
|
-
text: 'Decrease the font size.'
|
111
|
-
cls: 'x-html-editor-tip'
|
112
|
-
backcolor:
|
113
|
-
title: 'Text Highlight Color'
|
114
|
-
text: 'Change the background color of the selected text.'
|
115
|
-
cls: 'x-html-editor-tip'
|
116
|
-
forecolor:
|
117
|
-
title: 'Font Color'
|
118
|
-
text: 'Change the color of the selected text.'
|
119
|
-
cls: 'x-html-editor-tip'
|
120
|
-
justifyleft:
|
121
|
-
title: 'Align Text Left'
|
122
|
-
text: 'Align text to the left.'
|
123
|
-
cls: 'x-html-editor-tip'
|
124
|
-
justifycenter:
|
125
|
-
title: 'Center Text'
|
126
|
-
text: 'Center text in the editor.'
|
127
|
-
cls: 'x-html-editor-tip'
|
128
|
-
justifyright:
|
129
|
-
title: 'Align Text Right'
|
130
|
-
text: 'Align text to the right.'
|
131
|
-
cls: 'x-html-editor-tip'
|
132
|
-
insertunorderedlist:
|
133
|
-
title: 'Bullet List'
|
134
|
-
text: 'Start a bulleted list.'
|
135
|
-
cls: 'x-html-editor-tip'
|
136
|
-
insertorderedlist:
|
137
|
-
title: 'Numbered List'
|
138
|
-
text: 'Start a numbered list.'
|
139
|
-
cls: 'x-html-editor-tip'
|
140
|
-
createlink:
|
141
|
-
title: 'Hyperlink'
|
142
|
-
text: 'Make the selected text a hyperlink.'
|
143
|
-
cls: 'x-html-editor-tip'
|
144
|
-
sourceedit:
|
145
|
-
title: 'Source Edit'
|
146
|
-
text: 'Switch to source editing mode.'
|
147
|
-
cls: 'x-html-editor-tip'
|