ctl_base_ui 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +32 -0
  3. data/app/assets/images/ctl_base_ui/ctl_labs_long_color.svg +79 -0
  4. data/app/assets/images/ctl_base_ui/ctl_labs_run_color.svg +47 -0
  5. data/app/assets/images/ctl_base_ui/ctl_logo_base.svg +48 -0
  6. data/app/assets/images/ctl_base_ui/icon_sprite.svg +161 -0
  7. data/app/assets/images/ctl_base_ui/icon_sprite_blue.svg +161 -0
  8. data/app/assets/images/ctl_base_ui/icon_sprite_green.svg +161 -0
  9. data/app/assets/images/ctl_base_ui/icon_sprite_light_blue.svg +161 -0
  10. data/app/assets/images/ctl_base_ui/icon_sprite_light_green.svg +161 -0
  11. data/app/assets/images/ctl_base_ui/icon_sprite_light_grey.svg +161 -0
  12. data/app/assets/images/ctl_base_ui/icon_sprite_red.svg +161 -0
  13. data/app/assets/images/ctl_base_ui/icon_sprite_white.svg +161 -0
  14. data/app/assets/javascripts/ctl_base_ui/kitchen_sink.js +2 -0
  15. data/app/assets/stylesheets/ctl_base_ui/_colors.scss +19 -0
  16. data/app/assets/stylesheets/ctl_base_ui/_mixins.scss +37 -0
  17. data/app/assets/stylesheets/ctl_base_ui/_variables.scss +2 -0
  18. data/app/assets/stylesheets/ctl_base_ui/application.css +21 -0
  19. data/app/assets/stylesheets/ctl_base_ui/baseline.scss +13 -0
  20. data/app/assets/stylesheets/ctl_base_ui/buttons.scss +81 -0
  21. data/app/assets/stylesheets/ctl_base_ui/forms.scss +111 -0
  22. data/app/assets/stylesheets/ctl_base_ui/icons.scss +131 -0
  23. data/app/assets/stylesheets/ctl_base_ui/modals.scss +77 -0
  24. data/app/assets/stylesheets/ctl_base_ui/notices.scss +41 -0
  25. data/app/assets/stylesheets/ctl_base_ui/reset.scss +48 -0
  26. data/app/assets/stylesheets/ctl_base_ui/styleguide.scss +437 -0
  27. data/app/assets/stylesheets/ctl_base_ui/typography.scss +92 -0
  28. data/app/controllers/ctl_base_ui/application_controller.rb +7 -0
  29. data/app/controllers/ctl_base_ui/styleguide_controller.rb +8 -0
  30. data/app/helpers/ctl_base_ui/application_helper.rb +12 -0
  31. data/app/views/ctl_base_ui/styleguide/_buttons.html.haml +10 -0
  32. data/app/views/ctl_base_ui/styleguide/_century_link_identity.html.haml +3 -0
  33. data/app/views/ctl_base_ui/styleguide/_colors.html.haml +44 -0
  34. data/app/views/ctl_base_ui/styleguide/_forms.html.haml +19 -0
  35. data/app/views/ctl_base_ui/styleguide/_icons.html.haml +11 -0
  36. data/app/views/ctl_base_ui/styleguide/_modals.html.haml +15 -0
  37. data/app/views/ctl_base_ui/styleguide/_notices.html.haml +21 -0
  38. data/app/views/ctl_base_ui/styleguide/_typography.html.haml +30 -0
  39. data/app/views/ctl_base_ui/styleguide/index.html.haml +57 -0
  40. data/app/views/layouts/ctl_base_ui/application.html.haml +12 -0
  41. data/config/routes.rb +3 -0
  42. data/lib/ctl_base_ui/configuration.rb +25 -0
  43. data/lib/ctl_base_ui/engine.rb +8 -0
  44. data/lib/ctl_base_ui/version.rb +3 -0
  45. data/lib/ctl_base_ui.rb +6 -0
  46. data/lib/tasks/ctl_base_ui_tasks.rake +4 -0
  47. data/test/ctl_base_ui_test.rb +7 -0
  48. data/test/dummy/README.rdoc +28 -0
  49. data/test/dummy/Rakefile +6 -0
  50. data/test/dummy/app/assets/javascripts/application.js +13 -0
  51. data/test/dummy/app/controllers/application_controller.rb +5 -0
  52. data/test/dummy/app/helpers/application_helper.rb +2 -0
  53. data/test/dummy/app/views/layouts/application.html.haml +14 -0
  54. data/test/dummy/bin/bundle +3 -0
  55. data/test/dummy/bin/rails +4 -0
  56. data/test/dummy/bin/rake +4 -0
  57. data/test/dummy/config/application.rb +28 -0
  58. data/test/dummy/config/boot.rb +5 -0
  59. data/test/dummy/config/environment.rb +5 -0
  60. data/test/dummy/config/environments/development.rb +27 -0
  61. data/test/dummy/config/environments/production.rb +80 -0
  62. data/test/dummy/config/environments/test.rb +36 -0
  63. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/test/dummy/config/initializers/ctl_base_ui.rb +3 -0
  65. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  66. data/test/dummy/config/initializers/inflections.rb +16 -0
  67. data/test/dummy/config/initializers/mime_types.rb +5 -0
  68. data/test/dummy/config/initializers/secret_token.rb +12 -0
  69. data/test/dummy/config/initializers/session_store.rb +3 -0
  70. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  71. data/test/dummy/config/locales/en.yml +23 -0
  72. data/test/dummy/config/routes.rb +3 -0
  73. data/test/dummy/config.ru +4 -0
  74. data/test/dummy/log/development.log +616 -0
  75. data/test/dummy/public/404.html +58 -0
  76. data/test/dummy/public/422.html +58 -0
  77. data/test/dummy/public/500.html +57 -0
  78. data/test/dummy/public/favicon.ico +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/_colors.scssc +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/_mixins.scssc +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/_variables.scssc +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/baseline.scssc +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/buttons.scssc +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/forms.scssc +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/icons.scssc +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/modals.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/notices.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/reset.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/styleguide.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sass/8abd77cf1f8106f52f12194ed1fcc1613b5c14c6/typography.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/0303b432eb383e61ba34ea5078f66a48 +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/0733a75c8a2b4eb73f605ea998af15b5 +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/0d1b08b26685a1c2b4b97e1f671a4af3 +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/179b270ea6a97e5d46ff601500a6846d +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/187cf46ce796ff8dcd272c736d459e99 +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/1e20264e24c10967027560b2869fb1d3 +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/270aa30dc683f1dd3c2dfaa993e1321a +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/2c971479f73bafa4a357b3e08e571167 +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/2cabf41a81ca2c912333d520cd6902bb +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/2deb642dada5251ae5b3fe9453bef203 +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/34e5eaecd93f40aa15f62d46e38d0aec +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/3864760eed16c23aabbd3714d39731ab +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/38d0b1e7a58a1fa245500f6cf244ffbe +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/3b7e3122ce02b3cc004c88ebd07f159f +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/3d3580db821c9121cb1fb6bdca57973e +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/49dbb80fd198f03d655ef7ea0d3d102a +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/4bb25d18d10b2678b08bfcafe0c34e26 +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/58e530ef4bbbc16c59c12bbc75fdf59e +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/5e96a4fa7adc21893ef800cb5b4d7b1b +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/60e0b9f6bc47b7dd0c638e3d9b89710c +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/62b022ed57ae78bbda6088e9224e7f80 +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/65d1d5c459b20f2a3e1155ffca39b322 +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/68d639a7ec8b865c18b91b405f7d1e6f +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/6d410574ba327d6b66b019a4564d4a3a +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/713251a5497bb66ab924fea15e9b0284 +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/7ce45cf5080d9abd1b0e837b4ae20b67 +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/7d16eef429258a61204ec3a6ff31527a +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/810fe112337898d76dbdedeb6b1ba9b8 +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/864adbf04c5ab0d32fa685701ae62f38 +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/89606f28c3dfd69b84b4d24946538037 +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/8c7ada169200de41cc4c79475e29fe0b +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/918faf7a66bb2533d7e0dc594d71debb +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/9190a159a7c37dd97f3a472206575242 +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/925baff581c9b50a6419c475485e942b +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/95ea9c200445fe8fd20e0d6da242ddbd +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/95fa285c1de558eb3c20f169b844f76c +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/96b14e59638628abe7a2efb736c23f5e +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/a0a731c98e68c1444457d754e9093369 +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/a6bda980439e51cb092fb6d8b7920b49 +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/a9df84c7eebe716cac74822f5c1db1cb +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/adee1d66169ed6e8595218f2c42f5f59 +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/b3396a881ee33e938a6fdb3d9c7593b1 +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/b3a303ba4385b3991be89acba49ca62c +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/b652de37608b55f2cb1258e1202297a9 +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/b65ea5f591919e176212719cb8170eec +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/b6d2153d7c97d1cf2714e14e24fa7d39 +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/b7114ea3513dfa680adc1909bc20c89b +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/bf7625999e0a55773e8afa91f8fa2619 +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/bfe9a98f3b82d40c3b13aed73ba185c7 +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/c08bc7cd26f85ce11741ee6e5efebf91 +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/c0cbe5c4109d439bca0bdc67f0f13246 +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/c3a0786a7c4480e9754d0b490b216eac +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/c599b6ae6831d05fb0b54aa099afa193 +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/c635164eabd3a3b87f718b0eb6288fa6 +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/c6b006903d4bab49e7e017e830cbcc03 +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/ca2920c72c4de8e2c6ca165348f1801e +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/cbf1e5fb527fc7e1febc8068c0e99292 +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/ceaa26a5cd606fcda7ffbb9963b86c33 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/cf05718545630da575a491be1620f58e +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/d40c55a44bd87cc334c38165c1badb69 +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/d5188f154ad181a5c1d97d75180144e2 +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/d896be8cd59389c8d9aa62897e2539aa +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/d931b88d566c4c1f7413fb6206bc70b9 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/db8d11fa2072f99f9b09158ce432cd73 +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/dda0d76adf30b8d41364feb544dbc43b +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/de15c0d8d02e8bf92eb8e4a476c15a13 +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/df073ef92311baf471749246bc63cd9e +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/dfd377efa43e490bc47ea01a8bc2db63 +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/e236b528d40f4a291d03a2c07ea4dc45 +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/e71d9fdfcbb630a0c49ecd9610afe42b +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/e769263e01360490916801f8cd28c510 +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/e971944fd6d11922fbfd51283a82fa47 +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/f2f6c99c1fe4a5298c92950f556aeae1 +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/f482e693e6b20f9a3d2f77ff8a130086 +0 -0
  165. data/test/integration/navigation_test.rb +9 -0
  166. data/test/test_helper.rb +15 -0
  167. metadata +398 -0
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end