jinda 0.7.7.3 → 0.7.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -12
  3. data/lib/generators/jinda/templates/app/mailers/{application_mailer.rb-org → application_mailer.rb} +0 -0
  4. data/lib/generators/jinda/templates/config/mongoid.yml +3 -3
  5. data/lib/jinda/version.rb +1 -1
  6. data/test/dummy/Dockerfile +4 -2
  7. data/test/dummy/Gemfile +5 -2
  8. data/test/dummy/Gemfile.lock +21 -22
  9. data/test/dummy/Guardfile +96 -0
  10. data/test/dummy/app/assets/javascripts/application.js +8 -8
  11. data/test/dummy/app/assets/stylesheets/{application.css.scss → application.scss} +12 -4
  12. data/test/dummy/app/assets/stylesheets/jinda.scss +253 -0
  13. data/test/dummy/app/controllers/adminltes_controller.rb +2 -0
  14. data/test/dummy/app/mailers/application_mailer.rb +2 -2
  15. data/test/dummy/app/views/adminltes/dashboard1.haml +461 -0
  16. data/test/dummy/app/views/adminltes/dashboard2.haml +656 -0
  17. data/test/dummy/app/views/identities/new-bak.html.haml +32 -0
  18. data/test/dummy/app/views/identities/new.html.haml +13 -0
  19. data/test/dummy/app/views/layouts/application.haml +51 -4
  20. data/test/dummy/app/views/layouts/application.haml.bak +4 -0
  21. data/test/dummy/app/views/layouts/lte/_flash.haml +9 -0
  22. data/test/dummy/app/views/layouts/lte/_footer.haml +7 -0
  23. data/test/dummy/app/views/layouts/lte/_header.haml +111 -0
  24. data/test/dummy/app/views/layouts/lte/_menu.haml +42 -0
  25. data/test/dummy/app/views/layouts/lte/_menu_mm.haml +36 -0
  26. data/test/dummy/app/views/layouts/lte/_rightbar.haml +123 -0
  27. data/test/dummy/app/views/layouts/lte/_sidebar.haml +154 -0
  28. data/test/dummy/app/views/sessions/new-bak.html.haml +22 -0
  29. data/test/dummy/app/views/sessions/new.html.haml +13 -0
  30. data/test/dummy/config/credentials.yml.enc +1 -1
  31. data/test/dummy/config/mongoid.yml +40 -54
  32. data/test/dummy/docker-compose.yml +4 -2
  33. data/test/dummy/log/development.log +2126 -494
  34. data/test/dummy/tmp/development_secret.txt +1 -1
  35. metadata +19 -9
  36. data/test/Gemfile +0 -2
  37. data/test/dummy/README.md.bak +0 -24
  38. data/test/dummy/app/assets/stylesheets/application.css.bak +0 -15
  39. data/test/dummy/app/assets/stylesheets/jinda_jqm.css.scss +0 -32
  40. data/test/dummy/app/mailers/application_mailer.rb-org +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7da551164ba7e2d0c0a05976dfba593ab39d904aad61dd2219dd66f84df5b4aa
4
- data.tar.gz: 74c67c6e46ec259175a191528617afd435d70c1ac315bb6d96439e5e92ca3ee9
3
+ metadata.gz: 837d2c6141afb1c692a73f246dcf52fc0948800fce80871239bdcb6292599d3a
4
+ data.tar.gz: 4891943cc0d9c2b08801856c9fb87208969d32c5ee81bf26c92e440e2b08d8af
5
5
  SHA512:
6
- metadata.gz: 94e66117c5ce18584a528ef5308140e79818a4dbfa62e0154671aaacaffb51701a837ec910a4eb89fd0ef9ae8ad69e200078711bff290b150365f9dda6e7ac20
7
- data.tar.gz: 0aa30a6f3ef5880ba8265b4ba072d8d7f52ae7315d0bdd0b514b0d937a640ac24cb21e0500189275b4a8a5e7f688182ab89b224d58035dd3c0a704d0f00a43dd
6
+ metadata.gz: e484b9498a77be0ef3f0d11ff1bce3dca5c60b96bfffa1373b522511530f8b409f0e160659f441de0686d1fde269cf5ab5975bf8144cd863118804c9f175840c
7
+ data.tar.gz: c03618dbebe8c4e8c13710cb77d1cfb2997ec6908709f7c0029fdf7dd65dd164421556464611f3c62f450717a83a225068ce186c61d8a5841f27c7620483e99f
data/README.md CHANGED
@@ -76,16 +76,7 @@ arch -x86_64 gem install nokogiri -v '1.10.10' --platform=ruby -- --use-system-l
76
76
 
