diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
| commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
| tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /app/views/layouts | |
| parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
| download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip | |
Migrate to full rails app
Diffstat (limited to 'app/views/layouts')
| -rw-r--r-- | app/views/layouts/application.html.haml | 11 | ||||
| -rw-r--r-- | app/views/layouts/mailer.html.erb | 13 | ||||
| -rw-r--r-- | app/views/layouts/mailer.text.erb | 1 | ||||
| -rw-r--r-- | app/views/layouts/pokeviewer/application.html.haml | 9 |
4 files changed, 25 insertions, 9 deletions
| diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml new file mode 100644 index 0000000..668b6cd --- /dev/null +++ b/app/views/layouts/application.html.haml | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | !!! 5 | ||
| 2 | %html | ||
| 3 | %head | ||
| 4 | %title Pokeviewer | ||
| 5 | %meta{ name: "viewport", content: "width=device-width,initial-scale=1" } | ||
| 6 | = stylesheet_link_tag "application", media: "all" | ||
| 7 | = javascript_include_tag "application" | ||
| 8 | = csrf_meta_tags | ||
| 9 | = csp_meta_tag | ||
| 10 | %body | ||
| 11 | #content= yield | ||
| diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..3aac900 --- /dev/null +++ b/app/views/layouts/mailer.html.erb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| 5 | <style> | ||
| 6 | /* Email styles need to be inline */ | ||
| 7 | </style> | ||
| 8 | </head> | ||
| 9 | |||
| 10 | <body> | ||
| 11 | <%= yield %> | ||
| 12 | </body> | ||
| 13 | </html> | ||
| diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/app/views/layouts/mailer.text.erb | |||
| @@ -0,0 +1 @@ | |||
| <%= yield %> | |||
| diff --git a/app/views/layouts/pokeviewer/application.html.haml b/app/views/layouts/pokeviewer/application.html.haml deleted file mode 100644 index 4fa0d19..0000000 --- a/app/views/layouts/pokeviewer/application.html.haml +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | !!! 5 | ||
| 2 | %html | ||
| 3 | %head | ||
| 4 | %title Pokeviewer | ||
| 5 | = stylesheet_link_tag "pokeviewer/application", media: "all" | ||
| 6 | = javascript_include_tag "pokeviewer/application" | ||
| 7 | = csrf_meta_tags | ||
| 8 | %body | ||
| 9 | #content= yield | ||
