luca 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +38 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +27 -0
- data/README.md +45 -42
- data/ROADMAP +6 -29
- data/{assets → app/assets}/images/glyphicons-halflings-white.png +0 -0
- data/{assets → app/assets}/images/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/luca/basic.coffee +8 -0
- data/{src → app/assets/javascripts/luca}/components/application.coffee +153 -40
- data/{src → app/assets/javascripts/luca}/components/base_toolbar.coffee +2 -2
- data/{src → app/assets/javascripts/luca}/components/collection_loader_view.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/collection_view.coffee +45 -104
- data/app/assets/javascripts/luca/components/controller.coffee +99 -0
- data/{src/core/field.coffee → app/assets/javascripts/luca/components/fields/base.coffee} +1 -1
- data/{src → app/assets/javascripts/luca}/components/fields/button_field.coffee +1 -2
- data/{src → app/assets/javascripts/luca}/components/fields/checkbox_array.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/fields/checkbox_field.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/fields/file_upload_field.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/fields/hidden_field.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/fields/label_field.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/fields/select_field.coffee +8 -4
- data/{src → app/assets/javascripts/luca}/components/fields/text_area_field.coffee +3 -2
- data/{src → app/assets/javascripts/luca}/components/fields/text_field.coffee +2 -3
- data/{src → app/assets/javascripts/luca}/components/fields/type_ahead_field.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/form_button_toolbar.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/form_view.coffee +111 -44
- data/{src → app/assets/javascripts/luca}/components/grid_view.coffee +6 -6
- data/{src → app/assets/javascripts/luca}/components/index.coffee +0 -0
- data/app/assets/javascripts/luca/components/load_mask.coffee +8 -0
- data/app/assets/javascripts/luca/components/multi_collection_view.coffee +92 -0
- data/{src → app/assets/javascripts/luca}/components/nav_bar.coffee +5 -1
- data/app/assets/javascripts/luca/components/page_controller.coffee +7 -0
- data/{src → app/assets/javascripts/luca}/components/pagination_control.coffee +13 -13
- data/{src → app/assets/javascripts/luca}/components/record_manager.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/router.coffee +6 -1
- data/app/assets/javascripts/luca/components/table_view.coffee +89 -0
- data/{src → app/assets/javascripts/luca}/components/template.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/components/toolbar_dialog.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/concerns/application_event_bindings.coffee +1 -1
- data/app/assets/javascripts/luca/concerns/collection_event_bindings.coffee +44 -0
- data/{src → app/assets/javascripts/luca}/concerns/deferrable.coffee +1 -2
- data/{src/plugins → app/assets/javascripts/luca/concerns}/development_tool_helpers.coffee +1 -1
- data/{src → app/assets/javascripts/luca}/concerns/dom_helpers.coffee +10 -7
- data/{src → app/assets/javascripts/luca}/concerns/enhanced_properties.coffee +0 -0
- data/app/assets/javascripts/luca/concerns/filterable.coffee +104 -0
- data/{src → app/assets/javascripts/luca}/concerns/grid_layout.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/concerns/loadmaskable.coffee +17 -11
- data/{src → app/assets/javascripts/luca}/concerns/local_storage.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/concerns/modal_view.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/concerns/model_presenter.coffee +0 -0
- data/{src → app/assets/javascripts/luca}/concerns/paginatable.coffee +6 -14
- data/app/assets/javascripts/luca/concerns/query_collection_bindings.coffee +46 -0
- data/app/assets/javascripts/luca/concerns/sortable.coffee +69 -0
- data/app/assets/javascripts/luca/concerns/state_model.coffee +44 -0
- data/{src → app/assets/javascripts/luca}/concerns/templating.coffee +4 -1
- data/app/assets/javascripts/luca/config.coffee +49 -0
- data/{src → app/assets/javascripts/luca}/containers/card_view.coffee +30 -13
- data/{src/core → app/assets/javascripts/luca/containers}/container.coffee +57 -18
- data/app/assets/javascripts/luca/containers/index.coffee +2 -0
- data/{src → app/assets/javascripts/luca}/containers/modal_view.coffee +1 -1
- data/{src → app/assets/javascripts/luca}/containers/panel_toolbar.coffee +1 -1
- data/{src → app/assets/javascripts/luca}/containers/tab_view.coffee +1 -1
- data/{src → app/assets/javascripts/luca}/containers/viewport.coffee +4 -4
- data/{src → app/assets/javascripts/luca}/core/collection.coffee +58 -49
- data/{src/plugins → app/assets/javascripts/luca/core}/events.coffee +34 -2
- data/app/assets/javascripts/luca/core/index.coffee +12 -0
- data/{src → app/assets/javascripts/luca}/core/model.coffee +1 -1
- data/{src → app/assets/javascripts/luca}/core/observer.coffee +0 -0
- data/app/assets/javascripts/luca/core/panel.coffee +112 -0
- data/app/assets/javascripts/luca/core/registry/component_definition.coffee +318 -0
- data/{src → app/assets/javascripts/luca/core/registry}/concerns.coffee +0 -0
- data/app/assets/javascripts/luca/core/registry/index.coffee +4 -0
- data/app/assets/javascripts/luca/core/registry/meta_data.coffee +97 -0
- data/{src/core → app/assets/javascripts/luca/core/registry}/registry.coffee +10 -6
- data/app/assets/javascripts/luca/core/templates.coffee +47 -0
- data/{src → app/assets/javascripts/luca}/core/view.coffee +69 -11
- data/app/assets/javascripts/luca/dependencies.coffee +7 -0
- data/{src/tools → app/assets/javascripts/luca/development}/code_mirror_field.coffee +2 -1
- data/{src/tools → app/assets/javascripts/luca/development}/console.coffee +6 -5
- data/app/assets/javascripts/luca/development/index.coffee +2 -0
- data/{src → app/assets/javascripts/luca}/framework.coffee +74 -90
- data/app/assets/javascripts/luca/index.coffee +8 -0
- data/{src → app/assets/javascripts/luca}/managers/collection_manager.coffee +16 -7
- data/app/assets/javascripts/luca/managers/index.coffee +2 -0
- data/app/assets/javascripts/luca/managers/socket_manager.coffee +66 -0
- data/{src → app/assets/javascripts/luca}/templates/components/bootstrap_form_controls.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/collection_loader_view.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/form_alert.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/grid_view.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/grid_view_empty_text.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/load_mask.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/nav_bar.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/components/pagination.jst.ejs +0 -0
- data/{src/templates → app/assets/javascripts/luca/templates/components}/table_view.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/containers/basic.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/containers/tab_selector_container.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/containers/tab_view.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/containers/toolbar_wrapper.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/button_field.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/button_field_link.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_array.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_array_item.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/checkbox_field.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/file_upload_field.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/hidden_field.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/select_field.jst.ejs +0 -0
- data/{src → app/assets/javascripts/luca}/templates/fields/text_area_field.jst.ejs +1 -1
- data/{src → app/assets/javascripts/luca}/templates/fields/text_field.jst.ejs +1 -1
- data/app/assets/javascripts/luca/util/deprecations.coffee +18 -0
- data/app/assets/javascripts/luca/util/index.coffee +3 -0
- data/app/assets/javascripts/luca/util/logging.coffee +15 -0
- data/{src/util.coffee → app/assets/javascripts/luca/util/luca.coffee} +20 -4
- data/{src/core → app/assets/javascripts/luca/util}/script_loader.coffee +0 -0
- data/app/assets/javascripts/luca-ui.js +1 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/components/checkbox_array.scss +0 -0
- data/app/assets/stylesheets/luca/components/form_view.scss +7 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/components/grid_view.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/components/load_mask.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/components/viewport.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/containers/container.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/containers/modal_view.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/containers/panels.scss +0 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/containers/tab_view.scss +0 -0
- data/{src/stylesheets/tools → app/assets/stylesheets/luca/development}/console.scss +0 -0
- data/app/assets/stylesheets/luca/development/index.css +3 -0
- data/app/assets/stylesheets/luca/index.css +4 -0
- data/{src/stylesheets → app/assets/stylesheets/luca}/normalize.scss +0 -0
- data/app.rb +2 -4
- data/lib/generators/luca/application/application_generator.rb +12 -8
- data/lib/generators/luca/application/templates/controller.rb +0 -2
- data/lib/generators/luca/application/templates/index.html.erb +12 -0
- data/lib/generators/luca/application/templates/index.html.haml +1 -0
- data/lib/generators/luca/application/templates/javascripts/application.coffee +18 -0
- data/lib/generators/luca/application/templates/javascripts/collection_manager.coffee +2 -0
- data/lib/generators/luca/application/templates/javascripts/config.coffee +3 -0
- data/lib/generators/luca/application/templates/javascripts/{dependencies.js.coffee → dependencies.coffee} +1 -0
- data/lib/generators/luca/application/templates/javascripts/home.jst.ejs +2 -0
- data/lib/generators/luca/application/templates/javascripts/index.coffee +15 -0
- data/lib/generators/luca/application/templates/javascripts/router.coffee +4 -0
- data/lib/luca/component_documentation.rb +72 -0
- data/lib/luca/rails/engine.rb +4 -0
- data/lib/luca/rails/version.rb +1 -1
- data/lib/luca.rb +1 -1
- data/lib/railties/luca/tasks.rake +31 -0
- data/luca.gemspec +1 -0
- data/spec/components/controller_spec.coffee +62 -0
- data/spec/components/form_view_spec.coffee +4 -0
- data/spec/concerns/collection_event_bindings_spec.coffee +15 -0
- data/spec/concerns/dom_helpers_spec.coffee +2 -2
- data/spec/concerns/filterable_spec.coffee +4 -4
- data/spec/concerns/state_model_spec.coffee +50 -0
- data/spec/core/collection_spec.coffee +25 -0
- data/spec/{concerns_spec.coffee → core/concerns_spec.coffee} +0 -0
- data/spec/core/container_spec.coffee +57 -5
- data/spec/core/define_spec.coffee +116 -0
- data/spec/core/events_spec.coffee +26 -0
- data/spec/core/field_spec.coffee +4 -0
- data/spec/{framework_spec.coffee → core/framework_spec.coffee} +31 -2
- data/spec/{util_spec.coffee → core/util_spec.coffee} +2 -2
- data/spec/core/view_spec.coffee +65 -1
- data/spec/dependencies/index.coffee +3 -0
- data/{assets/javascripts → spec}/dependencies/jasmine-html.js +0 -0
- data/{assets/javascripts → spec}/dependencies/jasmine.js +0 -0
- data/{assets/javascripts → spec}/dependencies/sinon.js +0 -0
- data/spec/luca-spec.coffee +9 -0
- data/vendor/assets/javascripts/backbone-ext.js +21 -0
- data/vendor/assets/javascripts/backbone-min.js +38 -0
- data/vendor/assets/javascripts/backbone-query.min.js +1 -0
- data/vendor/assets/javascripts/bootstrap.min.js +7 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-coffeescript.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-css.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-html.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-javascript.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-less.js +0 -0
- data/vendor/assets/javascripts/codemirror-ui.js +503 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror-vim.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/codemirror.js +0 -0
- data/vendor/assets/javascripts/inflections.js +656 -0
- data/vendor/assets/javascripts/jasmine-html.js +190 -0
- data/vendor/assets/javascripts/jasmine.js +2476 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/jquery.js +0 -0
- data/vendor/assets/javascripts/luca-spec.js +11 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/modal.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/modernizr.min.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/prettify.js +0 -0
- data/vendor/assets/javascripts/sinon.js +3469 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/spin-min.js +0 -0
- data/{assets/javascripts/dependencies → vendor/assets/javascripts}/underscore-min.js +0 -0
- data/vendor/assets/javascripts/underscore-string.min.js +1 -0
- data/vendor/assets/stylesheets/bootstrap-responsive.min.css +9 -0
- data/vendor/assets/stylesheets/bootstrap.min.css +9 -0
- data/{assets → vendor/assets}/stylesheets/codemirror-blackboard.css +0 -0
- data/{assets → vendor/assets}/stylesheets/codemirror-monokai.css +0 -0
- data/{assets → vendor/assets}/stylesheets/codemirror.css +0 -0
- data/{assets → vendor/assets}/stylesheets/jasmine.css +0 -0
- data/vendor/assets/stylesheets/luca-ui.css +0 -601
- data/views/jasmine.erb +2 -2
- metadata +190 -299
- data/assets/javascripts/dependencies/backbone-min.js +0 -37
- data/assets/javascripts/dependencies/backbone-query.min.js +0 -1
- data/assets/javascripts/dependencies/bootstrap.min.js +0 -7
- data/assets/javascripts/dependencies/coffee-script.js +0 -12189
- data/assets/javascripts/dependencies/underscore-string.min.js +0 -14
- data/assets/javascripts/dependencies.coffee +0 -5
- data/assets/javascripts/luca/index.coffee +0 -1
- data/assets/javascripts/luca-templates.js +0 -1
- data/assets/javascripts/luca-ui-base.coffee +0 -1
- data/assets/javascripts/luca-ui-bootstrap.js +0 -1
- data/assets/javascripts/luca-ui-development-tools.coffee +0 -9
- data/assets/javascripts/luca-ui-full.js +0 -3
- data/assets/javascripts/luca-ui-spec.coffee +0 -2
- data/assets/javascripts/luca-ui.js +0 -3
- data/assets/javascripts/sandbox/application.coffee +0 -57
- data/assets/javascripts/sandbox/config.coffee +0 -7
- data/assets/javascripts/sandbox/router.coffee +0 -24
- data/assets/javascripts/sandbox/templates/builder/component_list.luca +0 -1
- data/assets/javascripts/sandbox/templates/builder.luca +0 -2
- data/assets/javascripts/sandbox/templates/main.luca +0 -53
- data/assets/javascripts/sandbox/templates/sandbox/docs_index.luca +0 -1
- data/assets/javascripts/sandbox/templates/sandbox/navigation.luca +0 -8
- data/assets/javascripts/sandbox/templates/sandbox/readme.luca +0 -30
- data/assets/javascripts/sandbox/templates/sandbox.luca +0 -1
- data/assets/javascripts/sandbox/views/builder/builder_canvas.coffee +0 -3
- data/assets/javascripts/sandbox/views/builder/builder_editor.coffee +0 -6
- data/assets/javascripts/sandbox/views/builder/component_list.coffee +0 -38
- data/assets/javascripts/sandbox/views/builder/project_browser.coffee +0 -14
- data/assets/javascripts/sandbox/views/builder.coffee +0 -133
- data/assets/javascripts/sandbox/views/docs_controller.coffee +0 -7
- data/assets/javascripts/sandbox/views/inspector/instance_filter.coffee +0 -18
- data/assets/javascripts/sandbox/views/inspector/instance_list.coffee +0 -0
- data/assets/javascripts/sandbox/views/inspector.coffee +0 -11
- data/assets/javascripts/sandbox/views/top_navigation.coffee +0 -4
- data/assets/javascripts/sandbox.coffee +0 -7
- data/assets/javascripts/spec-dependencies.coffee +0 -4
- data/assets/stylesheets/bootstrap-responsive.min.css +0 -2
- data/assets/stylesheets/bootstrap.min.css +0 -727
- data/assets/stylesheets/luca-ui-bootstrap.css +0 -4
- data/assets/stylesheets/luca-ui-development-tools.css +0 -5
- data/assets/stylesheets/luca-ui-full.css +0 -3
- data/assets/stylesheets/luca-ui-spec.css +0 -3
- data/assets/stylesheets/luca-ui.css +0 -3
- data/assets/stylesheets/prettify.css +0 -40
- data/assets/stylesheets/sandbox/builder.scss +0 -79
- data/assets/stylesheets/sandbox/sandbox.scss +0 -18
- data/assets/stylesheets/sandbox.css +0 -3
- data/assets/stylesheets/themes/amelia-bootstrap.css +0 -826
- data/assets/stylesheets/themes/slate-bootstrap.css +0 -797
- data/assets/stylesheets/themes/superhero-bootstrap.css +0 -830
- data/lib/generators/luca/application/templates/javascripts/application.js +0 -28
- data/lib/generators/luca/application/templates/javascripts/application.js.coffee +0 -20
- data/lib/generators/luca/application/templates/javascripts/config.js +0 -15
- data/lib/generators/luca/application/templates/javascripts/config.js.coffee +0 -9
- data/lib/generators/luca/application/templates/javascripts/dependencies.js +0 -5
- data/lib/generators/luca/application/templates/javascripts/index.js +0 -9
- data/lib/generators/luca/application/templates/javascripts/index.js.coffee +0 -9
- data/lib/generators/luca/application/templates/javascripts/main.js +0 -8
- data/lib/generators/luca/application/templates/javascripts/main.js.coffee +0 -3
- data/lib/generators/luca/application/templates/javascripts/main.jst.ejs +0 -1
- data/lib/generators/luca/application/templates/javascripts/router.js +0 -12
- data/lib/generators/luca/application/templates/javascripts/router.js.coffee +0 -7
- data/spec/containers/column_view_spec.coffee +0 -0
- data/spec/containers/split_view_spec.coffee +0 -0
- data/spec/define_spec.coffee +0 -13
- data/src/components/controller.coffee +0 -65
- data/src/components/load_mask.coffee +0 -3
- data/src/components/multi_collection_view.coffee +0 -121
- data/src/components/page_controller.coffee +0 -2
- data/src/components/table_view.coffee +0 -62
- data/src/concerns/collection_event_bindings.coffee +0 -26
- data/src/concerns/filterable.coffee +0 -82
- data/src/concerns/state_model.coffee +0 -16
- data/src/containers/column_view.coffee +0 -42
- data/src/containers/page_view.coffee +0 -2
- data/src/containers/panel_view.coffee +0 -23
- data/src/containers/split_view.coffee +0 -8
- data/src/core/core.coffee +0 -0
- data/src/core/meta_data.coffee +0 -37
- data/src/core/panel.coffee +0 -118
- data/src/define.coffee +0 -170
- data/src/index.coffee +0 -25
- data/src/managers/socket_manager.coffee +0 -54
- data/src/samples/definition.coffee +0 -49
- data/src/stylesheets/base.scss +0 -0
- data/src/stylesheets/components/form_view.scss +0 -59
- data/src/stylesheets/components/toolbar.scss +0 -0
- data/src/stylesheets/tools/class_browser.scss +0 -32
- data/src/stylesheets/tools/code_editor.scss +0 -24
- data/src/stylesheets/tools/component_tester.scss +0 -26
- data/src/tools/application_inspector.coffee +0 -2
- data/src/tools/code_editor.coffee +0 -258
- data/src/tools/coffee_script_editor.coffee +0 -82
- data/src/tools/collection_inspector.coffee +0 -4
- data/src/tools/collections/components.coffee +0 -59
- data/src/tools/collections/instances.coffee +0 -15
- data/src/tools/component_tester.coffee +0 -462
- data/src/tools/models/components.coffee +0 -25
- data/src/tools/models/instance.coffee +0 -2
- data/src/tools/templates/component_tester/help.luca +0 -14
- data/vendor/assets/javascripts/luca-ui-base.js +0 -5304
- data/vendor/assets/javascripts/luca-ui-bootstrap.js +0 -9
- data/vendor/assets/javascripts/luca-ui-development-tools.js +0 -18561
- data/vendor/assets/javascripts/luca-ui-development-tools.min.js +0 -15
- data/vendor/assets/javascripts/luca-ui-full.js +0 -6319
- data/vendor/assets/javascripts/luca-ui-full.min.js +0 -9
- data/vendor/assets/javascripts/luca-ui-spec.js +0 -6815
- data/vendor/assets/javascripts/luca-ui-templates.js +0 -92
- data/vendor/assets/javascripts/luca-ui.js +0 -6234
- data/vendor/assets/javascripts/luca-ui.min.js +0 -5
- data/vendor/assets/luca-ui/base.css +0 -85
- data/vendor/assets/luca-ui/components/application.js +0 -91
- data/vendor/assets/luca-ui/components/base_toolbar.js +0 -23
- data/vendor/assets/luca-ui/components/controller.js +0 -38
- data/vendor/assets/luca-ui/components/fields/button_field.js +0 -45
- data/vendor/assets/luca-ui/components/fields/checkbox_field.js +0 -43
- data/vendor/assets/luca-ui/components/fields/file_upload_field.js +0 -20
- data/vendor/assets/luca-ui/components/fields/hidden_field.js +0 -20
- data/vendor/assets/luca-ui/components/fields/select_field.js +0 -97
- data/vendor/assets/luca-ui/components/fields/text_area_field.js +0 -48
- data/vendor/assets/luca-ui/components/fields/text_field.js +0 -46
- data/vendor/assets/luca-ui/components/fields/type_ahead_field.js +0 -13
- data/vendor/assets/luca-ui/components/form_button_toolbar.js +0 -32
- data/vendor/assets/luca-ui/components/form_view.css +0 -32
- data/vendor/assets/luca-ui/components/form_view.js +0 -207
- data/vendor/assets/luca-ui/components/grid_view.css +0 -76
- data/vendor/assets/luca-ui/components/grid_view.js +0 -202
- data/vendor/assets/luca-ui/components/record_manager.js +0 -207
- data/vendor/assets/luca-ui/components/router.js +0 -36
- data/vendor/assets/luca-ui/components/template.js +0 -26
- data/vendor/assets/luca-ui/components/toolbar.css +0 -11
- data/vendor/assets/luca-ui/containers/card_view.js +0 -98
- data/vendor/assets/luca-ui/containers/column_view.js +0 -52
- data/vendor/assets/luca-ui/containers/container.css +0 -3
- data/vendor/assets/luca-ui/containers/modal_view.css +0 -0
- data/vendor/assets/luca-ui/containers/modal_view.js +0 -87
- data/vendor/assets/luca-ui/containers/panel_view.js +0 -34
- data/vendor/assets/luca-ui/containers/split_view.js +0 -13
- data/vendor/assets/luca-ui/containers/tab_view.css +0 -16
- data/vendor/assets/luca-ui/containers/tab_view.js +0 -80
- data/vendor/assets/luca-ui/containers/viewport.js +0 -18
- data/vendor/assets/luca-ui/core/collection.js +0 -221
- data/vendor/assets/luca-ui/core/container.js +0 -205
- data/vendor/assets/luca-ui/core/field.js +0 -59
- data/vendor/assets/luca-ui/core/observer.js +0 -42
- data/vendor/assets/luca-ui/core/view.js +0 -127
- data/vendor/assets/luca-ui/framework.js +0 -110
- data/vendor/assets/luca-ui/index.js +0 -5
- data/vendor/assets/luca-ui/managers/collection_manager.js +0 -98
- data/vendor/assets/luca-ui/managers/socket_manager.js +0 -52
- data/vendor/assets/luca-ui/modules/deferrable.js +0 -21
- data/vendor/assets/luca-ui/modules/local_storage.js +0 -81
- data/vendor/assets/luca-ui/normalize.css +0 -359
- data/vendor/assets/luca-ui/stylesheets/base.css +0 -85
- data/vendor/assets/luca-ui/stylesheets/components/form_view.css +0 -32
- data/vendor/assets/luca-ui/stylesheets/components/grid_view.css +0 -76
- data/vendor/assets/luca-ui/stylesheets/components/toolbar.css +0 -11
- data/vendor/assets/luca-ui/stylesheets/containers/container.css +0 -3
- data/vendor/assets/luca-ui/stylesheets/containers/modal_view.css +0 -0
- data/vendor/assets/luca-ui/stylesheets/containers/tab_view.css +0 -16
- data/vendor/assets/luca-ui/stylesheets/normalize.css +0 -359
- data/vendor/assets/luca-ui/templates/components/bootstrap_form_controls.js +0 -4
- data/vendor/assets/luca-ui/templates/components/form_view.js +0 -4
- data/vendor/assets/luca-ui/templates/components/grid_view.js +0 -4
- data/vendor/assets/luca-ui/templates/components/grid_view_empty_text.js +0 -4
- data/vendor/assets/luca-ui/templates/containers/basic.js +0 -4
- data/vendor/assets/luca-ui/templates/containers/tab_selector_container.js +0 -4
- data/vendor/assets/luca-ui/templates/containers/tab_view.js +0 -4
- data/vendor/assets/luca-ui/templates/containers/toolbar_wrapper.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/button_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/button_field_link.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/checkbox_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/file_upload_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/hidden_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/select_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/text_area_field.js +0 -4
- data/vendor/assets/luca-ui/templates/fields/text_field.js +0 -4
- data/vendor/assets/luca-ui/templates/sample/contents.js +0 -4
- data/vendor/assets/luca-ui/templates/sample/welcome.js +0 -4
@@ -1,21 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
|
3
|
-
Luca.modules.Deferrable = {
|
4
|
-
configure_collection: function(setAsDeferrable) {
|
5
|
-
var collectionManager, _ref, _ref2;
|
6
|
-
if (setAsDeferrable == null) setAsDeferrable = true;
|
7
|
-
if (!this.collection) return;
|
8
|
-
if (_.isString(this.collection) && (collectionManager = (_ref = Luca.CollectionManager) != null ? _ref.get() : void 0)) {
|
9
|
-
this.collection = collectionManager.getOrCreate(this.collection);
|
10
|
-
}
|
11
|
-
if (!(this.collection && _.isFunction(this.collection.fetch) && _.isFunction(this.collection.reset))) {
|
12
|
-
this.collection = new Luca.Collection(this.collection.initial_set, this.collection);
|
13
|
-
}
|
14
|
-
if ((_ref2 = this.collection) != null ? _ref2.deferrable_trigger : void 0) {
|
15
|
-
this.deferrable_trigger = this.collection.deferrable_trigger;
|
16
|
-
}
|
17
|
-
if (setAsDeferrable) return this.deferrable = this.collection;
|
18
|
-
}
|
19
|
-
};
|
20
|
-
|
21
|
-
}).call(this);
|
@@ -1,81 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
|
3
|
-
Luca.LocalStore = (function() {
|
4
|
-
|
5
|
-
function LocalStore(name) {
|
6
|
-
var store;
|
7
|
-
this.name = name;
|
8
|
-
store = localStorage.getItem(this.name);
|
9
|
-
this.data = (store && JSON.parse(store)) || {};
|
10
|
-
}
|
11
|
-
|
12
|
-
LocalStore.prototype.guid = function() {
|
13
|
-
var S4;
|
14
|
-
S4 = function() {
|
15
|
-
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
16
|
-
};
|
17
|
-
return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
|
18
|
-
};
|
19
|
-
|
20
|
-
LocalStore.prototype.save = function() {
|
21
|
-
return localStorage.setItem(this.name, JSON.stringify(this.data));
|
22
|
-
};
|
23
|
-
|
24
|
-
LocalStore.prototype.create = function(model) {
|
25
|
-
if (!model.id) model.id = model.attribtues.id = this.guid();
|
26
|
-
this.data[model.id] = model;
|
27
|
-
this.save();
|
28
|
-
return model;
|
29
|
-
};
|
30
|
-
|
31
|
-
LocalStore.prototype.update = function(model) {
|
32
|
-
this.data[model.id] = model;
|
33
|
-
this.save();
|
34
|
-
return model;
|
35
|
-
};
|
36
|
-
|
37
|
-
LocalStore.prototype.find = function(model) {
|
38
|
-
return this.data[model.id];
|
39
|
-
};
|
40
|
-
|
41
|
-
LocalStore.prototype.findAll = function() {
|
42
|
-
return _.values(this.data);
|
43
|
-
};
|
44
|
-
|
45
|
-
LocalStore.prototype.destroy = function(model) {
|
46
|
-
delete this.data[model.id];
|
47
|
-
this.save();
|
48
|
-
return model;
|
49
|
-
};
|
50
|
-
|
51
|
-
return LocalStore;
|
52
|
-
|
53
|
-
})();
|
54
|
-
|
55
|
-
Backbone.LocalSync = function(method, model, options) {
|
56
|
-
var resp, store;
|
57
|
-
store = model.localStorage || model.collection.localStorage;
|
58
|
-
resp = (function() {
|
59
|
-
switch (method) {
|
60
|
-
case "read":
|
61
|
-
if (model.id) {
|
62
|
-
return store.find(model);
|
63
|
-
} else {
|
64
|
-
return store.findAll();
|
65
|
-
}
|
66
|
-
case "create":
|
67
|
-
return store.create(model);
|
68
|
-
case "update":
|
69
|
-
return store.update(model);
|
70
|
-
case "delete":
|
71
|
-
return store.destroy(model);
|
72
|
-
}
|
73
|
-
})();
|
74
|
-
if (resp) {
|
75
|
-
return options.success(resp);
|
76
|
-
} else {
|
77
|
-
return options.error("Record not found");
|
78
|
-
}
|
79
|
-
};
|
80
|
-
|
81
|
-
}).call(this);
|
@@ -1,359 +0,0 @@
|
|
1
|
-
/* normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
|
2
|
-
/* =============================================================================
|
3
|
-
HTML5 display definitions
|
4
|
-
========================================================================== */
|
5
|
-
/*
|
6
|
-
* Corrects block display not defined in IE6/7/8/9 & FF3
|
7
|
-
*/
|
8
|
-
article,
|
9
|
-
aside,
|
10
|
-
details,
|
11
|
-
figcaption,
|
12
|
-
figure,
|
13
|
-
footer,
|
14
|
-
header,
|
15
|
-
hgroup,
|
16
|
-
nav,
|
17
|
-
section {
|
18
|
-
display: block; }
|
19
|
-
|
20
|
-
/*
|
21
|
-
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
22
|
-
*/
|
23
|
-
audio,
|
24
|
-
canvas,
|
25
|
-
video {
|
26
|
-
display: inline-block;
|
27
|
-
*display: inline;
|
28
|
-
*zoom: 1; }
|
29
|
-
|
30
|
-
/*
|
31
|
-
* Prevents modern browsers from displaying 'audio' without controls
|
32
|
-
*/
|
33
|
-
audio:not([controls]) {
|
34
|
-
display: none; }
|
35
|
-
|
36
|
-
/*
|
37
|
-
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
38
|
-
* Known issue: no IE6 support
|
39
|
-
*/
|
40
|
-
[hidden] {
|
41
|
-
display: none; }
|
42
|
-
|
43
|
-
/* =============================================================================
|
44
|
-
Base
|
45
|
-
========================================================================== */
|
46
|
-
/*
|
47
|
-
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
48
|
-
* http://clagnut.com/blog/348/#c790
|
49
|
-
* 2. Keeps page centred in all browsers regardless of content height
|
50
|
-
* 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
51
|
-
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
52
|
-
*/
|
53
|
-
html {
|
54
|
-
font-size: 100%;
|
55
|
-
/* 1 */
|
56
|
-
overflow-y: scroll;
|
57
|
-
/* 2 */
|
58
|
-
-webkit-text-size-adjust: 100%;
|
59
|
-
/* 3 */
|
60
|
-
-ms-text-size-adjust: 100%;
|
61
|
-
/* 3 */ }
|
62
|
-
|
63
|
-
/*
|
64
|
-
* Addresses margins handled incorrectly in IE6/7
|
65
|
-
*/
|
66
|
-
body {
|
67
|
-
margin: 0; }
|
68
|
-
|
69
|
-
/*
|
70
|
-
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
71
|
-
*/
|
72
|
-
body,
|
73
|
-
button,
|
74
|
-
input,
|
75
|
-
select,
|
76
|
-
textarea {
|
77
|
-
font-family: sans-serif; }
|
78
|
-
|
79
|
-
/* =============================================================================
|
80
|
-
Links
|
81
|
-
========================================================================== */
|
82
|
-
/*
|
83
|
-
* Addresses outline displayed oddly in Chrome
|
84
|
-
*/
|
85
|
-
a:focus {
|
86
|
-
outline: thin dotted; }
|
87
|
-
|
88
|
-
/*
|
89
|
-
* Improves readability when focused and also mouse hovered in all browsers
|
90
|
-
* people.opera.com/patrickl/experiments/keyboard/test
|
91
|
-
*/
|
92
|
-
a:hover,
|
93
|
-
a:active {
|
94
|
-
outline: 0; }
|
95
|
-
|
96
|
-
/* =============================================================================
|
97
|
-
Typography
|
98
|
-
========================================================================== */
|
99
|
-
/*
|
100
|
-
* Neutralise smaller font-size in 'section' and 'article' in FF4+, Chrome, S5
|
101
|
-
*/
|
102
|
-
h1 {
|
103
|
-
font-size: 2em; }
|
104
|
-
|
105
|
-
/*
|
106
|
-
* Addresses styling not present in IE7/8/9, S5, Chrome
|
107
|
-
*/
|
108
|
-
abbr[title] {
|
109
|
-
border-bottom: 1px dotted; }
|
110
|
-
|
111
|
-
/*
|
112
|
-
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
113
|
-
*/
|
114
|
-
b,
|
115
|
-
strong {
|
116
|
-
font-weight: bold; }
|
117
|
-
|
118
|
-
blockquote {
|
119
|
-
margin: 1em 40px; }
|
120
|
-
|
121
|
-
/*
|
122
|
-
* Addresses styling not present in S5, Chrome
|
123
|
-
*/
|
124
|
-
dfn {
|
125
|
-
font-style: italic; }
|
126
|
-
|
127
|
-
/*
|
128
|
-
* Addresses styling not present in IE6/7/8/9
|
129
|
-
*/
|
130
|
-
mark {
|
131
|
-
background: #ff0;
|
132
|
-
color: #000; }
|
133
|
-
|
134
|
-
/*
|
135
|
-
* Corrects font family set oddly in IE6, S4/5, Chrome
|
136
|
-
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
137
|
-
*/
|
138
|
-
pre,
|
139
|
-
code,
|
140
|
-
kbd,
|
141
|
-
samp {
|
142
|
-
font-family: monospace, serif;
|
143
|
-
_font-family: 'courier new', monospace;
|
144
|
-
font-size: 1em; }
|
145
|
-
|
146
|
-
/*
|
147
|
-
* Improves readability of pre-formatted text in all browsers
|
148
|
-
*/
|
149
|
-
pre {
|
150
|
-
white-space: pre;
|
151
|
-
white-space: pre-wrap;
|
152
|
-
word-wrap: break-word; }
|
153
|
-
|
154
|
-
/*
|
155
|
-
* 1. Addresses CSS quotes not supported in IE6/7
|
156
|
-
* 2. Addresses quote property not supported in S4
|
157
|
-
*/
|
158
|
-
/* 1 */
|
159
|
-
q {
|
160
|
-
quotes: none; }
|
161
|
-
|
162
|
-
/* 2 */
|
163
|
-
q:before,
|
164
|
-
q:after {
|
165
|
-
content: '';
|
166
|
-
content: none; }
|
167
|
-
|
168
|
-
small {
|
169
|
-
font-size: 75%; }
|
170
|
-
|
171
|
-
/*
|
172
|
-
* Prevents sub and sup affecting line-height in all browsers
|
173
|
-
* gist.github.com/413930
|
174
|
-
*/
|
175
|
-
sub,
|
176
|
-
sup {
|
177
|
-
font-size: 75%;
|
178
|
-
line-height: 0;
|
179
|
-
position: relative;
|
180
|
-
vertical-align: baseline; }
|
181
|
-
|
182
|
-
sup {
|
183
|
-
top: -0.5em; }
|
184
|
-
|
185
|
-
sub {
|
186
|
-
bottom: -0.25em; }
|
187
|
-
|
188
|
-
/* =============================================================================
|
189
|
-
Lists
|
190
|
-
========================================================================== */
|
191
|
-
ul,
|
192
|
-
ol {
|
193
|
-
margin-left: 0;
|
194
|
-
padding: 0 0 0 40px; }
|
195
|
-
|
196
|
-
dd {
|
197
|
-
margin: 0 0 0 40px; }
|
198
|
-
|
199
|
-
nav ul,
|
200
|
-
nav ol {
|
201
|
-
list-style: none;
|
202
|
-
list-style-image: none; }
|
203
|
-
|
204
|
-
/* =============================================================================
|
205
|
-
Embedded content
|
206
|
-
========================================================================== */
|
207
|
-
/*
|
208
|
-
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
209
|
-
* 2. Improves image quality when scaled in IE7
|
210
|
-
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
211
|
-
*/
|
212
|
-
img {
|
213
|
-
border: 0;
|
214
|
-
/* 1 */
|
215
|
-
-ms-interpolation-mode: bicubic;
|
216
|
-
/* 2 */ }
|
217
|
-
|
218
|
-
/*
|
219
|
-
* Corrects overflow displayed oddly in IE9
|
220
|
-
*/
|
221
|
-
svg:not(:root) {
|
222
|
-
overflow: hidden; }
|
223
|
-
|
224
|
-
/* =============================================================================
|
225
|
-
Figures
|
226
|
-
========================================================================== */
|
227
|
-
/*
|
228
|
-
* Addresses margin not present in IE6/7/8/9, S5, O11
|
229
|
-
*/
|
230
|
-
figure {
|
231
|
-
margin: 0; }
|
232
|
-
|
233
|
-
/* =============================================================================
|
234
|
-
Forms
|
235
|
-
========================================================================== */
|
236
|
-
/*
|
237
|
-
* Corrects margin displayed oddly in IE6/7
|
238
|
-
*/
|
239
|
-
form {
|
240
|
-
margin: 0; }
|
241
|
-
|
242
|
-
/*
|
243
|
-
* Define consistent border, margin, and padding
|
244
|
-
*/
|
245
|
-
fieldset {
|
246
|
-
border: 1px solid #c0c0c0;
|
247
|
-
margin: 0 2px;
|
248
|
-
padding: 0.35em 0.625em 0.75em; }
|
249
|
-
|
250
|
-
/*
|
251
|
-
* 1. Corrects color not being inherited in IE6/7/8/9
|
252
|
-
* 2. Corrects alignment displayed oddly in IE6/7
|
253
|
-
*/
|
254
|
-
legend {
|
255
|
-
border: 0;
|
256
|
-
/* 1 */
|
257
|
-
*margin-left: -7px;
|
258
|
-
/* 2 */ }
|
259
|
-
|
260
|
-
/*
|
261
|
-
* 1. Corrects font size not being inherited in all browsers
|
262
|
-
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
263
|
-
* 3. Improves appearance and consistency in all browsers
|
264
|
-
*/
|
265
|
-
button,
|
266
|
-
input,
|
267
|
-
select,
|
268
|
-
textarea {
|
269
|
-
font-size: 100%;
|
270
|
-
/* 1 */
|
271
|
-
margin: 0;
|
272
|
-
/* 2 */
|
273
|
-
vertical-align: baseline;
|
274
|
-
/* 3 */
|
275
|
-
*vertical-align: middle;
|
276
|
-
/* 3 */ }
|
277
|
-
|
278
|
-
/*
|
279
|
-
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
280
|
-
*/
|
281
|
-
button,
|
282
|
-
input {
|
283
|
-
line-height: normal;
|
284
|
-
/* 1 */ }
|
285
|
-
|
286
|
-
/*
|
287
|
-
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
288
|
-
* 2. Corrects inability to style clickable 'input' types in iOS
|
289
|
-
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
290
|
-
* Known issue: inner spacing remains in IE6
|
291
|
-
*/
|
292
|
-
button,
|
293
|
-
input[type="button"],
|
294
|
-
input[type="reset"],
|
295
|
-
input[type="submit"] {
|
296
|
-
cursor: pointer;
|
297
|
-
/* 1 */
|
298
|
-
-webkit-appearance: button;
|
299
|
-
/* 2 */
|
300
|
-
*overflow: visible;
|
301
|
-
/* 3 */ }
|
302
|
-
|
303
|
-
/*
|
304
|
-
* 1. Addresses box sizing set to content-box in IE8/9
|
305
|
-
* 2. Removes excess padding in IE8/9
|
306
|
-
*/
|
307
|
-
input[type="checkbox"],
|
308
|
-
input[type="radio"] {
|
309
|
-
box-sizing: border-box;
|
310
|
-
/* 1 */
|
311
|
-
padding: 0;
|
312
|
-
/* 2 */ }
|
313
|
-
|
314
|
-
/*
|
315
|
-
* 1. Addresses appearance set to searchfield in S5, Chrome
|
316
|
-
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
317
|
-
*/
|
318
|
-
input[type="search"] {
|
319
|
-
-webkit-appearance: textfield;
|
320
|
-
/* 1 */
|
321
|
-
-moz-box-sizing: content-box;
|
322
|
-
-webkit-box-sizing: content-box;
|
323
|
-
/* 2 */
|
324
|
-
box-sizing: content-box; }
|
325
|
-
|
326
|
-
/*
|
327
|
-
* Removes inner padding that is displayed in S5, Chrome on OS X
|
328
|
-
*/
|
329
|
-
input[type="search"]::-webkit-search-decoration {
|
330
|
-
-webkit-appearance: none; }
|
331
|
-
|
332
|
-
/*
|
333
|
-
* Removes inner padding and border in FF3+
|
334
|
-
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
335
|
-
*/
|
336
|
-
button::-moz-focus-inner,
|
337
|
-
input::-moz-focus-inner {
|
338
|
-
border: 0;
|
339
|
-
padding: 0; }
|
340
|
-
|
341
|
-
/*
|
342
|
-
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
343
|
-
* 2. Improves readability and alignment in all browsers
|
344
|
-
*/
|
345
|
-
textarea {
|
346
|
-
overflow: auto;
|
347
|
-
/* 1 */
|
348
|
-
vertical-align: top;
|
349
|
-
/* 2 */ }
|
350
|
-
|
351
|
-
/* =============================================================================
|
352
|
-
Tables
|
353
|
-
========================================================================== */
|
354
|
-
/*
|
355
|
-
* Remove most spacing between table cells
|
356
|
-
*/
|
357
|
-
table {
|
358
|
-
border-collapse: collapse;
|
359
|
-
border-spacing: 0; }
|
@@ -1,85 +0,0 @@
|
|
1
|
-
html.luca-ui-fullscreen {
|
2
|
-
height: 100%; }
|
3
|
-
html.luca-ui-fullscreen body {
|
4
|
-
height: 100%;
|
5
|
-
padding: 0;
|
6
|
-
margin: 0; }
|
7
|
-
html.luca-ui-fullscreen .luca-ui-viewport {
|
8
|
-
height: 100%;
|
9
|
-
padding: 0;
|
10
|
-
margin: 0; }
|
11
|
-
|
12
|
-
.luca-ui-viewport li {
|
13
|
-
list-style-type: none; }
|
14
|
-
.luca-ui-viewport li.nav {
|
15
|
-
cursor: pointer; }
|
16
|
-
|
17
|
-
/*http://csswizardry.com/fluid-grids/#generated-grids*/
|
18
|
-
.wrapper {
|
19
|
-
max-width: 1208px;
|
20
|
-
/* max-width:894px;*/
|
21
|
-
padding: 0 15px;
|
22
|
-
margin: 0 auto; }
|
23
|
-
|
24
|
-
/*
|
25
|
-
Column container
|
26
|
-
*/
|
27
|
-
.grids {
|
28
|
-
width: auto;
|
29
|
-
max-width: 924px;
|
30
|
-
clear: both;
|
31
|
-
margin: 0 0 0 -3.247%;
|
32
|
-
list-style: none;
|
33
|
-
/* So we can make grids out of lists. */
|
34
|
-
overflow: hidden;
|
35
|
-
/* Clear the floats */ }
|
36
|
-
|
37
|
-
[class*="grid-"] {
|
38
|
-
float: left;
|
39
|
-
margin: 0 3.247% 0 0; }
|
40
|
-
|
41
|
-
.grid-margin {
|
42
|
-
margin: 0 3.247% 0 0; }
|
43
|
-
|
44
|
-
.grids .grid-margin {
|
45
|
-
margin: 0 0 0 3.247%; }
|
46
|
-
|
47
|
-
.grids [class*="grid-"] {
|
48
|
-
margin: 0 0 0 3.247%; }
|
49
|
-
|
50
|
-
.grid-1 {
|
51
|
-
width: 5.087%; }
|
52
|
-
|
53
|
-
.grid-2 {
|
54
|
-
width: 13.42%; }
|
55
|
-
|
56
|
-
.grid-3 {
|
57
|
-
width: 21.753%; }
|
58
|
-
|
59
|
-
.grid-4 {
|
60
|
-
width: 30.087%; }
|
61
|
-
|
62
|
-
.grid-5 {
|
63
|
-
width: 38.42%; }
|
64
|
-
|
65
|
-
.grid-6 {
|
66
|
-
width: 46.753%; }
|
67
|
-
|
68
|
-
.grid-7 {
|
69
|
-
width: 55.087%; }
|
70
|
-
|
71
|
-
.grid-8 {
|
72
|
-
width: 63.42%; }
|
73
|
-
|
74
|
-
.grid-9 {
|
75
|
-
width: 71.753%; }
|
76
|
-
|
77
|
-
.grid-10 {
|
78
|
-
width: 80.087%; }
|
79
|
-
|
80
|
-
.grid-11 {
|
81
|
-
width: 88.42%; }
|
82
|
-
|
83
|
-
.grid-12 {
|
84
|
-
width: 96.753%;
|
85
|
-
margin: 0; }
|
@@ -1,32 +0,0 @@
|
|
1
|
-
.luca-ui-form-view-wrapper {
|
2
|
-
width: 100%;
|
3
|
-
float: left;
|
4
|
-
display: block;
|
5
|
-
clear: both;
|
6
|
-
margin: 10px 0px; }
|
7
|
-
|
8
|
-
.luca-ui-form-view .luca-ui-field {
|
9
|
-
margin: 5px;
|
10
|
-
padding: 5px; }
|
11
|
-
.luca-ui-form-view .luca-ui-field .helper-text {
|
12
|
-
font-size: 0.75em;
|
13
|
-
font-color: #ccc; }
|
14
|
-
|
15
|
-
.luca-ui-form-view.label-align-top .luca-ui-field label, .luca-ui-form-view.label-align-top .luca-ui-field input, .luca-ui-form-view.label-align-top .luca-ui-field select, .luca-ui-form-view.label-align-top .luca-ui-field textarea {
|
16
|
-
margin: 5px 0px;
|
17
|
-
display: block; }
|
18
|
-
|
19
|
-
.luca-ui-form-view.column-layout .luca-ui-field {
|
20
|
-
float: left; }
|
21
|
-
|
22
|
-
.form-view-footer .toolbar-container {
|
23
|
-
float: left;
|
24
|
-
width: 100%;
|
25
|
-
clear: both;
|
26
|
-
display: block; }
|
27
|
-
.form-view-footer .toolbar-container .luca-ui-form-toolbar, .form-view-footer .toolbar-container .luca-ui-toolbar {
|
28
|
-
width: 50%;
|
29
|
-
display: block;
|
30
|
-
margin: 0px auto; }
|
31
|
-
.form-view-footer .toolbar-container .luca-ui-form-toolbar .luca-ui-field, .form-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
|
32
|
-
float: left; }
|
@@ -1,76 +0,0 @@
|
|
1
|
-
.scrollable-grid-view {
|
2
|
-
/* define height and width of scrollable area. Add 16px to width for scrollbar */
|
3
|
-
/* Reset overflow value to hidden for all non-IE browsers. */
|
4
|
-
/* define width of table. IE browsers only */
|
5
|
-
/* define width of table. Add 16px to width for scrollbar. */
|
6
|
-
/* All other non-IE browsers. */
|
7
|
-
/* set table header to a fixed position. WinIE 6.x only */
|
8
|
-
/* In WinIE 6.x, any element with a position property set to relative and is a child of */
|
9
|
-
/* an element that has an overflow property set, the relative value translates into fixed. */
|
10
|
-
/* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */
|
11
|
-
/* set THEAD element to have block level attributes. All other non-IE browsers */
|
12
|
-
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
|
13
|
-
/* make the TH elements pretty */
|
14
|
-
/* make the A elements pretty. makes for nice clickable headers */
|
15
|
-
/* make the A elements pretty. makes for nice clickable headers */
|
16
|
-
/* WARNING: swapping the background on hover may cause problems in WinIE 6.x */
|
17
|
-
/* define the table content to be scrollable */
|
18
|
-
/* set TBODY element to have block level attributes. All other non-IE browsers */
|
19
|
-
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
|
20
|
-
/* induced side effect is that child TDs no longer accept width: auto */
|
21
|
-
/* define width of TH elements: 1st, 2nd, and 3rd respectively. */
|
22
|
-
/* Add 16px to last TH for scrollbar padding. All other non-IE browsers. */
|
23
|
-
/* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */
|
24
|
-
/* define width of TD elements: 1st, 2nd, and 3rd respectively. */
|
25
|
-
/* All other non-IE browsers. */
|
26
|
-
/* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */ }
|
27
|
-
.scrollable-grid-view .grid-view-body {
|
28
|
-
clear: both;
|
29
|
-
overflow: auto; }
|
30
|
-
.scrollable-grid-view .grid-view-body {
|
31
|
-
overflow: hidden; }
|
32
|
-
.scrollable-grid-view .grid-view-body .empty-text-wrapper {
|
33
|
-
display: block;
|
34
|
-
margin: 10px auto;
|
35
|
-
width: 30%;
|
36
|
-
padding: 50px;
|
37
|
-
text-align: center; }
|
38
|
-
.scrollable-grid-view .grid-view-body .empty-text-wrapper p {
|
39
|
-
color: #aaa; }
|
40
|
-
.scrollable-grid-view thead.fixed tr {
|
41
|
-
position: relative; }
|
42
|
-
.scrollable-grid-view thead.fixed tr {
|
43
|
-
display: block; }
|
44
|
-
.scrollable-grid-view thead.fixed th {
|
45
|
-
font-weight: bold;
|
46
|
-
text-align: left; }
|
47
|
-
.scrollable-grid-view thead.fixed a, .scrollable-grid-view thead.fixed a:link, .scrollable-grid-view thead.fixed a:visited {
|
48
|
-
color: #FFF;
|
49
|
-
display: block;
|
50
|
-
text-decoration: none;
|
51
|
-
width: 100%; }
|
52
|
-
.scrollable-grid-view thead.fixed a:hover {
|
53
|
-
color: #FFF;
|
54
|
-
display: block;
|
55
|
-
text-decoration: underline;
|
56
|
-
width: 100%; }
|
57
|
-
.scrollable-grid-view tbody.scrollable {
|
58
|
-
display: block;
|
59
|
-
overflow: auto;
|
60
|
-
width: 100%; }
|
61
|
-
.scrollable-grid-view thead.fixed th {
|
62
|
-
padding: 5px; }
|
63
|
-
.scrollable-grid-view tbody.scrollable td {
|
64
|
-
padding: 5px; }
|
65
|
-
|
66
|
-
.grid-view-footer .toolbar-container {
|
67
|
-
float: left;
|
68
|
-
width: 100%;
|
69
|
-
clear: both;
|
70
|
-
display: block; }
|
71
|
-
.grid-view-footer .toolbar-container .luca-ui-toolbar {
|
72
|
-
display: block;
|
73
|
-
float: right;
|
74
|
-
clear: right; }
|
75
|
-
.grid-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
|
76
|
-
float: left; }
|
@@ -1,11 +0,0 @@
|
|
1
|
-
.luca-ui-toolbar-wrapper {
|
2
|
-
clear: both;
|
3
|
-
display: block;
|
4
|
-
float: left;
|
5
|
-
width: 100%; }
|
6
|
-
.luca-ui-toolbar-wrapper .luca-ui-form-toolbar, .luca-ui-toolbar-wrapper .luca-ui-toolbar {
|
7
|
-
clear: both;
|
8
|
-
margin: 5px auto; }
|
9
|
-
.luca-ui-toolbar-wrapper .luca-ui-form-toolbar .luca-ui-field, .luca-ui-toolbar-wrapper .luca-ui-toolbar .luca-ui-field {
|
10
|
-
float: left;
|
11
|
-
margin: 5px; }
|
File without changes
|
@@ -1,16 +0,0 @@
|
|
1
|
-
.luca-ui-tab-view .luca-ui-card .luca-ui-grid-view, .luca-ui-tab-view .luca-ui-card .luca-ui-form-view, .luca-ui-tab-view .luca-ui-card .luca-ui-card {
|
2
|
-
overflow: hidden; }
|
3
|
-
|
4
|
-
.luca-ui-tab-view.tabs-below .tab-selector-container, .luca-ui-tab-view.tabs-right .tab-selector-container {
|
5
|
-
display: block;
|
6
|
-
clear: both; }
|
7
|
-
|
8
|
-
.luca-ui-tab-view.tabs-left .tab-selector-container {
|
9
|
-
float: left; }
|
10
|
-
.luca-ui-tab-view.tabs-left .tab-content {
|
11
|
-
float: left; }
|
12
|
-
|
13
|
-
.luca-ui-tab-view.tabs-right .tab-selector-container {
|
14
|
-
float: right; }
|
15
|
-
.luca-ui-tab-view.tabs-right .tab-content {
|
16
|
-
float: left; }
|