77
77
  - https://github.com/kul1/jinda-docker
78
78
 
79
- ### Sample Jinda application in test/dummy
80
-
81
- $ docker-compose up
82
- $ cd test/dummy
83
- $ reails s
84
-
85
- - http://localhost:3000
86
-
87
- To start your own app:
88
- first create a Rails
79
+ Supposed we want to create ecommerce web site, first create a Rails
89
80
  app without ActiveRecord
90
81
 
91
82
  $ rails new YOURAPP -BOTJ
@@ -93,7 +84,6 @@ app without ActiveRecord
93
84
  ## Add jinda to your Gemfile:
94
85
 
95
86
  gem 'jinda'
96
- gem 'jinda_adminlte'
97
87
 
98
88
  For Development (most updated)
99
89
 
@@ -122,7 +112,6 @@ configure mongoid, omniauth
122
112
  Please make sure mongod is running then create admin user
123
113
 
124
114
  $ rails jinda:seed
125
- $ rails generate jinda_adminlte:install
126
115
 
127
116
  now the application is ready, start it as any Rails application
128
117
 
@@ -4,12 +4,12 @@ development:
4
4
  # Defines the default client. (required)
5
5
  default:
6
6
  # Mongoid can connect to a URI accepted by the driver:
7
- # uri: mongodb://user:password@mongodb.domain.com:27017/dummy_development
7
+ # uri: mongodb://user:password@mongodb.domain.com:27017/shop263603_development
8
8
 
9
9
  # Otherwise define the parameters separately.
10
10
  # This defines the name of the default database that Mongoid can connect to.
11
11
  # (required).
12
- database: dummy_development
12
+ database: shop263603_development
13
13
  # Provides the hosts the default client can connect to. Must be an array
14
14
  # of host:port pairs. (required)
15
15
  hosts:
@@ -173,7 +173,7 @@ production:
173
173
  test:
174
174
  clients:
175
175
  default:
176
- database: dummy_test
176
+ database: shop263603_test
177
177
  hosts:
178
178
  - localhost:27017
179
179
  options:
data/lib/jinda/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.7.7.3"
2
+ VERSION = "0.7.7.4"
3
3
  end
@@ -1,12 +1,14 @@
1
1
  # https://docs.docker.com/compose/rails/
2
- FROM ruby:2.6.8
2
+ # FROM ruby:2.6.8
3
+ FROM ruby:3.1.2
3
4
  RUN apt-get update -qq
4
5
  RUN mkdir /myapp
5
6
  WORKDIR /myapp
6
7
  COPY Gemfile /myapp/Gemfile
7
8
  COPY Gemfile.lock /myapp/Gemfile.lock
8
9
  # Fix from here
9
- RUN gem install bundler:2.2.27
10
+ # RUN gem install bundler:2.2.27
11
+ RUN gem install bundler:2.3.25
10
12
  # Fix end here
11
13
  RUN bundle install
12
14
  COPY . /myapp
data/test/dummy/Gemfile CHANGED
@@ -48,8 +48,10 @@ group :development do
48
48
  # Speed up commands on slow machines / big apps [https://github.com/rails/spring]
49
49
  # gem "spring"
50
50
  end
51
- gem 'jinda', path: '../../../jinda'
52
- gem 'jinda_adminlte' , path: '../../../jinda_adminlte'
51
+ # gem "jinda", path: "../../../jinda"
52
+ # gem "jinda_adminlte" , path: "../../../jinda_adminlte"
53
+ gem "jinda", "~> 0.7.7.4"
54
+ gem "jinda_adminlte"
53
55
  gem "bson", "4.4.2"
54
56
  gem "maruku", "~> 0.7.3"
55
57
  gem "bcrypt"
@@ -97,3 +99,4 @@ group :development, :test do
97
99
  end
98
100
  gem "mongoid-paperclip", require: "mongoid_paperclip"
