From 56f5841d4b9c12296cdfcaeff174b2627d59afc8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 11:49:49 -0500 Subject: Migrate to full rails app --- app/views/layouts/application.html.haml | 11 +++++++++++ app/views/layouts/mailer.html.erb | 13 +++++++++++++ app/views/layouts/mailer.text.erb | 1 + app/views/layouts/pokeviewer/application.html.haml | 9 --------- 4 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 app/views/layouts/application.html.haml create mode 100644 app/views/layouts/mailer.html.erb create mode 100644 app/views/layouts/mailer.text.erb delete mode 100644 app/views/layouts/pokeviewer/application.html.haml (limited to 'app/views/layouts') 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 @@ +!!! 5 +%html + %head + %title Pokeviewer + %meta{ name: "viewport", content: "width=device-width,initial-scale=1" } + = stylesheet_link_tag "application", media: "all" + = javascript_include_tag "application" + = csrf_meta_tags + = csp_meta_tag + %body + #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 @@ + + + + + + + + + <%= yield %> + + 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 @@ -!!! 5 -%html - %head - %title Pokeviewer - = stylesheet_link_tag "pokeviewer/application", media: "all" - = javascript_include_tag "pokeviewer/application" - = csrf_meta_tags - %body - #content= yield -- cgit 1.4.1