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
data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css
ADDED
@@ -0,0 +1,305 @@
|
|
1
|
+
/**
|
2
|
+
* Cerulean web-app-theme made for Djime: http://github.com/mikl/djime/
|
3
|
+
*
|
4
|
+
* Please note that we're using CSSEdit's @group comment syntax.
|
5
|
+
*
|
6
|
+
* Colour sheme:
|
7
|
+
* Cerulean: #007BA7
|
8
|
+
* Bright blue: #01B8DE
|
9
|
+
* Near-white: #F7F7F8
|
10
|
+
* Silver grey: #C2C8D1
|
11
|
+
* Dark blue: #001C26
|
12
|
+
*
|
13
|
+
* http://www.colourlovers.com/palette/646252/Cerulean_touch
|
14
|
+
*/
|
15
|
+
|
16
|
+
/* @group General styles */
|
17
|
+
|
18
|
+
.small { font-size:11px; }
|
19
|
+
.gray { color:#999; }
|
20
|
+
.hightlight { background-color:#ffc; }
|
21
|
+
|
22
|
+
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #007BA7; }
|
23
|
+
|
24
|
+
body {
|
25
|
+
color: #222;
|
26
|
+
background: #C2C8D1;
|
27
|
+
font-family: "Helvetica Neue",Helvetica,Arial,"Bitstream Vera Sans",sans-serif;
|
28
|
+
}
|
29
|
+
|
30
|
+
hr {
|
31
|
+
background: #EEF0F0;
|
32
|
+
color: #EEF0F0;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* @end */
|
36
|
+
|
37
|
+
/* @group Header */
|
38
|
+
|
39
|
+
#header {
|
40
|
+
background: #007BA7;
|
41
|
+
}
|
42
|
+
|
43
|
+
#header h1 {
|
44
|
+
padding: 20px 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
48
|
+
color: #F7F7F8;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* @end */
|
52
|
+
|
53
|
+
#user-navigation {
|
54
|
+
top: auto;
|
55
|
+
bottom: 5px;
|
56
|
+
right: 25px;
|
57
|
+
}
|
58
|
+
|
59
|
+
#main .block .content {
|
60
|
+
background: #F7F7F8;
|
61
|
+
padding-top: 1px;
|
62
|
+
}
|
63
|
+
|
64
|
+
#main .block .content h2 {
|
65
|
+
margin-left: 15px;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
/* @group Main navigation */
|
71
|
+
|
72
|
+
#main-navigation ul li {
|
73
|
+
padding-left: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
#main-navigation ul li a {
|
77
|
+
padding: 8px 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
#main-navigation ul li a {
|
81
|
+
padding: 8px 15px;
|
82
|
+
}
|
83
|
+
|
84
|
+
#main-navigation {
|
85
|
+
background-color: #005573;
|
86
|
+
}
|
87
|
+
|
88
|
+
#main-navigation ul li a:hover {
|
89
|
+
background-color: #001C26;
|
90
|
+
}
|
91
|
+
|
92
|
+
#main-navigation ul li.active a {
|
93
|
+
background-color: #C2C8D1;
|
94
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#C2C8D1), to(#C2C8D1), color-stop(0.5, #F7F7F8), color-stop(0.5, #F7F7F8));
|
95
|
+
|
96
|
+
}
|
97
|
+
|
98
|
+
/* @end */
|
99
|
+
|
100
|
+
/* @group Secondary navigation */
|
101
|
+
|
102
|
+
.secondary-navigation li a:hover {
|
103
|
+
background: #005573;
|
104
|
+
}
|
105
|
+
|
106
|
+
.secondary-navigation {
|
107
|
+
background: #007BA7;
|
108
|
+
border-bottom-width: 7px;
|
109
|
+
border-bottom-color: #005573;
|
110
|
+
}
|
111
|
+
|
112
|
+
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
|
113
|
+
background-color: #005573;
|
114
|
+
}
|
115
|
+
|
116
|
+
/* @end */
|
117
|
+
|
118
|
+
/* @group Sidebar */
|
119
|
+
|
120
|
+
#sidebar .block {
|
121
|
+
background: #F7F7F8;
|
122
|
+
}
|
123
|
+
|
124
|
+
#sidebar h3 {
|
125
|
+
background: #007BA7;
|
126
|
+
color: #F7F7F8;
|
127
|
+
border-bottom: 7px solid #005573;
|
128
|
+
}
|
129
|
+
|
130
|
+
#sidebar ul li a:link, #sidebar ul li a:visited {
|
131
|
+
background: #F7F7F8;
|
132
|
+
border-bottom: 1px solid #EEF0F0;
|
133
|
+
text-decoration: none;
|
134
|
+
}
|
135
|
+
|
136
|
+
#sidebar ul li a:hover, #sidebar ul li a:active {
|
137
|
+
background: #005573;
|
138
|
+
color: #F7F7F8;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* @end */
|
142
|
+
|
143
|
+
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
144
|
+
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
145
|
+
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
146
|
+
text-decoration: none;
|
147
|
+
color: #F7F7F8;
|
148
|
+
}
|
149
|
+
|
150
|
+
#main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
|
151
|
+
color: #001C26;
|
152
|
+
}
|
153
|
+
|
154
|
+
#footer .block {
|
155
|
+
color: #F7F7F8;
|
156
|
+
background: #005573;
|
157
|
+
}
|
158
|
+
|
159
|
+
#footer .block p {
|
160
|
+
margin: 0;
|
161
|
+
padding: 10px;
|
162
|
+
}
|
163
|
+
|
164
|
+
/* pagination */
|
165
|
+
|
166
|
+
.pagination span.current {
|
167
|
+
background: #005573;
|
168
|
+
color: #F7F7F8;
|
169
|
+
border-color: #005573;
|
170
|
+
}
|
171
|
+
|
172
|
+
.pagination a,
|
173
|
+
.pagination span {
|
174
|
+
color: #001C26;
|
175
|
+
border-color: #005573;
|
176
|
+
}
|
177
|
+
|
178
|
+
.pagination a:hover {
|
179
|
+
color: #F7F7F8;
|
180
|
+
background: #005573;
|
181
|
+
}
|
182
|
+
|
183
|
+
/* tables */
|
184
|
+
|
185
|
+
.table th {
|
186
|
+
background: #C2C8D1;
|
187
|
+
color: #001C26;
|
188
|
+
}
|
189
|
+
|
190
|
+
.table td {
|
191
|
+
border-bottom:1px solid #EEF0F0;
|
192
|
+
}
|
193
|
+
|
194
|
+
/* forms */
|
195
|
+
|
196
|
+
.form input.text_field, .form textarea.text_area {
|
197
|
+
width: 100%;
|
198
|
+
border: 1px solid #001C26;
|
199
|
+
}
|
200
|
+
|
201
|
+
.form input.button {
|
202
|
+
padding: 5px 10px 5px 10px;
|
203
|
+
background-color:#007BA7;
|
204
|
+
text-decoration:none;
|
205
|
+
cursor: pointer;
|
206
|
+
color: #FFF;
|
207
|
+
font-size: 14px;
|
208
|
+
border:0px;
|
209
|
+
margin:0px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.form .button:hover {
|
213
|
+
background: #005573;
|
214
|
+
}
|
215
|
+
|
216
|
+
.form .description {
|
217
|
+
color: #8C8C8C;
|
218
|
+
font-size: .9em;
|
219
|
+
}
|
220
|
+
|
221
|
+
/* @group Flash messages */
|
222
|
+
|
223
|
+
.flash .message {
|
224
|
+
-moz-border-radius: 3px;
|
225
|
+
-webkit-border-radius: 3px;
|
226
|
+
text-align:center;
|
227
|
+
margin: 0 auto 15px;
|
228
|
+
}
|
229
|
+
|
230
|
+
.flash .message p {
|
231
|
+
margin:8px;
|
232
|
+
}
|
233
|
+
.flash .error {
|
234
|
+
border: 1px solid #fbb;
|
235
|
+
background-color: #fdd;
|
236
|
+
}
|
237
|
+
.flash .warning {
|
238
|
+
border: 1px solid #e0d300;
|
239
|
+
background-color: #ffffcc;
|
240
|
+
}
|
241
|
+
.flash .notice {
|
242
|
+
border: 1px solid #8ec4df;
|
243
|
+
background-color: #dffaff;
|
244
|
+
}
|
245
|
+
|
246
|
+
/* @end */
|
247
|
+
|
248
|
+
/* lists */
|
249
|
+
|
250
|
+
ul.list li {
|
251
|
+
border-bottom-color: #EEF0F0;
|
252
|
+
border-bottom-width: 1px;
|
253
|
+
border-bottom-style: solid;
|
254
|
+
}
|
255
|
+
|
256
|
+
ul.list li .item .avatar {
|
257
|
+
border-color: #EEF0F0;
|
258
|
+
border-width: 1px;
|
259
|
+
border-style: solid;
|
260
|
+
padding: 2px;
|
261
|
+
}
|
262
|
+
|
263
|
+
/* box */
|
264
|
+
|
265
|
+
#box .block {
|
266
|
+
background: #F7F7F8;
|
267
|
+
}
|
268
|
+
|
269
|
+
#box .block h2 {
|
270
|
+
background: #005573;
|
271
|
+
color: #F7F7F8;
|
272
|
+
}
|
273
|
+
|
274
|
+
|
275
|
+
/* rounded borders */
|
276
|
+
|
277
|
+
#main, #main-navigation, #main-navigation li, #main-navigation li a, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
278
|
+
#footer .block, .form input.button, #box .block, #box .block h2 {
|
279
|
+
-moz-border-radius-topleft: 4px;
|
280
|
+
-webkit-border-top-left-radius: 4px;
|
281
|
+
-moz-border-radius-topright: 4px;
|
282
|
+
-webkit-border-top-right-radius: 4px;
|
283
|
+
}
|
284
|
+
|
285
|
+
.secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
|
286
|
+
-moz-border-radius-topleft: 4px;
|
287
|
+
-webkit-border-top-left-radius: 4px;
|
288
|
+
}
|
289
|
+
|
290
|
+
.table th.last {
|
291
|
+
-moz-border-radius-topright: 4px;
|
292
|
+
-webkit-border-top-right-radius: 4px;
|
293
|
+
}
|
294
|
+
|
295
|
+
.secondary-navigation ul li.first {
|
296
|
+
-moz-border-radius-topleft: 4px;
|
297
|
+
-webkit-border-top-left-radius: 4px;
|
298
|
+
}
|
299
|
+
|
300
|
+
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
301
|
+
-moz-border-radius-bottomleft: 4px;
|
302
|
+
-webkit-border-bottom-left-radius: 4px;
|
303
|
+
-moz-border-radius-bottomright: 4px;
|
304
|
+
-webkit-border-bottom-right-radius: 4px;
|
305
|
+
}
|
@@ -0,0 +1,279 @@
|
|
1
|
+
.small { font-size:11px; }
|
2
|
+
.gray { color:#999999; }
|
3
|
+
.hightlight { background-color:#FFFFCC; }
|
4
|
+
|
5
|
+
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #AF0000; }
|
6
|
+
a { -moz-outline: none; }
|
7
|
+
|
8
|
+
body {
|
9
|
+
color: #222;
|
10
|
+
background: #f0f0ee;
|
11
|
+
font-family: helvetica, arial, sans-serif;
|
12
|
+
}
|
13
|
+
|
14
|
+
hr {
|
15
|
+
background: #f0f0ee;
|
16
|
+
color: #f0f0ee;
|
17
|
+
}
|
18
|
+
|
19
|
+
#header {
|
20
|
+
background: #AF0000;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header h1 {
|
24
|
+
padding: 20px 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
28
|
+
color: #FFF;
|
29
|
+
}
|
30
|
+
|
31
|
+
#user-navigation {
|
32
|
+
top: auto;
|
33
|
+
bottom: 5px;
|
34
|
+
right: 25px;
|
35
|
+
}
|
36
|
+
|
37
|
+
#main .block .content {
|
38
|
+
background: #FFF;
|
39
|
+
padding-top: 1px;
|
40
|
+
}
|
41
|
+
|
42
|
+
#main .block .content h2 {
|
43
|
+
margin-left: 15px;
|
44
|
+
}
|
45
|
+
|
46
|
+
#sidebar .block {
|
47
|
+
background: #FFF;
|
48
|
+
}
|
49
|
+
|
50
|
+
#sidebar h3 {
|
51
|
+
background: #AF0000;
|
52
|
+
color: #FFF;
|
53
|
+
border-bottom: 5px solid #2a0000;
|
54
|
+
}
|
55
|
+
|
56
|
+
#main-navigation ul li {
|
57
|
+
padding-left: 15px;
|
58
|
+
}
|
59
|
+
|
60
|
+
#main-navigation ul li a {
|
61
|
+
padding: 8px 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
#main-navigation ul li.active {
|
65
|
+
padding: 0;
|
66
|
+
margin-left: 15px;
|
67
|
+
}
|
68
|
+
|
69
|
+
#main-navigation ul li.active {
|
70
|
+
margin-left: 15px;
|
71
|
+
}
|
72
|
+
|
73
|
+
#main-navigation ul li.active a {
|
74
|
+
padding: 8px 15px;
|
75
|
+
}
|
76
|
+
|
77
|
+
#sidebar ul li a:link, #sidebar ul li a:visited {
|
78
|
+
background: #FFF;
|
79
|
+
border-bottom: 1px solid #F0F0EE;
|
80
|
+
text-decoration: none;
|
81
|
+
}
|
82
|
+
|
83
|
+
#sidebar ul li a:hover, #sidebar ul li a:active {
|
84
|
+
background: #470E0E;
|
85
|
+
color: #FFF;
|
86
|
+
}
|
87
|
+
|
88
|
+
#main-navigation {
|
89
|
+
background: #2a0000;
|
90
|
+
}
|
91
|
+
|
92
|
+
#main-navigation ul li {
|
93
|
+
background: #2a0000;
|
94
|
+
margin-right: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
#main-navigation ul li.active {
|
98
|
+
background: #f0f0ee;
|
99
|
+
}
|
100
|
+
|
101
|
+
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
102
|
+
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
103
|
+
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
104
|
+
text-decoration: none;
|
105
|
+
color: #FFF;
|
106
|
+
}
|
107
|
+
|
108
|
+
.secondary-navigation li a:hover {
|
109
|
+
background: #470E0E;
|
110
|
+
}
|
111
|
+
|
112
|
+
#main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
|
113
|
+
color: #2a0000;
|
114
|
+
}
|
115
|
+
|
116
|
+
.secondary-navigation {
|
117
|
+
background: #AF0000;
|
118
|
+
border-bottom-color: #2a0000;
|
119
|
+
}
|
120
|
+
|
121
|
+
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
|
122
|
+
background-color: #2a0000;
|
123
|
+
}
|
124
|
+
|
125
|
+
#footer .block {
|
126
|
+
color: #FFF;
|
127
|
+
background: #2a0000;
|
128
|
+
}
|
129
|
+
|
130
|
+
#footer .block p {
|
131
|
+
margin: 0;
|
132
|
+
padding: 10px;
|
133
|
+
}
|
134
|
+
|
135
|
+
/* pagination */
|
136
|
+
|
137
|
+
.pagination span.current {
|
138
|
+
background: #2a0000;
|
139
|
+
color: #FFF;
|
140
|
+
border-color: #2a0000;
|
141
|
+
}
|
142
|
+
|
143
|
+
.pagination a {
|
144
|
+
color: #2a0000;
|
145
|
+
border-color: #2a0000;
|
146
|
+
}
|
147
|
+
|
148
|
+
.pagination a:hover {
|
149
|
+
color: #FFF;
|
150
|
+
background: #2a0000;
|
151
|
+
}
|
152
|
+
|
153
|
+
/* tables */
|
154
|
+
|
155
|
+
.table th {
|
156
|
+
background: #100000;
|
157
|
+
border-bottom: 3px solid #700000;
|
158
|
+
color: #FFF;
|
159
|
+
}
|
160
|
+
|
161
|
+
.table td {
|
162
|
+
border-bottom:1px solid #F0F0EE;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* forms */
|
166
|
+
|
167
|
+
.form input.text_field, .form textarea.text_area {
|
168
|
+
width: 100%;
|
169
|
+
border: 1px solid #2a0000;
|
170
|
+
}
|
171
|
+
|
172
|
+
.form input.button {
|
173
|
+
padding: 5px 10px 5px 10px;
|
174
|
+
background-color:#AF0000;
|
175
|
+
text-decoration:none;
|
176
|
+
cursor: pointer;
|
177
|
+
color: #FFF;
|
178
|
+
font-size: 14px;
|
179
|
+
border:0px;
|
180
|
+
margin:0px;
|
181
|
+
}
|
182
|
+
|
183
|
+
.form .button:hover {
|
184
|
+
background: #2A0000;
|
185
|
+
}
|
186
|
+
|
187
|
+
.form .description {
|
188
|
+
font-style: italic;
|
189
|
+
color: #8C8C8C;
|
190
|
+
font-size: .9em;
|
191
|
+
}
|
192
|
+
|
193
|
+
/* flash-messages */
|
194
|
+
.flash .message {
|
195
|
+
-moz-border-radius: 3px;
|
196
|
+
-webkit-border-radius: 3px;
|
197
|
+
text-align:center;
|
198
|
+
margin: 0 auto 15px;
|
199
|
+
|
200
|
+
}
|
201
|
+
|
202
|
+
.flash .message p {
|
203
|
+
margin:8px;
|
204
|
+
}
|
205
|
+
.flash .error {
|
206
|
+
border: 1px solid #fbb;
|
207
|
+
background-color: #fdd;
|
208
|
+
}
|
209
|
+
.flash .warning {
|
210
|
+
border: 1px solid #fffaaa;
|
211
|
+
background-color: #ffffcc;
|
212
|
+
}
|
213
|
+
.flash .notice {
|
214
|
+
border: 1px solid #1FDF00;
|
215
|
+
background-color: #BBFFB6;
|
216
|
+
}
|
217
|
+
|
218
|
+
/* lists */
|
219
|
+
|
220
|
+
ul.list li {
|
221
|
+
border-bottom-color: #F0F0EE;
|
222
|
+
border-bottom-width: 1px;
|
223
|
+
border-bottom-style: solid;
|
224
|
+
}
|
225
|
+
|
226
|
+
ul.list li .item .avatar {
|
227
|
+
border-color: #F0F0EE;
|
228
|
+
border-width: 1px;
|
229
|
+
border-style: solid;
|
230
|
+
padding: 2px;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* box */
|
234
|
+
|
235
|
+
#box .block {
|
236
|
+
background: #FFF;
|
237
|
+
}
|
238
|
+
|
239
|
+
#box .block h2 {
|
240
|
+
background: #AF0000;
|
241
|
+
color: #FFF;
|
242
|
+
}
|
243
|
+
|
244
|
+
|
245
|
+
/* rounded borders */
|
246
|
+
|
247
|
+
#main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
248
|
+
#footer .block, .form input.button, #box .block, #box .block h2 {
|
249
|
+
-moz-border-radius-topleft: 4px;
|
250
|
+
-webkit-border-top-left-radius: 4px;
|
251
|
+
-moz-border-radius-topright: 4px;
|
252
|
+
-webkit-border-top-right-radius: 4px;
|
253
|
+
}
|
254
|
+
|
255
|
+
.secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
|
256
|
+
-moz-border-radius-topleft: 4px;
|
257
|
+
-webkit-border-top-left-radius: 4px;
|
258
|
+
}
|
259
|
+
|
260
|
+
.table th.last {
|
261
|
+
-moz-border-radius-topright: 4px;
|
262
|
+
-webkit-border-top-right-radius: 4px;
|
263
|
+
}
|
264
|
+
|
265
|
+
.secondary-navigation ul li.first {
|
266
|
+
-moz-border-radius-topleft: 4px;
|
267
|
+
-webkit-border-top-left-radius: 4px;
|
268
|
+
}
|
269
|
+
|
270
|
+
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
271
|
+
-moz-border-radius-bottomleft: 4px;
|
272
|
+
-webkit-border-bottom-left-radius: 4px;
|
273
|
+
-moz-border-radius-bottomright: 4px;
|
274
|
+
-webkit-border-bottom-right-radius: 4px;
|
275
|
+
}
|
276
|
+
|
277
|
+
.secondary-navigation {
|
278
|
+
border-bottom-width: 5px;
|
279
|
+
}
|