rails_app 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +8 -0
  4. data/lib/rails_app/cli.rb +4 -3
  5. data/lib/rails_app/command.rb +8 -3
  6. data/lib/rails_app/template/app_bulma/assets/stylesheets/application.bulma.scss +43 -0
  7. data/lib/rails_app/template/app_bulma/views/devise/confirmations/new.html.erb +16 -0
  8. data/lib/rails_app/template/app_bulma/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  9. data/lib/rails_app/template/app_bulma/views/devise/mailer/email_changed.html.erb +7 -0
  10. data/lib/rails_app/template/app_bulma/views/devise/mailer/password_change.html.erb +3 -0
  11. data/lib/rails_app/template/app_bulma/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  12. data/lib/rails_app/template/app_bulma/views/devise/mailer/unlock_instructions.html.erb +7 -0
  13. data/lib/rails_app/template/app_bulma/views/devise/passwords/edit.html.erb +25 -0
  14. data/lib/rails_app/template/app_bulma/views/devise/passwords/new.html.erb +16 -0
  15. data/lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb +43 -0
  16. data/lib/rails_app/template/app_bulma/views/devise/registrations/new.html.erb +29 -0
  17. data/lib/rails_app/template/app_bulma/views/devise/sessions/new.html.erb +26 -0
  18. data/lib/rails_app/template/app_bulma/views/devise/shared/_error_messages.html.erb +15 -0
  19. data/lib/rails_app/template/app_bulma/views/devise/shared/_links.html.erb +25 -0
  20. data/lib/rails_app/template/app_bulma/views/devise/unlocks/new.html.erb +16 -0
  21. data/lib/rails_app/template/app_bulma/views/layouts/application.html.erb +19 -0
  22. data/lib/rails_app/template/app_bulma/views/layouts/mailer.html.erb +13 -0
  23. data/lib/rails_app/template/app_bulma/views/layouts/mailer.text.erb +1 -0
  24. data/lib/rails_app/template/app_bulma/views/shared/_navbar.html.erb +33 -0
  25. data/lib/rails_app/template/app_bulma/views/static/home.html.erb +2 -0
  26. data/lib/rails_app/template/app_tailwind/assets/stylesheets/application.tailwind.css +18 -0
  27. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/alerts.css +8 -0
  28. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/buttons.css +30 -0
  29. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/cards.css +3 -0
  30. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/forms.css +21 -0
  31. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/links.css +39 -0
  32. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/pagination.css +39 -0
  33. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/tables.css +19 -0
  34. data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/typography.css +32 -0
  35. data/lib/rails_app/template/app_tailwind/assets/stylesheets/custom.css +3 -0
  36. data/lib/rails_app/template/app_tailwind/assets/stylesheets/flatpickr_themes/light.css +809 -0
  37. data/lib/rails_app/template/app_tailwind/assets/stylesheets/simple_calendar.css +94 -0
  38. data/lib/rails_app/template/app_tailwind/postcss.config.js +10 -0
  39. data/lib/rails_app/template/app_tailwind/tailwind.config.js +37 -0
  40. data/lib/rails_app/template/app_tailwind/views/devise/confirmations/new.html.erb +16 -0
  41. data/lib/rails_app/template/app_tailwind/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  42. data/lib/rails_app/template/app_tailwind/views/devise/mailer/email_changed.html.erb +7 -0
  43. data/lib/rails_app/template/app_tailwind/views/devise/mailer/password_change.html.erb +3 -0
  44. data/lib/rails_app/template/app_tailwind/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  45. data/lib/rails_app/template/app_tailwind/views/devise/mailer/unlock_instructions.html.erb +7 -0
  46. data/lib/rails_app/template/app_tailwind/views/devise/passwords/edit.html.erb +25 -0
  47. data/lib/rails_app/template/app_tailwind/views/devise/passwords/new.html.erb +16 -0
  48. data/lib/rails_app/template/app_tailwind/views/devise/registrations/edit.html.erb +50 -0
  49. data/lib/rails_app/template/app_tailwind/views/devise/registrations/new.html.erb +31 -0
  50. data/lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb +30 -0
  51. data/lib/rails_app/template/app_tailwind/views/devise/shared/_error_messages.html.erb +15 -0
  52. data/lib/rails_app/template/app_tailwind/views/devise/shared/_links.html.erb +25 -0
  53. data/lib/rails_app/template/app_tailwind/views/devise/unlocks/new.html.erb +16 -0
  54. data/lib/rails_app/template/app_tailwind/views/layouts/application.html.erb +28 -0
  55. data/lib/rails_app/template/app_tailwind/views/layouts/mailer.html.erb +13 -0
  56. data/lib/rails_app/template/app_tailwind/views/layouts/mailer.text.erb +1 -0
  57. data/lib/rails_app/template/app_tailwind/views/shared/_navbar.html.erb +23 -0
  58. data/lib/rails_app/template/app_tailwind/views/static/home.html.erb +2 -0
  59. data/lib/rails_app/template/config/gems/app.rb +3 -0
  60. data/lib/rails_app/template/template.rb +33 -5
  61. data/lib/rails_app/version.rb +1 -1
  62. data/screenshot_cli.png +0 -0
  63. data/screenshot_cli_db.png +0 -0
  64. metadata +55 -1
