lipsiadmin 2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +90 -0
- data/MIT-LICENSE +20 -0
- data/README +60 -0
- data/Rakefile +90 -0
- data/init.rb +1 -0
- data/lib/access_control/authentication.rb +105 -0
- data/lib/access_control/base.rb +227 -0
- data/lib/controller/ext.rb +168 -0
- data/lib/controller/lipsiadmin_controller.rb +18 -0
- data/lib/controller/pdf_builder.rb +67 -0
- data/lib/controller/rescue.rb +72 -0
- data/lib/controller/responds_to_parent.rb +56 -0
- data/lib/data_base/attachment.rb +351 -0
- data/lib/data_base/attachment/attach.rb +515 -0
- data/lib/data_base/attachment/geometry.rb +117 -0
- data/lib/data_base/attachment/iostream.rb +62 -0
- data/lib/data_base/attachment/processor.rb +49 -0
- data/lib/data_base/attachment/storage.rb +223 -0
- data/lib/data_base/attachment/thumbnail.rb +72 -0
- data/lib/data_base/attachment/upfile.rb +45 -0
- data/lib/data_base/attachment_table.rb +142 -0
- data/lib/data_base/translate_attributes.rb +30 -0
- data/lib/data_base/utility_scopes.rb +40 -0
- data/lib/data_base/without_table.rb +62 -0
- data/lib/generator.rb +114 -0
- data/lib/lipsiadmin.rb +77 -0
- data/lib/lipsiadmin_tasks.rb +3 -0
- data/lib/locale/en.yml +16 -0
- data/lib/locale/it.yml +16 -0
- data/lib/mailer/exception/exception.html.erb +11 -0
- data/lib/mailer/exception_notifier.rb +46 -0
- data/lib/mailer/pdf_builder.rb +66 -0
- data/lib/utils/html_entities.rb +63 -0
- data/lib/utils/literal.rb +20 -0
- data/lib/version.rb +9 -0
- data/lib/view/helpers/active_record_helper.rb +11 -0
- data/lib/view/helpers/backend_helper.rb +132 -0
- data/lib/view/helpers/ext/column_model.rb +73 -0
- data/lib/view/helpers/ext/component.rb +163 -0
- data/lib/view/helpers/ext/configuration.rb +36 -0
- data/lib/view/helpers/ext/grid.rb +281 -0
- data/lib/view/helpers/ext/store.rb +103 -0
- data/lib/view/helpers/ext/templates/grid_functions.js.erb +51 -0
- data/lib/view/helpers/ext/tool_bar.rb +40 -0
- data/lib/view/helpers/ext_helper.rb +150 -0
- data/lib/view/helpers/view_helper.rb +222 -0
- data/lipsiadmin_generators/attachment/REMEMBER +21 -0
- data/lipsiadmin_generators/attachment/attachment_generator.rb +27 -0
- data/lipsiadmin_generators/attachment/templates/migration.rb +14 -0
- data/lipsiadmin_generators/attachment/templates/model.rb +4 -0
- data/lipsiadmin_generators/backend/REMEMBER +18 -0
- data/lipsiadmin_generators/backend/backend_generator.rb +58 -0
- data/lipsiadmin_generators/backend/templates/config/config.yml +14 -0
- data/lipsiadmin_generators/backend/templates/config/initializers/config.rb +7 -0
- data/lipsiadmin_generators/backend/templates/config/initializers/emails.rb +2 -0
- data/lipsiadmin_generators/backend/templates/config/initializers/exception_notifier.rb +7 -0
- data/lipsiadmin_generators/backend/templates/config/locales/backend/en.yml +204 -0
- data/lipsiadmin_generators/backend/templates/config/locales/backend/it.yml +203 -0
- data/lipsiadmin_generators/backend/templates/config/locales/frontend/en.yml +5 -0
- data/lipsiadmin_generators/backend/templates/config/locales/frontend/it.yml +5 -0
- data/lipsiadmin_generators/backend/templates/config/locales/models/en.yml +31 -0
- data/lipsiadmin_generators/backend/templates/config/locales/models/it.yml +23 -0
- data/lipsiadmin_generators/backend/templates/config/locales/rails/en.yml +148 -0
- data/lipsiadmin_generators/backend/templates/config/locales/rails/it.yml +109 -0
- data/lipsiadmin_generators/backend/templates/controllers/backend/accounts_controller.rb +53 -0
- data/lipsiadmin_generators/backend/templates/controllers/backend/base_controller.rb +8 -0
- data/lipsiadmin_generators/backend/templates/controllers/backend/sessions_controller.rb +21 -0
- data/lipsiadmin_generators/backend/templates/controllers/backend_controller.rb +2 -0
- data/lipsiadmin_generators/backend/templates/controllers/frontend_controller.rb +4 -0
- data/lipsiadmin_generators/backend/templates/controllers/javascripts_controller.rb +17 -0
- data/lipsiadmin_generators/backend/templates/exceptions/template.html.haml +5 -0
- data/lipsiadmin_generators/backend/templates/helpers/backend_helper.rb +2 -0
- data/lipsiadmin_generators/backend/templates/helpers/frontend_helper.rb +2 -0
- data/lipsiadmin_generators/backend/templates/images/backend/back.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/background.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-content.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-hd-slate.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-hd.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-intro.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-login.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-menu-slate.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg-menu.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/btn-login.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/delete.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/download.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/duplicate.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/edit.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/hd-bg-slate.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/hd-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/it.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/loader.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/logo-loader.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/logo-small.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/new.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/no-image.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/preview.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/print.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/save.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/support.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/backend/us.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/corners-blue.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/corners.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/l-blue.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/l.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/r-blue.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/r.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/tb-blue.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/tb-slate.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/box/tb.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/button/btn-arrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/button/btn-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/dd/drop-add.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/dd/drop-no.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/dd/drop-yes.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/editor/tb-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/clear-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/clear-trigger.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/date-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/date-trigger.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/error-tip-corners.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/exclamation.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/search-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/search-trigger.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/text-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/trigger-tpl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/form/trigger.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/gradient-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/Thumbs.db +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/arrow-left-white.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/arrow-right-white.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/col-move-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/col-move-top.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/columns.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/dirty.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/done.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/drop-no.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/drop-yes.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/footer-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-blue-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-blue-split.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-hrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-loading.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-split.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid-vista-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid3-hd-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid3-hrow-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid3-hrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid3-special-col-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/group-by.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/group-expand-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hd-pop.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-asc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-desc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-lock.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-lock.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-unlock.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/hmenu-unlock.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/invalid_line.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/loading.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/mso-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/nowait.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-first-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-first.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-last-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-last.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-next-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-next.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-prev-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/page-prev.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/pick-button.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/refresh.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/row-check-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/row-expand-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/row-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/row-sel.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/sort_asc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/sort_desc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/grid/wait.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/collapse.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/expand.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/gradient-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/mini-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/mini-left.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/mini-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/mini-top.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/ns-collapse.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/ns-expand.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/panel-close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/panel-title-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/panel-title-light-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/stick.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/stuck.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/tab-close-on.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/layout/tab-close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/checked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/group-checked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/item-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/menu-parent.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/menu.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/menu/unchecked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/corners-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/left-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/light-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/tool-sprite-tpl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/tool-sprites.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/tools-sprites-trans.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/top-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/top-bottom.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/white-corners-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/white-left-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/panel/white-top-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/progress/progress-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/qtip/bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/qtip/close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/qtip/tip-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/s.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shadow-c.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shadow-lr.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shadow.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/blue-loading.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/calendar.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/glass-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/hd-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/large-loading.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/left-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/loading-balls.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/right-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/shared/warning.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/e-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/e-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/ne-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/ne-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/nw-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/nw-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/s-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/s-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/se-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/se-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/square.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/sw-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/sizer/sw-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-thumb.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-v-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-v-thumb.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/scroll-left.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/scroll-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/scroller-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-btm-left-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-btm-right-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-strip-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-strip-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tabs/tabs-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/btn-arrow-light.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/btn-arrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/btn-over-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/gray-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/tb-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/tb-btn-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/arrows.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-add.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-between.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-no.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-under.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/drop-yes.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-end-minus-nl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-end-minus.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-end-plus-nl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-end-plus.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-end.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-line.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-minus-nl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-minus.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-plus-nl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow-plus.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/elbow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/folder-open.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/folder.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/leaf.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/loading.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/tree/s.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/icon-error.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/icon-info.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/icon-question.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/icon-warning.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-corners.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-corners.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-right.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-right.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/right-corners.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/right-corners.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/top-bottom.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/default/window/top-bottom.psd +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/button/btn-arrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/button/btn-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/editor/tb-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/checkbox.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/clear-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/date-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/radio.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/search-trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/trigger-tpl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/form/trigger.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/gradient-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/arrow-left-white.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/arrow-right-white.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/col-move-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/col-move-top.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/footer-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-blue-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-blue-split.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-hrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-split.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-vista-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-hd-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-hrow-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-hrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-special-col-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-special-col-sel-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/group-expand-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/mso-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-first-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-first.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-last-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-last.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-next-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-next.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-prev-disabled.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-prev.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/refresh.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/row-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/row-sel.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/sort_asc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/sort_desc.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/checked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/group-checked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/item-over - Copy.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/item-over.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/menu-parent.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/menu.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/unchecked.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/corners-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/left-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/light-hd.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tool-sprite-tpl.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tool-sprites.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tools-sprites-trans.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/top-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/top-bottom.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-corners-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-left-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-top-bottom.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/progress/progress-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/tip-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/s.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/glass-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/hd-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/left-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/right-btn.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/e-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/e-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/ne-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/ne-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/nw-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/nw-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/s-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/s-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/se-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/se-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/square.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/sw-handle-dark.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/sw-handle.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-thumb.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-v-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-v-thumb.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroll-left.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroll-right.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroller-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-left-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-right-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-close.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-bg.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-btm-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tabs-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/bg-menu.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-arrow-light.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-arrow.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-over-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/gray-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/tb-bg.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/tb-btn-sprite.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/tree/arrows.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-error.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-info.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-question.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-warning.gif +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/left-corners.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/left-right.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/right-corners.png +0 -0
- data/lipsiadmin_generators/backend/templates/images/ext/slate/window/top-bottom.png +0 -0
- data/lipsiadmin_generators/backend/templates/javascripts/controls.js +3 -0
- data/lipsiadmin_generators/backend/templates/javascripts/dragdrop.js +3 -0
- data/lipsiadmin_generators/backend/templates/javascripts/effects.js +4 -0
- data/lipsiadmin_generators/backend/templates/javascripts/ext.js +76 -0
- data/lipsiadmin_generators/backend/templates/javascripts/prototype.js +12 -0
- data/lipsiadmin_generators/backend/templates/layouts/backend.html.haml +12 -0
- data/lipsiadmin_generators/backend/templates/layouts/frontend.html.haml +7 -0
- data/lipsiadmin_generators/backend/templates/migrations/create_accounts.rb +20 -0
- data/lipsiadmin_generators/backend/templates/models/account.rb +116 -0
- data/lipsiadmin_generators/backend/templates/models/account_access.rb +17 -0
- data/lipsiadmin_generators/backend/templates/models/notifier.rb +15 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/backend-slate.css +105 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/backend.css +74 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/ext-slate.css +241 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/ext.css +904 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/login.css +22 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/print.css +11 -0
- data/lipsiadmin_generators/backend/templates/stylesheets/standard.css +62 -0
- data/lipsiadmin_generators/backend/templates/views/backend/accounts/_form.html.haml +21 -0
- data/lipsiadmin_generators/backend/templates/views/backend/accounts/edit.html.haml +3 -0
- data/lipsiadmin_generators/backend/templates/views/backend/accounts/index.rjs +16 -0
- data/lipsiadmin_generators/backend/templates/views/backend/accounts/new.html.haml +3 -0
- data/lipsiadmin_generators/backend/templates/views/backend/base/index.html.haml +17 -0
- data/lipsiadmin_generators/backend/templates/views/backend/base/welcome.html.haml +2 -0
- data/lipsiadmin_generators/backend/templates/views/backend/sessions/new.html.haml +12 -0
- data/lipsiadmin_generators/backend/templates/views/javascripts/backend.js.erb +346 -0
- data/lipsiadmin_generators/backend/templates/views/javascripts/locale.js.erb +135 -0
- data/lipsiadmin_generators/backend/templates/views/notifier/registration.html.erb +2 -0
- data/lipsiadmin_generators/backend/templates/views/notifier/support_request.html.erb +1 -0
- data/lipsiadmin_generators/backend_page/REMEMBER +7 -0
- data/lipsiadmin_generators/backend_page/backend_page_generator.rb +212 -0
- data/lipsiadmin_generators/backend_page/templates/controller.rb +61 -0
- data/lipsiadmin_generators/backend_page/templates/form.html.haml +5 -0
- data/lipsiadmin_generators/backend_page/templates/form_scaffolding.html.haml +1 -0
- data/lipsiadmin_generators/backend_page/templates/functional_test.rb +45 -0
- data/lipsiadmin_generators/backend_page/templates/helper.rb +2 -0
- data/lipsiadmin_generators/backend_page/templates/view_edit.html.haml +3 -0
- data/lipsiadmin_generators/backend_page/templates/view_index.rjs.erb +16 -0
- data/lipsiadmin_generators/backend_page/templates/view_new.html.haml +3 -0
- data/lipsiadmin_generators/pdf/pdf_generator.rb +50 -0
- data/lipsiadmin_generators/pdf/templates/layout.html.erb +18 -0
- data/lipsiadmin_generators/pdf/templates/stylesheets/print.css +11 -0
- data/lipsiadmin_generators/pdf/templates/view.html.haml +7 -0
- data/resources/Pd4Ruby.class +0 -0
- data/resources/Pd4Ruby.java +52 -0
- data/resources/javascripts/ux.js +1102 -0
- data/resources/pd4ml.jar +0 -0
- data/resources/rdoc/horo.rb +613 -0
- data/resources/ss_css2.jar +0 -0
- data/tasks/lipsiadmin_tasks.rake +14 -0
- metadata +604 -0
data/resources/pd4ml.jar
ADDED
Binary file
|
@@ -0,0 +1,613 @@
|
|
1
|
+
# Horo RDoc template
|
2
|
+
# Author: Hongli Lai - http://izumi.plan99.net/blog/
|
3
|
+
#
|
4
|
+
# Based on the Jamis template:
|
5
|
+
# http://weblog.jamisbuck.org/2005/4/8/rdoc-template
|
6
|
+
|
7
|
+
if defined?(RDoc::Diagram)
|
8
|
+
RDoc::Diagram.class_eval do
|
9
|
+
remove_const(:FONT)
|
10
|
+
const_set(:FONT, "\"Bitstream Vera Sans\"")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module RDoc
|
15
|
+
module Page
|
16
|
+
|
17
|
+
FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif"
|
18
|
+
|
19
|
+
STYLE = <<CSS
|
20
|
+
a {
|
21
|
+
color: #00F;
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
a:hover {
|
26
|
+
color: #77F;
|
27
|
+
text-decoration: underline;
|
28
|
+
}
|
29
|
+
|
30
|
+
body, td, p {
|
31
|
+
font-family: %fonts%;
|
32
|
+
background: #FFF;
|
33
|
+
color: #000;
|
34
|
+
margin: 0px;
|
35
|
+
font-size: small;
|
36
|
+
}
|
37
|
+
|
38
|
+
p {
|
39
|
+
margin-top: 0.5em;
|
40
|
+
margin-bottom: 0.5em;
|
41
|
+
}
|
42
|
+
|
43
|
+
#content {
|
44
|
+
margin: 2em;
|
45
|
+
margin-left: 3.5em;
|
46
|
+
margin-right: 3.5em;
|
47
|
+
}
|
48
|
+
|
49
|
+
#description p {
|
50
|
+
margin-bottom: 0.5em;
|
51
|
+
}
|
52
|
+
|
53
|
+
.sectiontitle {
|
54
|
+
margin-top: 1em;
|
55
|
+
margin-bottom: 1em;
|
56
|
+
padding: 0.5em;
|
57
|
+
padding-left: 2em;
|
58
|
+
background: #005;
|
59
|
+
color: #FFF;
|
60
|
+
font-weight: bold;
|
61
|
+
}
|
62
|
+
|
63
|
+
.attr-rw {
|
64
|
+
padding-left: 1em;
|
65
|
+
padding-right: 1em;
|
66
|
+
text-align: center;
|
67
|
+
color: #055;
|
68
|
+
}
|
69
|
+
|
70
|
+
.attr-name {
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
|
74
|
+
.attr-desc {
|
75
|
+
}
|
76
|
+
|
77
|
+
.attr-value {
|
78
|
+
font-family: monospace;
|
79
|
+
}
|
80
|
+
|
81
|
+
.file-title-prefix {
|
82
|
+
font-size: large;
|
83
|
+
}
|
84
|
+
|
85
|
+
.file-title {
|
86
|
+
font-size: large;
|
87
|
+
font-weight: bold;
|
88
|
+
background: #005;
|
89
|
+
color: #FFF;
|
90
|
+
}
|
91
|
+
|
92
|
+
.banner {
|
93
|
+
background: #005;
|
94
|
+
color: #FFF;
|
95
|
+
border: 1px solid black;
|
96
|
+
padding: 1em;
|
97
|
+
}
|
98
|
+
|
99
|
+
.banner td {
|
100
|
+
background: transparent;
|
101
|
+
color: #FFF;
|
102
|
+
}
|
103
|
+
|
104
|
+
h1 a, h2 a, .sectiontitle a, .banner a {
|
105
|
+
color: #FF0;
|
106
|
+
}
|
107
|
+
|
108
|
+
h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover {
|
109
|
+
color: #FF7;
|
110
|
+
}
|
111
|
+
|
112
|
+
.dyn-source {
|
113
|
+
display: none;
|
114
|
+
background: #fffde8;
|
115
|
+
color: #000;
|
116
|
+
border: #ffe0bb dotted 1px;
|
117
|
+
margin: 0.5em 2em 0.5em 2em;
|
118
|
+
padding: 0.5em;
|
119
|
+
}
|
120
|
+
|
121
|
+
.dyn-source .cmt {
|
122
|
+
color: #00F;
|
123
|
+
font-style: italic;
|
124
|
+
}
|
125
|
+
|
126
|
+
.dyn-source .kw {
|
127
|
+
color: #070;
|
128
|
+
font-weight: bold;
|
129
|
+
}
|
130
|
+
|
131
|
+
.method {
|
132
|
+
margin-left: 1em;
|
133
|
+
margin-right: 1em;
|
134
|
+
margin-bottom: 1em;
|
135
|
+
}
|
136
|
+
|
137
|
+
.description pre {
|
138
|
+
padding: 0.5em;
|
139
|
+
border: #ffe0bb dotted 1px;
|
140
|
+
background: #fffde8;
|
141
|
+
}
|
142
|
+
|
143
|
+
.method .title {
|
144
|
+
font-family: monospace;
|
145
|
+
font-size: large;
|
146
|
+
border-bottom: 1px dashed black;
|
147
|
+
margin-bottom: 0.3em;
|
148
|
+
padding-bottom: 0.1em;
|
149
|
+
}
|
150
|
+
|
151
|
+
.method .description, .method .sourcecode {
|
152
|
+
margin-left: 1em;
|
153
|
+
}
|
154
|
+
|
155
|
+
.description p, .sourcecode p {
|
156
|
+
margin-bottom: 0.5em;
|
157
|
+
}
|
158
|
+
|
159
|
+
.method .sourcecode p.source-link {
|
160
|
+
text-indent: 0em;
|
161
|
+
margin-top: 0.5em;
|
162
|
+
}
|
163
|
+
|
164
|
+
.method .aka {
|
165
|
+
margin-top: 0.3em;
|
166
|
+
margin-left: 1em;
|
167
|
+
font-style: italic;
|
168
|
+
text-indent: 2em;
|
169
|
+
}
|
170
|
+
|
171
|
+
h1 {
|
172
|
+
padding: 1em;
|
173
|
+
margin-left: -1.5em;
|
174
|
+
font-size: x-large;
|
175
|
+
font-weight: bold;
|
176
|
+
color: #FFF;
|
177
|
+
background: #007;
|
178
|
+
}
|
179
|
+
|
180
|
+
h2 {
|
181
|
+
padding: 0.5em 1em 0.5em 1em;
|
182
|
+
margin-left: -1.5em;
|
183
|
+
font-size: large;
|
184
|
+
font-weight: bold;
|
185
|
+
color: #FFF;
|
186
|
+
background: #009;
|
187
|
+
}
|
188
|
+
|
189
|
+
h3, h4, h5, h6 {
|
190
|
+
color: #220088;
|
191
|
+
border-bottom: #5522bb solid 1px;
|
192
|
+
}
|
193
|
+
|
194
|
+
.sourcecode > pre {
|
195
|
+
padding: 0.5em;
|
196
|
+
border: 1px dotted black;
|
197
|
+
background: #FFE;
|
198
|
+
}
|
199
|
+
|
200
|
+
dt {
|
201
|
+
font-weight: bold
|
202
|
+
}
|
203
|
+
|
204
|
+
dd {
|
205
|
+
margin-bottom: 0.7em;
|
206
|
+
}
|
207
|
+
CSS
|
208
|
+
|
209
|
+
XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?>
|
210
|
+
<!DOCTYPE html
|
211
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
212
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
213
|
+
}
|
214
|
+
|
215
|
+
XHTML_FRAMESET_PREAMBLE = %{
|
216
|
+
<!DOCTYPE html
|
217
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
218
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
219
|
+
}
|
220
|
+
|
221
|
+
HEADER = XHTML_PREAMBLE + <<ENDHEADER
|
222
|
+
<html>
|
223
|
+
<head>
|
224
|
+
<title>%title%</title>
|
225
|
+
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
|
226
|
+
<link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
|
227
|
+
|
228
|
+
<script language="JavaScript" type="text/javascript">
|
229
|
+
// <![CDATA[
|
230
|
+
|
231
|
+
function toggleSource( id )
|
232
|
+
{
|
233
|
+
var elem
|
234
|
+
var link
|
235
|
+
|
236
|
+
if( document.getElementById )
|
237
|
+
{
|
238
|
+
elem = document.getElementById( id )
|
239
|
+
link = document.getElementById( "l_" + id )
|
240
|
+
}
|
241
|
+
else if ( document.all )
|
242
|
+
{
|
243
|
+
elem = eval( "document.all." + id )
|
244
|
+
link = eval( "document.all.l_" + id )
|
245
|
+
}
|
246
|
+
else
|
247
|
+
return false;
|
248
|
+
|
249
|
+
if( elem.style.display == "block" )
|
250
|
+
{
|
251
|
+
elem.style.display = "none"
|
252
|
+
link.innerHTML = "show source"
|
253
|
+
}
|
254
|
+
else
|
255
|
+
{
|
256
|
+
elem.style.display = "block"
|
257
|
+
link.innerHTML = "hide source"
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
function openCode( url )
|
262
|
+
{
|
263
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
264
|
+
}
|
265
|
+
// ]]>
|
266
|
+
</script>
|
267
|
+
</head>
|
268
|
+
|
269
|
+
<body>
|
270
|
+
ENDHEADER
|
271
|
+
|
272
|
+
FILE_PAGE = <<HTML
|
273
|
+
<table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
274
|
+
<tr><td>
|
275
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
276
|
+
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />%short_name%</td>
|
277
|
+
<td align="right">
|
278
|
+
<table border='0' cellspacing="0" cellpadding="2">
|
279
|
+
<tr>
|
280
|
+
<td>Path:</td>
|
281
|
+
<td>%full_path%
|
282
|
+
IF:cvsurl
|
283
|
+
(<a href="%cvsurl%">CVS</a>)
|
284
|
+
ENDIF:cvsurl
|
285
|
+
</td>
|
286
|
+
</tr>
|
287
|
+
<tr>
|
288
|
+
<td>Modified:</td>
|
289
|
+
<td>%dtm_modified%</td>
|
290
|
+
</tr>
|
291
|
+
</table>
|
292
|
+
</td></tr>
|
293
|
+
</table>
|
294
|
+
</td></tr>
|
295
|
+
</table><br />
|
296
|
+
HTML
|
297
|
+
|
298
|
+
###################################################################
|
299
|
+
|
300
|
+
CLASS_PAGE = <<HTML
|
301
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
302
|
+
<td class="file-title"><span class="file-title-prefix">%classmod%</span><br />%full_name%</td>
|
303
|
+
<td align="right">
|
304
|
+
<table cellspacing="0" cellpadding="2">
|
305
|
+
<tr valign="top">
|
306
|
+
<td>In:</td>
|
307
|
+
<td>
|
308
|
+
START:infiles
|
309
|
+
HREF:full_path_url:full_path:
|
310
|
+
IF:cvsurl
|
311
|
+
(<a href="%cvsurl%">CVS</a>)
|
312
|
+
ENDIF:cvsurl
|
313
|
+
END:infiles
|
314
|
+
</td>
|
315
|
+
</tr>
|
316
|
+
IF:parent
|
317
|
+
<tr>
|
318
|
+
<td>Parent:</td>
|
319
|
+
<td>
|
320
|
+
IF:par_url
|
321
|
+
<a href="%par_url%">
|
322
|
+
ENDIF:par_url
|
323
|
+
%parent%
|
324
|
+
IF:par_url
|
325
|
+
</a>
|
326
|
+
ENDIF:par_url
|
327
|
+
</td>
|
328
|
+
</tr>
|
329
|
+
ENDIF:parent
|
330
|
+
</table>
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
</table>
|
334
|
+
HTML
|
335
|
+
|
336
|
+
###################################################################
|
337
|
+
|
338
|
+
METHOD_LIST = <<HTML
|
339
|
+
<div id="content">
|
340
|
+
IF:diagram
|
341
|
+
<table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center">
|
342
|
+
%diagram%
|
343
|
+
</td></tr></table>
|
344
|
+
ENDIF:diagram
|
345
|
+
|
346
|
+
IF:description
|
347
|
+
<div class="description">%description%</div>
|
348
|
+
ENDIF:description
|
349
|
+
|
350
|
+
IF:requires
|
351
|
+
<div class="sectiontitle">Required Files</div>
|
352
|
+
<ul>
|
353
|
+
START:requires
|
354
|
+
<li>HREF:aref:name:</li>
|
355
|
+
END:requires
|
356
|
+
</ul>
|
357
|
+
ENDIF:requires
|
358
|
+
|
359
|
+
IF:toc
|
360
|
+
<div class="sectiontitle">Contents</div>
|
361
|
+
<ul>
|
362
|
+
START:toc
|
363
|
+
<li><a href="#%href%">%secname%</a></li>
|
364
|
+
END:toc
|
365
|
+
</ul>
|
366
|
+
ENDIF:toc
|
367
|
+
|
368
|
+
IF:methods
|
369
|
+
<div class="sectiontitle">Methods</div>
|
370
|
+
<ul>
|
371
|
+
START:methods
|
372
|
+
<li>HREF:aref:name:</li>
|
373
|
+
END:methods
|
374
|
+
</ul>
|
375
|
+
ENDIF:methods
|
376
|
+
|
377
|
+
IF:includes
|
378
|
+
<div class="sectiontitle">Included Modules</div>
|
379
|
+
<ul>
|
380
|
+
START:includes
|
381
|
+
<li>HREF:aref:name:</li>
|
382
|
+
END:includes
|
383
|
+
</ul>
|
384
|
+
ENDIF:includes
|
385
|
+
|
386
|
+
START:sections
|
387
|
+
IF:sectitle
|
388
|
+
<div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></div>
|
389
|
+
IF:seccomment
|
390
|
+
<div class="description">
|
391
|
+
%seccomment%
|
392
|
+
</div>
|
393
|
+
ENDIF:seccomment
|
394
|
+
ENDIF:sectitle
|
395
|
+
|
396
|
+
IF:classlist
|
397
|
+
<div class="sectiontitle">Classes and Modules</div>
|
398
|
+
%classlist%
|
399
|
+
ENDIF:classlist
|
400
|
+
|
401
|
+
IF:constants
|
402
|
+
<div class="sectiontitle">Constants</div>
|
403
|
+
<table border='0' cellpadding='5'>
|
404
|
+
START:constants
|
405
|
+
<tr valign='top'>
|
406
|
+
<td class="attr-name">%name%</td>
|
407
|
+
<td>=</td>
|
408
|
+
<td class="attr-value">%value%</td>
|
409
|
+
</tr>
|
410
|
+
IF:desc
|
411
|
+
<tr valign='top'>
|
412
|
+
<td> </td>
|
413
|
+
<td colspan="2" class="attr-desc">%desc%</td>
|
414
|
+
</tr>
|
415
|
+
ENDIF:desc
|
416
|
+
END:constants
|
417
|
+
</table>
|
418
|
+
ENDIF:constants
|
419
|
+
|
420
|
+
IF:attributes
|
421
|
+
<div class="sectiontitle">Attributes</div>
|
422
|
+
<table border='0' cellpadding='5'>
|
423
|
+
START:attributes
|
424
|
+
<tr valign='top'>
|
425
|
+
<td class='attr-rw'>
|
426
|
+
IF:rw
|
427
|
+
[%rw%]
|
428
|
+
ENDIF:rw
|
429
|
+
</td>
|
430
|
+
<td class='attr-name'>%name%</td>
|
431
|
+
<td class='attr-desc'>%a_desc%</td>
|
432
|
+
</tr>
|
433
|
+
END:attributes
|
434
|
+
</table>
|
435
|
+
ENDIF:attributes
|
436
|
+
|
437
|
+
IF:method_list
|
438
|
+
START:method_list
|
439
|
+
IF:methods
|
440
|
+
<div class="sectiontitle">%type% %category% methods</div>
|
441
|
+
START:methods
|
442
|
+
<div class="method">
|
443
|
+
<div class="title">
|
444
|
+
IF:callseq
|
445
|
+
<a name="%aref%"></a><b>%callseq%</b>
|
446
|
+
ENDIF:callseq
|
447
|
+
IFNOT:callseq
|
448
|
+
<a name="%aref%"></a><b>%name%</b>%params%
|
449
|
+
ENDIF:callseq
|
450
|
+
IF:codeurl
|
451
|
+
[ <a href="%codeurl%" target="SOURCE_CODE" onclick="javascript:openCode('%codeurl%'); return false;">source</a> ]
|
452
|
+
ENDIF:codeurl
|
453
|
+
</div>
|
454
|
+
IF:m_desc
|
455
|
+
<div class="description">
|
456
|
+
%m_desc%
|
457
|
+
</div>
|
458
|
+
ENDIF:m_desc
|
459
|
+
IF:aka
|
460
|
+
<div class="aka">
|
461
|
+
This method is also aliased as
|
462
|
+
START:aka
|
463
|
+
<a href="%aref%">%name%</a>
|
464
|
+
END:aka
|
465
|
+
</div>
|
466
|
+
ENDIF:aka
|
467
|
+
IF:sourcecode
|
468
|
+
<div class="sourcecode">
|
469
|
+
<p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p>
|
470
|
+
<div id="%aref%_source" class="dyn-source">
|
471
|
+
<pre>
|
472
|
+
%sourcecode%
|
473
|
+
</pre>
|
474
|
+
</div>
|
475
|
+
</div>
|
476
|
+
ENDIF:sourcecode
|
477
|
+
</div>
|
478
|
+
END:methods
|
479
|
+
ENDIF:methods
|
480
|
+
END:method_list
|
481
|
+
ENDIF:method_list
|
482
|
+
END:sections
|
483
|
+
</div>
|
484
|
+
HTML
|
485
|
+
|
486
|
+
FOOTER = <<ENDFOOTER
|
487
|
+
</body>
|
488
|
+
</html>
|
489
|
+
ENDFOOTER
|
490
|
+
|
491
|
+
BODY = HEADER + <<ENDBODY
|
492
|
+
!INCLUDE! <!-- banner header -->
|
493
|
+
|
494
|
+
<div id="bodyContent">
|
495
|
+
#{METHOD_LIST}
|
496
|
+
</div>
|
497
|
+
|
498
|
+
#{FOOTER}
|
499
|
+
ENDBODY
|
500
|
+
|
501
|
+
########################## Source code ##########################
|
502
|
+
|
503
|
+
SRC_PAGE = XHTML_PREAMBLE + <<HTML
|
504
|
+
<html>
|
505
|
+
<head><title>%title%</title>
|
506
|
+
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
|
507
|
+
<style type="text/css">
|
508
|
+
.ruby-comment { color: green; font-style: italic }
|
509
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
510
|
+
.ruby-identifier { color: #222222; }
|
511
|
+
.ruby-ivar { color: #2233dd; }
|
512
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
513
|
+
.ruby-node { color: #777777; }
|
514
|
+
.ruby-operator { color: #111111; }
|
515
|
+
.ruby-regexp { color: #662222; }
|
516
|
+
.ruby-value { color: #662222; font-style: italic }
|
517
|
+
.kw { color: #3333FF; font-weight: bold }
|
518
|
+
.cmt { color: green; font-style: italic }
|
519
|
+
.str { color: #662222; font-style: italic }
|
520
|
+
.re { color: #662222; }
|
521
|
+
</style>
|
522
|
+
</head>
|
523
|
+
<body bgcolor="white">
|
524
|
+
<pre>%code%</pre>
|
525
|
+
</body>
|
526
|
+
</html>
|
527
|
+
HTML
|
528
|
+
|
529
|
+
########################## Index ################################
|
530
|
+
|
531
|
+
FR_INDEX_BODY = <<HTML
|
532
|
+
!INCLUDE!
|
533
|
+
HTML
|
534
|
+
|
535
|
+
FILE_INDEX = XHTML_PREAMBLE + <<HTML
|
536
|
+
<html>
|
537
|
+
<head>
|
538
|
+
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
|
539
|
+
<title>Index</title>
|
540
|
+
<style type="text/css">
|
541
|
+
<!--
|
542
|
+
body {
|
543
|
+
background-color: #EEE;
|
544
|
+
font-family: #{FONTS};
|
545
|
+
color: #000;
|
546
|
+
margin: 0px;
|
547
|
+
}
|
548
|
+
.banner {
|
549
|
+
background: #005;
|
550
|
+
color: #FFF;
|
551
|
+
padding: 0.2em;
|
552
|
+
font-size: small;
|
553
|
+
font-weight: bold;
|
554
|
+
text-align: center;
|
555
|
+
}
|
556
|
+
.entries {
|
557
|
+
margin: 0.25em 1em 0 1em;
|
558
|
+
font-size: x-small;
|
559
|
+
}
|
560
|
+
a {
|
561
|
+
color: #00F;
|
562
|
+
text-decoration: none;
|
563
|
+
white-space: nowrap;
|
564
|
+
}
|
565
|
+
a:hover {
|
566
|
+
color: #77F;
|
567
|
+
text-decoration: underline;
|
568
|
+
}
|
569
|
+
-->
|
570
|
+
</style>
|
571
|
+
<base target="docwin" />
|
572
|
+
</head>
|
573
|
+
<body>
|
574
|
+
<div class="banner">%list_title%</div>
|
575
|
+
<div class="entries">
|
576
|
+
START:entries
|
577
|
+
<a href="%href%">%name%</a><br />
|
578
|
+
END:entries
|
579
|
+
</div>
|
580
|
+
</body></html>
|
581
|
+
HTML
|
582
|
+
|
583
|
+
CLASS_INDEX = FILE_INDEX
|
584
|
+
METHOD_INDEX = FILE_INDEX
|
585
|
+
|
586
|
+
INDEX = XHTML_FRAMESET_PREAMBLE + <<HTML
|
587
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
588
|
+
<head>
|
589
|
+
<title>%title%</title>
|
590
|
+
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
|
591
|
+
</head>
|
592
|
+
|
593
|
+
<frameset cols="20%,*">
|
594
|
+
<frameset rows="15%,55%,30%">
|
595
|
+
<frame src="fr_file_index.html" title="Files" name="Files" />
|
596
|
+
<frame src="fr_class_index.html" name="Classes" />
|
597
|
+
<frame src="fr_method_index.html" name="Methods" />
|
598
|
+
</frameset>
|
599
|
+
<frame src="%initial_page%" name="docwin" />
|
600
|
+
<noframes>
|
601
|
+
<body bgcolor="white">
|
602
|
+
Click <a href="html/index.html">here</a> for a non-frames
|
603
|
+
version of this page.
|
604
|
+
</body>
|
605
|
+
</noframes>
|
606
|
+
</frameset>
|
607
|
+
|
608
|
+
</html>
|
609
|
+
HTML
|
610
|
+
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|