99
101
  gem "kaminari-mongoid", "1.0.1"
102
+ gem 'rspec_junit_formatter'
@@ -1,14 +1,3 @@
1
- PATH
2
- remote: ../../../jinda_adminlte
3
- specs:
4
- jinda_adminlte (0.7.5.1)
5
-
6
- PATH
7
- remote: ../..
8
- specs:
9
- jinda (0.7.7.3)
10
- rexml (~> 3.2)
11
-
12
1
  GEM
13
2
  remote: https://rubygems.org/
14
3
  specs:
@@ -90,7 +79,7 @@ GEM
90
79
  bindex (0.8.1)
91
80
  binding_of_caller (1.0.0)
92
81
  debug_inspector (>= 0.0.1)
93
- bootsnap (1.14.0)
82
+ bootsnap (1.15.0)
94
83
  msgpack (~> 1.2)
95
84
  bson (4.4.2)
96
85
  builder (3.2.4)
@@ -104,7 +93,6 @@ GEM
104
93
  rack-test (>= 0.6.3)
105
94
  regexp_parser (>= 1.5, < 3.0)
106
95
  xpath (~> 3.2)
107
- childprocess (4.1.0)
108
96
  climate_control (0.2.0)
109
97
  cloudinary (1.13.2)
110
98
  aws_cf_signer
@@ -116,8 +104,8 @@ GEM
116
104
  database_cleaner-mongoid (2.0.1)
117
105
  database_cleaner-core (~> 2.0.0)
118
106
  mongoid
119
- debug (1.6.3)
120
- irb (>= 1.3.6)
107
+ debug (1.7.0)
108
+ irb (>= 1.5.0)
121
109
  reline (>= 0.3.1)
122
110
  debug_inspector (1.1.0)
123
111
  diff-lcs (1.5.0)
@@ -205,11 +193,14 @@ GEM
205
193
  i18n (1.12.0)
206
194
  concurrent-ruby (~> 1.0)
207
195
  io-console (0.5.11)
208
- irb (1.5.0)
196
+ irb (1.5.1)
209
197
  reline (>= 0.3.0)
210
198
  jbuilder (2.11.5)
211
199
  actionview (>= 5.0.0)
212
200
  activesupport (>= 5.0.0)
201
+ jinda (0.7.7.3)
202
+ rexml (~> 3.2)
203
+ jinda_adminlte (0.7.5.1)
213
204
  jquery-rails (4.3.5)
214
205
  rails-dom-testing (>= 1, < 3)
215
206
  railties (>= 4.2.0)
@@ -246,8 +237,11 @@ GEM
246
237
  crass (~> 1.0.2)
247
238
  nokogiri (>= 1.5.9)
248
239
  lumberjack (1.2.8)
249
- mail (2.7.1)
240
+ mail (2.8.0)
250
241
  mini_mime (>= 0.1.1)
242
+ net-imap
243
+ net-pop
244
+ net-smtp
251
245
  marcel (1.0.2)
252
246
  maruku (0.7.3)
253
247
  matrix (0.4.2)
@@ -283,6 +277,8 @@ GEM
283
277
  net-protocol
284
278
  netrc (0.11.0)
285
279
  nio4r (2.5.8)
280
+ nokogiri (1.13.9-aarch64-linux)
281
+ racc (~> 1.4)
286
282
  nokogiri (1.13.9-arm64-darwin)
287
283
  racc (~> 1.4)
288
284
  normalize-rails (8.0.1)
@@ -389,14 +385,15 @@ GEM
389
385
  rspec-mocks (~> 3.11)
390
386
  rspec-support (~> 3.11)
391
387
  rspec-support (3.12.0)
388
+ rspec_junit_formatter (0.6.0)
389
+ rspec-core (>= 2, < 4, != 2.12.0)
392
390
  ruby2_keywords (0.0.5)
393
- ruby_parser (3.19.1)
391
+ ruby_parser (3.19.2)
394
392
  sexp_processor (~> 4.16)
395
393
  rubyzip (2.3.2)
396
394
  sassc (2.4.0)
397
395
  ffi (~> 1.9)
398
- selenium-webdriver (4.6.1)
399
- childprocess (>= 0.5, < 5.0)
396
+ selenium-webdriver (4.7.1)
400
397
  rexml (~> 3.2, >= 3.2.5)