@@ -0,0 +1,39 @@
1
+ /* Light Jumpstart theme for Pagy's default renderer */
2
+
3
+ .pagination {
4
+ @apply inline-flex flex-wrap items-center justify-start;
5
+
6
+ .page {
7
+ &:first-child a, &:first-child {
8
+ @apply rounded-tl rounded-bl;
9
+ }
10
+
11
+ &:last-child a, &:last-child {
12
+ @apply rounded-tr rounded-br;
13
+ }
14
+ }
15
+
16
+ .disabled, .gap {
17
+ @apply border relative block leading-tight bg-white text-gray-500 no-underline py-2 px-3;
18
+ @apply dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600;
19
+ margin-left: -1px;
20
+ }
21
+
22
+ .page {
23
+ &.active {
24
+ @apply z-10 border border-primary-500 bg-primary-500 text-white relative block leading-tight no-underline py-2 px-3;
25
+ @apply dark:bg-primary-800 dark:text-gray-200 dark:border-primary-600;
26
+ margin-left: -1px;
27
+ }
28
+
29
+ a {
30
+ @apply border relative block leading-tight bg-white text-primary-500 no-underline py-2 px-3;
31
+ @apply dark:bg-gray-800 dark:text-gray-200 dark:border-gray-600;
32
+ margin-left: -1px;
33
+
34
+ &:hover {
35
+ @apply bg-gray-200 dark:bg-gray-700;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,19 @@
1
+ .admin-table {
2
+ @apply w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 border rounded;
3
+
4
+ thead {
5
+ @apply text-xs text-gray-700 uppercase bg-gray-100 dark:bg-gray-700 dark:text-gray-400;
6
+ }
7
+
8
+ thead tr th {
9
+ @apply border px-4 py-2;
10
+ }
11
+
12
+ tbody tr {
13
+ @apply bg-white border-b dark:bg-gray-800 dark:border-gray-700;
14
+ }
15
+
16
+ tbody tr td {
17
+ @apply border px-4 py-2;
18
+ }
19
+ }
@@ -0,0 +1,32 @@
1
+ .font-display {
2
+ @apply text-5xl font-bold leading-tight tracking-tight;
3
+ }
4
+
5
+
6
+ h1, .h1 {
7
+ @apply text-4xl font-bold leading-tight tracking-tight;
8
+ }
9
+
10
+ h2, .h2 {
11
+ @apply text-3xl font-bold leading-tight;
12
+ }
13
+
14
+ h3, .h3 {
15
+ @apply text-2xl font-bold leading-normal;
16
+ }
17
+
18
+ h4, .h4 {
19
+ @apply text-xl font-bold leading-normal;
20
+ }
21
+
22
+ h5, .h5 {
23
+ @apply text-lg font-bold leading-normal;
24
+ }
25
+
26
+ h6, .h6 {
27
+ @apply font-bold;
28
+ }
29
+
30
+ a {
31
+ @apply text-primary-600 hover:text-primary-500;
32
+ }
@@ -0,0 +1,3 @@
1
+ .debug-dump {
2
+ color: red;
3
+ }