contour 0.0.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.gitignore +7 -0
  2. data/CHANGELOG.rdoc +13 -0
  3. data/README.rdoc +56 -0
  4. data/app/controllers/contour/authentications_controller.rb +60 -0
  5. data/app/controllers/contour/registrations_controller.rb +16 -0
  6. data/app/controllers/contour/samples_controller.rb +5 -0
  7. data/app/controllers/contour/sessions_controller.rb +3 -0
  8. data/app/views/contour/authentications/_index.html.erb +25 -0
  9. data/app/views/contour/authentications/_menu.html.erb +25 -0
  10. data/app/views/contour/authentications/index.html.erb +27 -0
  11. data/app/views/contour/layouts/_menu.html.erb +32 -0
  12. data/app/views/contour/layouts/_message.html.erb +8 -0
  13. data/app/views/contour/layouts/application.html.erb +47 -0
  14. data/app/views/contour/registrations/edit.html.erb +25 -0
  15. data/app/views/contour/registrations/new.html.erb +37 -0
  16. data/app/views/contour/samples/index.html.erb +27 -0
  17. data/app/views/contour/sessions/new.html.erb +25 -0
  18. data/app/views/devise/passwords/edit.html.erb +16 -0
  19. data/app/views/devise/passwords/new.html.erb +12 -0
  20. data/contour.gemspec +27 -0
  21. data/lib/contour.rb +36 -0
  22. data/lib/contour/engine.rb +8 -0
  23. data/lib/contour/version.rb +1 -1
  24. data/lib/generators/contour/install_generator.rb +38 -0
  25. data/lib/generators/templates/contour.rb +30 -0
  26. data/lib/generators/templates/devise.rb +153 -0
  27. data/lib/generators/templates/omniauth.rb +22 -0
  28. data/lib/generators/templates/omniauth_fix.rb +98 -0
  29. data/lib/generators/templates/rack_fix.rb +44 -0
  30. data/vendor/assets/images/authbuttons/cas_32.png +0 -0
  31. data/vendor/assets/images/authbuttons/cas_64.png +0 -0
  32. data/vendor/assets/images/authbuttons/facebook_32.png +0 -0
  33. data/vendor/assets/images/authbuttons/facebook_64.png +0 -0
  34. data/vendor/assets/images/authbuttons/google_apps_32.png +0 -0
  35. data/vendor/assets/images/authbuttons/google_apps_64.png +0 -0
  36. data/vendor/assets/images/authbuttons/ldap_32.png +0 -0
  37. data/vendor/assets/images/authbuttons/ldap_64.png +0 -0
  38. data/vendor/assets/images/authbuttons/linkedin_32.png +0 -0
  39. data/vendor/assets/images/authbuttons/linkedin_64.png +0 -0
  40. data/vendor/assets/images/authbuttons/openid_32.png +0 -0
  41. data/vendor/assets/images/authbuttons/openid_64.png +0 -0
  42. data/vendor/assets/images/authbuttons/twitter_32.png +0 -0
  43. data/vendor/assets/images/authbuttons/twitter_64.png +0 -0
  44. data/vendor/assets/images/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  45. data/vendor/assets/images/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  46. data/vendor/assets/images/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  47. data/vendor/assets/images/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  48. data/vendor/assets/images/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  49. data/vendor/assets/images/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  50. data/vendor/assets/images/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  51. data/vendor/assets/images/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  52. data/vendor/assets/images/redmond/ui-icons_217bc0_256x240.png +0 -0
  53. data/vendor/assets/images/redmond/ui-icons_2e83ff_256x240.png +0 -0
  54. data/vendor/assets/images/redmond/ui-icons_469bdd_256x240.png +0 -0
  55. data/vendor/assets/images/redmond/ui-icons_6da8d5_256x240.png +0 -0
  56. data/vendor/assets/images/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  57. data/vendor/assets/images/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  58. data/vendor/assets/images/redmond/ui-icons_f9bd01_256x240.png +0 -0
  59. data/vendor/assets/javascripts/contour.js +8 -0
  60. data/vendor/assets/javascripts/errors.js.coffee +10 -0
  61. data/vendor/assets/javascripts/external/exporting-2.1.4.src.js +673 -0
  62. data/vendor/assets/javascripts/external/highcharts-2.1.4.src.js +10668 -0
  63. data/vendor/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js +782 -0
  64. data/vendor/assets/javascripts/external/waypoints.js +610 -0
  65. data/vendor/assets/javascripts/global.js.coffee +38 -0
  66. data/vendor/assets/javascripts/menu.js.coffee +6 -0
  67. data/vendor/assets/javascripts/popup.js.coffee +67 -0
  68. data/vendor/assets/stylesheets/authentication.css +63 -0
  69. data/vendor/assets/stylesheets/bluetrip-screen.css +324 -0
  70. data/vendor/assets/stylesheets/contour.css +15 -0
  71. data/vendor/assets/stylesheets/global.css +59 -0
  72. data/vendor/assets/stylesheets/header.css +18 -0
  73. data/vendor/assets/stylesheets/jquery-ui-1.8.10.custom.css +574 -0
  74. data/vendor/assets/stylesheets/menu.css +77 -0
  75. data/vendor/assets/stylesheets/message.css +27 -0
  76. data/vendor/assets/stylesheets/popup.css +79 -0
  77. metadata +114 -29
  78. data/README +0 -18
