jinda 0.1.0 → 0.1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -11
- data/Rakefile +3 -1
- data/bin/console +1 -1
- data/lib/generators/jinda/config_generator.rb +23 -9
- data/lib/generators/jinda/install_generator.rb +31 -22
- data/lib/generators/jinda/minitest_generator.rb +30 -0
- data/lib/generators/jinda/rspec_generator.rb +30 -0
- data/lib/generators/jinda/templates/.env +2 -0
- data/lib/generators/jinda/templates/app/assets/images/facebook-continue-button.png +0 -0
- data/lib/generators/jinda/templates/app/assets/images/google-continue-button.png +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/jqm/jquery.mobile.datebox.js +10 -4
- data/lib/generators/jinda/templates/app/assets/stylesheets/application.css.scss +2 -1
- data/lib/generators/jinda/templates/app/assets/stylesheets/jqm/app.scss +84 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/jqm/social.scss +133 -0
- data/lib/generators/jinda/templates/app/controllers/articles_controller.rb +17 -1
- data/lib/generators/jinda/templates/app/controllers/{ctrs_controller.rb → ctrs_controller.rb-gem-test} +0 -0
- data/lib/generators/jinda/templates/app/controllers/jinda_controller.rb +11 -3
- data/lib/generators/jinda/templates/app/jinda/index.mm +2 -2
- data/lib/generators/jinda/templates/app/jinda/template/linkview.haml +21 -0
- data/lib/generators/jinda/templates/app/models/jinda/module.rb +1 -1
- data/lib/generators/jinda/templates/app/models/user.rb +4 -2
- data/lib/generators/jinda/templates/app/views/jinda/_menu.haml +3 -1
- data/lib/generators/jinda/templates/app/views/jinda/_menu_mm.haml +17 -2
- data/lib/generators/jinda/templates/app/views/jinda/_static.haml +0 -10
- data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +4 -3
- data/lib/generators/jinda/templates/app/views/jinda/run_form.haml +1 -1
- data/lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml +11 -11
- data/lib/generators/jinda/templates/spec/controllers/articles_controller_spec.rb +155 -0
- data/lib/generators/jinda/templates/spec/helpers/rails_helper.rb +46 -0
- data/lib/generators/jinda/templates/spec/helpers/spec_helper.rb +96 -0
- data/lib/generators/jinda/templates/spec/models/user_spec.rb +26 -0
- data/lib/generators/jinda/templates/spec/requests/jinda_routes_spec.rb +82 -0
- data/lib/generators/jinda/templates/spec/requests/password_resets_spec.rb +15 -0
- data/lib/generators/jinda/templates/test/application_system_test_case.rb +5 -0
- data/lib/generators/jinda/templates/test/integration/jinda_routes_test.rb +42 -0
- data/lib/generators/jinda/templates/test/test_helper.rb +6 -0
- data/lib/jinda/gemhelpers.rb +50 -0
- data/lib/jinda/helpers.rb +335 -30
- data/lib/jinda/railtie.rb +2 -2
- data/lib/jinda/version.rb +1 -1
- data/lib/tasks/jinda.rake +0 -169
- metadata +141 -21
- data/lib/generators/jinda/templates/app/assets/images/facebook-button.png +0 -0
- data/lib/generators/jinda/templates/app/assets/images/facebook-sign-in-button.png +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/jqm/rouge.css.erb +0 -11
- data/lib/generators/jinda/templates/spec/controllers/admins_controller_spec.rb +0 -5
- data/lib/generators/jinda/templates/spec/controllers/devs_controller_spec.rb +0 -5
- data/lib/generators/jinda/templates/spec/controllers/users_controller_spec.rb +0 -5
- data/lib/generators/jinda/templates/spec/helpers/admins_helper_spec.rb +0 -15
- data/lib/generators/jinda/templates/spec/helpers/devs_helper_spec.rb +0 -15
- data/lib/generators/jinda/templates/spec/helpers/users_helper_spec.rb +0 -15
- data/lib/generators/jinda/templates/spec/spec_helper.rb +0 -38
- data/test/jinda_test.rb +0 -7
- data/test/test_helper.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61dbe3984cf504005a9e981b1e3402c67a96245a59960426590f08f4573fa9a4
|
4
|
+
data.tar.gz: 51794a63be9c387340cf2f591e6bd86ebe88946aeaabb568904c758ba7d9248b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cdc64b43ab96df8025290d36534ab6bc74bc8345b70797c4fccf30c8a878c7dced353500d964e9454246db63ee888deeb21d02407ca60e4d31d20ad860e40b6
|
7
|
+
data.tar.gz: 319520f5fcae51b44abb73517b7ee6bc7f933379a9f87f13141d91ba303fea565ab5ce3389576ec7db106dd5bf6f819d741ae8e81c88dd9b065d4a71c393d70b
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Rails Application Generator using Freemind
|
3
3
|
|
4
4
|
* [jinda](https://github.com/kul1/jinda)
|
5
|
-
- ![jinda-screen](https://user-images.githubusercontent.com/3953832/
|
5
|
+
- ![jinda-screen](https://user-images.githubusercontent.com/3953832/41832753-0143339a-7813-11e8-9ef9-c1601443c604.png)
|
6
6
|
|
7
7
|
## Additional Extension themes also available at
|
8
8
|
* [jinda_adminlte](https://github.com/kul1/jinda_adminlte)
|
@@ -15,8 +15,8 @@ Rails Application Generator using Freemind
|
|
15
15
|
|
16
16
|
These versions works for sure but others may do.
|
17
17
|
|
18
|
-
* Ruby 2.
|
19
|
-
* Rails 5.
|
18
|
+
* Ruby 2.5.0
|
19
|
+
* Rails 5.2.0
|
20
20
|
* MongoDB 6
|
21
21
|
* Freemind 1.0.1
|
22
22
|
|
@@ -32,11 +32,11 @@ These versions works for sure but others may do.
|
|
32
32
|
Supposed we want to create ecommerce web site, first create a Rails
|
33
33
|
app without ActiveRecord
|
34
34
|
|
35
|
-
$ rails new YOURAPP
|
35
|
+
$ rails new YOURAPP -BOT
|
36
36
|
|
37
37
|
## Add jinda to your Gemfile:
|
38
38
|
|
39
|
-
gem 'jinda'
|
39
|
+
gem 'jinda', '~> 0.0.8'
|
40
40
|
|
41
41
|
For Development (most updated)
|
42
42
|
|
@@ -64,7 +64,7 @@ configure mongoid, omniauth
|
|
64
64
|
|
65
65
|
Please make sure mongod is running then create admin user
|
66
66
|
|
67
|
-
$
|
67
|
+
$ rails jinda:seed
|
68
68
|
|
69
69
|
now the application is ready, start it as any Rails application
|
70
70
|
|
@@ -72,12 +72,11 @@ now the application is ready, start it as any Rails application
|
|
72
72
|
|
73
73
|
go to http://localhost:3000, click *Sign In* on the left menu, and enter user name `admin` and password `secret`
|
74
74
|
|
75
|
-
![
|
76
|
-
|
75
|
+
![login](https://user-images.githubusercontent.com/3953832/41832924-d868f8f0-7813-11e8-93bb-19c0357cf604.png)
|
77
76
|
|
78
77
|
Now open file `app/jinda/index.mm` using Freemind
|
79
78
|
|
80
|
-
![index mm](https://
|
79
|
+
![index mm](https://user-images.githubusercontent.com/3953832/34680350-7906fbe8-f45e-11e7-8df5-969b4c735c6e.png)
|
81
80
|
|
82
81
|
The 3 main branches are
|
83
82
|
|
@@ -89,7 +88,7 @@ The 3 main branches are
|
|
89
88
|
|
90
89
|
Fiirst, we need to create some product so we click on models we'll see 2 models person and address. These are sample only. You can delete them or modify them however you want. We'll take a look at them first
|
91
90
|
|
92
|
-
![
|
91
|
+
![models](https://user-images.githubusercontent.com/3953832/34681380-50b27dd6-f461-11e7-8472-3a14d76e0f16.png)
|
93
92
|
|
94
93
|
The first sub branch (e.g. person) is the model name. According to Rails convention, this should be a singular word. The next sub branch are columns in the database. Let's take a look at each:
|
95
94
|
|
@@ -102,7 +101,7 @@ The first sub branch (e.g. person) is the model name. According to Rails convent
|
|
102
101
|
|
103
102
|
In this example we just want a product model, so delete the person and address model and add a product branch like so
|
104
103
|
|
105
|
-
![
|
104
|
+
![freemind1](https://user-images.githubusercontent.com/3953832/34680349-78f1eea6-f45e-11e7-8e43-50d9025bb449.png)
|
106
105
|
|
107
106
|
Save the mind map then run:
|
108
107
|
|
@@ -152,6 +151,15 @@ then open file `app/controllers/products_controller.rb` and add `create` method
|
|
152
151
|
|
153
152
|
![products_controller](http://songrit.googlecode.com/files/products_controller.png)
|
154
153
|
|
154
|
+
## Testing
|
155
|
+
|
156
|
+
run following command:
|
157
|
+
|
158
|
+
rails generate jinda:rspec
|
159
|
+
guard init
|
160
|
+
guard
|
161
|
+
|
162
|
+
![rspec](https://user-images.githubusercontent.com/3953832/34680352-7931d426-f45e-11e7-9f40-8b85b94c61bf.png)
|
155
163
|
|
156
164
|
|
157
165
|
## Contributing
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -7,14 +7,16 @@ module Jinda
|
|
7
7
|
desc "Backup Files"
|
8
8
|
def backup_files
|
9
9
|
st=" "
|
10
|
-
inside("config/
|
11
|
-
inside("config/
|
12
|
-
inside("config/
|
10
|
+
inside("config/initializers") {(File.file? "omniauth.rb") ? (run "mv omniauth.rb omniauth.rb.bak") : (puts "new omniauth.rb created")}
|
11
|
+
inside("config/initializers") {(File.file? "mongoid.rb") ? (run "mv mongoid.rb omniauth.rb.bak") : (puts "new mongoid.rb created")}
|
12
|
+
inside("config/initializers") {(File.file? "ckeditor.rb") ? (run "mv ckeditor.rb ckeditor.rb.bak") : (puts "new ckeditor.rb created")}
|
13
|
+
(File.file? ".env") ? (run "cp .env .env-bak") : (puts "backup .env")
|
13
14
|
end
|
14
15
|
|
15
16
|
desc "gen_image_store"
|
16
17
|
def gen_image_store
|
17
18
|
copy_file "cloudinary.yml","config/cloudinary.yml"
|
19
|
+
copy_file ".env",".env"
|
18
20
|
empty_directory "upload" # create upload directory just in case
|
19
21
|
end
|
20
22
|
desc "Set up omniauth config"
|
@@ -30,6 +32,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
|
30
32
|
IdentitiesController.action(:new).call(env)
|
31
33
|
}
|
32
34
|
provider :facebook, ENV['FACEBOOK_API'], ENV['FACEBOOK_KEY']
|
35
|
+
provider :google_oauth2, ENV['GOOGLE_CLIENT_ID'], ENV['GOOGLE_CLIENT_SECRET']
|
33
36
|
end
|
34
37
|
}
|
35
38
|
end
|
@@ -73,12 +76,23 @@ end
|
|
73
76
|
puts " configured setup_ckeditor.\n"
|
74
77
|
puts " configured Mongoid.\n"
|
75
78
|
puts "\n"
|
76
|
-
puts "
|
77
|
-
puts "
|
78
|
-
puts "
|
79
|
-
puts "
|
80
|
-
puts "
|
81
|
-
|
79
|
+
puts " To set user/password as admin/secret run:\n"
|
80
|
+
puts "-----------------------------------------\n"
|
81
|
+
puts "rails jinda:seed\n"
|
82
|
+
puts "-----------------------------------------\n"
|
83
|
+
puts " To config rspect run:"
|
84
|
+
puts "-----------------------------------------\n"
|
85
|
+
puts "rails g jinda:rspec\n"
|
86
|
+
puts "-----------------------------------------\n"
|
87
|
+
puts " To config minitest run:"
|
88
|
+
puts "-----------------------------------------\n"
|
89
|
+
puts "rails g jinda:minitest\n"
|
90
|
+
puts "-----------------------------------------\n"
|
91
|
+
puts " To login with facebook"
|
92
|
+
puts "-----------------------------------------\n"
|
93
|
+
puts "Please config. in .env or restore from .env-bak \n"
|
94
|
+
puts "-----------------------------------------\n"
|
95
|
+
end
|
82
96
|
end
|
83
97
|
end
|
84
98
|
end
|
@@ -10,66 +10,75 @@ module Jinda
|
|
10
10
|
gem 'maruku', '~> 0.7.3'
|
11
11
|
gem 'rouge'
|
12
12
|
gem 'normalize-rails'
|
13
|
-
#gem 'font-awesome-rails'
|
14
13
|
gem 'font-awesome-sass', '~> 4.7.0'
|
15
14
|
gem 'ckeditor', github: 'galetahub/ckeditor'
|
16
15
|
gem 'mongoid-paperclip', require: 'mongoid_paperclip'
|
17
16
|
gem 'meta-tags'
|
18
17
|
gem 'jquery-turbolinks'
|
19
|
-
|
20
18
|
gem 'mongo', '~> 2.2'
|
21
19
|
gem 'bson', '~> 4.0'
|
22
20
|
gem 'mongoid', github: 'mongodb/mongoid'
|
23
|
-
# gem "mongoid"
|
24
21
|
gem 'nokogiri' # use for jinda/doc
|
25
22
|
gem 'haml', git: 'https://github.com/haml/haml'
|
26
23
|
gem 'haml-rails'
|
27
24
|
gem 'mail'
|
28
25
|
gem 'prawn'
|
29
26
|
gem 'redcarpet'
|
30
|
-
gem 'bcrypt
|
27
|
+
gem 'bcrypt'
|
31
28
|
gem 'omniauth-identity'
|
32
29
|
gem 'omniauth-facebook'
|
30
|
+
gem 'omniauth-google-oauth2'
|
33
31
|
gem 'dotenv-rails'
|
34
32
|
gem 'cloudinary'
|
35
33
|
gem 'kaminari'
|
36
34
|
gem 'kaminari-mongoid'
|
37
35
|
gem 'jquery-rails'
|
38
36
|
gem_group :development, :test do
|
39
|
-
gem
|
40
|
-
gem
|
41
|
-
gem
|
42
|
-
gem
|
37
|
+
gem 'rspec'
|
38
|
+
gem 'rspec-rails'
|
39
|
+
gem 'better_errors'
|
40
|
+
gem 'binding_of_caller'
|
43
41
|
gem 'pry-byebug'
|
42
|
+
gem 'factory_bot_rails'
|
43
|
+
gem 'guard'
|
44
|
+
gem 'guard-rspec'
|
45
|
+
gem 'guard-minitest'
|
46
|
+
gem 'capybara'
|
47
|
+
gem 'rb-fsevent'
|
44
48
|
end
|
45
49
|
end
|
46
50
|
|
47
51
|
def setup_app
|
48
52
|
inside("public") { run "mv index.html index.html.bak" }
|
49
53
|
inside("app/views/layouts") { run "mv application.html.erb application.html.erb.bak" }
|
54
|
+
inside("app/controllers") { run "mv application_controller.rb application_controller.rb.bak" }
|
55
|
+
inside("app/helpers") { run "mv application_helper.rb application_helper.rb.bak" }
|
50
56
|
inside("app/assets/javascripts") { run "mv application.js application.js.bak" }
|
51
57
|
inside("app/assets/stylesheets") { run "mv application.css application.css.bak" }
|
52
|
-
inside("config/
|
53
|
-
inside("config/
|
54
|
-
inside("config/
|
58
|
+
inside("config/initializers") {(File.file? "omniauth.rb") ? (mv omniauth.rb omniauth.rb.bak) : (puts "new omniauth.rb created")}
|
59
|
+
inside("config/initializers") {(File.file? "mongoid.rb") ? (mv mongoid.rb omniauth.rb.bak) : (puts "new mongoid.rb created")}
|
60
|
+
inside("config/initializers") {(File.file? "ckeditor.rb") ? (mv ckeditor.rb ckeditor.rb.bak) : (puts "new ckeditor.rb created")}
|
55
61
|
directory "app"
|
62
|
+
directory "spec"
|
56
63
|
end
|
57
|
-
|
64
|
+
# routes created each line as reversed order button up in routes
|
58
65
|
def setup_routes
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
66
|
+
route "root :to => 'jinda#index'"
|
67
|
+
route "mount Ckeditor::Engine => '/ckeditor'"
|
68
|
+
route "resources :users"
|
69
|
+
route "resources :identities"
|
70
|
+
route "resources :sessions"
|
71
|
+
route "resources :password_resets"
|
72
|
+
route "post '/auth/:provider/callback' => 'sessions#create'"
|
73
|
+
route "get '/auth/:provider/callback' => 'sessions#create'"
|
74
|
+
route "get '/auth/failure' => 'sessions#failure'"
|
67
75
|
route "get '/logout' => 'sessions#destroy', :as => 'logout'"
|
68
|
-
|
69
|
-
|
76
|
+
route "get ':controller(/:action(/:id))(.:format)'"
|
77
|
+
route "post ':controller(/:action(/:id))(.:format)'"
|
70
78
|
end
|
71
79
|
|
72
80
|
def setup_env
|
81
|
+
run "mv README.md README.md.bak"
|
73
82
|
create_file 'README.md', ''
|
74
83
|
inject_into_file 'config/application.rb', :after => 'require "active_resource/railtie"' do
|
75
84
|
"\nrequire 'mongoid/railtie'\n"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Jinda
|
2
|
+
module Generators
|
3
|
+
class MinitestGenerator < Rails::Generators::Base
|
4
|
+
def self.source_root
|
5
|
+
File.dirname(__FILE__) + "/templates"
|
6
|
+
end
|
7
|
+
|
8
|
+
desc "config minitest"
|
9
|
+
def gen_minitest
|
10
|
+
#copy test directory with jinda test for minitest
|
11
|
+
directory "test"
|
12
|
+
run "guard init minitest"
|
13
|
+
end
|
14
|
+
|
15
|
+
desc "Finish guard init minitest"
|
16
|
+
def finish
|
17
|
+
puts " Finish guard init minitest.\n"
|
18
|
+
puts " Finish copy test directory for minitest\n"
|
19
|
+
puts " Finish copy jinda test for minitest\n"
|
20
|
+
puts "-----------------------------------------\n"
|
21
|
+
puts " Please remove spec directory if exist\n"
|
22
|
+
puts " To start guard run:\n"
|
23
|
+
puts "-----------------------------------------\n"
|
24
|
+
puts "guard \n"
|
25
|
+
puts "-----------------------------------------\n"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Jinda
|
2
|
+
module Generators
|
3
|
+
class RspecGenerator < Rails::Generators::Base
|
4
|
+
def self.source_root
|
5
|
+
File.dirname(__FILE__) + "/templates"
|
6
|
+
end
|
7
|
+
|
8
|
+
desc "config rspec"
|
9
|
+
def gen_rspec
|
10
|
+
generate "rspec:install"
|
11
|
+
empty_directory "spec/support"
|
12
|
+
empty_directory "spec/model"
|
13
|
+
empty_directory "spec/routing"
|
14
|
+
run "mv .rspec .rspec.bak"
|
15
|
+
run "guard init"
|
16
|
+
copy_file ".rspec",".rspec"
|
17
|
+
end
|
18
|
+
|
19
|
+
desc "Finish generate rspec:install"
|
20
|
+
def finish
|
21
|
+
puts " Finish generate rspec:install.\n"
|
22
|
+
puts " To start guard run:\n"
|
23
|
+
puts "-----------------------------------------\n"
|
24
|
+
puts "guard \n"
|
25
|
+
puts "-----------------------------------------\n"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
Binary file
|
@@ -37,11 +37,17 @@
|
|
37
37
|
titleDateDialogLabel: 'Set Date',
|
38
38
|
titleTimeDialogLabel: 'Set Time',
|
39
39
|
titleDialogLabel: false,
|
40
|
+
|
40
41
|
meridiemLetters: ['AM', 'PM'],
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
42
|
+
/* For Thai Language
|
43
|
+
daysOfWeek: ['อาทิตย์', 'จันทร์', 'อังคาร', 'พุธ', 'พฤหัสบดี', 'ศุกร์', 'เสาร์'],
|
44
|
+
daysOfWeekShort: ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'],
|
45
|
+
monthsOfYear: ['มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษษยน', 'พฤษภาคม', 'มิถุนายน', 'กรกฏาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'],
|
46
|
+
*/
|
47
|
+
daysOfWeek: ['Sun', 'Mon', 'Tue', 'Wed', 'Thurs', 'Fri', 'Sat'],
|
48
|
+
daysOfWeekShort: ['Sun','Mon', 'Tue', 'Wed', 'Thurs', 'Fri', 'Sat'],
|
49
|
+
monthsOfYear: ['January', 'Febuary', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
50
|
+
monthsOfYearShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
45
51
|
durationLabel: ['Days', 'Hours', 'Minutes', 'Seconds'],
|
46
52
|
durationDays: ['Day', 'Days'],
|
47
53
|
durationFormat: 'DD ddd, hh:ii:ss',
|
@@ -0,0 +1,84 @@
|
|
1
|
+
|
2
|
+
#title {
|
3
|
+
font-size: 14pt;
|
4
|
+
font-weight: bold;
|
5
|
+
text-align: center;
|
6
|
+
background: #d2f0ff;
|
7
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
8
|
+
color:#333;
|
9
|
+
|
10
|
+
}
|
11
|
+
#text {
|
12
|
+
font-size: 14pt;
|
13
|
+
font-weight: bold;
|
14
|
+
text-align:left;
|
15
|
+
border:1px solid #c1c1c1;
|
16
|
+
background:#f7f7f7;
|
17
|
+
padding:2px 5px;
|
18
|
+
color:#333;
|
19
|
+
}
|
20
|
+
#comment {
|
21
|
+
font-size: 8pt;
|
22
|
+
text-align:left;
|
23
|
+
border:1px solid #c1c1c1;
|
24
|
+
background:#f7f7f7;
|
25
|
+
padding:2px 5px;
|
26
|
+
color:#333;
|
27
|
+
}
|
28
|
+
|
29
|
+
#body {
|
30
|
+
font-size: 10pt;
|
31
|
+
font-weight: bold;
|
32
|
+
text-align:left;
|
33
|
+
color:#333;
|
34
|
+
}
|
35
|
+
#table {
|
36
|
+
width:100%;
|
37
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
#table th {
|
42
|
+
background-color: #bcecff;
|
43
|
+
color:#333;
|
44
|
+
;
|
45
|
+
width:100%;
|
46
|
+
}
|
47
|
+
|
48
|
+
#table td {
|
49
|
+
border: 1px;
|
50
|
+
padding: 8px;
|
51
|
+
witdth:100%;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
.ui-btn-inner { padding: 2px 25px; }
|
56
|
+
.ui-btn-up-c,
|
57
|
+
.ui-btn-hover-c,
|
58
|
+
.ui-btn-down-c {
|
59
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
60
|
+
/*font-size: 110%;*/
|
61
|
+
}
|
62
|
+
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: 7px 75px 7px 15px; display: block; }
|
63
|
+
.ui-link-inherit { font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;}
|
64
|
+
label.ui-input-text {
|
65
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
66
|
+
/*font-size: 110%;*/
|
67
|
+
text-shadow: none;
|
68
|
+
}
|
69
|
+
label.ui-select {
|
70
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
71
|
+
/*font-size: 110%;*/
|
72
|
+
text-shadow: none;
|
73
|
+
}
|
74
|
+
.ui-body-c {
|
75
|
+
font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
|
76
|
+
/*font-size: 1.4em;*/
|
77
|
+
text-shadow: none;
|
78
|
+
}
|
79
|
+
.ui-header .ui-title, .ui-footer .ui-title { font-family: 'TH SarabunPSK'; text-align: center; display: block; margin: .2em 90px .3em; padding: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; }
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|