401
398
  rubyzip (>= 1.2.2, < 3.0)
402
399
  websocket (~> 1.0)
@@ -450,6 +447,7 @@ GEM
450
447
  zeitwerk (2.6.6)
451
448
 
452
449
  PLATFORMS
450
+ aarch64-linux
453
451
  arm64-darwin-22
454
452
 
455
453
  DEPENDENCIES
@@ -472,8 +470,8 @@ DEPENDENCIES
472
470
  guard-rspec
473
471
  haml-rails (~> 2.0.1)
474
472
  jbuilder
475
- jinda!
476
- jinda_adminlte!
473
+ jinda
474
+ jinda_adminlte
477
475
  jquery-rails (= 4.3.5)
478
476
  jquery-turbolinks (= 2.1.0)
479
477
  kaminari (= 1.2.0)
@@ -500,6 +498,7 @@ DEPENDENCIES
500
498
  rouge
501
499
  rspec
502
500
  rspec-rails
501
+ rspec_junit_formatter
503
502
  selenium-webdriver
504
503
  shoulda
505
504
  sprockets-rails
@@ -0,0 +1,96 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :minitest do
19
+ # with Minitest::Unit
20
+ watch(%r{^test/(.*)\/?test_(.*)\.rb$})
21
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
22
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
23
+
24
+ # with Minitest::Spec
25
+ # watch(%r{^spec/(.*)_spec\.rb$})
26
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
27
+ # watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
28
+
29
+ # Rails 4
30
+ # watch(%r{^app/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
31
+ # watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
32
+ # watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
33
+ # watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
34
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
35
+ # watch(%r{^test/.+_test\.rb$})
36
+ # watch(%r{^test/test_helper\.rb$}) { 'test' }
37
+
38
+ # Rails < 4
39
+ # watch(%r{^app/controllers/(.*)\.rb$}) { |m| "test/functional/#{m[1]}_test.rb" }
40
+ # watch(%r{^app/helpers/(.*)\.rb$}) { |m| "test/helpers/#{m[1]}_test.rb" }
41
+ # watch(%r{^app/models/(.*)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
42
+ end
43
+
44
+ # Note: The cmd option is now required due to the increasing number of ways
45
+ # rspec may be run, below are examples of the most common uses.
46
+ # * bundler: 'bundle exec rspec'
47
+ # * bundler binstubs: 'bin/rspec'
48
+ # * spring: 'bin/rspec' (This will use spring if running and you have
49
+ # installed the spring binstubs per the docs)
50
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
51
+ # * 'just' rspec: 'rspec'
52
+
53
+ guard :rspec, cmd: "bundle exec rspec" do
54
+ require "guard/rspec/dsl"
55
+ dsl = Guard::RSpec::Dsl.new(self)
56
+
57
+ # Feel free to open issues for suggestions and improvements
58
+
59
+ # RSpec files
60
+ rspec = dsl.rspec
61
+ watch(rspec.spec_helper) { rspec.spec_dir }
62
+ watch(rspec.spec_support) { rspec.spec_dir }
63
+ watch(rspec.spec_files)
64
+
65
+ # Ruby files
66
+ ruby = dsl.ruby
67
+ dsl.watch_spec_files_for(ruby.lib_files)
68
+
69
+ # Rails files
70
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
71
+ dsl.watch_spec_files_for(rails.app_files)
72
+ dsl.watch_spec_files_for(rails.views)
73
+
74
+ watch(rails.controllers) do |m|
75
+ [
76
+ rspec.spec.call("routing/#{m[1]}_routing"),
77
+ rspec.spec.call("controllers/#{m[1]}_controller"),
78
+ rspec.spec.call("acceptance/#{m[1]}")
79
+ ]
80
+ end
81
+
82
+ # Rails config changes
83
+ watch(rails.spec_helper) { rspec.spec_dir }
84
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
85
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
86
+
87
+ # Capybara features specs
88
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
89
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
90
+
91
+ # Turnip features and steps
92
+ watch(%r{^spec/acceptance/(.+)\.feature$})
93
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
94
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
95
+ end
96
+ end
@@ -1,15 +1,15 @@
1
1
  // This is a manifest file that'll be compiled into application.js, which will include all the files
2
2
  // listed below.
3
3
  //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5