@@ -0,0 +1,77 @@
1
+ /**************************************/
2
+ /* NAVIGATION */
3
+ /**************************************/
4
+
5
+ #menu {
6
+ background:#404040;
7
+ padding:5px;
8
+ color: #fff;
9
+ }
10
+
11
+ .sticky {
12
+ position:fixed;
13
+ top:0;
14
+ width:950px;
15
+ margin:0 auto;
16
+ z-index:100;
17
+ }
18
+
19
+ #menu a {
20
+ color: #fff;
21
+ text-decoration: none;
22
+ padding:0 5px;
23
+ }
24
+
25
+ #menu a:hover {
26
+ color: #EB6C20;
27
+ }
28
+
29
+ div.menu_dropdown_right, div.menu_dropdown_right_center {
30
+ background-color: #fff;
31
+ position:absolute;
32
+ border: 2px solid #0E7799;
33
+ color: #404040;
34
+ border-top: 0px;
35
+ top:-2em;
36
+ padding:5px;
37
+ padding-right:8px;
38
+ right:-5px;
39
+ z-index:10;
40
+ text-align:right;
41
+ }
42
+
43
+ div.menu_dropdown_left, div.menu_dropdown_left_center {
44
+ background-color: #fff;
45
+ position:absolute;
46
+ border: 2px solid #0E7799;
47
+ color: #404040;
48
+ border-top: 0px;
49
+ top:-2em;
50
+ padding:5px;
51
+ padding-left:8px;
52
+ left:-5px;
53
+ z-index:10;
54
+ text-align: left;
55
+ }
56
+
57
+ #menu div.menu_dropdown_left a, #menu div.menu_dropdown_left_center a, #menu div.menu_dropdown_right a, #menu div.menu_dropdown_right_center a {
58
+ color: #057080;
59
+ padding-left: 0px;
60
+ padding-right: 0px;
61
+ }
62
+
63
+ #menu div.menu_dropdown_left a:hover, #menu div.menu_dropdown_left_center a:hover, #menu div.menu_dropdown_right a:hover, #menu div.menu_dropdown_right_center a:hover {
64
+ color: #EB6C20;
65
+ }
66
+
67
+ #menu, div.menu_dropdown_right {
68
+ border-bottom-right-radius: 8px;
69
+ -moz-border-radius-bottomright: 8px;
70
+ -webkit-border-radius-bottomright: 8px;
71
+ }
72
+
73
+ #menu, div.menu_dropdown_left {
74
+ border-bottom-left-radius: 8px;
75
+ -moz-border-radius-bottomleft: 8px;
76
+ -webkit-border-radius-bottomleft: 8px;
77
+ }
@@ -0,0 +1,27 @@
1
+ /**************************************/
2
+ /* MESSAGE */
3
+ /**************************************/
4
+
5
+ #message {
6
+ position:absolute;
7
+ left:-5px;
8
+ top:-30px;
9
+ }
10
+
11
+ .notice, .error {
12
+ float:left;
13
+ margin:0 4px 0 0;
14
+ padding:2px 8px;
15
+ border-bottom:0px;
16
+ white-space:nowrap;
17
+ }
18
+
19
+ .notice, .error {
20
+ border-top-left-radius: 8px;
21
+ -moz-border-radius-topleft: 8px;
22
+ -webkit-border-radius-topleft: 8px;
23
+
24
+ border-top-right-radius: 8px;
25
+ -moz-border-radius-topright: 8px;
26
+ -webkit-border-radius-topright: 8px;
27
+ }
@@ -0,0 +1,79 @@
1
+ #background_popup {
2
+ display: none;
3
+ position: fixed;
4
+ height: 100%;
5
+ width: 100%;
6
+ top: 0;
7
+ left: 0;
8
+ background: #000000;
9
+ border: 1px solid #cecece;
10
+ z-index: 1;
11
+ }
12
+
13
+ #popup {
14
+ display: none;
15
+ position: fixed;
16
+ height: 80%;
17
+ width: 408px;
18
+ background: #FFFFFF;
19
+ border: 2px solid #0E7799;
20
+ z-index: 2;
21
+ /* padding: 12px;*/
22
+ padding: 0px;
23
+ font-size: 12px;
24
+ /* overflow-y: scroll;*/
25
+ text-align: left;
26
+ }
27
+
28
+ #popup_header {
29
+ padding: 12px;
30
+ }
31
+
32
+ #popup h1 {
33
+ text-align: left;
34
+ border-bottom: 1px dotted #dedede;
35
+ padding-bottom: 7px;
36
+ margin-top: 0px;
37
+ margin-bottom: 20px;
38
+ }
39
+
40
+ #popup_close {
41
+ font-size: 14px;
42
+ line-height: 14px;
43
+ right: 6px;
44
+ top: 4px;
45
+ position: absolute;
46
+ font-weight: 700;
47
+ display: block;
48
+ text-decoration: none;
49
+ cursor: pointer;
50
+ }
51
+
52
+ #popup_content {
53
+ /* overflow-y: scroll;*/
54
+ /* padding-left: 12px;*/
55
+ padding-left: 12px;
56
+ /* padding-right: 12px;*/
57
+ }
58
+
59
+ #popup_content_left {
60
+ width:380px;
61
+ float:left;
62
+ /* border: 1px solid green;*/
63
+ padding-right:12px;
64
+ overflow-y: scroll;
65
+ position: relative;
66
+ }
67
+
68
+ #popup_content_right {
69
+ width: 404px; /* 396px; */
70
+ /* margin-left:396px;*/
71
+ float:right;
72
+ /* border: 1px solid black;*/
73
+ overflow-y: scroll;
74
+ position: relative;
75
+ }
76
+
77
+ #popup_info {
78
+ /* padding: 12px;*/
79
+ }
metadata CHANGED
@@ -1,58 +1,143 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: contour
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
4
5
  prerelease:
5
- version: 0.0.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Remo Mueller
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-29 00:00:00 Z
14
- dependencies: []
15
-
12
+ date: 2011-09-01 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: devise
16
+ requirement: &70141803093320 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.3.4
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70141803093320
25
+ - !ruby/object:Gem::Dependency
26
+ name: omniauth
27
+ requirement: &70141803091520 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 0.2.6
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70141803091520
16
36
  description: Basic Rails Framework files and assets for layout and authentication
17
37
  email: remosm@gmail.com
18
38
  executables: []
19
-
20
39
  extensions: []
21
-
22
40
  extra_rdoc_files: []
23
-
24
- files:
41
+ files:
42
+ - .gitignore
25
43
  - CHANGELOG.rdoc
26
44
  - LICENSE
27
- - README
45
+ - README.rdoc
46
+ - app/controllers/contour/authentications_controller.rb
47
+ - app/controllers/contour/registrations_controller.rb
48
+ - app/controllers/contour/samples_controller.rb
49
+ - app/controllers/contour/sessions_controller.rb
50
+ - app/views/contour/authentications/_index.html.erb
51
+ - app/views/contour/authentications/_menu.html.erb
52
+ - app/views/contour/authentications/index.html.erb
53
+ - app/views/contour/layouts/_menu.html.erb
54
+ - app/views/contour/layouts/_message.html.erb
55
+ - app/views/contour/layouts/application.html.erb
56
+ - app/views/contour/registrations/edit.html.erb
57
+ - app/views/contour/registrations/new.html.erb
58
+ - app/views/contour/samples/index.html.erb
59
+ - app/views/contour/sessions/new.html.erb
60
+ - app/views/devise/passwords/edit.html.erb
61
+ - app/views/devise/passwords/new.html.erb
62
+ - contour.gemspec
28
63
  - lib/contour.rb
64
+ - lib/contour/engine.rb
29
65
  - lib/contour/version.rb
