beetstrap 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +61 -0
- data/Rakefile +32 -0
- data/assets/fonts/beetstrap/OpenSans/LICENSE.txt +202 -0
- data/assets/fonts/beetstrap/OpenSans/OpenSans.eot +0 -0
- data/assets/fonts/beetstrap/OpenSans/OpenSans.svg +1637 -0
- data/assets/fonts/beetstrap/OpenSans/OpenSans.ttf +0 -0
- data/assets/fonts/beetstrap/OpenSans/OpenSans.woff +0 -0
- data/assets/fonts/beetstrap/OpenSans-Bold/LICENSE.txt +202 -0
- data/assets/fonts/beetstrap/OpenSans-Bold/OpenSans-Bold.eot +0 -0
- data/assets/fonts/beetstrap/OpenSans-Bold/OpenSans-Bold.svg +1635 -0
- data/assets/fonts/beetstrap/OpenSans-Bold/OpenSans-Bold.ttf +0 -0
- data/assets/fonts/beetstrap/OpenSans-Bold/OpenSans-Bold.woff +0 -0
- data/assets/fonts/beetstrap/OpenSans-Light/LICENSE.txt +202 -0
- data/assets/fonts/beetstrap/OpenSans-Light/OpenSans-Light.eot +0 -0
- data/assets/fonts/beetstrap/OpenSans-Light/OpenSans-Light.svg +1823 -0
- data/assets/fonts/beetstrap/OpenSans-Light/OpenSans-Light.ttf +0 -0
- data/assets/fonts/beetstrap/OpenSans-Light/OpenSans-Light.woff +0 -0
- data/assets/fonts/beetstrap/OpenSans-Semibold/LICENSE.txt +202 -0
- data/assets/fonts/beetstrap/OpenSans-Semibold/OpenSans-Semibold.eot +0 -0
- data/assets/fonts/beetstrap/OpenSans-Semibold/OpenSans-Semibold.svg +1827 -0
- data/assets/fonts/beetstrap/OpenSans-Semibold/OpenSans-Semibold.ttf +0 -0
- data/assets/fonts/beetstrap/OpenSans-Semibold/OpenSans-Semibold.woff +0 -0
- data/assets/fonts/beetstrap/ic-icons.eot +0 -0
- data/assets/fonts/beetstrap/ic-icons.svg +78 -0
- data/assets/fonts/beetstrap/ic-icons.ttf +0 -0
- data/assets/fonts/beetstrap/ic-icons.woff +0 -0
- data/assets/images/beetstrap/icon-arrow-down-white-4.png +0 -0
- data/assets/images/beetstrap/icon-arrow-down-white-4@2x.png +0 -0
- data/assets/images/beetstrap/icon-arrow-down-white-4@3x.png +0 -0
- data/assets/images/beetstrap/icon-arrow-right-gray-4.png +0 -0
- data/assets/images/beetstrap/icon-arrow-right-gray-4@2x.png +0 -0
- data/assets/images/beetstrap/icon-arrow-right-gray-4@3x.png +0 -0
- data/assets/images/beetstrap/icon-cart.png +0 -0
- data/assets/images/beetstrap/icon-cart@2x.png +0 -0
- data/assets/images/beetstrap/icon-cart@3x.png +0 -0
- data/assets/images/beetstrap/icon-departments-hamburger.png +0 -0
- data/assets/images/beetstrap/icon-departments-hamburger@2x.png +0 -0
- data/assets/images/beetstrap/icon-departments-hamburger@3x.png +0 -0
- data/assets/images/beetstrap/icon-help.png +0 -0
- data/assets/images/beetstrap/icon-help@2x.png +0 -0
- data/assets/images/beetstrap/icon-help@3x.png +0 -0
- data/assets/images/beetstrap/icon-home.png +0 -0
- data/assets/images/beetstrap/icon-home@2x.png +0 -0
- data/assets/images/beetstrap/icon-home@3x.png +0 -0
- data/assets/images/beetstrap/icon-lists-and-recipes.png +0 -0
- data/assets/images/beetstrap/icon-lists-and-recipes@2x.png +0 -0
- data/assets/images/beetstrap/icon-lists-and-recipes@3x.png +0 -0
- data/assets/images/beetstrap/icon-more.png +0 -0
- data/assets/images/beetstrap/icon-more@2x.png +0 -0
- data/assets/images/beetstrap/icon-more@3x.png +0 -0
- data/assets/images/beetstrap/icon-search.png +0 -0
- data/assets/images/beetstrap/icon-search@2x.png +0 -0
- data/assets/images/beetstrap/icon-search@3x.png +0 -0
- data/assets/images/beetstrap/instacart-logo-top-bar.png +0 -0
- data/assets/images/beetstrap/instacart-logo-top-bar@2x.png +0 -0
- data/assets/images/beetstrap/instacart-logo-top-bar@3x.png +0 -0
- data/assets/javascripts/beetstrap.js +387 -0
- data/assets/stylesheets/_beetstrap.scss +19 -0
- data/assets/stylesheets/beetstrap/_button-groups.scss +228 -0
- data/assets/stylesheets/beetstrap/_buttons.scss +223 -0
- data/assets/stylesheets/beetstrap/_fonts.scss +51 -0
- data/assets/stylesheets/beetstrap/_forms.scss +578 -0
- data/assets/stylesheets/beetstrap/_grid.scss +84 -0
- data/assets/stylesheets/beetstrap/_hero.scss +27 -0
- data/assets/stylesheets/beetstrap/_icons.scss +241 -0
- data/assets/stylesheets/beetstrap/_input-groups.scss +166 -0
- data/assets/stylesheets/beetstrap/_labels.scss +66 -0
- data/assets/stylesheets/beetstrap/_mixins.scss +33 -0
- data/assets/stylesheets/beetstrap/_modal.scss +50 -0
- data/assets/stylesheets/beetstrap/_scaffolding.scss +129 -0
- data/assets/stylesheets/beetstrap/_topbar.scss +20 -0
- data/assets/stylesheets/beetstrap/_topbar_static.scss +111 -0
- data/assets/stylesheets/beetstrap/_type.scss +298 -0
- data/assets/stylesheets/beetstrap/_utils.scss +128 -0
- data/assets/stylesheets/beetstrap/_variables.scss +883 -0
- data/assets/stylesheets/beetstrap/mixins/_background-variant.scss +11 -0
- data/assets/stylesheets/beetstrap/mixins/_border-radius.scss +18 -0
- data/assets/stylesheets/beetstrap/mixins/_buttons.scss +52 -0
- data/assets/stylesheets/beetstrap/mixins/_center-block.scss +7 -0
- data/assets/stylesheets/beetstrap/mixins/_clearfix.scss +22 -0
- data/assets/stylesheets/beetstrap/mixins/_forms.scss +88 -0
- data/assets/stylesheets/beetstrap/mixins/_gradients.scss +56 -0
- data/assets/stylesheets/beetstrap/mixins/_grid-framework.scss +81 -0
- data/assets/stylesheets/beetstrap/mixins/_grid.scss +122 -0
- data/assets/stylesheets/beetstrap/mixins/_hide-text.scss +21 -0
- data/assets/stylesheets/beetstrap/mixins/_image.scss +33 -0
- data/assets/stylesheets/beetstrap/mixins/_labels.scss +12 -0
- data/assets/stylesheets/beetstrap/mixins/_list-group.scss +31 -0
- data/assets/stylesheets/beetstrap/mixins/_opacity.scss +8 -0
- data/assets/stylesheets/beetstrap/mixins/_reset-filter.scss +8 -0
- data/assets/stylesheets/beetstrap/mixins/_resize.scss +6 -0
- data/assets/stylesheets/beetstrap/mixins/_responsive-visibility.scss +21 -0
- data/assets/stylesheets/beetstrap/mixins/_size.scss +10 -0
- data/assets/stylesheets/beetstrap/mixins/_tab-focus.scss +9 -0
- data/assets/stylesheets/beetstrap/mixins/_table-row.scss +28 -0
- data/assets/stylesheets/beetstrap/mixins/_text-emphasis.scss +11 -0
- data/assets/stylesheets/beetstrap/mixins/_text-overflow.scss +8 -0
- data/assets/stylesheets/beetstrap/mixins/_vendor-prefixes.scss +222 -0
- data/lib/beetstrap/engine.rb +11 -0
- data/lib/beetstrap/version.rb +3 -0
- data/lib/beetstrap.rb +4 -0
- data/lib/tasks/beetstrap_tasks.rake +4 -0
- data/test/beetstrap_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/stylesheets/application.scss +42 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/static_controller.rb +6 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +15 -0
- data/test/dummy/app/views/static/_buttons.html +38 -0
- data/test/dummy/app/views/static/_type.html +12 -0
- data/test/dummy/app/views/static/index.html.erb +291 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +9 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +1862 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/10a9d129f1e51b537e9c5b6f7e3152c77b72e426/application.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4f8cf8ed81d6ca603edef1eb0a94183224831d18/_beetstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_fonts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_hero.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_icons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_input-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_topbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_topbar_static.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_utils.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/bd16a4626145afe8673074e4f3522cd2a53f5f08/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_background-variant.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_border-radius.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_center-block.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_clearfix.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_gradients.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_grid-framework.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_hide-text.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_image.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_opacity.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_reset-filter.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_resize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_responsive-visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_size.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_tab-focus.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_table-row.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_text-emphasis.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_text-overflow.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/caf7f31c90225e9db582a235bc48e13e4ca1a4e1/_vendor-prefixes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/02724eb02223ea401dcbfcf8c8da073f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/03766eeda9849d89c2623e05e8befbd2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/06c3406d07bf8cb91e2e0fb627fbbc92 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0c63ec19c11d21da9af625533da57c37 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0d9ecc579ee4186e9c90534201d5aab0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1800dac7caca3c785beff977e8b0ee39 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a0015201081b900361d359b28b44d93 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2bddb09b441a5af534e43a2e452fa52a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2bfcff81727b10efbbe7a9d4f76991d0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2caacee8bda199f19e9610d85824e4e6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2dd64da8168da05a04782e32f4c4dddd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/352bab412d75fa19d0a07504553b59df +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3601bdb1facede412601307d16288586 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f1679e1ed38fc6bd1a9bad30b1240e8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/53030e85be9ede4bf5c22f1afd65894c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6552437661667470bc41a67b11a8d560 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/66674ec5126e89bccf50082f5bb00784 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6e1bd95023705b5529e7ccc754a02867 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7ce5d0e58ceda2f38c9cbfa38916ff4c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/88b9b036a738dbce732946581fcdbc89 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8d9c5f45e9807699e2fc3f0d2404af9d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/92613a75279536c4bcf4f3ba6cfde494 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc87aa562082007306fb307b8e8e1562 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bd8ad07d4bfd456040073b9b09d55c1d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c2bcd0edcebbd88cb77913aea0259e27 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c9e0a4a74865873c0a98c2bd4cabacf6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d4295a244c48a28cdac19098c838465c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f8fb64e5df91a6e8a627e9dc517c6708 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fd6551e205411b5803cc9898b3508ebc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ff6c66a957b10ee3f7de313ac23c23f4 +0 -0
- data/test/test_helper.rb +15 -0
- metadata +419 -0
@@ -0,0 +1,291 @@
|
|
1
|
+
<div class='topbar topbar--static'>
|
2
|
+
<div class='topbar-inner u-clearfix'>
|
3
|
+
<div class='logo'>
|
4
|
+
<a title='Instacart' href='https://instacart.com/'></a>
|
5
|
+
</div>
|
6
|
+
<ul class='links left u-clearfix'>
|
7
|
+
<li>
|
8
|
+
<a href='https://instacart.com/about'>Jobs</a>
|
9
|
+
</li>
|
10
|
+
<li>
|
11
|
+
<a href='https://instacart.com/press'>Press</a>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<a href='https://instacart.com/press'>Blog</a>
|
15
|
+
</li>
|
16
|
+
<li>
|
17
|
+
<a href='https://instacart.com/press'>Locations</a>
|
18
|
+
</li>
|
19
|
+
<li>
|
20
|
+
<a href='https://instacart.com/press'>Contact</a>
|
21
|
+
</li>
|
22
|
+
</ul>
|
23
|
+
<ul class='right links u-clearfix u-hideOnTablet'>
|
24
|
+
<li class='has-button'>
|
25
|
+
<a class='ic-btn ic-btn-secondary' href='https://instacart.com/shoppers'>Become a shopper</a>
|
26
|
+
</li>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class='hero hero--static'>
|
32
|
+
<div class='hero-inner u-table'>
|
33
|
+
<div class='u-tableCell u-verticalAlignMiddle'>
|
34
|
+
<h1 class='hero-title'>Hello World!</h1>
|
35
|
+
<a class='ic-btn ic-btn-hollow' href="mailto:press@instacart.com">Press Inquiry</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div class='container'>
|
40
|
+
<%= render partial: 'type' %>
|
41
|
+
<%= render partial: 'buttons' %>
|
42
|
+
|
43
|
+
<form>
|
44
|
+
<div class="form-group">
|
45
|
+
<label for="exampleInputEmail1">Email address</label>
|
46
|
+
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
|
47
|
+
</div>
|
48
|
+
<div class="form-group">
|
49
|
+
<label for="exampleInputPassword1">Password</label>
|
50
|
+
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
51
|
+
</div>
|
52
|
+
<div class="form-group">
|
53
|
+
<label for="exampleInputFile">File input</label>
|
54
|
+
<input type="file" id="exampleInputFile">
|
55
|
+
<p class="help-block">Example block-level help text here.</p>
|
56
|
+
</div>
|
57
|
+
<div class="checkbox">
|
58
|
+
<label>
|
59
|
+
<input type="checkbox"> Check me out
|
60
|
+
</label>
|
61
|
+
</div>
|
62
|
+
<button type="submit" class="ic-btn ic-btn-default">Submit</button>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<div class='icons'>
|
66
|
+
<div class='icon'>
|
67
|
+
<pre>.ic-icon .ic-icon-x</pre>
|
68
|
+
<i class='ic-icon ic-icon-x'></i>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class='icon'>
|
72
|
+
<pre>.ic-icon .ic-icon-lists-and-recipes</pre>
|
73
|
+
<i class='ic-icon ic-icon-lists-and-recipes'></i>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
<div class='icon'>
|
77
|
+
<pre>.ic-icon .ic-icon-money</pre>
|
78
|
+
<i class='ic-icon ic-icon-money'></i>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div class='icon'>
|
82
|
+
<pre>.ic-icon .ic-icon-lists-and-recipes</pre>
|
83
|
+
<i class='ic-icon ic-icon-search'></i>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div class='icon'>
|
87
|
+
<pre>.ic-icon .ic-icon-lists-and-recipes</pre>
|
88
|
+
<i class='ic-icon ic-icon-ticket'></i>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div class='icon'>
|
92
|
+
<pre>.ic-icon .ic-icon-lists-and-recipes</pre>
|
93
|
+
<i class='ic-icon ic-icon-lists-and-recipes'></i>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
<div class='icon'>
|
97
|
+
<pre>.ic-icon .ic-icon-hamburger</pre>
|
98
|
+
<i class='ic-icon ic-icon-hamburger'></i>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div class='icon'>
|
102
|
+
<pre>.ic-icon .ic-icon-arrow-right-small-bold</pre>
|
103
|
+
<i class='ic-icon ic-icon-arrow-right-small-bold'></i>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<div class='icon'>
|
107
|
+
<pre>.ic-icon .ic-icon-arrow-left-small</pre>
|
108
|
+
<i class='ic-icon ic-icon-arrow-left-small'></i>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<div class='icon'>
|
112
|
+
<pre>.ic-icon .ic-icon-account</pre>
|
113
|
+
<i class='ic-icon ic-icon-account'></i>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div class='icon'>
|
117
|
+
<pre>.ic-icon .ic-icon-home</pre>
|
118
|
+
<i class='ic-icon ic-icon-home'></i>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<div class='icon'>
|
122
|
+
<pre>.ic-icon .ic-icon-location-marker</pre>
|
123
|
+
<i class='ic-icon ic-icon-location-marker'></i>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div class='icon'>
|
127
|
+
<pre>.ic-icon .ic-icon-more</pre>
|
128
|
+
<i class='ic-icon ic-icon-more'></i>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class='icon'>
|
132
|
+
<pre>.ic-icon .ic-icon-star</pre>
|
133
|
+
<i class='ic-icon ic-icon-star'></i>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class='icon'>
|
137
|
+
<pre>.ic-icon .ic-icon-help</pre>
|
138
|
+
<i class='ic-icon ic-icon-help'></i>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div class='icon'>
|
142
|
+
<pre>.ic-icon .ic-icon-home</pre>
|
143
|
+
<i class='ic-icon ic-icon-home'></i>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<div class='icon'>
|
147
|
+
<pre>.ic-icon .ic-icon-arrow-up-small-bold</pre>
|
148
|
+
<i class='ic-icon ic-icon-arrow-up-small-bold'></i>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div class='icon'>
|
152
|
+
<pre>.ic-icon .ic-icon-arrow-right-small</pre>
|
153
|
+
<i class='ic-icon ic-icon-arrow-right-small'></i>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<div class='icon'>
|
157
|
+
<pre>.ic-icon .ic-icon-arrow-down-small-bold</pre>
|
158
|
+
<i class='ic-icon ic-icon-arrow-down-small-bold'></i>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class='icon'>
|
162
|
+
<pre>.ic-icon .ic-icon-arrow-up-small</pre>
|
163
|
+
<i class='ic-icon ic-icon-arrow-up-small'></i>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div class='icon'>
|
167
|
+
<pre>.ic-icon .ic-icon-arrow-left-small-bold</pre>
|
168
|
+
<i class='ic-icon ic-icon-arrow-left-small-bold'></i>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
<div class='icon'>
|
172
|
+
<pre>.ic-icon .ic-icon-arrow-down-small</pre>
|
173
|
+
<i class='ic-icon ic-icon-arrow-down-small'></i>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
<div class='icon'>
|
177
|
+
<pre>.ic-icon .ic-icon-cart</pre>
|
178
|
+
<i class='ic-icon ic-icon-cart'></i>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class='icon'>
|
182
|
+
<pre>.ic-icon .ic-icon-info</pre>
|
183
|
+
<i class='ic-icon ic-icon-info'></i>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
<div class='icon'>
|
187
|
+
<pre>.ic-icon .ic-icon-logout</pre>
|
188
|
+
<i class='ic-icon ic-icon-logout'></i>
|
189
|
+
</div>
|
190
|
+
|
191
|
+
<div class='icon'>
|
192
|
+
<pre>.ic-icon .ic-icon-order-history</pre>
|
193
|
+
<i class='ic-icon ic-icon-order-history'></i>
|
194
|
+
</div>
|
195
|
+
|
196
|
+
<div class='icon'>
|
197
|
+
<pre>.ic-icon .ic-icon-store</pre>
|
198
|
+
<i class='ic-icon ic-icon-store'></i>
|
199
|
+
</div>
|
200
|
+
|
201
|
+
<div class='icon'>
|
202
|
+
<pre>.ic-icon .ic-icon-happy</pre>
|
203
|
+
<i class='ic-icon ic-icon-happy'></i>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
<div class='icon'>
|
207
|
+
<pre>.ic-icon .ic-icon-credit-card</pre>
|
208
|
+
<i class='ic-icon ic-icon-credit-card'></i>
|
209
|
+
</div>
|
210
|
+
|
211
|
+
<div class='icon'>
|
212
|
+
<pre>.ic-icon .ic-icon-tip</pre>
|
213
|
+
<i class='ic-icon ic-icon-tip'></i>
|
214
|
+
</div>
|
215
|
+
|
216
|
+
<div class='icon'>
|
217
|
+
<pre>.ic-icon .ic-icon-pricing</pre>
|
218
|
+
<i class='ic-icon ic-icon-pricing'></i>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div class='icon'>
|
222
|
+
<pre>.ic-icon .ic-icon-clock</pre>
|
223
|
+
<i class='ic-icon ic-icon-clock'></i>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class='icon'>
|
227
|
+
<pre>.ic-icon .ic-icon-lock</pre>
|
228
|
+
<i class='ic-icon ic-icon-lock'></i>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div class='icon'>
|
232
|
+
<pre>.ic-icon .ic-icon-gift</pre>
|
233
|
+
<i class='ic-icon ic-icon-gift'></i>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class='icon'>
|
237
|
+
<pre>.ic-icon .ic-icon-bell</pre>
|
238
|
+
<i class='ic-icon ic-icon-bell'></i>
|
239
|
+
</div>
|
240
|
+
|
241
|
+
<div class='icon'>
|
242
|
+
<pre>.ic-icon .ic-icon-alcohol</pre>
|
243
|
+
<i class='ic-icon ic-icon-alcohol'></i>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
<div class='icon'>
|
247
|
+
<pre>.ic-icon .ic-icon-pricing-filled</pre>
|
248
|
+
<i class='ic-icon ic-icon-pricing-filled'></i>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div class='icon'>
|
252
|
+
<pre>.ic-icon .ic-icon-pricing-same</pre>
|
253
|
+
<i class='ic-icon ic-icon-pricing-same'></i>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div class='icon'>
|
257
|
+
<pre>.ic-icon .ic-icon-pricing-same-filled</pre>
|
258
|
+
<i class='ic-icon ic-icon-pricing-same-filled'></i>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
<div class='icon'>
|
262
|
+
<pre>.ic-icon .ic-icon-loyalty-card</pre>
|
263
|
+
<i class='ic-icon ic-icon-loyalty-card'></i>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
<div class='icon'>
|
267
|
+
<pre>.ic-icon .ic-icon-flag</pre>
|
268
|
+
<i class='ic-icon ic-icon-flag'></i>
|
269
|
+
</div>
|
270
|
+
|
271
|
+
<div class='icon'>
|
272
|
+
<pre>.ic-icon .ic-icon-picture</pre>
|
273
|
+
<i class='ic-icon ic-icon-picture'></i>
|
274
|
+
</div>
|
275
|
+
|
276
|
+
<div class='icon'>
|
277
|
+
<pre>.ic-icon .ic-icon-star-filled</pre>
|
278
|
+
<i class='ic-icon ic-icon-star-filled'></i>
|
279
|
+
</div>
|
280
|
+
|
281
|
+
<div class='icon'>
|
282
|
+
<pre>.ic-icon .ic-icon-arrow-right</pre>
|
283
|
+
<i class='ic-icon ic-icon-arrow-right'></i>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
<div class='icon'>
|
287
|
+
<pre>.ic-icon .ic-icon-receipt</pre>
|
288
|
+
<i class='ic-icon ic-icon-receipt'></i>
|
289
|
+
</div>
|
290
|
+
</div>
|
291
|
+
</div>
|
data/test/dummy/bin/rake
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
Bundler.require(*Rails.groups)
|
6
|
+
require 'beetstrap'
|
7
|
+
|
8
|
+
module Dummy
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
+
|
18
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
+
# config.i18n.default_locale = :de
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports and disable caching.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send.
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger.
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Raise an error on page load if there are pending migrations.
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
28
|
+
config.assets.debug = true
|
29
|
+
|
30
|
+
# Adds additional error checking when serving assets at runtime.
|
31
|
+
# Checks for improperly declared sprockets dependencies.
|
32
|
+
# Raises helpful error messages.
|
33
|
+
config.assets.raise_runtime_errors = true
|
34
|
+
|
35
|
+
# Raises error for missing translations
|
36
|
+
# config.action_view.raise_on_missing_translations = true
|
37
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
20
|
+
# config.action_dispatch.rack_cache = true
|
21
|
+
|
22
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
+
config.serve_static_assets = false
|
24
|
+
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
28
|
+
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
+
config.assets.compile = false
|
31
|
+
|
32
|
+
# Generate digests for assets URLs.
|
33
|
+
config.assets.digest = true
|
34
|
+
|
35
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
36
|
+
|
37
|
+
# Specifies the header that your server uses for sending files.
|
38
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
39
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
40
|
+
|
41
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
42
|
+
# config.force_ssl = true
|
43
|
+
|
44
|
+
# Set to :debug to see everything in the log.
|
45
|
+
config.log_level = :info
|
46
|
+
|
47
|
+
# Prepend all log lines with the following tags.
|
48
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
49
|
+
|
50
|
+
# Use a different logger for distributed setups.
|
51
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
52
|
+
|
53
|
+
# Use a different cache store in production.
|
54
|
+
# config.cache_store = :mem_cache_store
|
55
|
+
|
56
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
57
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
58
|
+
|
59
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
60
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
61
|
+
# config.action_mailer.raise_delivery_errors = false
|
62
|
+
|
63
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
64
|
+
# the I18n.default_locale when a translation cannot be found).
|
65
|
+
config.i18n.fallbacks = true
|
66
|
+
|
67
|
+
# Send deprecation notices to registered listeners.
|
68
|
+
config.active_support.deprecation = :notify
|
69
|
+
|
70
|
+
# Disable automatic flushing of the log to improve performance.
|
71
|
+
# config.autoflush_log = false
|
72
|
+
|
73
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
74
|
+
config.log_formatter = ::Logger::Formatter.new
|
75
|
+
|
76
|
+
# Do not dump schema after migrations.
|
77
|
+
config.active_record.dump_schema_after_migration = false
|
78
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_assets = true
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Print deprecation notices to the stderr.
|
35
|
+
config.active_support.deprecation = :stderr
|
36
|
+
|
37
|
+
# Raises error for missing translations
|
38
|
+
# config.action_view.raise_on_missing_translations = true
|
39
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
Rails.application.config.assets.paths << File.expand_path("../../../../../assets/javascripts", __FILE__)
|
6
|
+
|
7
|
+
# Precompile additional assets.
|
8
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
9
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 92a0778c00c9e2134741a9e8a4f4358b3a9b398fc5fc3aacc8abbd7f0d96c20b9a9c4e769bd38d0a66a2175b7a2f78a5bdc420ff175494566adb091b3c4c198f
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: a9b4458994b9e26bc928183c8e3990edf67abc612922f19b8e4f23d68279f49015d413192337a0909dcc0df954b7479cf6f1ac9460773fa7e798564b03829b16
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|