+ // vendor/assets/javascripts directory can be referenced here using a relative path.
6
6
  //
7
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
9
  //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
12
  //
13
- //= require jinda_jqm
14
-
15
-
13
+ //= require rails-ujs
14
+ // require turbolinks
15
+ //= require jindalte.js
@@ -1,5 +1,5 @@
1
1
  /*
2
- * This is a manif.est file that'll be compiled into application.css, which will include all the files
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
3
  * listed below.
4
4
  *
5
5
  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
@@ -8,8 +8,16 @@
8
8
  * You're free to add application-wide styles to this file and they'll appear at the top of the
9
9
  * compiled file, but it's generally better to create a new file per style scope.
10
10
  *
11
- *= require_tree .
12
11
  *= require_self
13
- *= require normalize-rails
12
+ *= require jindalte.css
13
+ *= require jinda
14
14
  */
15
- @import "jinda_jqm.css.scss"
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
@@ -0,0 +1,253 @@
1
+ // jinda.scss from theme jinda_adminlte template directory
2
+ #tooltip {
3
+ position: absolute;
4
+ border: 1px solid #333;
5
+ background: #f7f5d1;
6
+ padding: 2px 5px;
7
+ color: #333;
8
+ display: none;
9
+ }
10
+ #notice {
11
+ color: #f90609;
12
+ background-color: #ebd1d1;
13
+ font-weight: bolder;
14
+ padding-left: 10px;
15
+ }
16
+ .step {
17
+ /*display: table-row;*/
18
+ margin-top: 20px;
19
+ margin-bottom: 20px;
20
+ }
21
+ .steps_more {
22
+ font-size: 40px;
23
+ font-weight: bold;
24
+ vertical-align: middle;
25
+ color: white;
26
+ width: 80px;
27
+ height: 80px;
28
+ background: url(images/button_blue.png) no-repeat;
29
+ display: table-cell;
30
+ text-align: center;
31
+ }
32
+ .step_now {
33
+ font-size: 40px;
34
+ font-weight: bold;
35
+ vertical-align: middle;
36
+ color: white;
37
+ width: 80px;
38
+ height: 80px;
39
+ background: url(images/button_red.png) no-repeat;
40
+ display: table-cell;
41
+ text-align: center;
42
+ }
43
+ .steps_done {
44
+ font-size: 40px;
45
+ font-weight: bold;
46
+ vertical-align: middle;
47
+ color: white;
48
+ width: 80px;
49
+ height: 80px;
50
+ background: url(images/button_black.png) no-repeat;
51
+ display: table-cell;
52
+ text-align: center;
53
+ }
54
+ .sign_in {
55
+ width: 100%;
56
+ max-width: 410px;
57
+ padding: 15px;
58
+ margin: auto;
59
+ display: block;
60
+ }
61
+ .row-description {
62
+ font-size: 12px;
63
+ }
64
+
65
+ .right-date {
66
+ font-size: 10px;
67
+ float: right;
68
+ }
69
+ .row-body {
70
+ font-size: 12px;
71
+ }
72
+ #logreg-forms {
73
+ width: 412px;
74
+ margin: 10vh auto;
75
+ background-color: #f3f3f3;
76
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
77
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
78
+ }
79
+
80
+ .module-table {
81
+ display: grid;
82
+ }
83
+
84
+ .module-table textarea {
85
+ height: 200px;
86
+ }
87
+
88
+ body {
89
+ background: #dfe7e9;
90
+ font-family: "Roboto", sans-serif;
91
+ }
92
+ .form-control {
93
+ font-size: 12px;
94
+ transition: all 0.4s;
95
+ box-shadow: none;
96
+ }
97
+ .form-control:focus {
98
+ border-color: #5cb85c;
99
+ }
100
+ .form-control,
101
+ .btn {
102
+ border-radius: 10px;
103
+ outline: none !important;
104
+ }
105
+ .form-group input {
106
+ border-width: 0px;
107
+ }
108
+ .signup-form {
109
+ width: 480px;
110
+ margin: 0 auto;
111
+ padding: 30px 0;
112
+ }
113
+ .signup-form form {
114
+ border-radius: 5px;
115
+ margin-bottom: 20px;
116
+ background: #fff;
117
+ box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
118
+ padding: 40px;
119
+ }
120
+ .signup-form a {
121
+ color: #5cb85c;
122
+ }
123
+ .signup-form h2 {
124
+ text-align: center;
125
+ font-size: 34px;
126
+ margin: 10px 0 15px;
127
+ }
128
+ .signup-form .hint-text {
129
+ color: #999;
130
+ text-align: center;
131
+ margin-bottom: 20px;
132
+ }
133
+ .signup-form .form-group {
134
+ margin-bottom: 20px;
135
+ }
136
+ .signup-form .btn {
137
+ font-size: 18px;
138
+ line-height: 26px;
139
+ font-weight: bold;
140
+ text-align: center;
141
+ }
142
+ .signup-btn {
143
+ text-align: center;
144
+ border-color: #5cb85c;
145
+ transition: all 0.4s;
146
+ }
147
+ .signup-btn:hover {
148
+ background: #5cb85c;
149
+ opacity: 0.8;
150
+ }
151
+ .or-seperator {
152
+ margin: 50px 0 15px;
153
+ text-align: center;
154
+ border-top: 1px solid #e0e0e0;
155
+ }
156
+ .or-seperator b {
157
+ padding: 0 10px;
158
+ width: 40px;
159
+ height: 40px;
160
+ font-size: 16px;
161
+ text-align: center;
162
+ line-height: 40px;
163
+ background: #fff;
164
+ display: inline-block;
165
+ border: 1px solid #e0e0e0;
166
+ border-radius: 50%;
167
+ position: relative;
168
+ top: -22px;
169
+ z-index: 1;
170
+ }
171
+ .social-btn .btn {
172
+ color: #fff;
173
+ margin: 10px 0 0 15px;
174
+ font-size: 15px;
175
+ border-radius: 50px;
176
+ font-weight: normal;
177
+ border: none;
178
+ transition: all 0.4s;
179
+ }
180
+ .social-btn .btn:first-child {
181
+ margin-left: 0;
182
+ }
183
+ .social-btn .btn:hover {
184
+ opacity: 0.8;
185
+ }
186
+ .social-btn .btn-primary {
187
+ background: #507cc0;
188
+ }
189
+ .social-btn .btn-info {
190
+ background: #64ccf1;
191
+ }
192
+ .social-btn .btn-danger {
193
+ background: #df4930;
194
+ }
195
+ .social-btn .btn i {
196
+ float: left;
197
+ margin: 3px 10px;
198
+ font-size: 20px;
199
+ }
200
+ .container {
201
+ margin: 5px;
202
+ }
203
+
204
+ /* Fixed Jinda_adminLTE .main-header .logo */
205
+ .main-header .logo {
206
+ height: 51px;
207
+ }
208
+
209
+ /* Fixed Jinda_adminLTE treemenu, Sign_in*/
210
+
211
+ @media (min-width: 768px) {
212
+ .sidebar-mini.sidebar-collapse .main-sidebar {
213
+ width: 40px !important;
214
+ }
215
+ .container {
216
+ width: 580px;
217
+ }
218
+ }
219
+
220
+ body {
221
+ margin: 0;
222
+ font-family: Arial, Helvetica, sans-serif;
223
+ line-height: 1.5;
224
+ }
225
+ .sidebar-menu {
226
+ text-align: left;
227
+ }
228
+
229
+ .inner ul {
230
+ list-style: none;
231
+ margin: 0;
232
+ padding: 0;
233
+ }
234
+ .form-group.form-control input {
235
+ background: transparent;
236
+ padding: 5px;
237
+ }
238
+
239
+ .form-group.form-control input[type="text"]:focus {
240
+ background-color: transparent;
241
+ }
242
+
243
+ .display-addcomment {
244
+ float: left;
245
+ width: 450px;
246
+ }
247
+
248
+ .img-circle {
249
+ max-width: 45px;
250
+ }
251
+ .comment-user-image {
252
+ max-width: 45px;
253
+ }
@@ -0,0 +1,2 @@
1
+ class AdminltesController < ApplicationController
2
+ end
@@ -1,4 +1,4 @@
1
1
  class ApplicationMailer < ActionMailer::Base
2
- default from: "from@example.com"
3
- layout "mailer"
2
+ default from: 'from@example.com'
3
+ layout 'mailer'
4
4
  end