diff options
Diffstat (limited to 'lib/waev_web/templates/layout')
-rw-r--r-- | lib/waev_web/templates/layout/app.html.eex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/waev_web/templates/layout/app.html.eex b/lib/waev_web/templates/layout/app.html.eex new file mode 100644 index 0000000..3eb7e3a --- /dev/null +++ b/lib/waev_web/templates/layout/app.html.eex @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <title>Waev ยท Phoenix Framework</title> + <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/> + <%= csrf_meta_tag() %> + </head> + <body> + <header> + <section class="container"> + <nav role="navigation"> + <ul> + <li><a href="https://hexdocs.pm/phoenix/overview.html">Get Started</a></li> + </ul> + </nav> + <a href="https://phoenixframework.org/" class="phx-logo"> + <img src="<%= Routes.static_path(@conn, "/images/phoenix.png") %>" alt="Phoenix Framework Logo"/> + </a> + </section> + </header> + <main role="main" class="container"> + <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> + <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> + <%= render @view_module, @view_template, assigns %> + </main> + <script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script> + </body> +</html> |