From e4dc5bd10760d23b7696c1df132454db368a73cc Mon Sep 17 00:00:00 2001 From: Matthew Fu Date: Sun, 20 Nov 2011 00:03:02 +0800 Subject: [PATCH] App block is working with full design now --- lib/NewBlog/NewBlog/.gitignore | 6 --- .../assets/stylesheets/NewBlog/production.css | 21 -------- public/static/kernel.js | 1 + .../plugins}/NewBlog/Gemfile | 0 .../plugins}/NewBlog/Gemfile.lock | 0 .../plugins}/NewBlog/MIT-LICENSE | 0 .../plugins}/NewBlog/NewBlog.gemspec | 0 .../plugins}/NewBlog/NewBlog.json | 0 .../plugins}/NewBlog/README.rdoc | 0 .../plugins}/NewBlog/Rakefile | 0 .../app/assets/images/NewBlog/.gitkeep | 0 .../app/assets/javascripts/NewBlog/.gitkeep | 0 .../app/assets/stylesheets/NewBlog/.gitkeep | 0 .../stylesheets/NewBlog/application.css | 0 .../assets/stylesheets/NewBlog/production.css | 51 +++++++++++++++++++ .../plugins}/NewBlog/app/controllers/.gitkeep | 0 .../app/controllers/application_controller.rb | 0 .../panel/blog/comments_controller.rb | 0 .../panel/blog/posts_controller.rb | 0 .../plugins}/NewBlog/app/helpers/.gitkeep | 0 .../NewBlog/app/helpers/application_helper.rb | 0 .../plugins}/NewBlog/app/mailers/.gitkeep | 0 .../plugins}/NewBlog/app/models/.gitkeep | 0 .../plugins}/NewBlog/app/models/comment.rb | 0 .../plugins}/NewBlog/app/models/post.rb | 0 .../plugins}/NewBlog/app/views/.gitkeep | 0 .../app/views/layouts/application.html.erb | 0 .../app/views/layouts/edit_view.html.erb | 0 .../app/views/layouts/production.html.erb | 0 .../app/views/panel/blog/posts/_form.html.erb | 0 .../app/views/panel/blog/posts/edit.html.erb | 0 .../app/views/panel/blog/posts/index.html.erb | 0 .../panel/blog/posts/latest_post.html.erb | 0 .../app/views/panel/blog/posts/new.html.erb | 0 .../app/views/panel/blog/posts/show.html.erb | 0 .../panel/blog/posts/widget_index.html.erb | 0 .../blog/posts/widget_latest_post.html.erb | 0 .../plugins}/NewBlog/config/routes.rb | 0 .../plugins}/NewBlog/lib/NewBlog.rb | 0 .../plugins}/NewBlog/lib/NewBlog/engine.rb | 0 .../plugins}/NewBlog/lib/NewBlog/version.rb | 0 .../NewBlog/lib/tasks/NewBlog_tasks.rake | 0 .../plugins}/NewBlog/script/rails | 0 .../plugins}/NewBlog/test/NewBlog_test.rb | 0 .../plugins}/NewBlog/test/dummy/Rakefile | 0 .../app/assets/javascripts/application.js | 0 .../app/assets/stylesheets/application.css | 0 .../app/controllers/application_controller.rb | 0 .../dummy/app/helpers/application_helper.rb | 0 .../NewBlog/test/dummy/app/mailers/.gitkeep | 0 .../NewBlog/test/dummy/app/models/.gitkeep | 0 .../app/views/layouts/application.html.erb | 0 .../plugins}/NewBlog/test/dummy/config.ru | 0 .../NewBlog/test/dummy/config/application.rb | 0 .../NewBlog/test/dummy/config/boot.rb | 0 .../NewBlog/test/dummy/config/database.yml | 0 .../NewBlog/test/dummy/config/environment.rb | 0 .../dummy/config/environments/development.rb | 0 .../dummy/config/environments/production.rb | 0 .../test/dummy/config/environments/test.rb | 0 .../initializers/backtrace_silencers.rb | 0 .../dummy/config/initializers/inflections.rb | 0 .../dummy/config/initializers/mime_types.rb | 0 .../dummy/config/initializers/secret_token.rb | 0 .../config/initializers/session_store.rb | 0 .../config/initializers/wrap_parameters.rb | 0 .../NewBlog/test/dummy/config/locales/en.yml | 0 .../NewBlog/test/dummy/config/mongoid.yml | 0 .../NewBlog/test/dummy/config/routes.rb | 0 .../NewBlog/test/dummy/lib/assets/.gitkeep | 0 .../plugins}/NewBlog/test/dummy/log/.gitkeep | 0 .../NewBlog/test/dummy/public/404.html | 0 .../NewBlog/test/dummy/public/422.html | 0 .../NewBlog/test/dummy/public/500.html | 0 .../NewBlog/test/dummy/public/favicon.ico | 0 .../plugins}/NewBlog/test/dummy/script/rails | 0 .../test/integration/navigation_test.rb | 0 .../plugins}/NewBlog/test/test_helper.rb | 0 78 files changed, 52 insertions(+), 27 deletions(-) delete mode 100644 lib/NewBlog/NewBlog/.gitignore delete mode 100644 lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/production.css rename {lib/NewBlog => vendor/plugins}/NewBlog/Gemfile (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/Gemfile.lock (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/MIT-LICENSE (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/NewBlog.gemspec (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/NewBlog.json (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/README.rdoc (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/Rakefile (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/assets/images/NewBlog/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/assets/javascripts/NewBlog/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/assets/stylesheets/NewBlog/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/assets/stylesheets/NewBlog/application.css (100%) create mode 100644 vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/production.css rename {lib/NewBlog => vendor/plugins}/NewBlog/app/controllers/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/controllers/application_controller.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/controllers/panel/blog/comments_controller.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/controllers/panel/blog/posts_controller.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/helpers/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/helpers/application_helper.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/mailers/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/models/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/models/comment.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/models/post.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/layouts/application.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/layouts/edit_view.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/layouts/production.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/_form.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/edit.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/index.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/latest_post.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/new.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/show.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/widget_index.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/config/routes.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/lib/NewBlog.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/lib/NewBlog/engine.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/lib/NewBlog/version.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/lib/tasks/NewBlog_tasks.rake (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/script/rails (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/NewBlog_test.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/Rakefile (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/assets/javascripts/application.js (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/assets/stylesheets/application.css (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/controllers/application_controller.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/helpers/application_helper.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/mailers/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/models/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/app/views/layouts/application.html.erb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config.ru (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/application.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/boot.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/database.yml (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/environment.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/environments/development.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/environments/production.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/environments/test.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/inflections.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/mime_types.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/secret_token.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/session_store.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/initializers/wrap_parameters.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/locales/en.yml (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/mongoid.yml (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/config/routes.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/lib/assets/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/log/.gitkeep (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/public/404.html (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/public/422.html (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/public/500.html (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/public/favicon.ico (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/dummy/script/rails (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/integration/navigation_test.rb (100%) rename {lib/NewBlog => vendor/plugins}/NewBlog/test/test_helper.rb (100%) diff --git a/lib/NewBlog/NewBlog/.gitignore b/lib/NewBlog/NewBlog/.gitignore deleted file mode 100644 index 1463de6d..00000000 --- a/lib/NewBlog/NewBlog/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.bundle/ -log/*.log -pkg/ -test/dummy/db/*.sqlite3 -test/dummy/log/*.log -test/dummy/tmp/ \ No newline at end of file diff --git a/lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/production.css b/lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/production.css deleted file mode 100644 index 202a62a4..00000000 --- a/lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/production.css +++ /dev/null @@ -1,21 +0,0 @@ -.preview h2 { - font-size: large; - background-color: red; - } - -.production h2 { - font-size: large; - background-color: green; - } - -.widget_index { - width: 200px; - height: 120px; - border: solid; -} - -.widget_latest_post{ - width: 200px; - height: 120px; - border: solid; -} \ No newline at end of file diff --git a/public/static/kernel.js b/public/static/kernel.js index 089c41e2..bde5dd05 100644 --- a/public/static/kernel.js +++ b/public/static/kernel.js @@ -7,4 +7,5 @@ $(document).ready(function() { }); } ); + $("#main_content").addClass("module"); }); \ No newline at end of file diff --git a/lib/NewBlog/NewBlog/Gemfile b/vendor/plugins/NewBlog/Gemfile similarity index 100% rename from lib/NewBlog/NewBlog/Gemfile rename to vendor/plugins/NewBlog/Gemfile diff --git a/lib/NewBlog/NewBlog/Gemfile.lock b/vendor/plugins/NewBlog/Gemfile.lock similarity index 100% rename from lib/NewBlog/NewBlog/Gemfile.lock rename to vendor/plugins/NewBlog/Gemfile.lock diff --git a/lib/NewBlog/NewBlog/MIT-LICENSE b/vendor/plugins/NewBlog/MIT-LICENSE similarity index 100% rename from lib/NewBlog/NewBlog/MIT-LICENSE rename to vendor/plugins/NewBlog/MIT-LICENSE diff --git a/lib/NewBlog/NewBlog/NewBlog.gemspec b/vendor/plugins/NewBlog/NewBlog.gemspec similarity index 100% rename from lib/NewBlog/NewBlog/NewBlog.gemspec rename to vendor/plugins/NewBlog/NewBlog.gemspec diff --git a/lib/NewBlog/NewBlog/NewBlog.json b/vendor/plugins/NewBlog/NewBlog.json similarity index 100% rename from lib/NewBlog/NewBlog/NewBlog.json rename to vendor/plugins/NewBlog/NewBlog.json diff --git a/lib/NewBlog/NewBlog/README.rdoc b/vendor/plugins/NewBlog/README.rdoc similarity index 100% rename from lib/NewBlog/NewBlog/README.rdoc rename to vendor/plugins/NewBlog/README.rdoc diff --git a/lib/NewBlog/NewBlog/Rakefile b/vendor/plugins/NewBlog/Rakefile similarity index 100% rename from lib/NewBlog/NewBlog/Rakefile rename to vendor/plugins/NewBlog/Rakefile diff --git a/lib/NewBlog/NewBlog/app/assets/images/NewBlog/.gitkeep b/vendor/plugins/NewBlog/app/assets/images/NewBlog/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/assets/images/NewBlog/.gitkeep rename to vendor/plugins/NewBlog/app/assets/images/NewBlog/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/assets/javascripts/NewBlog/.gitkeep b/vendor/plugins/NewBlog/app/assets/javascripts/NewBlog/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/assets/javascripts/NewBlog/.gitkeep rename to vendor/plugins/NewBlog/app/assets/javascripts/NewBlog/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/.gitkeep b/vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/.gitkeep rename to vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/application.css b/vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/application.css similarity index 100% rename from lib/NewBlog/NewBlog/app/assets/stylesheets/NewBlog/application.css rename to vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/application.css diff --git a/vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/production.css b/vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/production.css new file mode 100644 index 00000000..cb83f05a --- /dev/null +++ b/vendor/plugins/NewBlog/app/assets/stylesheets/NewBlog/production.css @@ -0,0 +1,51 @@ +/* module */ +#module{ + float: left; + width: 170px; + margin-left: 20px; +} +.production { + padding: 10px; + font-size: 12px; + border: 1px solid #e1e1e1; + margin-bottom: 10px; + background: #DDDAD0; + color: #484339; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0 0 5px #33322C; + -webkit-box-shadow: 0 0 5px #33322C; + box-shadow: 0 0 5px #33322C; + text-shadow: 0 1px 0 #fff; + line-height: 1.4; + font-family: Arial; +} +.production h2{ + font-size: 18px; + margin-bottom: 10px; + text-shadow: 0 1px 0 #fff; + border-left: 4px solid #B6300C; + line-height: 20px; + padding-left: 5px; +} +.production table{ + border: 1px solid #9b968c; + padding: 5px; + width: 145px; +} +.production th{ + background: #d3cfc3; + font-weight: bold; +} +.production th, .production tr, .production td{ + border: 1px solid #9b968c; + padding: 5px; +} +.production a{ + color: #9a460e; + text-decoration: none; +} +.production a:hover{ + text-decoration: underline; +} \ No newline at end of file diff --git a/lib/NewBlog/NewBlog/app/controllers/.gitkeep b/vendor/plugins/NewBlog/app/controllers/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/controllers/.gitkeep rename to vendor/plugins/NewBlog/app/controllers/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/controllers/application_controller.rb b/vendor/plugins/NewBlog/app/controllers/application_controller.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/controllers/application_controller.rb rename to vendor/plugins/NewBlog/app/controllers/application_controller.rb diff --git a/lib/NewBlog/NewBlog/app/controllers/panel/blog/comments_controller.rb b/vendor/plugins/NewBlog/app/controllers/panel/blog/comments_controller.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/controllers/panel/blog/comments_controller.rb rename to vendor/plugins/NewBlog/app/controllers/panel/blog/comments_controller.rb diff --git a/lib/NewBlog/NewBlog/app/controllers/panel/blog/posts_controller.rb b/vendor/plugins/NewBlog/app/controllers/panel/blog/posts_controller.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/controllers/panel/blog/posts_controller.rb rename to vendor/plugins/NewBlog/app/controllers/panel/blog/posts_controller.rb diff --git a/lib/NewBlog/NewBlog/app/helpers/.gitkeep b/vendor/plugins/NewBlog/app/helpers/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/helpers/.gitkeep rename to vendor/plugins/NewBlog/app/helpers/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/helpers/application_helper.rb b/vendor/plugins/NewBlog/app/helpers/application_helper.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/helpers/application_helper.rb rename to vendor/plugins/NewBlog/app/helpers/application_helper.rb diff --git a/lib/NewBlog/NewBlog/app/mailers/.gitkeep b/vendor/plugins/NewBlog/app/mailers/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/mailers/.gitkeep rename to vendor/plugins/NewBlog/app/mailers/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/models/.gitkeep b/vendor/plugins/NewBlog/app/models/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/models/.gitkeep rename to vendor/plugins/NewBlog/app/models/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/models/comment.rb b/vendor/plugins/NewBlog/app/models/comment.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/models/comment.rb rename to vendor/plugins/NewBlog/app/models/comment.rb diff --git a/lib/NewBlog/NewBlog/app/models/post.rb b/vendor/plugins/NewBlog/app/models/post.rb similarity index 100% rename from lib/NewBlog/NewBlog/app/models/post.rb rename to vendor/plugins/NewBlog/app/models/post.rb diff --git a/lib/NewBlog/NewBlog/app/views/.gitkeep b/vendor/plugins/NewBlog/app/views/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/app/views/.gitkeep rename to vendor/plugins/NewBlog/app/views/.gitkeep diff --git a/lib/NewBlog/NewBlog/app/views/layouts/application.html.erb b/vendor/plugins/NewBlog/app/views/layouts/application.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/layouts/application.html.erb rename to vendor/plugins/NewBlog/app/views/layouts/application.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/layouts/edit_view.html.erb b/vendor/plugins/NewBlog/app/views/layouts/edit_view.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/layouts/edit_view.html.erb rename to vendor/plugins/NewBlog/app/views/layouts/edit_view.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/layouts/production.html.erb b/vendor/plugins/NewBlog/app/views/layouts/production.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/layouts/production.html.erb rename to vendor/plugins/NewBlog/app/views/layouts/production.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/_form.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/_form.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/_form.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/_form.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/edit.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/edit.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/edit.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/edit.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/index.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/index.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/index.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/index.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/latest_post.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/latest_post.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/latest_post.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/latest_post.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/new.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/new.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/new.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/new.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/show.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/show.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/show.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/show.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/widget_index.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_index.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/widget_index.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_index.html.erb diff --git a/lib/NewBlog/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb b/vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb rename to vendor/plugins/NewBlog/app/views/panel/blog/posts/widget_latest_post.html.erb diff --git a/lib/NewBlog/NewBlog/config/routes.rb b/vendor/plugins/NewBlog/config/routes.rb similarity index 100% rename from lib/NewBlog/NewBlog/config/routes.rb rename to vendor/plugins/NewBlog/config/routes.rb diff --git a/lib/NewBlog/NewBlog/lib/NewBlog.rb b/vendor/plugins/NewBlog/lib/NewBlog.rb similarity index 100% rename from lib/NewBlog/NewBlog/lib/NewBlog.rb rename to vendor/plugins/NewBlog/lib/NewBlog.rb diff --git a/lib/NewBlog/NewBlog/lib/NewBlog/engine.rb b/vendor/plugins/NewBlog/lib/NewBlog/engine.rb similarity index 100% rename from lib/NewBlog/NewBlog/lib/NewBlog/engine.rb rename to vendor/plugins/NewBlog/lib/NewBlog/engine.rb diff --git a/lib/NewBlog/NewBlog/lib/NewBlog/version.rb b/vendor/plugins/NewBlog/lib/NewBlog/version.rb similarity index 100% rename from lib/NewBlog/NewBlog/lib/NewBlog/version.rb rename to vendor/plugins/NewBlog/lib/NewBlog/version.rb diff --git a/lib/NewBlog/NewBlog/lib/tasks/NewBlog_tasks.rake b/vendor/plugins/NewBlog/lib/tasks/NewBlog_tasks.rake similarity index 100% rename from lib/NewBlog/NewBlog/lib/tasks/NewBlog_tasks.rake rename to vendor/plugins/NewBlog/lib/tasks/NewBlog_tasks.rake diff --git a/lib/NewBlog/NewBlog/script/rails b/vendor/plugins/NewBlog/script/rails similarity index 100% rename from lib/NewBlog/NewBlog/script/rails rename to vendor/plugins/NewBlog/script/rails diff --git a/lib/NewBlog/NewBlog/test/NewBlog_test.rb b/vendor/plugins/NewBlog/test/NewBlog_test.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/NewBlog_test.rb rename to vendor/plugins/NewBlog/test/NewBlog_test.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/Rakefile b/vendor/plugins/NewBlog/test/dummy/Rakefile similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/Rakefile rename to vendor/plugins/NewBlog/test/dummy/Rakefile diff --git a/lib/NewBlog/NewBlog/test/dummy/app/assets/javascripts/application.js b/vendor/plugins/NewBlog/test/dummy/app/assets/javascripts/application.js similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/assets/javascripts/application.js rename to vendor/plugins/NewBlog/test/dummy/app/assets/javascripts/application.js diff --git a/lib/NewBlog/NewBlog/test/dummy/app/assets/stylesheets/application.css b/vendor/plugins/NewBlog/test/dummy/app/assets/stylesheets/application.css similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/assets/stylesheets/application.css rename to vendor/plugins/NewBlog/test/dummy/app/assets/stylesheets/application.css diff --git a/lib/NewBlog/NewBlog/test/dummy/app/controllers/application_controller.rb b/vendor/plugins/NewBlog/test/dummy/app/controllers/application_controller.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/controllers/application_controller.rb rename to vendor/plugins/NewBlog/test/dummy/app/controllers/application_controller.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/app/helpers/application_helper.rb b/vendor/plugins/NewBlog/test/dummy/app/helpers/application_helper.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/helpers/application_helper.rb rename to vendor/plugins/NewBlog/test/dummy/app/helpers/application_helper.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/app/mailers/.gitkeep b/vendor/plugins/NewBlog/test/dummy/app/mailers/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/mailers/.gitkeep rename to vendor/plugins/NewBlog/test/dummy/app/mailers/.gitkeep diff --git a/lib/NewBlog/NewBlog/test/dummy/app/models/.gitkeep b/vendor/plugins/NewBlog/test/dummy/app/models/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/models/.gitkeep rename to vendor/plugins/NewBlog/test/dummy/app/models/.gitkeep diff --git a/lib/NewBlog/NewBlog/test/dummy/app/views/layouts/application.html.erb b/vendor/plugins/NewBlog/test/dummy/app/views/layouts/application.html.erb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/app/views/layouts/application.html.erb rename to vendor/plugins/NewBlog/test/dummy/app/views/layouts/application.html.erb diff --git a/lib/NewBlog/NewBlog/test/dummy/config.ru b/vendor/plugins/NewBlog/test/dummy/config.ru similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config.ru rename to vendor/plugins/NewBlog/test/dummy/config.ru diff --git a/lib/NewBlog/NewBlog/test/dummy/config/application.rb b/vendor/plugins/NewBlog/test/dummy/config/application.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/application.rb rename to vendor/plugins/NewBlog/test/dummy/config/application.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/boot.rb b/vendor/plugins/NewBlog/test/dummy/config/boot.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/boot.rb rename to vendor/plugins/NewBlog/test/dummy/config/boot.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/database.yml b/vendor/plugins/NewBlog/test/dummy/config/database.yml similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/database.yml rename to vendor/plugins/NewBlog/test/dummy/config/database.yml diff --git a/lib/NewBlog/NewBlog/test/dummy/config/environment.rb b/vendor/plugins/NewBlog/test/dummy/config/environment.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/environment.rb rename to vendor/plugins/NewBlog/test/dummy/config/environment.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/environments/development.rb b/vendor/plugins/NewBlog/test/dummy/config/environments/development.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/environments/development.rb rename to vendor/plugins/NewBlog/test/dummy/config/environments/development.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/environments/production.rb b/vendor/plugins/NewBlog/test/dummy/config/environments/production.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/environments/production.rb rename to vendor/plugins/NewBlog/test/dummy/config/environments/production.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/environments/test.rb b/vendor/plugins/NewBlog/test/dummy/config/environments/test.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/environments/test.rb rename to vendor/plugins/NewBlog/test/dummy/config/environments/test.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/inflections.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/inflections.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/inflections.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/inflections.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/mime_types.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/mime_types.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/mime_types.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/mime_types.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/secret_token.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/secret_token.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/secret_token.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/secret_token.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/session_store.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/session_store.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/session_store.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/session_store.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/initializers/wrap_parameters.rb b/vendor/plugins/NewBlog/test/dummy/config/initializers/wrap_parameters.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/initializers/wrap_parameters.rb rename to vendor/plugins/NewBlog/test/dummy/config/initializers/wrap_parameters.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/config/locales/en.yml b/vendor/plugins/NewBlog/test/dummy/config/locales/en.yml similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/locales/en.yml rename to vendor/plugins/NewBlog/test/dummy/config/locales/en.yml diff --git a/lib/NewBlog/NewBlog/test/dummy/config/mongoid.yml b/vendor/plugins/NewBlog/test/dummy/config/mongoid.yml similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/mongoid.yml rename to vendor/plugins/NewBlog/test/dummy/config/mongoid.yml diff --git a/lib/NewBlog/NewBlog/test/dummy/config/routes.rb b/vendor/plugins/NewBlog/test/dummy/config/routes.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/config/routes.rb rename to vendor/plugins/NewBlog/test/dummy/config/routes.rb diff --git a/lib/NewBlog/NewBlog/test/dummy/lib/assets/.gitkeep b/vendor/plugins/NewBlog/test/dummy/lib/assets/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/lib/assets/.gitkeep rename to vendor/plugins/NewBlog/test/dummy/lib/assets/.gitkeep diff --git a/lib/NewBlog/NewBlog/test/dummy/log/.gitkeep b/vendor/plugins/NewBlog/test/dummy/log/.gitkeep similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/log/.gitkeep rename to vendor/plugins/NewBlog/test/dummy/log/.gitkeep diff --git a/lib/NewBlog/NewBlog/test/dummy/public/404.html b/vendor/plugins/NewBlog/test/dummy/public/404.html similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/public/404.html rename to vendor/plugins/NewBlog/test/dummy/public/404.html diff --git a/lib/NewBlog/NewBlog/test/dummy/public/422.html b/vendor/plugins/NewBlog/test/dummy/public/422.html similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/public/422.html rename to vendor/plugins/NewBlog/test/dummy/public/422.html diff --git a/lib/NewBlog/NewBlog/test/dummy/public/500.html b/vendor/plugins/NewBlog/test/dummy/public/500.html similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/public/500.html rename to vendor/plugins/NewBlog/test/dummy/public/500.html diff --git a/lib/NewBlog/NewBlog/test/dummy/public/favicon.ico b/vendor/plugins/NewBlog/test/dummy/public/favicon.ico similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/public/favicon.ico rename to vendor/plugins/NewBlog/test/dummy/public/favicon.ico diff --git a/lib/NewBlog/NewBlog/test/dummy/script/rails b/vendor/plugins/NewBlog/test/dummy/script/rails similarity index 100% rename from lib/NewBlog/NewBlog/test/dummy/script/rails rename to vendor/plugins/NewBlog/test/dummy/script/rails diff --git a/lib/NewBlog/NewBlog/test/integration/navigation_test.rb b/vendor/plugins/NewBlog/test/integration/navigation_test.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/integration/navigation_test.rb rename to vendor/plugins/NewBlog/test/integration/navigation_test.rb diff --git a/lib/NewBlog/NewBlog/test/test_helper.rb b/vendor/plugins/NewBlog/test/test_helper.rb similarity index 100% rename from lib/NewBlog/NewBlog/test/test_helper.rb rename to vendor/plugins/NewBlog/test/test_helper.rb