diff --git a/README.md b/README.md index 046801d..9f66315 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,8 @@ Compass-Web =========== -**Compass-Web** is a web-based UI consuming the Restful API service provided by [Compass](https://github.com/huawei-cloud/compass) to pragmatically deploy an OpenStack system on to a set of raw physical resources. It is used for demo purpose. It can be used as a base to develop a UI for more sophisticated use cases. +`Compass-Web` is a web-based UI consuming the Restful API service provided by [Compass](https://github.com/stackforge/compass-core) to pragmatically deploy OpenStack or other distributed systems on to a set of raw physical resources. It can be used as a base to develop a UI for more sophisticated use cases. -Compass-Web is based on [JavaScriptMVC](http://v32.javascriptmvc.com/) framework. It has five modules: Servers, Security, Networking, Host Configuration and Deployment. - - 1. *Servers Module*. Discover available servers with switch information and add a subset of the servers to a cluster. - - 2. *Security Module*. Specify credentials for the OpenStack system. - - 3. *Networking Module*. Specify network addresses needed to facilitate the OpenStack cluster you want to use for your OpenStack servers. - - 4. *Host Configuration Module* Configure host names of the servers in the cluster. - - 5. *Deployment Module* Deploy OpenStack onto the servers with the realtime progressbars. - - -Framework ---------- -[JavaScriptMVC v3.2.4](http://v32.javascriptmvc.com/) -JavaScriptMVC is a MIT licensed, client-side, JavaScript framework that builds maintainable, error-free, lightweight applications as quick as possible. - -Third-party Libraries ---------------------- - * [jQueryUI](http://jqueryui.com/) - jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. It is included for widgets such as accordion, tabs, dialog and progressbar. - - * [d3](http://d3js.org/) - D3.js is a JavaScript library for manipulating documents based on data. It is included for the graph-based progress bars in Deployment module to have a collapsible tree layout for switches and servers. - - * [DataTables](http://www.datatables.net/) - DataTables is a plug-in for the jQuery Javascript library to add advanced interaction controls to any HTML table. It is included to have advanced interaction controls to HTML table in Servers and Deployment modules. \ No newline at end of file +Currently it has 2 versions: +[v1](v1/README.md) +[v2](v2/README.md) diff --git a/v1/README.md b/v1/README.md new file mode 100644 index 0000000..28c2102 --- /dev/null +++ b/v1/README.md @@ -0,0 +1,31 @@ +Compass-Web V1 +=========== + +`Compass-Web V1` is based on [JavaScriptMVC](http://v32.javascriptmvc.com/) framework. It has five modules: Servers, Security, Networking, Host Configuration and Deployment. + + 1. *Servers Module*. Discover available servers with switch information and add a subset of the servers to a cluster. + + 2. *Security Module*. Specify credentials for the OpenStack system. + + 3. *Networking Module*. Specify network addresses needed to facilitate the OpenStack cluster you want to use for your OpenStack servers. + + 4. *Host Configuration Module* Configure host names of the servers in the cluster. + + 5. *Deployment Module* Deploy OpenStack onto the servers with the realtime progressbars. + + +Framework +--------- +[JavaScriptMVC v3.2.4](http://v32.javascriptmvc.com/) +JavaScriptMVC is a MIT licensed, client-side, JavaScript framework that builds maintainable, error-free, lightweight applications as quick as possible. + +Third-party Libraries +--------------------- + * [jQueryUI](http://jqueryui.com/) + jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. It is included for widgets such as accordion, tabs, dialog and progressbar. + + * [d3](http://d3js.org/) + D3.js is a JavaScript library for manipulating documents based on data. It is included for the graph-based progress bars in Deployment module to have a collapsible tree layout for switches and servers. + + * [DataTables](http://www.datatables.net/) + DataTables is a plug-in for the jQuery Javascript library to add advanced interaction controls to any HTML table. It is included to have advanced interaction controls to HTML table in Servers and Deployment modules. \ No newline at end of file diff --git a/public/css/base.css b/v1/css/base.css similarity index 100% rename from public/css/base.css rename to v1/css/base.css diff --git a/public/css/style-ie.css b/v1/css/style-ie.css similarity index 100% rename from public/css/style-ie.css rename to v1/css/style-ie.css diff --git a/public/css/style.css b/v1/css/style.css similarity index 100% rename from public/css/style.css rename to v1/css/style.css diff --git a/public/img/add_button_16px.png b/v1/img/add_button_16px.png similarity index 100% rename from public/img/add_button_16px.png rename to v1/img/add_button_16px.png diff --git a/public/img/ajax_loader.gif b/v1/img/ajax_loader.gif similarity index 100% rename from public/img/ajax_loader.gif rename to v1/img/ajax_loader.gif diff --git a/public/img/asc.gif b/v1/img/asc.gif similarity index 100% rename from public/img/asc.gif rename to v1/img/asc.gif diff --git a/public/img/bg.gif b/v1/img/bg.gif similarity index 100% rename from public/img/bg.gif rename to v1/img/bg.gif diff --git a/public/img/blue_refresh_16px.png b/v1/img/blue_refresh_16px.png similarity index 100% rename from public/img/blue_refresh_16px.png rename to v1/img/blue_refresh_16px.png diff --git a/public/img/desc.gif b/v1/img/desc.gif similarity index 100% rename from public/img/desc.gif rename to v1/img/desc.gif diff --git a/public/img/features_graphic.png b/v1/img/features_graphic.png similarity index 100% rename from public/img/features_graphic.png rename to v1/img/features_graphic.png diff --git a/public/img/filter_clear_16px.png b/v1/img/filter_clear_16px.png similarity index 100% rename from public/img/filter_clear_16px.png rename to v1/img/filter_clear_16px.png diff --git a/public/img/green_check_16px.png b/v1/img/green_check_16px.png similarity index 100% rename from public/img/green_check_16px.png rename to v1/img/green_check_16px.png diff --git a/public/img/green_check_large_16px.png b/v1/img/green_check_large_16px.png similarity index 100% rename from public/img/green_check_large_16px.png rename to v1/img/green_check_large_16px.png diff --git a/public/img/hw_000353.jpg b/v1/img/hw_000353.jpg similarity index 100% rename from public/img/hw_000353.jpg rename to v1/img/hw_000353.jpg diff --git a/public/img/hw_000469.jpg b/v1/img/hw_000469.jpg similarity index 100% rename from public/img/hw_000469.jpg rename to v1/img/hw_000469.jpg diff --git a/public/img/hw_s_221828.jpg b/v1/img/hw_s_221828.jpg similarity index 100% rename from public/img/hw_s_221828.jpg rename to v1/img/hw_s_221828.jpg diff --git a/public/img/hwico.ico.png b/v1/img/hwico.ico.png similarity index 100% rename from public/img/hwico.ico.png rename to v1/img/hwico.ico.png diff --git a/public/img/info_icon_16px.png b/v1/img/info_icon_16px.png similarity index 100% rename from public/img/info_icon_16px.png rename to v1/img/info_icon_16px.png diff --git a/public/img/openstack_welcome_graphics.png b/v1/img/openstack_welcome_graphics.png similarity index 100% rename from public/img/openstack_welcome_graphics.png rename to v1/img/openstack_welcome_graphics.png diff --git a/public/img/openstack_welcome_graphics_std.png b/v1/img/openstack_welcome_graphics_std.png similarity index 100% rename from public/img/openstack_welcome_graphics_std.png rename to v1/img/openstack_welcome_graphics_std.png diff --git a/public/img/red_cross_16px.png b/v1/img/red_cross_16px.png similarity index 100% rename from public/img/red_cross_16px.png rename to v1/img/red_cross_16px.png diff --git a/public/img/refresh.png b/v1/img/refresh.png similarity index 100% rename from public/img/refresh.png rename to v1/img/refresh.png diff --git a/public/img/remove_button_16px.png b/v1/img/remove_button_16px.png similarity index 100% rename from public/img/remove_button_16px.png rename to v1/img/remove_button_16px.png diff --git a/public/img/router.png b/v1/img/router.png similarity index 100% rename from public/img/router.png rename to v1/img/router.png diff --git a/public/img/server.png b/v1/img/server.png similarity index 100% rename from public/img/server.png rename to v1/img/server.png diff --git a/public/img/server_status_mask (#0000FF - 50% transparency).png b/v1/img/server_status_mask (#0000FF - 50% transparency).png similarity index 100% rename from public/img/server_status_mask (#0000FF - 50% transparency).png rename to v1/img/server_status_mask (#0000FF - 50% transparency).png diff --git a/public/img/switch.png b/v1/img/switch.png similarity index 100% rename from public/img/switch.png rename to v1/img/switch.png diff --git a/public/img/topology_description.png b/v1/img/topology_description.png similarity index 100% rename from public/img/topology_description.png rename to v1/img/topology_description.png diff --git a/public/img/waiting_16px.gif b/v1/img/waiting_16px.gif similarity index 100% rename from public/img/waiting_16px.gif rename to v1/img/waiting_16px.gif diff --git a/public/img/yellow_arrow_left_16px.png b/v1/img/yellow_arrow_left_16px.png similarity index 100% rename from public/img/yellow_arrow_left_16px.png rename to v1/img/yellow_arrow_left_16px.png diff --git a/public/img/yellow_arrow_right_16px.png b/v1/img/yellow_arrow_right_16px.png similarity index 100% rename from public/img/yellow_arrow_right_16px.png rename to v1/img/yellow_arrow_right_16px.png diff --git a/public/lib/d3.min.js b/v1/lib/d3.min.js similarity index 100% rename from public/lib/d3.min.js rename to v1/lib/d3.min.js diff --git a/public/lib/images/animated-overlay.gif b/v1/lib/images/animated-overlay.gif similarity index 100% rename from public/lib/images/animated-overlay.gif rename to v1/lib/images/animated-overlay.gif diff --git a/public/lib/images/multiple-select.png b/v1/lib/images/multiple-select.png similarity index 100% rename from public/lib/images/multiple-select.png rename to v1/lib/images/multiple-select.png diff --git a/public/lib/images/ui-bg_flat_0_aaaaaa_40x100.png b/v1/lib/images/ui-bg_flat_0_aaaaaa_40x100.png similarity index 100% rename from public/lib/images/ui-bg_flat_0_aaaaaa_40x100.png rename to v1/lib/images/ui-bg_flat_0_aaaaaa_40x100.png diff --git a/public/lib/images/ui-bg_flat_75_ffffff_40x100.png b/v1/lib/images/ui-bg_flat_75_ffffff_40x100.png similarity index 100% rename from public/lib/images/ui-bg_flat_75_ffffff_40x100.png rename to v1/lib/images/ui-bg_flat_75_ffffff_40x100.png diff --git a/public/lib/images/ui-bg_glass_55_fbf9ee_1x400.png b/v1/lib/images/ui-bg_glass_55_fbf9ee_1x400.png similarity index 100% rename from public/lib/images/ui-bg_glass_55_fbf9ee_1x400.png rename to v1/lib/images/ui-bg_glass_55_fbf9ee_1x400.png diff --git a/public/lib/images/ui-bg_glass_65_ffffff_1x400.png b/v1/lib/images/ui-bg_glass_65_ffffff_1x400.png similarity index 100% rename from public/lib/images/ui-bg_glass_65_ffffff_1x400.png rename to v1/lib/images/ui-bg_glass_65_ffffff_1x400.png diff --git a/public/lib/images/ui-bg_glass_75_dadada_1x400.png b/v1/lib/images/ui-bg_glass_75_dadada_1x400.png similarity index 100% rename from public/lib/images/ui-bg_glass_75_dadada_1x400.png rename to v1/lib/images/ui-bg_glass_75_dadada_1x400.png diff --git a/public/lib/images/ui-bg_glass_75_e6e6e6_1x400.png b/v1/lib/images/ui-bg_glass_75_e6e6e6_1x400.png similarity index 100% rename from public/lib/images/ui-bg_glass_75_e6e6e6_1x400.png rename to v1/lib/images/ui-bg_glass_75_e6e6e6_1x400.png diff --git a/public/lib/images/ui-bg_glass_95_fef1ec_1x400.png b/v1/lib/images/ui-bg_glass_95_fef1ec_1x400.png similarity index 100% rename from public/lib/images/ui-bg_glass_95_fef1ec_1x400.png rename to v1/lib/images/ui-bg_glass_95_fef1ec_1x400.png diff --git a/public/lib/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/v1/lib/images/ui-bg_highlight-soft_75_cccccc_1x100.png similarity index 100% rename from public/lib/images/ui-bg_highlight-soft_75_cccccc_1x100.png rename to v1/lib/images/ui-bg_highlight-soft_75_cccccc_1x100.png diff --git a/public/lib/images/ui-icons_222222_256x240.png b/v1/lib/images/ui-icons_222222_256x240.png similarity index 100% rename from public/lib/images/ui-icons_222222_256x240.png rename to v1/lib/images/ui-icons_222222_256x240.png diff --git a/public/lib/images/ui-icons_2e83ff_256x240.png b/v1/lib/images/ui-icons_2e83ff_256x240.png similarity index 100% rename from public/lib/images/ui-icons_2e83ff_256x240.png rename to v1/lib/images/ui-icons_2e83ff_256x240.png diff --git a/public/lib/images/ui-icons_454545_256x240.png b/v1/lib/images/ui-icons_454545_256x240.png similarity index 100% rename from public/lib/images/ui-icons_454545_256x240.png rename to v1/lib/images/ui-icons_454545_256x240.png diff --git a/public/lib/images/ui-icons_888888_256x240.png b/v1/lib/images/ui-icons_888888_256x240.png similarity index 100% rename from public/lib/images/ui-icons_888888_256x240.png rename to v1/lib/images/ui-icons_888888_256x240.png diff --git a/public/lib/images/ui-icons_cd0a0a_256x240.png b/v1/lib/images/ui-icons_cd0a0a_256x240.png similarity index 100% rename from public/lib/images/ui-icons_cd0a0a_256x240.png rename to v1/lib/images/ui-icons_cd0a0a_256x240.png diff --git a/public/lib/jquery-1.10.1.min.js b/v1/lib/jquery-1.10.1.min.js similarity index 100% rename from public/lib/jquery-1.10.1.min.js rename to v1/lib/jquery-1.10.1.min.js diff --git a/public/lib/jquery-ui-1.10.3.custom.css b/v1/lib/jquery-ui-1.10.3.custom.css similarity index 100% rename from public/lib/jquery-ui-1.10.3.custom.css rename to v1/lib/jquery-ui-1.10.3.custom.css diff --git a/public/lib/jquery-ui-1.10.3.custom.js b/v1/lib/jquery-ui-1.10.3.custom.js similarity index 100% rename from public/lib/jquery-ui-1.10.3.custom.js rename to v1/lib/jquery-ui-1.10.3.custom.js diff --git a/public/lib/jquery.dataTables.js b/v1/lib/jquery.dataTables.js similarity index 100% rename from public/lib/jquery.dataTables.js rename to v1/lib/jquery.dataTables.js diff --git a/public/lib/jquery.multiple.select.js b/v1/lib/jquery.multiple.select.js similarity index 100% rename from public/lib/jquery.multiple.select.js rename to v1/lib/jquery.multiple.select.js diff --git a/public/lib/jquery.numeric.js b/v1/lib/jquery.numeric.js similarity index 100% rename from public/lib/jquery.numeric.js rename to v1/lib/jquery.numeric.js diff --git a/public/lib/multiple-select.css b/v1/lib/multiple-select.css similarity index 100% rename from public/lib/multiple-select.css rename to v1/lib/multiple-select.css diff --git a/public/ods/config.js b/v1/ods/config.js similarity index 100% rename from public/ods/config.js rename to v1/ods/config.js diff --git a/public/ods/fixtures/fixtures.js b/v1/ods/fixtures/fixtures.js similarity index 100% rename from public/ods/fixtures/fixtures.js rename to v1/ods/fixtures/fixtures.js diff --git a/public/ods/funcunit.html b/v1/ods/funcunit.html similarity index 100% rename from public/ods/funcunit.html rename to v1/ods/funcunit.html diff --git a/public/ods/models/cluster.js b/v1/ods/models/cluster.js similarity index 100% rename from public/ods/models/cluster.js rename to v1/ods/models/cluster.js diff --git a/public/ods/models/models.js b/v1/ods/models/models.js similarity index 100% rename from public/ods/models/models.js rename to v1/ods/models/models.js diff --git a/public/ods/models/servers.js b/v1/ods/models/servers.js similarity index 100% rename from public/ods/models/servers.js rename to v1/ods/models/servers.js diff --git a/public/ods/ods.css b/v1/ods/ods.css similarity index 100% rename from public/ods/ods.css rename to v1/ods/ods.css diff --git a/public/ods/ods.html b/v1/ods/ods.html similarity index 100% rename from public/ods/ods.html rename to v1/ods/ods.html diff --git a/public/ods/ods.js b/v1/ods/ods.js similarity index 100% rename from public/ods/ods.js rename to v1/ods/ods.js diff --git a/public/ods/ods.md b/v1/ods/ods.md similarity index 100% rename from public/ods/ods.md rename to v1/ods/ods.md diff --git a/public/ods/production.css b/v1/ods/production.css similarity index 100% rename from public/ods/production.css rename to v1/ods/production.css diff --git a/public/ods/production.js b/v1/ods/production.js similarity index 100% rename from public/ods/production.js rename to v1/ods/production.js diff --git a/public/ods/qunit.html b/v1/ods/qunit.html similarity index 100% rename from public/ods/qunit.html rename to v1/ods/qunit.html diff --git a/public/ods/scripts/build.html b/v1/ods/scripts/build.html similarity index 100% rename from public/ods/scripts/build.html rename to v1/ods/scripts/build.html diff --git a/public/ods/scripts/build.js b/v1/ods/scripts/build.js similarity index 100% rename from public/ods/scripts/build.js rename to v1/ods/scripts/build.js diff --git a/public/ods/scripts/clean.js b/v1/ods/scripts/clean.js similarity index 100% rename from public/ods/scripts/clean.js rename to v1/ods/scripts/clean.js diff --git a/public/ods/scripts/crawl.js b/v1/ods/scripts/crawl.js similarity index 100% rename from public/ods/scripts/crawl.js rename to v1/ods/scripts/crawl.js diff --git a/public/ods/scripts/docs.js b/v1/ods/scripts/docs.js similarity index 100% rename from public/ods/scripts/docs.js rename to v1/ods/scripts/docs.js diff --git a/public/ods/ui/features/features.js b/v1/ods/ui/features/features.js similarity index 100% rename from public/ods/ui/features/features.js rename to v1/ods/ui/features/features.js diff --git a/public/ods/ui/features/features_test.html b/v1/ods/ui/features/features_test.html similarity index 100% rename from public/ods/ui/features/features_test.html rename to v1/ods/ui/features/features_test.html diff --git a/public/ods/ui/features/views/before_begin.ejs b/v1/ods/ui/features/views/before_begin.ejs similarity index 100% rename from public/ods/ui/features/views/before_begin.ejs rename to v1/ods/ui/features/views/before_begin.ejs diff --git a/public/ods/ui/features/views/init.ejs b/v1/ods/ui/features/views/init.ejs similarity index 100% rename from public/ods/ui/features/views/init.ejs rename to v1/ods/ui/features/views/init.ejs diff --git a/public/ods/ui/host_config/host_config.css b/v1/ods/ui/host_config/host_config.css similarity index 100% rename from public/ods/ui/host_config/host_config.css rename to v1/ods/ui/host_config/host_config.css diff --git a/public/ods/ui/host_config/host_config.js b/v1/ods/ui/host_config/host_config.js similarity index 100% rename from public/ods/ui/host_config/host_config.js rename to v1/ods/ui/host_config/host_config.js diff --git a/public/ods/ui/host_config/host_config_test.html b/v1/ods/ui/host_config/host_config_test.html similarity index 100% rename from public/ods/ui/host_config/host_config_test.html rename to v1/ods/ui/host_config/host_config_test.html diff --git a/public/ods/ui/host_config/views/init.ejs b/v1/ods/ui/host_config/views/init.ejs similarity index 100% rename from public/ods/ui/host_config/views/init.ejs rename to v1/ods/ui/host_config/views/init.ejs diff --git a/public/ods/ui/host_config/views/pattern_tip.ejs b/v1/ods/ui/host_config/views/pattern_tip.ejs similarity index 100% rename from public/ods/ui/host_config/views/pattern_tip.ejs rename to v1/ods/ui/host_config/views/pattern_tip.ejs diff --git a/public/ods/ui/host_config/views/server_row.ejs b/v1/ods/ui/host_config/views/server_row.ejs similarity index 100% rename from public/ods/ui/host_config/views/server_row.ejs rename to v1/ods/ui/host_config/views/server_row.ejs diff --git a/public/ods/ui/install_review/install.css b/v1/ods/ui/install_review/install.css similarity index 100% rename from public/ods/ui/install_review/install.css rename to v1/ods/ui/install_review/install.css diff --git a/public/ods/ui/install_review/install_review.css b/v1/ods/ui/install_review/install_review.css similarity index 100% rename from public/ods/ui/install_review/install_review.css rename to v1/ods/ui/install_review/install_review.css diff --git a/public/ods/ui/install_review/install_review.js b/v1/ods/ui/install_review/install_review.js similarity index 100% rename from public/ods/ui/install_review/install_review.js rename to v1/ods/ui/install_review/install_review.js diff --git a/public/ods/ui/install_review/install_review_test.html b/v1/ods/ui/install_review/install_review_test.html similarity index 100% rename from public/ods/ui/install_review/install_review_test.html rename to v1/ods/ui/install_review/install_review_test.html diff --git a/public/ods/ui/install_review/views/cluster_row.ejs b/v1/ods/ui/install_review/views/cluster_row.ejs similarity index 100% rename from public/ods/ui/install_review/views/cluster_row.ejs rename to v1/ods/ui/install_review/views/cluster_row.ejs diff --git a/public/ods/ui/install_review/views/init.ejs b/v1/ods/ui/install_review/views/init.ejs similarity index 100% rename from public/ods/ui/install_review/views/init.ejs rename to v1/ods/ui/install_review/views/init.ejs diff --git a/public/ods/ui/install_review/views/install.ejs b/v1/ods/ui/install_review/views/install.ejs similarity index 100% rename from public/ods/ui/install_review/views/install.ejs rename to v1/ods/ui/install_review/views/install.ejs diff --git a/public/ods/ui/install_review/views/pending_clusters.ejs b/v1/ods/ui/install_review/views/pending_clusters.ejs similarity index 100% rename from public/ods/ui/install_review/views/pending_clusters.ejs rename to v1/ods/ui/install_review/views/pending_clusters.ejs diff --git a/public/ods/ui/install_review/views/progress_row.ejs b/v1/ods/ui/install_review/views/progress_row.ejs similarity index 100% rename from public/ods/ui/install_review/views/progress_row.ejs rename to v1/ods/ui/install_review/views/progress_row.ejs diff --git a/public/ods/ui/nav/nav.js b/v1/ods/ui/nav/nav.js similarity index 100% rename from public/ods/ui/nav/nav.js rename to v1/ods/ui/nav/nav.js diff --git a/public/ods/ui/nav/views/init.ejs b/v1/ods/ui/nav/views/init.ejs similarity index 100% rename from public/ods/ui/nav/views/init.ejs rename to v1/ods/ui/nav/views/init.ejs diff --git a/public/ods/ui/networking/networking.css b/v1/ods/ui/networking/networking.css similarity index 100% rename from public/ods/ui/networking/networking.css rename to v1/ods/ui/networking/networking.css diff --git a/public/ods/ui/networking/networking.js b/v1/ods/ui/networking/networking.js similarity index 100% rename from public/ods/ui/networking/networking.js rename to v1/ods/ui/networking/networking.js diff --git a/public/ods/ui/networking/networking_test.html b/v1/ods/ui/networking/networking_test.html similarity index 100% rename from public/ods/ui/networking/networking_test.html rename to v1/ods/ui/networking/networking_test.html diff --git a/public/ods/ui/networking/views/init.ejs b/v1/ods/ui/networking/views/init.ejs similarity index 100% rename from public/ods/ui/networking/views/init.ejs rename to v1/ods/ui/networking/views/init.ejs diff --git a/public/ods/ui/security/security.css b/v1/ods/ui/security/security.css similarity index 100% rename from public/ods/ui/security/security.css rename to v1/ods/ui/security/security.css diff --git a/public/ods/ui/security/security.js b/v1/ods/ui/security/security.js similarity index 100% rename from public/ods/ui/security/security.js rename to v1/ods/ui/security/security.js diff --git a/public/ods/ui/security/security_test.html b/v1/ods/ui/security/security_test.html similarity index 100% rename from public/ods/ui/security/security_test.html rename to v1/ods/ui/security/security_test.html diff --git a/public/ods/ui/security/views/init.ejs b/v1/ods/ui/security/views/init.ejs similarity index 100% rename from public/ods/ui/security/views/init.ejs rename to v1/ods/ui/security/views/init.ejs diff --git a/public/ods/ui/servers/servers.css b/v1/ods/ui/servers/servers.css similarity index 100% rename from public/ods/ui/servers/servers.css rename to v1/ods/ui/servers/servers.css diff --git a/public/ods/ui/servers/servers.js b/v1/ods/ui/servers/servers.js similarity index 100% rename from public/ods/ui/servers/servers.js rename to v1/ods/ui/servers/servers.js diff --git a/public/ods/ui/servers/servers_test.html b/v1/ods/ui/servers/servers_test.html similarity index 100% rename from public/ods/ui/servers/servers_test.html rename to v1/ods/ui/servers/servers_test.html diff --git a/public/ods/ui/servers/views/init.ejs b/v1/ods/ui/servers/views/init.ejs similarity index 100% rename from public/ods/ui/servers/views/init.ejs rename to v1/ods/ui/servers/views/init.ejs diff --git a/public/ods/ui/switch_entry/servers_test.html b/v1/ods/ui/switch_entry/servers_test.html similarity index 100% rename from public/ods/ui/switch_entry/servers_test.html rename to v1/ods/ui/switch_entry/servers_test.html diff --git a/public/ods/ui/switch_entry/switch_entry.css b/v1/ods/ui/switch_entry/switch_entry.css similarity index 100% rename from public/ods/ui/switch_entry/switch_entry.css rename to v1/ods/ui/switch_entry/switch_entry.css diff --git a/public/ods/ui/switch_entry/switch_entry.js b/v1/ods/ui/switch_entry/switch_entry.js similarity index 100% rename from public/ods/ui/switch_entry/switch_entry.js rename to v1/ods/ui/switch_entry/switch_entry.js diff --git a/public/ods/ui/switch_entry/views/init.ejs b/v1/ods/ui/switch_entry/views/init.ejs similarity index 100% rename from public/ods/ui/switch_entry/views/init.ejs rename to v1/ods/ui/switch_entry/views/init.ejs diff --git a/public/ods/ui/switch_entry/views/switch_row.ejs b/v1/ods/ui/switch_entry/views/switch_row.ejs similarity index 100% rename from public/ods/ui/switch_entry/views/switch_row.ejs rename to v1/ods/ui/switch_entry/views/switch_row.ejs diff --git a/public/ods/ui/welcome/views/init.ejs b/v1/ods/ui/welcome/views/init.ejs similarity index 100% rename from public/ods/ui/welcome/views/init.ejs rename to v1/ods/ui/welcome/views/init.ejs diff --git a/public/ods/ui/welcome/welcome.js b/v1/ods/ui/welcome/welcome.js similarity index 100% rename from public/ods/ui/welcome/welcome.js rename to v1/ods/ui/welcome/welcome.js diff --git a/public/ods/ui/welcome/welcome_test.html b/v1/ods/ui/welcome/welcome_test.html similarity index 100% rename from public/ods/ui/welcome/welcome_test.html rename to v1/ods/ui/welcome/welcome_test.html diff --git a/v2/README.md b/v2/README.md new file mode 100644 index 0000000..2c4c3ea --- /dev/null +++ b/v2/README.md @@ -0,0 +1,79 @@ +Compass-Web V2 +============== + +`Compass-Web V2` is an [AngularJS](https://angularjs.org/) based project for distributed systems deployment and monitoring. + + +Why Compass-Web V2? +------------------- +`Compass-Web V2` is designed to help users have a streamlined OpenStack deployment experience, +and provide extensibility to deploy other distributed systems such as Ceph system. +It targets to make a great-practice structure to ensure code resuability and module extensibility. + +`Compass-Web V2` also comes prepackaged with the required frameworks: +[AngularUI Router](https://github.com/angular-ui/ui-router) +[Twitter Bootstrap](http://getbootstrap.com), +[Angular Bootstrap](http://angular-ui.github.io/bootstrap), +[ngTable](http://bazalt-cms.com/ng-table/), +[Font Awesome](http://fortawesome.github.com/Font-Awesome), +[D3](http://d3js.org/), +[NVD3](http://nvd3.org/) +etc. + + +Directory Structure +------------------- +``` +v2/ +├── assets/ +│   ├── css/ +│   │   ├── +│   ├── font/ +│   │   ├── +│   └── img/ +│   ├── +├── dash/ +│   ├── +├── data/ +│   ├── +├── index.html +├── src/ +│   ├── app/ +│   │   ├── app.js +│   │   ├── appDev.js +│   │   ├── services.js +│   │   ├── cluster/ +│   │   │   ├── +│   │   ├── login/ +│   │   │   ├── +│   │   ├── monitoring/ +│   │   │   ├── +│   │   ├── server/ +│   │   │   ├── +│   │   ├── topnav/ +│   │   │   ├── +│   │   ├── user/ +│   │   │   ├── +│   │   └── wizard/ +│   │   ├── +│   ├── common/ +│   │   ├── +│   ├── bootstrap.js +│   └── main.js +└── vendor/ + ├── +``` + +Functional Modules +------------------ + +* Cluster Module * + +* Monitoring Module * + +* Server Module * + +* Wizard Module * + + + diff --git a/v2/src/app/app.js b/v2/src/app/app.js index 3cb9199..a8f16e5 100644 --- a/v2/src/app/app.js +++ b/v2/src/app/app.js @@ -18,7 +18,7 @@ define([ var compassModule = ng.module('app', [ 'compass.login', 'compass.services', - // 'compassAppDev', + 'compassAppDev', 'compass.clusterlist', 'compass.cluster', 'compass.wizard',