about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
commit0929719a845897cc8567cf972e07a69a71f0fa6f (patch)
tree2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /app/views/layouts
parent01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff)
downloadwittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip
Migrate to a full rails app
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml (renamed from app/views/layouts/wittle/application.html.haml)4
-rw-r--r--app/views/layouts/mailer.html.erb13
-rw-r--r--app/views/layouts/mailer.text.erb1
3 files changed, 16 insertions, 2 deletions
diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/application.html.haml index 1226d79..cae8de9 100644 --- a/app/views/layouts/wittle/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -4,8 +4,8 @@
4 %title Wittle 4 %title Wittle
5 = csrf_meta_tags 5 = csrf_meta_tags
6 = csp_meta_tag 6 = csp_meta_tag
7 = stylesheet_link_tag "wittle/application", media: "all" 7 = stylesheet_link_tag "application", "data-turbo-track": "reload"
8 = javascript_include_tag "wittle/application" 8 = javascript_include_tag "application"
9 %body 9 %body
10 #wrap 10 #wrap
11 %header#banner 11 %header#banner
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 %>