jinda 0.6.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/config/manifest.js +4 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/4dcity-old.ico +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/4dcity.ico +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/account.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/add.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/ajax-loader-circle.gif +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/ajax-loader.gif +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/anchor.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/application_double.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/application_form_edit.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/arrow_left.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/arrow_right.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/arrow_turn_left.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/arrow_turn_right.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/calendar.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/cancel.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/chart_bar.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/clock.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/cog.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/control_fastforward.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/control_play.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/cross.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/delete.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/external-link.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/facebook-continue-button.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/facebooksmall.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/favicon.ico +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/freemind(mm).png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/google-continue-button.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/help.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/highway-menu.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/highway.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/house.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/icons-18-black.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/icons-18-white.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/icons-36-black.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/icons-36-white.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/logo.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/logo_jinda.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/logout.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/new.gif +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/new.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/page.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/page_attach.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/page_green.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/page_output.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/page_pdf.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/pencil.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/printer.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/refresh.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/report.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/rssmall.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/tick.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/twittersmall.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/user.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/user_admin_gear.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/images/view_code.png +0 -0
- data/{lib/generators/jinda/templates/app/assets/javascripts/application.js-jqm → app/assets/javascripts/application.js-org} +8 -11
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/cable.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/disable_enter_key.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/iscroll-wrapper.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/iscroll.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/jinda.js +0 -0
- data/app/assets/javascripts/jinda_jqm.js +24 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/jquery.mobile-1.2.1.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/jquery.mobile.datebox.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/javascripts/jquery.mobile.splitview.js +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/app.scss +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/articles.scss +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun.eot +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun.woff +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun_bold.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun_bolditalic.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun_italic.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.eot +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.woff +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bold-webfont.eot +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bold-webfont.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bold-webfont.woff +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.eot +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.woff +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_italic-webfont.eot +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_italic-webfont.ttf +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew_italic-webfont.woff +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/ajax-loader.gif +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/button_black.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/button_blue.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/button_red.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-18-black.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-18-white.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-36-black.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-36-white.png +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/indicator.gif +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jinda.css +17 -0
- data/app/assets/stylesheets/jinda_jqm.css.scss +32 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile-1.2.1.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile.datebox.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile.grids.collapsible.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile.splitview.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/kul-4.2.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/kul-4.2.min.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/modules.scss +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/sarabun.css +0 -0
- data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/social.scss +0 -0
- data/{lib/generators/jinda/templates/app → app}/controllers/concerns/jinda_general_concern.rb +0 -0
- data/{lib/generators/jinda/templates/app → app}/controllers/concerns/jinda_run_concern.rb +0 -0
- data/{lib/generators/jinda/templates/app/controllers/jinda_org → app/controllers}/jinda_controller.rb +0 -0
- data/app/jinda/index.mm +369 -0
- data/app/jinda/template/index.mm +366 -0
- data/app/jinda/template/linkview.haml +21 -0
- data/app/jinda/template/view.html.erb +26 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_activity.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_menu.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_menu_mm.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_model.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_modul.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_pending_home.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_pending_page.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_service.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/_static.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/doc-thai.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/doc.md +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/error_logs.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/feed.rss.builder +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/help.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/index.html.haml +1 -1
- data/{lib/generators/jinda/templates/app → app}/views/jinda/logs.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/notice_logs.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/pending.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/run_form.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/run_output.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/search.haml +0 -0
- data/{lib/generators/jinda/templates/app → app}/views/jinda/status.haml +0 -0
- data/config/routes.rb +44 -0
- data/lib/generators/jinda/config_generator.rb +7 -0
- data/lib/generators/jinda/install_generator.rb +45 -42
- data/lib/generators/jinda/templates/Dockerfile +24 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/application.js +1 -10
- data/lib/generators/jinda/templates/app/assets/stylesheets/application.css.scss +1 -20
- data/lib/generators/jinda/templates/app/views/identities/new.html.erb +29 -24
- data/lib/generators/jinda/templates/app/views/password_resets/new.html.erb +13 -7
- data/lib/generators/jinda/templates/app/views/sessions/new.html.erb +24 -18
- data/lib/generators/jinda/templates/config/mongoid.yml-docker +182 -0
- data/lib/generators/jinda/templates/config/mongoid.yml-localhost +182 -0
- data/lib/generators/jinda/templates/docker-compose.yml +16 -0
- data/lib/generators/jinda/templates/entrypoint.sh +12 -0
- data/lib/jinda.rb +2 -1
- data/lib/jinda/date_helpers.rb +109 -0
- data/lib/jinda/{gemhelpers.rb → gem_helpers.rb} +0 -1
- data/lib/jinda/gen_class.rb +13 -0
- data/lib/jinda/gen_controller.rb +10 -0
- data/lib/jinda/gen_freemind.rb +33 -0
- data/lib/jinda/gen_helpers.rb +141 -0
- data/lib/jinda/gen_models.rb +137 -0
- data/lib/jinda/gen_runseq.rb +71 -0
- data/lib/jinda/gen_services.rb +90 -0
- data/lib/jinda/gen_xmain.rb +38 -0
- data/lib/jinda/get_app.rb +34 -0
- data/lib/jinda/helpers.rb +17 -998
- data/lib/jinda/init_vars.rb +36 -0
- data/lib/jinda/rake_views.rb +59 -0
- data/lib/jinda/refresh.rb +67 -0
- data/lib/jinda/themes.rb +163 -0
- data/lib/jinda/version.rb +1 -1
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy/app/channels/application_cable/connection.rb +4 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/javascript/packs/application.js +15 -0
- data/test/dummy/app/jobs/application_job.rb +7 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/application_record.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +33 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +19 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +62 -0
- data/test/dummy/config/environments/production.rb +112 -0
- data/test/dummy/config/environments/test.rb +49 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +12 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/content_security_policy.rb +28 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -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/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +38 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/config/storage.yml +34 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +8 -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/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/development_secret.txt +1 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/jinda_test.rb +7 -0
- data/test/test_helper.rb +19 -0
- metadata +228 -142
- data/lib/generators/jinda/templates/app/controllers/jinda_org/devs_controller.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d366628d4cd026005bc75ff7c777cc27e783dcc626d57b5c93b6f67601f01b1e
|
4
|
+
data.tar.gz: d3392657824388c9815e929c279b1e538dbf5017411bd7a4e7eb0c7b55decbd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a1ddc7b42bba833d2331f0a8b166928560230cb97fbbda1453192daa2009345e6a06eb4e8eb1699846a50e14bdf373bc3816b75cd275dd36ab5f07ade652f4
|
7
|
+
data.tar.gz: be82dbe2c79f1bac9f7406d2fb97242ba8ce17f39bd0d07469d681e965a7e2db71a476bb3e428dbd85f16ec2e594d16ff81e772429c53e192d8b2d7bca1a5e72
|
data/README.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -11,17 +11,14 @@
|
|
11
11
|
// GO AFTER THE REQUIRES BELOW.
|
12
12
|
//
|
13
13
|
//= require jquery
|
14
|
-
//= require jquery.turbolinks
|
15
14
|
//= require jquery_ujs
|
16
|
-
//= require
|
17
|
-
//= require
|
18
|
-
//= require
|
19
|
-
//= require
|
20
|
-
//= require
|
21
|
-
//= require
|
22
|
-
|
23
|
-
|
24
|
-
//= require disable_enter_key.js
|
25
|
-
//= require notes.js
|
15
|
+
//= require jquery.mobile.splitview
|
16
|
+
//= require jquery.mobile-1.2.1
|
17
|
+
//= require jquery.mobile.datebox
|
18
|
+
//= require iscroll-wrapper
|
19
|
+
//= require iscroll
|
20
|
+
//= require jinda
|
21
|
+
// require turbolinks
|
22
|
+
// require disable_enter_key.js
|
26
23
|
|
27
24
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
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.
|
6
|
+
//
|
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.
|
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.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require jquery.mobile.splitview
|
16
|
+
//= require jquery.mobile-1.2.1
|
17
|
+
//= require jquery.mobile.datebox
|
18
|
+
//= require iscroll-wrapper
|
19
|
+
//= require iscroll
|
20
|
+
//= require jinda
|
21
|
+
// require turbolinks
|
22
|
+
// require disable_enter_key.js
|
23
|
+
|
24
|
+
|
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/javascripts/jquery.mobile.splitview.js
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/sarabun_bolditalic.ttf
RENAMED
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.eot
RENAMED
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.ttf
RENAMED
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/fonts/thsarabunnew-webfont.woff
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-18-black.png
RENAMED
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-18-white.png
RENAMED
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-36-black.png
RENAMED
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/images/icons-36-white.png
RENAMED
File without changes
|
File without changes
|
@@ -50,3 +50,20 @@
|
|
50
50
|
display: table-cell;
|
51
51
|
text-align:center;
|
52
52
|
}
|
53
|
+
.sign_in {
|
54
|
+
width: 100%;
|
55
|
+
max-width: 410px;
|
56
|
+
padding: 15px;
|
57
|
+
margin: auto;
|
58
|
+
display: block;
|
59
|
+
|
60
|
+
}
|
61
|
+
|
62
|
+
#logreg-forms{
|
63
|
+
width:412px;
|
64
|
+
margin:10vh auto;
|
65
|
+
background-color:#f3f3f3;
|
66
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
67
|
+
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
68
|
+
}
|
69
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require normalize-rails
|
12
|
+
*/
|
13
|
+
|
14
|
+
@import "jquery.mobile-1.2.1";
|
15
|
+
@import "jquery.mobile.splitview";
|
16
|
+
@import "jquery.mobile.grids.collapsible";
|
17
|
+
@import "jquery.mobile.datebox.css";
|
18
|
+
@import "sarabun";
|
19
|
+
@import "jinda";
|
20
|
+
@import "kul-4.2";
|
21
|
+
@import "articles";
|
22
|
+
@import "app.scss";
|
23
|
+
@import "font-awesome-sprockets";
|
24
|
+
@import "font-awesome";
|
25
|
+
@import "social";
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile.datebox.css
RENAMED
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/assets/stylesheets/jquery.mobile.splitview.css
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{lib/generators/jinda/templates/app → app}/controllers/concerns/jinda_general_concern.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/app/jinda/index.mm
ADDED
@@ -0,0 +1,369 @@
|
|
1
|
+
<map version="1.0.1">
|
2
|
+
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
|
3
|
+
<node CREATED="1273819432637" ID="ID_1098419600" MODIFIED="1334737006485" TEXT="Jinda">
|
4
|
+
<node CREATED="1273819462973" ID="ID_282419531" MODIFIED="1589756758387" POSITION="right" TEXT="services">
|
5
|
+
<node CREATED="1275756501221" FOLDED="true" ID="ID_1720745721" MODIFIED="1583097151076" TEXT="users:User">
|
6
|
+
<node CREATED="1278491598711" ID="ID_1662699954" MODIFIED="1494393920347" TEXT="role:m"/>
|
7
|
+
<node CREATED="1279700865182" ID="ID_1266797279" MODIFIED="1357798847781" TEXT="link:info: /users"/>
|
8
|
+
<node CREATED="1319015338880" ID="ID_189841353" MODIFIED="1528215866339" TEXT="link:pending tasks: /jinda/pending"/>
|
9
|
+
<node CREATED="1275905802131" ID="ID_154000410" MODIFIED="1355422418892" TEXT="user:edit">
|
10
|
+
<node CREATED="1275756515843" ID="ID_1108188320" MODIFIED="1330477833918" TEXT="enter_user:edit">
|
11
|
+
<icon BUILTIN="attach"/>
|
12
|
+
<node CREATED="1282816887988" ID="ID_1767357871" MODIFIED="1282817769412" TEXT="rule:login? && own_xmain?"/>
|
13
|
+
</node>
|
14
|
+
<node CREATED="1275756530989" ID="ID_1221806432" MODIFIED="1282822205361" TEXT="update_user">
|
15
|
+
<icon BUILTIN="bookmark"/>
|
16
|
+
</node>
|
17
|
+
</node>
|
18
|
+
<node CREATED="1275756504750" ID="ID_1382277695" MODIFIED="1355422424108" TEXT="pwd:change password">
|
19
|
+
<node CREATED="1275756515843" ID="ID_1559014937" MODIFIED="1330477842311" TEXT="enter: edit">
|
20
|
+
<icon BUILTIN="attach"/>
|
21
|
+
<node CREATED="1282816887988" ID="ID_2948144" MODIFIED="1282817769412" TEXT="rule:login? && own_xmain?"/>
|
22
|
+
</node>
|
23
|
+
<node CREATED="1275756530989" ID="ID_1566171053" MODIFIED="1275756553762" TEXT="change_password">
|
24
|
+
<icon BUILTIN="bookmark"/>
|
25
|
+
</node>
|
26
|
+
</node>
|
27
|
+
</node>
|
28
|
+
<node CREATED="1275752678377" FOLDED="true" ID="ID_1348489452" MODIFIED="1602251558474" TEXT="admins:Admin">
|
29
|
+
<node CREATED="1275752688167" ID="ID_229996461" MODIFIED="1275752690948" TEXT="role:a"/>
|
30
|
+
<node CREATED="1282722836614" ID="ID_1213363124" MODIFIED="1330477902602" TEXT="edit_role:edit user role">
|
31
|
+
<node CREATED="1282722862918" ID="ID_1190117882" MODIFIED="1330477922159" TEXT="select_user:select user">
|
32
|
+
<icon BUILTIN="attach"/>
|
33
|
+
<node CREATED="1282722901932" ID="ID_1859523490" MODIFIED="1282722903469" TEXT="role:a"/>
|
34
|
+
</node>
|
35
|
+
<node CREATED="1282722868801" ID="ID_1325872490" MODIFIED="1330477926538" TEXT="edit_role:edit role">
|
36
|
+
<icon BUILTIN="attach"/>
|
37
|
+
<node CREATED="1282722901932" ID="ID_1992100954" MODIFIED="1282722903469" TEXT="role:a"/>
|
38
|
+
</node>
|
39
|
+
<node CREATED="1282722907306" ID="ID_1709875397" MODIFIED="1282722922669" TEXT="update_role">
|
40
|
+
<icon BUILTIN="bookmark"/>
|
41
|
+
</node>
|
42
|
+
</node>
|
43
|
+
<node CREATED="1273913393454" ID="ID_1088166839" MODIFIED="1511159690490" TEXT="link: pending tasks: /jinda/pending"/>
|
44
|
+
<node CREATED="1275790679363" ID="ID_829325467" MODIFIED="1511159696044" TEXT="link: logs: /jinda/logs"/>
|
45
|
+
<node CREATED="1507573166973" ID="ID_351025910" MODIFIED="1511159700908" TEXT="link: docs: /jinda/doc"/>
|
46
|
+
</node>
|
47
|
+
<node CREATED="1273706796854" FOLDED="true" ID="ID_1003882979" MODIFIED="1602251560242" TEXT="devs: Developer">
|
48
|
+
<node CREATED="1275373154914" ID="ID_340725299" MODIFIED="1275373158632" TEXT="role:d"/>
|
49
|
+
<node CREATED="1275788317299" ID="ID_716276608" MODIFIED="1511159716471" TEXT="link: error_logs: /jinda/error_logs"/>
|
50
|
+
<node CREATED="1275788317299" ID="ID_1570419198" MODIFIED="1587858894833" TEXT="link: notice_logs: /jinda/notice_logs"/>
|
51
|
+
</node>
|
52
|
+
<node CREATED="1589756777499" FOLDED="true" ID="ID_853155456" MODIFIED="1592785016438" TEXT="docs: Document">
|
53
|
+
<node CREATED="1589757073388" ID="ID_1938238774" MODIFIED="1589772640862" TEXT="link: My Document: /docs/my">
|
54
|
+
<node CREATED="1589757125861" ID="ID_521286668" MODIFIED="1589757136547" TEXT="role:m"/>
|
55
|
+
</node>
|
56
|
+
<node CREATED="1589756879955" ID="ID_899042293" MODIFIED="1589910229085" TEXT="doc_new: New Document">
|
57
|
+
<node CREATED="1589756946117" ID="ID_1840278804" MODIFIED="1589910235469" TEXT="doc_form: Doc Form">
|
58
|
+
<icon BUILTIN="attach"/>
|
59
|
+
<node CREATED="1589757054618" ID="ID_642998203" MODIFIED="1589757059003" TEXT="role: m"/>
|
60
|
+
</node>
|
61
|
+
<node CREATED="1589757264764" ID="ID_1352102524" MODIFIED="1589772413612" TEXT="doc_update: Doc update">
|
62
|
+
<icon BUILTIN="bookmark"/>
|
63
|
+
</node>
|
64
|
+
</node>
|
65
|
+
<node CREATED="1493419562726" ID="ID_339628868" MODIFIED="1590424956484" TEXT="doc_edit: Edit Document">
|
66
|
+
<icon BUILTIN="button_cancel"/>
|
67
|
+
<node CREATED="1493419577933" ID="ID_801950372" MODIFIED="1590180699851" TEXT="doc_select: Select Document">
|
68
|
+
<icon BUILTIN="attach"/>
|
69
|
+
<node CREATED="1493479602815" ID="ID_761787946" MODIFIED="1493479606921" TEXT="role:m"/>
|
70
|
+
</node>
|
71
|
+
<node CREATED="1493419612720" ID="ID_1190499756" MODIFIED="1590180735204" TEXT="doc_edit: Edit Document">
|
72
|
+
<icon BUILTIN="attach"/>
|
73
|
+
<node CREATED="1493479557266" ID="ID_1216426484" MODIFIED="1493479561055" TEXT="role:m"/>
|
74
|
+
</node>
|
75
|
+
<node CREATED="1581400438157" ID="ID_447781815" MODIFIED="1590180242343" TEXT="doc_update: Doc_update">
|
76
|
+
<icon BUILTIN="bookmark"/>
|
77
|
+
</node>
|
78
|
+
</node>
|
79
|
+
<node CREATED="1495246388313" ID="ID_278169779" MODIFIED="1590180135106" TEXT="doc_xedit: Doc_hidden_menu">
|
80
|
+
<icon BUILTIN="button_cancel"/>
|
81
|
+
<node CREATED="1493419612720" ID="ID_541432768" MODIFIED="1590180160498" TEXT="doc_edit: Edit">
|
82
|
+
<icon BUILTIN="attach"/>
|
83
|
+
<node CREATED="1493479557266" ID="ID_1339913531" MODIFIED="1493479561055" TEXT="role:m"/>
|
84
|
+
</node>
|
85
|
+
<node CREATED="1581400438157" ID="ID_802199910" MODIFIED="1590180242343" TEXT="doc_update: Doc_update">
|
86
|
+
<icon BUILTIN="bookmark"/>
|
87
|
+
</node>
|
88
|
+
</node>
|
89
|
+
</node>
|
90
|
+
<node CREATED="1493393619430" FOLDED="true" ID="ID_554831343" MODIFIED="1602251562724" TEXT="notes: Notes">
|
91
|
+
<node CREATED="1493489768542" ID="ID_737469676" MODIFIED="1589772615102" TEXT="link:My Notes: /notes/my">
|
92
|
+
<node CREATED="1493490295677" ID="ID_514416082" MODIFIED="1493490302239" TEXT="role:m"/>
|
93
|
+
</node>
|
94
|
+
<node CREATED="1493419257021" ID="ID_553734932" MODIFIED="1591278856955" TEXT="new: New Note">
|
95
|
+
<node CREATED="1493419299004" ID="ID_723334321" MODIFIED="1581351169990" TEXT="new_note: New ">
|
96
|
+
<icon BUILTIN="attach"/>
|
97
|
+
<node CREATED="1493479075294" ID="ID_1009521360" MODIFIED="1493479079687" TEXT="role:m"/>
|
98
|
+
</node>
|
99
|
+
<node CREATED="1493419491125" ID="ID_1125779183" MODIFIED="1581180747700" TEXT="create: Create">
|
100
|
+
<icon BUILTIN="bookmark"/>
|
101
|
+
</node>
|
102
|
+
<node CREATED="1591278861459" ID="ID_985992723" MODIFIED="1591319329198" TEXT="/notes/my">
|
103
|
+
<arrowlink DESTINATION="ID_985992723" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_650435572" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
104
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_985992723" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_650435572" SOURCE="ID_985992723" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
105
|
+
<icon BUILTIN="forward"/>
|
106
|
+
</node>
|
107
|
+
</node>
|
108
|
+
<node CREATED="1493419562726" FOLDED="true" ID="ID_1241171950" MODIFIED="1591278847249" TEXT="edit: Edit">
|
109
|
+
<node CREATED="1493419577933" ID="ID_1790163920" MODIFIED="1581350888992" TEXT="select_note: Select">
|
110
|
+
<icon BUILTIN="attach"/>
|
111
|
+
<node CREATED="1493479602815" ID="ID_1289003986" MODIFIED="1493479606921" TEXT="role:m"/>
|
112
|
+
</node>
|
113
|
+
<node CREATED="1493419612720" ID="ID_938262436" MODIFIED="1581350996674" TEXT="edit_note: Edit">
|
114
|
+
<icon BUILTIN="attach"/>
|
115
|
+
<node CREATED="1493479557266" ID="ID_211108947" MODIFIED="1493479561055" TEXT="role:m"/>
|
116
|
+
</node>
|
117
|
+
<node CREATED="1493419735921" ID="ID_1581002301" MODIFIED="1581180869775" TEXT="update: Update">
|
118
|
+
<icon BUILTIN="bookmark"/>
|
119
|
+
</node>
|
120
|
+
</node>
|
121
|
+
<node CREATED="1495246388313" FOLDED="true" ID="ID_320521408" MODIFIED="1591278851391" STYLE="fork" TEXT="delete:Delete">
|
122
|
+
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
|
123
|
+
<node CREATED="1493419577933" ID="ID_1631275659" MODIFIED="1581350942681" TEXT="select_note: Select">
|
124
|
+
<icon BUILTIN="attach"/>
|
125
|
+
<node CREATED="1493479602815" ID="ID_851238107" MODIFIED="1493479606921" TEXT="role:m"/>
|
126
|
+
</node>
|
127
|
+
<node CREATED="1495246466176" ID="ID_1347765598" MODIFIED="1581799929028" TEXT="delete: Delete">
|
128
|
+
<icon BUILTIN="bookmark"/>
|
129
|
+
</node>
|
130
|
+
</node>
|
131
|
+
<node CREATED="1581531446494" FOLDED="true" ID="ID_1325232876" MODIFIED="1591278853597" TEXT="mail: Mail">
|
132
|
+
<node CREATED="1493419577933" FOLDED="true" ID="ID_1817148049" MODIFIED="1581531563343" TEXT="select_note: Select">
|
133
|
+
<icon BUILTIN="attach"/>
|
134
|
+
<node CREATED="1493479602815" ID="ID_1650154281" MODIFIED="1493479606921" TEXT="role:m"/>
|
135
|
+
</node>
|
136
|
+
<node CREATED="1581531468872" ID="ID_379926448" MODIFIED="1581564690354" TEXT="display_mail: Dsiplay Mail">
|
137
|
+
<icon BUILTIN="attach"/>
|
138
|
+
</node>
|
139
|
+
<node CREATED="1581564346466" ID="ID_1981382192" MODIFIED="1581564388041" TEXT="mail: Mail">
|
140
|
+
<icon BUILTIN="bookmark"/>
|
141
|
+
</node>
|
142
|
+
</node>
|
143
|
+
<node CREATED="1495246388313" FOLDED="true" ID="ID_807216843" MODIFIED="1590180066630" TEXT="xedit: Future use">
|
144
|
+
<icon BUILTIN="button_cancel"/>
|
145
|
+
<node CREATED="1493419612720" ID="ID_6864095" MODIFIED="1584999031935" TEXT="edit_note: Edit">
|
146
|
+
<icon BUILTIN="attach"/>
|
147
|
+
<node CREATED="1493479557266" ID="ID_297597260" MODIFIED="1493479561055" TEXT="role:m"/>
|
148
|
+
</node>
|
149
|
+
<node CREATED="1581400438157" ID="ID_1206027492" MODIFIED="1581400464170" TEXT="update: Update">
|
150
|
+
<icon BUILTIN="bookmark"/>
|
151
|
+
</node>
|
152
|
+
</node>
|
153
|
+
</node>
|
154
|
+
<node CREATED="1493393619430" FOLDED="true" ID="ID_328863650" MODIFIED="1602251538059" TEXT="articles: Article">
|
155
|
+
<node CREATED="1493419096527" ID="ID_1521905276" MODIFIED="1493478060121" TEXT="link: All Articles: /articles"/>
|
156
|
+
<node CREATED="1493489768542" FOLDED="true" ID="ID_1376361427" MODIFIED="1589757167952" TEXT="link: My article: /articles/my">
|
157
|
+
<node CREATED="1493490295677" ID="ID_628476988" MODIFIED="1493490302239" TEXT="role:m"/>
|
158
|
+
</node>
|
159
|
+
<node CREATED="1493419257021" ID="ID_1355420049" MODIFIED="1588619429446" TEXT="new_article: New Article">
|
160
|
+
<node CREATED="1493419299004" ID="ID_1468250197" MODIFIED="1493419428686" TEXT="form_article: New Article">
|
161
|
+
<icon BUILTIN="attach"/>
|
162
|
+
<node CREATED="1493479075294" ID="ID_1145618514" MODIFIED="1493479079687" TEXT="role:m"/>
|
163
|
+
</node>
|
164
|
+
<node CREATED="1493419491125" ID="ID_1687683396" MODIFIED="1493483244848" TEXT="create: Create Article">
|
165
|
+
<icon BUILTIN="bookmark"/>
|
166
|
+
</node>
|
167
|
+
<node CREATED="1591278861459" ID="ID_657878492" MODIFIED="1591319807025" TEXT="/articles/my">
|
168
|
+
<arrowlink DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
169
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" SOURCE="ID_657878492" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
170
|
+
<icon BUILTIN="forward"/>
|
171
|
+
</node>
|
172
|
+
</node>
|
173
|
+
<node CREATED="1493419562726" ID="ID_922854639" MODIFIED="1590180584955" TEXT="edit_article: Edit Article">
|
174
|
+
<node CREATED="1493419577933" ID="ID_938626803" MODIFIED="1538329139586" TEXT="select_article: Select Article">
|
175
|
+
<icon BUILTIN="attach"/>
|
176
|
+
<node CREATED="1493479602815" ID="ID_753056881" MODIFIED="1493479606921" TEXT="role:m"/>
|
177
|
+
</node>
|
178
|
+
<node CREATED="1493419612720" ID="ID_661682947" MODIFIED="1493524438941" TEXT="edit_article: Edit Article">
|
179
|
+
<icon BUILTIN="attach"/>
|
180
|
+
<node CREATED="1493479557266" ID="ID_1681993437" MODIFIED="1493479561055" TEXT="role:m"/>
|
181
|
+
</node>
|
182
|
+
<node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1593286858918" TEXT="j_update: Update Article">
|
183
|
+
<icon BUILTIN="bookmark"/>
|
184
|
+
</node>
|
185
|
+
<node CREATED="1591278861459" ID="ID_863187878" MODIFIED="1591319807025" TEXT="/articles/my">
|
186
|
+
<arrowlink DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
187
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" SOURCE="ID_863187878" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
188
|
+
<icon BUILTIN="forward"/>
|
189
|
+
</node>
|
190
|
+
</node>
|
191
|
+
<node CREATED="1495246388313" ID="ID_1861034169" MODIFIED="1585001527103" TEXT="xedit_article: xEdit Article">
|
192
|
+
<icon BUILTIN="button_cancel"/>
|
193
|
+
<node CREATED="1495246432533" ID="ID_91386173" MODIFIED="1495267233398" TEXT="edit_article: Edit Article">
|
194
|
+
<icon BUILTIN="attach"/>
|
195
|
+
<node CREATED="1495246517185" ID="ID_1224073606" MODIFIED="1495246522964" TEXT="role:m"/>
|
196
|
+
</node>
|
197
|
+
<node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1593286876869" TEXT="j_update: Update Article">
|
198
|
+
<icon BUILTIN="bookmark"/>
|
199
|
+
</node>
|
200
|
+
</node>
|
201
|
+
</node>
|
202
|
+
<node CREATED="1493664700564" FOLDED="true" ID="ID_704959130" MODIFIED="1602251564023" TEXT="comments: Comment">
|
203
|
+
<icon BUILTIN="button_cancel"/>
|
204
|
+
<node CREATED="1493665155709" ID="ID_1973520751" MODIFIED="1591392666652" TEXT="new_comment: New Comment">
|
205
|
+
<icon BUILTIN="button_cancel"/>
|
206
|
+
<node CREATED="1493665192413" ID="ID_345629058" MODIFIED="1493665226422" TEXT="create">
|
207
|
+
<icon BUILTIN="bookmark"/>
|
208
|
+
<node CREATED="1493665231940" ID="ID_1645532530" MODIFIED="1493665237018" TEXT="role:m"/>
|
209
|
+
</node>
|
210
|
+
<node CREATED="1591278861459" ID="ID_170265872" MODIFIED="1591319807025" TEXT="/articles/my">
|
211
|
+
<arrowlink DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
212
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" SOURCE="ID_170265872" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
213
|
+
<icon BUILTIN="forward"/>
|
214
|
+
</node>
|
215
|
+
</node>
|
216
|
+
<node CREATED="1494393494180" ID="ID_1101205873" MODIFIED="1495275996686" TEXT="role:m"/>
|
217
|
+
</node>
|
218
|
+
<node CREATED="1489875563330" FOLDED="true" ID="ID_1495015891" MODIFIED="1507248509212" TEXT="ctrs: ctrs& Menu">
|
219
|
+
<node CREATED="1489875583646" ID="ID_1796125628" MODIFIED="1494393464288" TEXT="role:a"/>
|
220
|
+
<node CREATED="1275905802131" ID="ID_1960607342" MODIFIED="1489938927874" TEXT="vfolder1:Sub Menu 1">
|
221
|
+
<node CREATED="1275756515843" ID="ID_328242903" MODIFIED="1489939229748" TEXT="viewfile1: Title 1">
|
222
|
+
<icon BUILTIN="attach"/>
|
223
|
+
<node CREATED="1282816887988" ID="ID_1479413309" MODIFIED="1282817769412" TEXT="rule:login? && own_xmain?"/>
|
224
|
+
</node>
|
225
|
+
<node CREATED="1275756515843" ID="ID_1316819449" MODIFIED="1490683859703" TEXT="viewfile2: Title 2">
|
226
|
+
<icon BUILTIN="attach"/>
|
227
|
+
<node CREATED="1282816887988" ID="ID_1510989172" MODIFIED="1282817769412" TEXT="rule:login? && own_xmain?"/>
|
228
|
+
</node>
|
229
|
+
<node CREATED="1275756530989" ID="ID_171099141" MODIFIED="1489939276491" TEXT="update_viewfile1">
|
230
|
+
<icon BUILTIN="bookmark"/>
|
231
|
+
</node>
|
232
|
+
</node>
|
233
|
+
<node CREATED="1275756504750" ID="ID_914236141" MODIFIED="1489939000929" TEXT="vfolder2:Title 2">
|
234
|
+
<node CREATED="1275756515843" ID="ID_1222970183" MODIFIED="1489939293714" TEXT="viewfile2: Title 2">
|
235
|
+
<icon BUILTIN="attach"/>
|
236
|
+
<node CREATED="1282816887988" ID="ID_1312913420" MODIFIED="1282817769412" TEXT="rule:login? && own_xmain?"/>
|
237
|
+
</node>
|
238
|
+
</node>
|
239
|
+
</node>
|
240
|
+
<node CREATED="1494172726642" ID="ID_925257043" MODIFIED="1494172755433" TEXT="sitemap: Sitemap">
|
241
|
+
<node CREATED="1494172758253" ID="ID_961056168" MODIFIED="1494172797972" TEXT="sitemap: Sitemap"/>
|
242
|
+
<node CREATED="1494393494180" ID="ID_242460166" MODIFIED="1494393504971" TEXT="role:a"/>
|
243
|
+
</node>
|
244
|
+
<node CREATED="1493393619430" FOLDED="true" ID="ID_35210833" MODIFIED="1591392800862" TEXT="api/v1/notes: Notes API ">
|
245
|
+
<node CREATED="1493489768542" ID="ID_1053900670" MODIFIED="1591074318558" TEXT="link:My Notes: /api/v1/notes/my">
|
246
|
+
<icon BUILTIN="button_cancel"/>
|
247
|
+
<node CREATED="1493490295677" ID="ID_1597553308" MODIFIED="1493490302239" TEXT="role:m"/>
|
248
|
+
</node>
|
249
|
+
<node CREATED="1493419257021" ID="ID_1182560700" MODIFIED="1581180635669" TEXT="new: New Note">
|
250
|
+
<node CREATED="1493419299004" ID="ID_840380967" MODIFIED="1581351169990" TEXT="new_note: New ">
|
251
|
+
<icon BUILTIN="attach"/>
|
252
|
+
<node CREATED="1493479075294" ID="ID_10690659" MODIFIED="1493479079687" TEXT="role:m"/>
|
253
|
+
</node>
|
254
|
+
<node CREATED="1493419491125" ID="ID_924027059" MODIFIED="1581180747700" TEXT="create: Create">
|
255
|
+
<icon BUILTIN="bookmark"/>
|
256
|
+
</node>
|
257
|
+
</node>
|
258
|
+
<node CREATED="1493419562726" ID="ID_963001770" MODIFIED="1581180788218" TEXT="edit: Edit">
|
259
|
+
<node CREATED="1493419612720" ID="ID_1362613316" MODIFIED="1581350996674" TEXT="edit_note: Edit">
|
260
|
+
<icon BUILTIN="attach"/>
|
261
|
+
<node CREATED="1493479557266" ID="ID_1838104057" MODIFIED="1493479561055" TEXT="role:m"/>
|
262
|
+
</node>
|
263
|
+
<node CREATED="1493419735921" ID="ID_1445882396" MODIFIED="1581180869775" TEXT="update: Update">
|
264
|
+
<icon BUILTIN="bookmark"/>
|
265
|
+
</node>
|
266
|
+
</node>
|
267
|
+
<node CREATED="1495246388313" ID="ID_918406528" MODIFIED="1581340759604" STYLE="fork" TEXT="delete:Delete">
|
268
|
+
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
|
269
|
+
<node CREATED="1493419577933" ID="ID_809771470" MODIFIED="1581350942681" TEXT="select_note: Select">
|
270
|
+
<icon BUILTIN="attach"/>
|
271
|
+
<node CREATED="1493479602815" ID="ID_1160875526" MODIFIED="1493479606921" TEXT="role:m"/>
|
272
|
+
</node>
|
273
|
+
<node CREATED="1495246466176" ID="ID_506410154" MODIFIED="1581799929028" TEXT="delete: Delete">
|
274
|
+
<icon BUILTIN="bookmark"/>
|
275
|
+
</node>
|
276
|
+
</node>
|
277
|
+
</node>
|
278
|
+
</node>
|
279
|
+
<node CREATED="1273819465949" FOLDED="true" ID="ID_855471610" MODIFIED="1583097143651" POSITION="right" TEXT="roles">
|
280
|
+
<node CREATED="1273819847470" ID="ID_1681080231" MODIFIED="1330477307826" TEXT="m: member"/>
|
281
|
+
<node CREATED="1273819855875" ID="ID_1429503284" MODIFIED="1330477311102" TEXT="a: admin"/>
|
282
|
+
<node CREATED="1273819859775" ID="ID_568365839" MODIFIED="1330477315009" TEXT="d: developer"/>
|
283
|
+
</node>
|
284
|
+
<node CREATED="1273819456867" ID="ID_1677010054" MODIFIED="1602123498759" POSITION="left" TEXT="models">
|
285
|
+
<node CREATED="1292122118499" FOLDED="true" ID="ID_1957754752" MODIFIED="1493705885123" TEXT="person">
|
286
|
+
<node CREATED="1292122135809" ID="ID_1617970069" MODIFIED="1332878659106" TEXT="fname"/>
|
287
|
+
<node CREATED="1292122150362" ID="ID_1200135538" MODIFIED="1332878662388" TEXT="lname"/>
|
288
|
+
<node CREATED="1332876694150" ID="ID_1770958985" MODIFIED="1332876730552" TEXT="sex: integer">
|
289
|
+
<node CREATED="1332878665790" ID="ID_793089342" MODIFIED="1332878668499" TEXT="1: male"/>
|
290
|
+
<node CREATED="1332878669085" ID="ID_1796007763" MODIFIED="1332878673144" TEXT="2: female"/>
|
291
|
+
</node>
|
292
|
+
<node CREATED="1292123322429" ID="ID_1509464300" MODIFIED="1332878620176" TEXT="belongs_to :address">
|
293
|
+
<icon BUILTIN="edit"/>
|
294
|
+
</node>
|
295
|
+
<node CREATED="1292122156430" ID="ID_604231613" MODIFIED="1292122161324" TEXT="dob: date"/>
|
296
|
+
<node CREATED="1286576968143" ID="ID_936807610" MODIFIED="1332878681362" TEXT="phone"/>
|
297
|
+
<node CREATED="1290823140269" ID="ID_1957301629" MODIFIED="1332878684453" TEXT="photo"/>
|
298
|
+
</node>
|
299
|
+
<node CREATED="1292122236285" FOLDED="true" ID="ID_959987887" MODIFIED="1493768919147" TEXT="address">
|
300
|
+
<node CREATED="1292122254622" ID="ID_430517150" MODIFIED="1355422372241" TEXT="address_street"/>
|
301
|
+
<node CREATED="1355422373525" ID="ID_1797865138" MODIFIED="1355422378352" TEXT="city"/>
|
302
|
+
<node CREATED="1355422378959" ID="ID_1964490487" MODIFIED="1355422380765" TEXT="state"/>
|
303
|
+
<node CREATED="1355422381231" ID="ID_1226075540" MODIFIED="1355422382748" TEXT="zip"/>
|
304
|
+
<node CREATED="1332876680122" ID="ID_65427990" MODIFIED="1332876682148" TEXT="phone"/>
|
305
|
+
<node CREATED="1292243471343" ID="ID_1859608350" MODIFIED="1310195256623" TEXT="lat: float"/>
|
306
|
+
<node CREATED="1292243477436" ID="ID_48497260" MODIFIED="1310195262534" TEXT="lng: float"/>
|
307
|
+
</node>
|
308
|
+
<node CREATED="1493418879485" ID="ID_1995497233" MODIFIED="1602529325998" TEXT="article">
|
309
|
+
<node CREATED="1493418891110" ID="ID_364756011" MODIFIED="1493418905253" TEXT="title"/>
|
310
|
+
<node CREATED="1493418906868" ID="ID_1676483995" MODIFIED="1493418911919" TEXT="text"/>
|
311
|
+
<node CREATED="1493487131376" ID="ID_1334057464" MODIFIED="1538328284823" TEXT="belongs_to :user, :class_name => "User"">
|
312
|
+
<icon BUILTIN="edit"/>
|
313
|
+
</node>
|
314
|
+
<node CREATED="1493705838166" ID="ID_408271104" MODIFIED="1493705877062" TEXT="has_many :comments">
|
315
|
+
<icon BUILTIN="edit"/>
|
316
|
+
</node>
|
317
|
+
<node CREATED="1493718773517" ID="ID_944554146" MODIFIED="1493718808965" TEXT="validates :title, :text, :user_id, presence: true">
|
318
|
+
<icon BUILTIN="edit"/>
|
319
|
+
</node>
|
320
|
+
<node CREATED="1494181636998" ID="ID_229502630" MODIFIED="1494181660419" TEXT="body"/>
|
321
|
+
<node CREATED="1497913676275" ID="ID_404103076" MODIFIED="1497913685065" TEXT="keywords"/>
|
322
|
+
</node>
|
323
|
+
<node CREATED="1494040082403" FOLDED="true" ID="ID_864577403" MODIFIED="1583097161145" TEXT="picture">
|
324
|
+
<node CREATED="1494040091583" ID="ID_679208099" MODIFIED="1494040119098" TEXT="picture"/>
|
325
|
+
<node CREATED="1494040120208" ID="ID_1266154874" MODIFIED="1494040125130" TEXT="description"/>
|
326
|
+
<node CREATED="1493487131376" ID="ID_1422817360" MODIFIED="1493487186856" TEXT="belongs_to :user">
|
327
|
+
<icon BUILTIN="edit"/>
|
328
|
+
</node>
|
329
|
+
</node>
|
330
|
+
<node CREATED="1581177067029" FOLDED="true" ID="ID_1450593753" MODIFIED="1583089083450" TEXT="note">
|
331
|
+
<node CREATED="1581243923100" ID="ID_537548385" MODIFIED="1581243965554" TEXT="include Mongoid::Attributes::Dynamic">
|
332
|
+
<icon BUILTIN="edit"/>
|
333
|
+
</node>
|
334
|
+
<node CREATED="1581177848957" ID="ID_1611227370" MODIFIED="1581177857470" TEXT="title"/>
|
335
|
+
<node CREATED="1581177867775" ID="ID_88547965" MODIFIED="1581177883555" TEXT="body"/>
|
336
|
+
<node CREATED="1493643129947" ID="ID_1655403736" MODIFIED="1493643146424" TEXT="belongs_to :user">
|
337
|
+
<icon BUILTIN="edit"/>
|
338
|
+
</node>
|
339
|
+
<node CREATED="1581984419312" ID="ID_1934899110" MODIFIED="1581985586488" TEXT="before_validation :ensure_title_has_a_value ">
|
340
|
+
<icon BUILTIN="edit"/>
|
341
|
+
</node>
|
342
|
+
<node CREATED="1581495182445" ID="ID_1430552418" MODIFIED="1581985664674" TEXT="validates :title, length: { maximum: (MAX_TITLE_LENGTH = 30), message: "Must be less than 30 characters" }, presence: true">
|
343
|
+
<icon BUILTIN="edit"/>
|
344
|
+
</node>
|
345
|
+
<node CREATED="1581495221779" ID="ID_1231500988" MODIFIED="1581985709585" TEXT="validates :body, length: { maximum: (MAX_BODY_LENGTH = 1000), message: "Must be less than 1000 characters"} ">
|
346
|
+
<icon BUILTIN="edit"/>
|
347
|
+
</node>
|
348
|
+
<node CREATED="1581986280028" ID="ID_1069060625" MODIFIED="1581987310544" TEXT="private
 def ensure_title_has_a_value
 if title.blank?
 self.title = body[0..(MAX_TITLE_LENGTH-1)] unless body.blank?
 end
 end
 
