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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +8 -0
- data/lib/rails_app/cli.rb +4 -3
- data/lib/rails_app/command.rb +8 -3
- data/lib/rails_app/template/app_bulma/assets/stylesheets/application.bulma.scss +43 -0
- data/lib/rails_app/template/app_bulma/views/devise/confirmations/new.html.erb +16 -0
- data/lib/rails_app/template/app_bulma/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/lib/rails_app/template/app_bulma/views/devise/mailer/email_changed.html.erb +7 -0
- data/lib/rails_app/template/app_bulma/views/devise/mailer/password_change.html.erb +3 -0
- data/lib/rails_app/template/app_bulma/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/lib/rails_app/template/app_bulma/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/lib/rails_app/template/app_bulma/views/devise/passwords/edit.html.erb +25 -0
- data/lib/rails_app/template/app_bulma/views/devise/passwords/new.html.erb +16 -0
- data/lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb +43 -0
- data/lib/rails_app/template/app_bulma/views/devise/registrations/new.html.erb +29 -0
- data/lib/rails_app/template/app_bulma/views/devise/sessions/new.html.erb +26 -0
- data/lib/rails_app/template/app_bulma/views/devise/shared/_error_messages.html.erb +15 -0
- data/lib/rails_app/template/app_bulma/views/devise/shared/_links.html.erb +25 -0
- data/lib/rails_app/template/app_bulma/views/devise/unlocks/new.html.erb +16 -0
- data/lib/rails_app/template/app_bulma/views/layouts/application.html.erb +19 -0
- data/lib/rails_app/template/app_bulma/views/layouts/mailer.html.erb +13 -0
- data/lib/rails_app/template/app_bulma/views/layouts/mailer.text.erb +1 -0
- data/lib/rails_app/template/app_bulma/views/shared/_navbar.html.erb +33 -0
- data/lib/rails_app/template/app_bulma/views/static/home.html.erb +2 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/application.tailwind.css +18 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/alerts.css +8 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/buttons.css +30 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/cards.css +3 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/forms.css +21 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/links.css +39 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/pagination.css +39 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/tables.css +19 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/components/typography.css +32 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/custom.css +3 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/flatpickr_themes/light.css +809 -0
- data/lib/rails_app/template/app_tailwind/assets/stylesheets/simple_calendar.css +94 -0
- data/lib/rails_app/template/app_tailwind/postcss.config.js +10 -0
- data/lib/rails_app/template/app_tailwind/tailwind.config.js +37 -0
- data/lib/rails_app/template/app_tailwind/views/devise/confirmations/new.html.erb +16 -0
- data/lib/rails_app/template/app_tailwind/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/lib/rails_app/template/app_tailwind/views/devise/mailer/email_changed.html.erb +7 -0
- data/lib/rails_app/template/app_tailwind/views/devise/mailer/password_change.html.erb +3 -0
- data/lib/rails_app/template/app_tailwind/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/lib/rails_app/template/app_tailwind/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/lib/rails_app/template/app_tailwind/views/devise/passwords/edit.html.erb +25 -0
- data/lib/rails_app/template/app_tailwind/views/devise/passwords/new.html.erb +16 -0
- data/lib/rails_app/template/app_tailwind/views/devise/registrations/edit.html.erb +50 -0
- data/lib/rails_app/template/app_tailwind/views/devise/registrations/new.html.erb +31 -0
- data/lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb +30 -0
- data/lib/rails_app/template/app_tailwind/views/devise/shared/_error_messages.html.erb +15 -0
- data/lib/rails_app/template/app_tailwind/views/devise/shared/_links.html.erb +25 -0
- data/lib/rails_app/template/app_tailwind/views/devise/unlocks/new.html.erb +16 -0
- data/lib/rails_app/template/app_tailwind/views/layouts/application.html.erb +28 -0
- data/lib/rails_app/template/app_tailwind/views/layouts/mailer.html.erb +13 -0
- data/lib/rails_app/template/app_tailwind/views/layouts/mailer.text.erb +1 -0
- data/lib/rails_app/template/app_tailwind/views/shared/_navbar.html.erb +23 -0
- data/lib/rails_app/template/app_tailwind/views/static/home.html.erb +2 -0
- data/lib/rails_app/template/config/gems/app.rb +3 -0
- data/lib/rails_app/template/template.rb +33 -5
- data/lib/rails_app/version.rb +1 -1
- data/screenshot_cli.png +0 -0
- data/screenshot_cli_db.png +0 -0
- 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
|
+
}
|