66
+ - lib/generators/contour/install_generator.rb
67
+ - lib/generators/templates/contour.rb
68
+ - lib/generators/templates/devise.rb
69
+ - lib/generators/templates/omniauth.rb
70
+ - lib/generators/templates/omniauth_fix.rb
71
+ - lib/generators/templates/rack_fix.rb
72
+ - vendor/assets/images/authbuttons/cas_32.png
73
+ - vendor/assets/images/authbuttons/cas_64.png
74
+ - vendor/assets/images/authbuttons/facebook_32.png
75
+ - vendor/assets/images/authbuttons/facebook_64.png
76
+ - vendor/assets/images/authbuttons/google_apps_32.png
77
+ - vendor/assets/images/authbuttons/google_apps_64.png
78
+ - vendor/assets/images/authbuttons/ldap_32.png
79
+ - vendor/assets/images/authbuttons/ldap_64.png
80
+ - vendor/assets/images/authbuttons/linkedin_32.png
81
+ - vendor/assets/images/authbuttons/linkedin_64.png
82
+ - vendor/assets/images/authbuttons/openid_32.png
83
+ - vendor/assets/images/authbuttons/openid_64.png
84
+ - vendor/assets/images/authbuttons/twitter_32.png
85
+ - vendor/assets/images/authbuttons/twitter_64.png
86
+ - vendor/assets/images/redmond/ui-bg_flat_0_aaaaaa_40x100.png
87
+ - vendor/assets/images/redmond/ui-bg_flat_55_fbec88_40x100.png
88
+ - vendor/assets/images/redmond/ui-bg_glass_75_d0e5f5_1x400.png
89
+ - vendor/assets/images/redmond/ui-bg_glass_85_dfeffc_1x400.png
90
+ - vendor/assets/images/redmond/ui-bg_glass_95_fef1ec_1x400.png
91
+ - vendor/assets/images/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png
92
+ - vendor/assets/images/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png
93
+ - vendor/assets/images/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png
94
+ - vendor/assets/images/redmond/ui-icons_217bc0_256x240.png
95
+ - vendor/assets/images/redmond/ui-icons_2e83ff_256x240.png
96
+ - vendor/assets/images/redmond/ui-icons_469bdd_256x240.png
97
+ - vendor/assets/images/redmond/ui-icons_6da8d5_256x240.png
98
+ - vendor/assets/images/redmond/ui-icons_cd0a0a_256x240.png
99
+ - vendor/assets/images/redmond/ui-icons_d8e7f3_256x240.png
100
+ - vendor/assets/images/redmond/ui-icons_f9bd01_256x240.png
101
+ - vendor/assets/javascripts/contour.js
102
+ - vendor/assets/javascripts/errors.js.coffee
103
+ - vendor/assets/javascripts/external/exporting-2.1.4.src.js
104
+ - vendor/assets/javascripts/external/highcharts-2.1.4.src.js
105
+ - vendor/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js
106
+ - vendor/assets/javascripts/external/waypoints.js
107
+ - vendor/assets/javascripts/global.js.coffee
108
+ - vendor/assets/javascripts/menu.js.coffee
109
+ - vendor/assets/javascripts/popup.js.coffee
110
+ - vendor/assets/stylesheets/authentication.css
111
+ - vendor/assets/stylesheets/bluetrip-screen.css
112
+ - vendor/assets/stylesheets/contour.css
113
+ - vendor/assets/stylesheets/global.css
114
+ - vendor/assets/stylesheets/header.css
115
+ - vendor/assets/stylesheets/jquery-ui-1.8.10.custom.css
116
+ - vendor/assets/stylesheets/menu.css
117
+ - vendor/assets/stylesheets/message.css
118
+ - vendor/assets/stylesheets/popup.css
30
119
  homepage: https://github.com/remomueller
31
120
  licenses: []
32
-
33
121
  post_install_message:
34
122
  rdoc_options: []
35
-
36
- require_paths:
123
+ require_paths:
37
124
  - lib
38
- required_ruby_version: !ruby/object:Gem::Requirement
125
+ required_ruby_version: !ruby/object:Gem::Requirement
39
126
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: "0"
44
- required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ! '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
132
  none: false
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: "0"
133
+ requirements:
134
+ - - ! '>='
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
50
137
  requirements: []
51
-
52
138
  rubyforge_project:
53
- rubygems_version: 1.8.5
139
+ rubygems_version: 1.8.10
54
140
  signing_key:
55
141
  specification_version: 3
56
142
  summary: Basic Rails framework files and assets for layout and authentication
57
143
  test_files: []
58
-
data/README DELETED
@@ -1,18 +0,0 @@
1
- = Contour
2
-
3
- Basic Rails framework files and assets for layout and authentication
4
-
5
- == Contributing to contour
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
- * Fork the project
10
- * Start a feature/bugfix branch
11
- * Commit and push until you are happy with your contribution
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2011 Remo Mueller. See LICENSE for further details.
18
-