diff options
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/pokeviewer/application.html.erb | 14 | ||||
-rw-r--r-- | app/views/layouts/pokeviewer/application.html.haml | 15 |
2 files changed, 15 insertions, 14 deletions
diff --git a/app/views/layouts/pokeviewer/application.html.erb b/app/views/layouts/pokeviewer/application.html.erb deleted file mode 100644 index 192490c..0000000 --- a/app/views/layouts/pokeviewer/application.html.erb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>Pokeviewer</title> | ||
5 | <%= stylesheet_link_tag "pokeviewer/application", media: "all" %> | ||
6 | <%= javascript_include_tag "pokeviewer/application" %> | ||
7 | <%= csrf_meta_tags %> | ||
8 | </head> | ||
9 | <body> | ||
10 | |||
11 | <%= yield %> | ||
12 | |||
13 | </body> | ||
14 | </html> | ||
diff --git a/app/views/layouts/pokeviewer/application.html.haml b/app/views/layouts/pokeviewer/application.html.haml new file mode 100644 index 0000000..6bce8b9 --- /dev/null +++ b/app/views/layouts/pokeviewer/application.html.haml | |||
@@ -0,0 +1,15 @@ | |||
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 | %header#banner Pokéviewer | ||
10 | #container | ||
11 | #left-sidebar | ||
12 | Sidebar stuff | ||
13 | #content= yield | ||
14 | #right-sidebar | ||
15 | Sidebar stuff | ||