">
|
349
|
+
<icon BUILTIN="edit"/>
|
350
|
+
</node>
|
351
|
+
</node>
|
352
|
+
<node CREATED="1493418915637" ID="ID_429078131" MODIFIED="1602591443455" TEXT="comment">
|
353
|
+
<node CREATED="1493418939760" ID="ID_1251093062" MODIFIED="1493418943423" TEXT="body"/>
|
354
|
+
<node CREATED="1493418945686" ID="ID_911071644" MODIFIED="1602529513657" TEXT="belongs_to :article, :class_name => "Article" ">
|
355
|
+
<icon BUILTIN="edit"/>
|
356
|
+
</node>
|
357
|
+
<node CREATED="1493643129947" ID="ID_588013696" MODIFIED="1602110865206" TEXT="belongs_to :user, :class_name => "User" ">
|
358
|
+
<icon BUILTIN="edit"/>
|
359
|
+
</node>
|
360
|
+
<node CREATED="1601847760278" ID="ID_1288333428" MODIFIED="1602591549062" TEXT="belongs_to :commentable, polymorphic: true ">
|
361
|
+
<icon BUILTIN="edit"/>
|
362
|
+
</node>
|
363
|
+
<node CREATED="1602591560333" ID="ID_598892151" MODIFIED="1602592677709" TEXT="index({ commentable_id: 1, commentable_type: 1}) ">
|
364
|
+
<icon BUILTIN="edit"/>
|
365
|
+
</node>
|
366
|
+
</node>
|
367
|
+
</node>
|
368
|
+
</node>
|
369
|
+
</map>
|