voluntary 0.0.3 → 0.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/README.rdoc +37 -2
  2. data/app/assets/images/voluntary/spinner.gif +0 -0
  3. data/app/assets/javascripts/voluntary/application.js +2 -2
  4. data/app/assets/javascripts/voluntary/base.js.coffee +8 -1
  5. data/app/assets/javascripts/voluntary/users.js.coffee +2 -3
  6. data/app/assets/stylesheets/voluntary/application.css +2 -0
  7. data/app/assets/stylesheets/voluntary/base.css.sass +62 -0
  8. data/app/assets/stylesheets/voluntary/bootstrap_and_overrides.css.sass +4 -0
  9. data/app/controllers/workflow/project_owner_controller.rb +1 -1
  10. data/app/helpers/collection_helper.rb +5 -1
  11. data/app/helpers/form_helper.rb +6 -2
  12. data/{lib/generators/voluntary/install/templates/app → app}/models/ability.rb +0 -0
  13. data/app/models/page.rb +2 -2
  14. data/app/models/product.rb +9 -9
  15. data/app/models/project.rb +8 -1
  16. data/app/models/task.rb +2 -14
  17. data/app/presenters/shared/collection/table_presenter.rb +2 -2
  18. data/app/views/general/wizard.html.erb +1 -1
  19. data/app/views/layouts/application.html.erb +6 -0
  20. data/app/views/layouts/shared/_navigation.html.erb +4 -1
  21. data/app/views/vacancies/show.html.erb +0 -2
  22. data/db/migrate/20121122185954_add_klass_name_to_products.rb +17 -0
  23. data/lib/applicat/mvc/controller.rb +0 -2
  24. data/lib/applicat/mvc/controller/resource.rb +1 -1
  25. data/lib/applicat/mvc/model/resource/base.rb +8 -3
  26. data/lib/db_seed.rb +1 -1
  27. data/lib/generators/voluntary/install/install_generator.rb +1 -2
  28. data/lib/generators/voluntary/install/templates/app/controllers/application_controller.rb +4 -0
  29. data/lib/generators/voluntary/install/templates/app/models/application/ability.rb +8 -0
  30. data/lib/generators/voluntary/install/templates/config/deploy.rb +2 -0
  31. data/lib/generators/voluntary/install/templates/features/step_definitions/user_steps.rb +4 -0
  32. data/lib/generators/voluntary/install/templates/features/support/user_cuke_helpers.rb +2 -2
  33. data/lib/generators/voluntary/product_dummy/product_dummy_generator.rb +1 -1
  34. data/lib/generators/voluntary/product_dummy/templates/vendor/assets/javascripts/jquery.tokeninput.js +915 -0
  35. data/lib/generators/voluntary/product_dummy/templates/vendor/assets/stylesheets/token-input-facebook.css +122 -0
  36. data/lib/generators/voluntary/product_dummy/templates/vendor/assets/stylesheets/token-input-mac.css +204 -0
  37. data/lib/generators/voluntary/product_dummy/templates/vendor/assets/stylesheets/token-input.css +127 -0
  38. data/lib/volontariat_seed.rb +27 -0
  39. data/lib/voluntary.rb +6 -5
  40. data/lib/voluntary/version.rb +1 -1
  41. metadata +560 -209
  42. data/app/assets/javascripts/voluntary/bootstrap.js.coffee +0 -4
  43. data/app/assets/stylesheets/voluntary/base.css.scss +0 -40
  44. data/app/assets/stylesheets/voluntary/bootstrap_and_overrides.css.less +0 -67
  45. data/config/initializers/recaptcha.rb +0 -7
@@ -1,4 +0,0 @@
1
- jQuery ->
2
- $("a[rel=popover]").popover()
3
- $(".tooltip").tooltip()
4
- $("a[rel=tooltip]").tooltip()
@@ -1,40 +0,0 @@
1
- /*
2
- *= require jquery.ui.all
3
- */
4
-
5
- /*body {
6
- font-family: Arial;
7
- }*/
8
-
9
- .ui-widget {
10
- font-family: Arial;
11
- font-size: 10px;
12
- }
13
-
14
- html, body, div, span {
15
- font-family: Arial;
16
- font-size: 10px;
17
- }
18
-
19
- .nav a {
20
- font-family: Arial;
21
- font-size: 10px;
22
- }
23
-
24
- .nested_comments {
25
- margin-left: 30px;
26
- }
27
-
28
- .nested_comments .nested_comments .nested_comments .nested_comments {
29
- margin-left: 0;
30
- }
31
-
32
- .footer {
33
- margin-top: 20px;
34
- }
35
-
36
- .floating_form fieldset .control-group {
37
- float: left;
38
- margin-right: 10px;
39
- margin-bottom: 0px;
40
- }
@@ -1,67 +0,0 @@
1
- @import "twitter/bootstrap/bootstrap";
2
- /*body {
3
- padding-top: 60px;
4
- padding-left: 20px;
5
- }*/
6
-
7
- @import "twitter/bootstrap/responsive";
8
-
9
- pre {
10
- background-color: white;
11
- border: 0px;
12
- border-radius: 0px;
13
- display: block;
14
- font-size: 10px;
15
- line-height: 18px;
16
- margin: 0px;
17
- padding: 0px;
18
- white-space: pre-wrap;
19
- word-wrap: break-word;
20
- }
21
-
22
- code, pre {
23
- font-family: Arial;
24
- }
25
-
26
- code {
27
- border-radius: 0px;
28
- border-width: 0px;
29
- color: black;
30
- background-color: white;
31
- font-size: 10px;
32
- padding: 0px;
33
- }
34
-
35
- .nav a {
36
- font-size:14px ! important;
37
- }
38
-
39
- // Set the correct sprite paths
40
- @iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings.png');
41
- @iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white.png');
42
-
43
- // Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
44
- // Note: If you use asset_path() here, your compiled boostrap_and_overrides.css will not
45
- // have the proper paths. So for now we use the absolute path.
46
- @fontAwesomeEotPath: '/assets/fontawesome-webfont.eot';
47
- @fontAwesomeWoffPath: '/assets/fontawesome-webfont.woff';
48
- @fontAwesomeTtfPath: '/assets/fontawesome-webfont.ttf';
49
- @fontAwesomeSvgPath: '/assets/fontawesome-webfont.svg';
50
-
51
- // Font Awesome
52
- @import "fontawesome";
53
-
54
- // Your custom LESS stylesheets goes here
55
- //
56
- // Since bootstrap was imported above you have access to its mixins which
57
- // you may use and inherit here
58
- //
59
- // If you'd like to override bootstrap's own variables, you can do so here as well
60
- // See http://twitter.github.com/bootstrap/less.html for their names and documentation
61
- //
62
- // Example:
63
- // @linkColor: #ff0000;
64
-
65
- .auto_width {
66
- width: auto;
67
- }
@@ -1,7 +0,0 @@
1
- if defined? Recaptcha
2
- Recaptcha.configure do |config|
3
- config.public_key = '6Ld9SdcSAAAAADGzvuO07tqjImVkdbD8TvjpZBgx'
4
- config.private_key = '6Ld9SdcSAAAAABL436FIpK5TLyrwIFZSEE_VhRHG'
5
- config.proxy = 'http://volontari.at:8080'
6
- end
7
- end